Quote:
Originally posted by Mathiau
haha, man i have been looking for this for my works forum - the store hacks has most of it - but i need to know how to stop someone from posting / viewing a therad if they don't have enough points.
ithink it is a modify hack that someon did and never posted it.
|
edit newreply.php, find:
PHP Code:
updateuserforum($threadinfo['forumid']);
Before that insert:
PHP Code:
if ($bbuserinfo[storep]<X AND $threadinfo[forumid]==Y)
{
eval("standarderror(\"".gettemplate("error_notehoughstoremoney")."\");");
}
Replace X with the min store money your members should have to reply in forum Y. Replace Y with your forumid.
Create a new template named "error_notehoughstoremoney".. It will be displayed if user tried to reply in forum Y with money less than X.
Enjoy..