Quote:
Originally Posted by chrisngrod
Just wanted to note that when the "Forum Submit Limit Per User" is relatively low it works.
I had some stuff setup with a limit of 20 and one user is at 21 already :-(.
I'm going to donate. Either way this has helped me a lot.
|
Hmm, not sure why this isn't working, perhaps the field has reached its length limit.
Alternative method, if you're saving results to db
Edit Form -> Form Hooks -> Form Hook: Form Start:
PHP Code:
$count_submits = $vbulletin->db->query_first("SELECT COUNT(*) AS countrows FROM " . TABLE_PREFIX . "formresults WHERE fid = '$fid' AND userid = '".$vbulletin->userinfo['userid']."' ");
if ($count_submits['countrows'] > 20)
{
print_no_permission();
}
Quote:
EDIT: Upgraded and then downgraded. When I tried to export a form with the new version or do some other functions it would take me to the smilies. After reverting back everything is fine again.
|
I expect this is because your browser was using a cached version of easyforms.js. Clear browser cache or manually reload easyforms.js and it'll work.