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 access forums XYZ (https://vborg.vbsupport.ru/showthread.php?t=59797)

lange 01-06-2004 06:46 PM

Minimum posts to access forums XYZ
 
I'm looking for this hack:

The members must post minimum posts by day (2, by example) to access forums D. E, etc. The posts have to be in forums A, B or C.

Thx

monstergamer 01-06-2004 06:50 PM

yes this would be nice to have ^

assassingod 01-06-2004 06:57 PM

You can do this via template, open the FORUMDISPLAY template and at the very top add:
Code:

<if condition="$bbuserinfo['posts'] < x AND $foruminfo['forumid'] == y">
<else />

and at the very bottom add:
Code:

</if>
Replacing x with desired amount of posts and y with the forum id.
Users will get a blank page if they cant access it.

Edit: Sorry, I just noticed this is for posts per day - this will be total of posts for the user

lange 01-06-2004 07:23 PM

Quote:

...Edit: Sorry, I just noticed this is for posts per day - this will be total of posts for the user

Yes. Minimum posts per day.

Zachery 01-06-2004 07:28 PM

why not just use the built in promotion system?

lange 01-06-2004 07:36 PM

Quote:

Originally Posted by Faranth
why not just use the built in promotion system?

I don't know how to do that.

I have no doc about promotion tricky. No doc about nothing. :(

Zachery 01-06-2004 07:45 PM

who needs dos its called playing around

point your self at

admincp/usergroup.php?do=updatepromotion

then just make the apporiate settings


edit: wait why posts per day?

lange 01-06-2004 09:19 PM

Quote:

Originally Posted by Faranth
....edit: wait why posts per day?

Why not ? :)

The promotion system is irrelevant because it will apply to all forums.

Zachery 01-06-2004 09:21 PM

no its not, you can have multiple usergroups, so how is it irrelvelnt?

each usergroup can have access to a specific set of forums

NTLDR 01-06-2004 10:09 PM

Remember that the vB3 Admin Control Panel has alot of the documentation 'built in'. Just click the help icon (?) on something you don't understand :)


All times are GMT. The time now is 04:51 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.01083 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
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete