View Full Version : Trial Membership?
Can someone please make me some small hack where when someone signs up, they are automatically set into a usergroup, and given 10 posts....after they use their 10 posts, they have to be verified by an admin to see if they can stay with the board...i dont think it would be too dificult...i mean, i can create the usergroup, I just don't know how to disable posting after 10 posts for the certain usergroup....
Please help me :)
Velocd
06-21-2002, 05:40 AM
This belongs in the Request (https://vborg.vbsupport.ru/forumdisplay.php?s=&forumid=8) area ;)
So if a moderator could move it, that would be cool.
Anyway, this hack has seems totally pointless. In what way would you use this, and why? If you ask me, unless your board is crazy popular and just so jammed packed full of members that guests are literally dying to get in forces you to put trial memberships, I just see no point in it ;)
Logician
06-21-2002, 09:58 AM
In new thread.php, find:
$permissions=getpermissions($forumid);
if (!$permissions[canview] or !$permissions[canpostnew]) {
show_nopermission();
}
Before that add:
if ($bbuserinfo['usergroupid']==X AND $bbuserinfo['posts']>=Y)
{
show_nopermission();exit;
}
(Replace X with usergroup of these users and Y with the max post count allowed)
If you dont want them to reply existing threads too, add the same code to newreply.php before:
updateuserforum($threadinfo['forumid']);
Not tested, but it should work..
Logician
Velocd
06-21-2002, 02:08 PM
Just don't ask him to release it ;)
ps: nice signature Logican
Logician
06-21-2002, 02:18 PM
hehe thx.
Chris M
06-21-2002, 08:25 PM
I didnt know we were allowed Images...
Nice sig yourself Velo...
Satan
hehe thanks man...sorry i posted this in the wrong forum!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.