MyBB Community Forums

Full Version: adding avatar insted of names in portal who is online
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
(2014-10-30, 07:16 PM)Cleopatra Wrote: [ -> ]i have already attached my portal .php on the reply above i hope you can figure it out
thanks

Oh indeed you have, I'm sorry I didn't see it, okay cool, I will completely look it over today and get back with you on the thread, thank you for your patience.
thank you for your help
i will be waiting
(2014-10-30, 07:30 PM)Cleopatra Wrote: [ -> ]thank you for your help
i will be waiting

Hi, I added the code into your portal.php and attached the file below,
save a back up of your original portal.php then feel free to try out the revised verion,
Copy and paste the file I've attached (the revision) into your portal.php.
let me know how it goes and good luck!
MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 5
Query:
SELECT s.sid, s.ip, s.uid, s.time, s.location, s.location1, u.username, u.invisible, u.usergroup, u.displaygroup, u.avatar FROM mybb_sessions s LEFT JOIN mybb_users u ON (s.uid=u.uid) WHERE s.time>'1414745652' ORDER BY ,
Please contact the MyBB Group for support.
Sorry, simply restore the file. Like I said originally, it is tricky, I would not give up, because the method I used it based off of 1.6 as you see in the link that I attachd from the original source of the method, But you can keep playing with it and see if you figure it out, good luck.
thank you for your help
i will keep searching for a solution
Pages: 1 2