vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Minimum posts to view hidden forum (https://vborg.vbsupport.ru/showthread.php?t=55710)

Royal 07-29-2003 03:35 PM

Minimum posts to view hidden forum
 
Hello im looking for a hack it need to contain the following options :
Members need a minimum post count of 2000 before they can see and can post in the HIDDEN forum.

there is a hack for minimum posts but not for a hidden forum anyone that can help me find/make this hack ?

thnx in advance

Logician 07-31-2003 08:57 AM

this trick can help you for your request too:
https://vborg.vbsupport.ru/showthrea...threadid=55742

Royal 07-31-2003 11:20 AM

so can u help me to modify it to my needs ?

thnx in advance

Royal 08-01-2003 07:08 AM

or anyones else ? please i realy need it :(

Logician 08-01-2003 09:10 AM

Do everything that threads say, except change the line:

PHP Code:

if ($bbuserinfo['usergroupid']==AND $bbuserinfo['joindate']>strtotime("-3 months") ) 

AS:
PHP Code:

if ($bbuserinfo['usergroupid']==AND $bbuserinfo['posts']>2000 

This will make sure your users usergroup will change automatically when they reach 2000 posts.

This is the easiest solution for your request. I think that it is easier to change your other sections of your site than changing default forum structure of vbulletin.

Royal 08-01-2003 09:48 AM

<a href="https://vborg.vbsupport.ru/showthread.php?postid=422318#post422318" target="_blank">https://vborg.vbsupport.ru/showt...318#post422318</a>

and im not the programmer that made the site so i wont f the site up :bunny:

Logician 08-01-2003 10:19 AM

if you wouldnt use it, why did you ask me to modify it for your request in the first place.

Royal 08-01-2003 11:45 AM

i said in the other topic that i dont want to change the usergroups, and its also not in my request

but thanks i will talk with the programmer if its not too much work to modify the site code with an other usergroup extra.

and again thnx


All times are GMT. The time now is 08:43 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.01480 seconds
  • Memory Usage 1,722KB
  • 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
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete