Quote:
Originally Posted by Simon Lloyd
I am using your latest Beta 5, but i still get the message, the post then says i have already posted, taking you to thread but then get the admin message saying i have followed an invalid thread...and of course the post hasn't been made in forum id 52.
EDIT: is it possible to have the username and date entered automatically? right now i have a field for Enter your username and one for Enter todays date.
EDIT 2: you latest Beta 6, works fine except it doesn't show the date from the date boxes, not a problem if you could point me on how to do the above
|
The fix for beta 5 would be...
Find in plugin:
Easy Forms Part 1
PHP Code:
$foruminfo = verify_id('forum', $formforumid, 0, 1);
Replace with
PHP Code:
$foruminfo = verify_id('forum', $forumid, 0, 1);
Username Field:
Create custom question:
PHP Code:
$answer = '<input type="text" readonly="readonly" id="q_' . $formbit[id] . '" name="' . $formbit[id] . '" value="' . $vbulletin->userinfo[username] . '" />';
Today's Date Field:
Create custom question:
PHP Code:
$q[$formbit[id]] = vbdate($vbulletin->options['dateformat'], TIMENOW);
$answer = '<input type="text" readonly="readonly" id="q_' . $formbit[id] . '" name="' . $formbit[id] . '" value="' . $q[$formbit[id]] . '" />';