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 post to view threads (https://vborg.vbsupport.ru/showthread.php?t=58347)

Rampag33 11-02-2003 03:07 PM

minimum post to view threads
 
I know there 2 or 3 haccs for this but can someone make one that works with vbulletin 2.3.2

Sylvus 11-03-2003 01:22 AM

How do you plan to make this work for new users? How can someone make a post if they start out with 0 posts and cannot see active threads to reply to and join in on?

Syl...

Rampag33 11-03-2003 01:36 AM

Make it to where they can only post in ceratin sections first.
Alot of stuff on my site is adult material so don't really need the people who aren't actively on the forums to just look at the pics/movies and spank off.

Zachery 11-03-2003 12:05 PM

Quote:

Originally Posted by Rampag33
Make it to where they can only post in ceratin sections first.
Alot of stuff on my site is adult material so don't really need the people who aren't actively on the forums to just look at the pics/movies and spank off.

time for multiple usergroups and access masks ^^

Rampag33 11-03-2003 03:09 PM

That would be alot of user groups and some serious changing for about 700 members. That's why it was easy with the minimum post to view threads.

Zachery 11-03-2003 03:55 PM

Quote:

Originally Posted by Rampag33
That would be alot of user groups and some serious changing for about 700 members. That's why it was easy with the minimum post to view threads.

very ez with vb3 ^^ where vbulletin manages promotions for you

Rampag33 11-03-2003 04:11 PM

Yeah I would have upgraded to vb3 but way too haccs installed.

assassingod 11-03-2003 04:17 PM

Have you tried all the Minimum Posts to Views Threads hacks? There are 2 be Lesane which work very well. If they dont, i'll make one for you:)

Rampag33 11-03-2003 05:28 PM

Yeah I've tried them all. They work on all vb's under 230
none of them work on anything thats 230 and higher and I'm running v232.

assassingod 11-03-2003 05:46 PM

Ok, open newthread.php and find:
PHP Code:

updateuserforum($foruminfo['forumid']); 

Above add:
PHP Code:

if ($bbuserinfo[posts] < 20)
{
  eval(
"standarderror(\"".gettemplate("error_notenoughposts'")."\");");


(You can change 20 to whatever number you want)

Creat a new template called 'error_notenoughposts'
with the contents:
Code:

You do not have enough posts to create a new thread.


All times are GMT. The time now is 05:05 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.01145 seconds
  • Memory Usage 1,737KB
  • 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
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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