PDA

View Full Version : Minimum # of posts required to vote on poll


[email protected] vbmenu_register("postmenu_271426", true);
07-11-2002, 01:28 AM
Is there a hack already that requires a minimum # of posts required to vote on poll. If not could one of you pro hackers help me out? Thanks in advance.

Mark

Logician
07-11-2002, 06:19 AM
edit poll.php, find:

if (!$permissions[canview] or !$permissions[canvote]) {


Replace it AS:

if (!$permissions[canview] or !$permissions[canvote] or $bbuserinfo['posts']<XX) {


Replace XX with the min.post number to vote..

Not tested, should work..

Enjoy.. :)