php forum
php mysql forum
php mysql smarty
 
Page 2 of 2 < 1 2
Topic Options
#203440 - 04/04/06 12:04 AM Re: [6.7] [beta] Hide Private Forums
Nightcrawler Offline
User

Registered: 12/17/03
Posts: 47
Loc: San Diego
Works great! Thanks again!

Top
#203441 - 05/24/06 05:57 PM Re: [6.7] [beta] Hide Private Forums
Tiger66 Offline
Member

Registered: 03/31/04
Posts: 58
Loc: Israel
Quote:
Originally posted by LK:

Try the following:
in public_common.pl, find: (TWICE)
Code:
			next FORUM if $vars_forums{$f}->[3] ne "On";
Add below:
Code:
			next FORUM if $f == NUMBER;
Replace NUMBER with the number of the forum you'd like to hide, for example if you'd like to hide forum 3 add:
Code:
			next FORUM if $f == 3;


One small problem is that it hides the forum from admins too

Top
#203442 - 05/31/06 07:01 AM Re: [6.7] [beta] Hide Private Forums
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
There's nothing (simple) to do against it, since it is cached, so whatever the average user sees, so does the administrator.
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
Page 2 of 2 < 1 2


Moderator:  Charles, Gizmo 
Who's Online
2 registered (AllenAyres, blaaskaak), 19 Guests and 11 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Spell Check [beta]
by AllenAyres
12/01/08 09:32 AM
Forum 'Trader Ratings'.
by blaaskaak
11/20/08 08:27 AM
Problems reading a lot of old posts here
by Ruben Rocha
11/18/08 04:33 PM
PhotoPost BB Code Popup
by Iann128
11/15/08 01:24 PM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
Active Topics.
by AllenAyres
11/11/08 02:13 PM
New Mods
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Spell Check [beta]
by
10/17/06 09:24 PM
Newest Members
David DelMonte, nick1, Begbie, cenk, MATTO
13363 Registered Users
Top Posters
AllenAyres 25449
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks