View Full Version : Show/Hide Private Forums
Andreas
07-27-2005, 10:00 PM
Show/Hide Private Forums
Description
vBulletin already has a setting to specify if a Forum where the User does not have Permissions
should still be listed or not.
Unfortunately, this is a All or Noting setting, eg. you can't show your Premmium Members Forum,
but still hide your Staff Zone.
This Hack turns this into a Forum Setting, making it possible to show one Forum but Hide another -
no matter the the global setting is.
Details
1 Product XML with 2 Plugins and 3 Phrase
7 File Edits
If somebody has got the ultimate Idea how this could be done without File Edits i'd be more then happy to know :)
History
1.0.0 Initial Version
1.0.1 Fixed a Typo in the Install Code which caused a Query not to be executed properly.
Please only click Install if you actually have installed/are using this Hack, and click Uninstall whan you don't use it any longer!
Allan
07-28-2005, 09:31 PM
little screens please :)
Andreas
07-28-2005, 09:33 PM
Imagine the "Show Private Forums" setting from ACP / vBulletin Options / vBulletion Options / Forum Listings Display Options in Forum Manager - Screenshot done.
nexialys
07-28-2005, 10:10 PM
ah ah... screenshot requests when there is none to provide by logic...
i like it!
Boofo
07-29-2005, 12:03 AM
Good one, Kirby. ;)
Welcome back, nexialys. ;)
monstergamer
07-29-2005, 12:17 AM
Imagine the "Show Private Forums" setting from ACP / vBulletin Options / vBulletion Options / Forum Listings Display Options in Forum Manager - Screenshot done.
that has to be one of the fastest loading screen shot i have ever downloaded :rolleyes:
this might come in handy
Protoman
07-29-2005, 05:07 AM
I don't understand this exactly.
In 3.0 you can set forum permissions for every usergroup.. choosing to show the goodies section for premium members and the admin section to admins only. It wasn't all or nothing. did this change in 3.5??
Andreas
07-29-2005, 07:43 AM
Take a look at ACP / vBulletin Options / vBulletin Options / Forum Listings Display Options / Show Private Forums
If this is set to either Yes option, Forums where the User does not have Permissions will also be listed - all of them.
This Hack just breaks down this setting to Forum level.
Really that difficult to understand?
Protoman
07-29-2005, 03:35 PM
I get it now. Never used that feature before
taffy056
08-12-2005, 07:27 AM
Hi,
Got a problem when I upload the xml file, I get the following error message
XML Error: not well-formed (invalid token) at Line 3
taffy
Andreas
08-12-2005, 09:37 AM
Ack. This is a Bug in vBulletin (http://www.vbulletin.com/forum/bugs35.php?do=view&bugid=979).
Fixed the XML and updated the ZIP.
taffy056
08-14-2005, 01:02 AM
Hi Kirby,
Got the following error when I try to add a new forum in the admincp, when I disable your hack all is okay, enabled it just throws this out.
taffy
Database error in vBulletin 3.5.0 Release Candidate 2:
Invalid SQL:
INSERT INTO forum
(title_clean, title, description_clean, description, link, displayorder, daysprune, parentid, newpostemail, newthreademail, options, styleid, password, issponsor, sponsor_banner, sponsor_url, showifnopermission)
VALUES
('Admin Forum', 'Admin Forum', '', '', '', 1, -1, 1, '', '', 89799, 0, '', '0', '', '', 0);
MySQL Error : Unknown column 'showifnopermission' in 'field list'
Error Number : 1054
Date : Sunday, August 14th 2005 @ 03:55:36 AM
Script : http://www.mydomain.org.uk/testforum/admincp/forum.php
Referrer : http://www.mydomain.org.uk/testforum/admincp/forum.php?do=add&parentid=1&s=
IP Address : *.*.*.*
Username : *
Classname : vb_databas
Andreas
08-14-2005, 02:17 AM
*hmpf*
Run the following Query
ALTER TABLE forum ADD showifnopermission TINYINT(1) UNSIGNED NOT NULL DEFAULT '0'
(Keep Table-Prefixes in mind!)
Or redownload and overwrite.
taffy056
08-14-2005, 07:47 AM
Hi,
That fixed it, thank you for sharing :)
taffy
JohnBee
11-05-2006, 05:45 PM
Great MOD
Is it possible to get it to work for Sub-Forums on the FORUMHOME display?
It hides all the forums but sub-forums remain visible even if I select NO under the visible option.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.