vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   can see forum/threads/posts only with 20 posts and higher (https://vborg.vbsupport.ru/showthread.php?t=57466)

DivDax 09-28-2003 01:37 PM

can see forum/threads/posts only with 20 posts and higher
 
Hi all!

Sorry for my bad english! I'm german... :)


I can't find this hack here (see title)
Can anyone build me this hack?


I'm using vBulletin v.2.3.0 german





DivDax

assassingod 09-28-2003 01:45 PM

Try these hacks:
https://vborg.vbsupport.ru/showthrea...+threads+forum
https://vborg.vbsupport.ru/showthrea...+threads+forum
https://vborg.vbsupport.ru/showpost....74&postcount=5

DivDax 09-28-2003 02:11 PM

thank you, but i can't find a hack that the users can view a forum on the startpage only with 20 posts and higher.

With this hacks the users can see the forums on the forum startpage. :(

Gary King 09-28-2003 05:01 PM

Quote:

Originally Posted by DivDax
thank you, but i can't find a hack that the users can view a forum on the startpage only with 20 posts and higher.

With this hacks the users can see the forums on the forum startpage. :(

20 posts and higher, does that mean the thread must have 20 posts or higher, or the user must have 20 posts or higher?

DivDax 09-28-2003 08:09 PM

The User must have min. 20 posts to see the forum on startpage

Gary King 09-28-2003 09:01 PM

Quote:

Originally Posted by DivDax
The User must have min. 20 posts to see the forum on startpage

Do you want this to affect ALL forums, or only specified ones?

DivDax 09-29-2003 04:10 PM

Quote:

Originally Posted by Gary W
Do you want this to affect ALL forums, or only specified ones?

only specified ones. ;)
ans with categories

DivDax 09-30-2003 11:06 AM

hey guys!
no hack, no idea? please help me!

Gary King 09-30-2003 06:44 PM

For forumhome, open index.php and find
PHP Code:

                    eval("\$forumbits .= \"".gettemplate("forumhome_forumbit_level$depth$tempext")."\";"); 

Replace with
PHP Code:

                if (!($bbuserinfo['posts'] < 20 and $forum['forumid']==XX))
                {
                    eval(
"\$forumbits .= \"".gettemplate("forumhome_forumbit_level$depth$tempext")."\";");
                } 

Replace XX with the forumid(s) you want blocked if user has less than 20 posts. Copy and paste and $forum['forumid']==XX after the XX to add more forums.

DivDax 10-12-2003 08:23 AM

How can i make, that admins s-mods and mods alway can see this forums?


All times are GMT. The time now is 07:29 PM.

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.01707 seconds
  • Memory Usage 1,735KB
  • 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
  • (3)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