The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Following on from my "have to have 5 posts before viewing a forum" thread I am now requiring to make it 5 posts and 5 days since registering. The code I used for the first bit is:
Code:
//put that in forumdisplay just before
//GENERATE forumjump:
if ($bbuserinfo[usergroupid]==X AND $bbuserinfo[posts]<Y AND $foruminfo[forumid]==3)
{
eval("standarderror (\"".gettemplate ("error_minposts")."\");");
exit;
}
but I cant workout the syntax to make it 5 posts and has been registered for 5 days. Anyone got any clues on this? thanks |
|
#2
|
||||
|
||||
|
whats the point of soemthing like this?
|
|
#3
|
|||
|
|||
|
How can they make a post, if they can't even see the forum?
If they can't view it, they won't even know the subject of the forum, if they can't view it. |
|
#4
|
||||
|
||||
|
Look on the code of my hack(the newthread.php part):
https://vborg.vbsupport.ru/showthrea...threadid=34935 |
|
#5
|
|||
|
|||
|
Quote:
Quote:
Code:
$jointime = (time() - $bbuserinfo[joindate]) / 86400;
|
|
#6
|
||||
|
||||
|
Use this code (with the part of yours):
PHP Code:
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|