Noxwizard wrote: sy278, do you still have that header problem? If so, check posting.php for extra blank lines at the bottom of it, they will generate header errors like that.
Cheers I'll try that and report back
melindeth wrote: FIND:INLINE AFTER:Code: Select all
'POSTER_ONLINE' => (($postrow[$i]['user_session_time'] >= ( time() - 3600 )) && ($postrow[$i]['user_allow_viewonline'])) ? '<img src="' . $images['Online'] . '" alt="' . $lang['Online'] . '" title="' . $lang['Online'] . '" border="0" />' : '<img src="' . $images['Offline'] . '" alt="' . $lang['Offline'] . '" title="' . $lang['Offline'] . '" border="0" />',
ADD:Code: Select all
]['user_allow_viewonline'])
Hope that helpsCode: Select all
|| ($poster == 'your bot user name here')
Code: Select all
// Start add - Online/Offline/Hidden Mod
$online_status_img = '';
if ( $poster_id != ANONYMOUS )
{
if ( $postrow[$i]['user_session_time'] >= (time()-60) )
{
if ( $postrow[$i]['user_allow_viewonline'] )
{
$online_status_img = '<a href="' . append_sid("viewonline.$phpEx") . '"><img src="' . $images['icon_online'] . '" alt="' . sprintf($lang['is_online'], $poster) . '" title="' . sprintf($lang['is_online'], $poster) . '" border="0" /></a> ';
}
else if ( $is_auth['auth_mod'] || ( $userdata['user_id'] == $poster_id ) )
{
$online_status_img = '<a href="' . append_sid("viewonline.$phpEx") . '"><img src="' . $images['icon_hidden'] . '" alt="' . sprintf($lang['is_hidden'], $poster) . '" title="' . sprintf($lang['is_hidden'], $poster) . '" border="0" /></a> ';
}
else
{
$online_status_img = '<img src="' . $images['icon_offline'] . '" alt="' . sprintf($lang['is_offline'], $poster) . '" title="' . sprintf($lang['is_offline'], $poster) . '" border="0" /> ';
}
}
else
{
$online_status_img = '<img src="' . $images['icon_offline'] . '" alt="' . sprintf($lang['is_offline'], $poster) . '" title="' . sprintf($lang['is_offline'], $poster) . '" border="0" /> ';
}
}
// End add - Online/Offline/Hidden Mod
EagleWa1 wrote: Ok, heres the problem. I keep getting this message when a user tries to register:
DEBUG MODE
SQL Error : 1064 You have an error in your SQL syntax near 's Corner!', 16, 17, 1130457802, '', 0, 1, 1, 1)' at line 2
INSERT INTO phpbb_privmsgs (privmsgs_type, privmsgs_subject, privmsgs_from_userid, privmsgs_to_userid, privmsgs_date, privmsgs_ip, privmsgs_enable_html, privmsgs_enable_bbcode, privmsgs_enable_smilies, privmsgs_attach_sig) VALUES (1, 'Welcome to Geefy's Corner!', 16, 17, 1130457802, '', 0, 1, 1, 1)
Line : 169
File : functions_post.php
I have the PM function for the bot turned off though...so...whats going on? Any ideas?