MyBB Community Forums

Full Version: User profile without login...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
When i click on a user name without login to forum it gives an sql error.


mySQL 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 '4','86','5','87'')' at line 1
Query: SELECT * FROM mybb_threads WHERE uid='1' AND fid NOT IN (''4','86','5','87'')

Can it be fixed, as a "you don't have permission" page? Rolleyes
Do you use the mod "Recent threads on profiles"?

If yes, then check this thread.

If you don't want guests to see the profiles of your users go into your Admin-CP -> Users and Groups -> Manage Groups -> Unregistered / Not Logged In -> Edit Usergroup -> Can View Profiles -> No.
Michael83 Wrote:Do you use the mod "Recent threads on profiles"?

If yes, then check this thread.

Yes, i'm using this mod Smile
And the bug fixed... thanks... Wink
I'm not entirely sure how I missed that bug report but I've just patched the plugin now.

Sorry about that.
Move to bogus/mods forum then?