Previous Thread
Next Thread
Print Thread
Rate Thread
#200544 08/21/2003 2:48 PM
Joined: Nov 2001
Posts: 170
Member
Member
Offline
Joined: Nov 2001
Posts: 170
Modification Name: Hide privet forum

Author(s): wwb95

Description:
Hide privet forum

-If the forum is privet and the user has access
to it, it will be shown for him in forum summary
-If the forum is password protected and the user
has set its password it will be shown for him
-if he know the password but he did not set it he
need a direct link to the forum so he can set the
password so it will be shown for him in the form
summary
Requirements: ubb 6.5

Download Link: linke

Credits: n/a

Notes:
I have done a privet forum hack for
6.21 and I do not now if it will work for 6.5

I have the 6.5 code but I did not have it running
so I can not test it
Can any body test it and give me a feed back

Sponsored Links
#200545 08/21/2003 3:48 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
Am I to assume this will ruin the cache?

#200546 08/21/2003 3:57 PM
Joined: Nov 2001
Posts: 170
Member
Member
Offline
Joined: Nov 2001
Posts: 170
Weird Al
It will run under the cache

#200547 08/21/2003 4:17 PM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
nice job...
it won't ruin the cache, it does exactly the same thing as Recent Visitors...

wwb, btw, I think you forgot to add ultimatebb.php steps (if someone clicks "forum home" link from the main buttons line, ultimatebb.php file loads forum summary, and also many people tend to add ultimatebb.php to their favorites instead of .cgi)

#200548 08/21/2003 4:34 PM
Joined: Nov 2001
Posts: 170
Member
Member
Offline
Joined: Nov 2001
Posts: 170
LK
First Thank you for replaying
I do not know but I think it will run-in the cache because it will replace the string in the
sub FilterPNTF
before the check
return $string if (($vars_pntf{Enabled} ne "yes") or ($vars_pntf{Mode} eq "hidden"));

and the last line in forum_summary will run any
way
print &FilterPNTF($ThisHTML);
so it will call the sub any way if the PNTF is
set or not

any way I am not the expert you are and if you
say so it is most probably you are write

for the php step can you pleas do it since I do
not have access to 6.5 board and I do not know
how to code php


thank you

Sponsored Links
#200549 08/21/2003 5:13 PM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
wwb, you're correct..
"ruin" doesn't mean "run in", it means "destroy"... so by saying "it won't ruin the cache", I meant "it won't destroy the cache, [it will run with cache on]".

about ultimatebb.php: to get it to run under php, almost every step has to be different...
I don't have the time to do it right now, I'll probably do it tomorrow (unless someone else wants to do it...

#200550 08/21/2003 5:58 PM
Joined: Nov 2001
Posts: 170
Member
Member
Offline
Joined: Nov 2001
Posts: 170
Lk

My English is not that good I misunderstands you

Thanks

#200551 08/23/2003 6:57 PM
Joined: Jul 2002
Posts: 42
Member
Member
Offline
Joined: Jul 2002
Posts: 42
Oh man, I've been begging for this hack for 7 months. smash

Thanks smile

#200552 08/23/2003 9:39 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
great work wwb smile


- Allen wavey
- What Drives You?
#200553 08/30/2003 6:31 PM
Joined: Jul 2002
Posts: 42
Member
Member
Offline
Joined: Jul 2002
Posts: 42
*Bump* [Linked Image]

Sponsored Links
#200554 09/24/2003 9:06 AM
Joined: Apr 2001
Posts: 142
Member
Member
Offline
Joined: Apr 2001
Posts: 142
doesn't work on my 6.5 frown

#200555 09/24/2003 11:27 AM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
There is a bug, in ubb_lib.cgi's portion (only in the code you pasted from this mod's instructions) find check_explicit and replace it with check_explicit2...

also in ubb_forum_summary.cgi find:
Code
	$ThisHTML .= &PageBottom;
add above:
Code
$ThisHTML .="<prives$priv></prives>";
that's INSTEAD of adding that code after $ThisHTML .= $Footer.

#200556 10/02/2003 5:03 AM
Joined: Apr 2001
Posts: 142
Member
Member
Offline
Joined: Apr 2001
Posts: 142
Thanks LK, it works now wink

#200557 10/02/2003 10:40 AM
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
Sure could use a 6.6 version of this. wink

#200558 10/02/2003 11:09 AM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
Quote
quote:
Originally posted by Randy.x:
Sure could use a 6.6 version of this. wink
https://www.ubbdev.com/ubb/ultimatebb.php/ubb/get_topic/f/33/t/000098

Keep in mind that it does not work with the accelerator or at all for that matter, but it's there

#200559 10/02/2003 5:25 PM
Joined: Feb 2003
Posts: 22
Junior Member
Junior Member
Offline
Joined: Feb 2003
Posts: 22
Is it possible to make it work under ultimatebb.php also? If yes, where do I need to modify? Thanks!

#200560 10/29/2003 10:13 PM
Joined: Jul 2002
Posts: 51
Member
Member
Offline
Joined: Jul 2002
Posts: 51
Found not really a bug but something not really covered...

When you go into a forum and select the drop down box to jump to another forum, the hidden forums are shown. You cannot jump to them but they are still shown.

Anyway to turn the drop down off or hide the forums from the box???

Thanks and great job guys!!!

#200561 11/07/2003 5:59 PM
Joined: Jun 2002
Posts: 111
Member
Member
Offline
Joined: Jun 2002
Posts: 111
Hi,

Found more ways that it keeps on turning around the block, if someone has the time to look into it, would be great.

Thanks for the time anyway smile

#200562 12/10/2003 11:36 AM
Joined: Jun 2003
Posts: 14
Junior Member
Junior Member
Offline
Joined: Jun 2003
Posts: 14
Has anybody found a solution for the php problem yet?
I think it might be a cache problem. If you log out and update the Style Template Associations , the php does not show the private forums, but as soon as you press the forum home link, or enter the board trough a link again, the php file shows the hiden forums again...

#200563 12/12/2003 12:28 PM
Joined: May 2000
Posts: 1,168
Member
Member
Offline
Joined: May 2000
Posts: 1,168
So basically with this hack you can't use the PHP addition? Is that correct?

- MT

#200564 12/14/2003 1:30 PM
Joined: Jun 2003
Posts: 14
Junior Member
Junior Member
Offline
Joined: Jun 2003
Posts: 14
Quote
quote:
Originally posted by Matt Torbin:
So basically with this hack you can't use the PHP addition? Is that correct?

- MT
Well, the private forums will still show up on the ultimatebb.php file... but will be hiden when people use the ultimatebb.cgi file...

#200565 12/15/2003 9:49 AM
Joined: May 2000
Posts: 1,168
Member
Member
Offline
Joined: May 2000
Posts: 1,168
Has anyone gotten this to work in 6.6.1? I tried and got an error.

- MT

#200566 12/15/2003 9:58 AM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
Did you use this version or the 6.6.x version ?

#200567 12/15/2003 10:42 AM
Joined: May 2000
Posts: 1,168
Member
Member
Offline
Joined: May 2000
Posts: 1,168
I don't think so. Let me try it again...

#200568 12/15/2003 10:58 AM
Joined: May 2000
Posts: 1,168
Member
Member
Offline
Joined: May 2000
Posts: 1,168
I tried it and got an error. Sorry, my Perl is still very rusty so I'm not sure what the issue is.

Right now I'm going through the hacks that I can just quickly bang out and then I'll go back and work on the ones that need some special attention.

- MT

#200569 12/31/2003 5:32 PM
Joined: May 2000
Posts: 1,168
Member
Member
Offline
Joined: May 2000
Posts: 1,168
Quote
Originally posted by Weird Al:

Did you use this version or the 6.6.x version ?

Does someone have this version? The link is busted.

Thanks,

- MT

#200570 01/02/2004 4:30 PM
Joined: May 2000
Posts: 1,168
Member
Member
Offline
Joined: May 2000
Posts: 1,168
Anyone?? Anyone??

#200571 01/06/2004 10:12 AM
Joined: May 2000
Posts: 1,168
Member
Member
Offline
Joined: May 2000
Posts: 1,168
I'll take it that's a NO... frown

#200572 01/22/2004 6:00 PM
Joined: Jul 2002
Posts: 51
Member
Member
Offline
Joined: Jul 2002
Posts: 51
I have used the 6.5 version and it works well with the exception of the "jump to" drop down box shows the name of the forum but will not allow access.

You cannot run the accelerator as it will show the forum as soon as it jumps to .php . I disabled the accelerator (the option in the CP) and has worked great for a couple of months now.

Sorry, I do not have the 6.6 either... would like it though.

#200573 02/07/2004 9:51 AM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Try https://www.ubbdev.com/ubb/upload/00004463/hideprivate.txt

This is stephen's first version, not the update which he has applied in November.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
JAISP
JAISP
PA
Posts: 449
Joined: February 2008
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)