Quote:
Originally Posted by Baja
Anyone else having a problem with Unregistered/Guest authors?
Since 4.1.4 PL2 all submissions that take longer than 15 minutes to complete (vb session timeout period) show up with a userid=0 and display as Unregistered/Guest thread authors. Perhaps the vb update was just a coincidence, but it started on the same day.
|
I know it is very very old post, but i'm facing the same situation. I'm running vB 4.2.2 PL 4 and EasyForms 4.3.0.
I've verified the fact that it is not checking the session upon form submit ... reproducing is easy ... open a form and start filling it, then open another tab in your browser and logoff from forum. Then go back to the tab with the form and submit it. Form is submitted under your name BUT the userID gets saved as "0" => Guest.
Any ideas how to fix this? Might be some hook issue or something?
Thank you in advance
Holy
EDIT: Ok, i figured it out ^^
Open forms.php and search for: (around line 112)
if ($_POST['do'] == 'postform')
{
Add following code bellow the curly bracket :
Code:
if ($vbulletin->userinfo['userid'] == 0)
{
standard_error(fetch_error('session_timed_out_login'), '', false, 'STANDARD_ERROR_LOGIN');
}
Save, upload, profit :]