vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Show/Hide Private Forums (https://vborg.vbsupport.ru/showthread.php?t=93093)

Andreas 07-27-2005 10:00 PM

Show/Hide Private Forums
 
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

Quote:

Originally Posted by KirbyDE
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

Code:

XML Error: not well-formed (invalid token) at Line 3
taffy


All times are GMT. The time now is 03:32 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01326 seconds
  • Memory Usage 1,726KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete