MyBB Community Forums

Full Version: MySQL Query
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
an anyone tell me what this is doing please?

SELECT uid FROM mybb_sessions WHERE time>'1175328467' AND location1='203'

As i have that query running about 30 times on the index page, causing me to have over 50 queries each time its loaded. The only difference is the location number is different each time.

Is there any way to lower the amount of times it does whatever this is doing?
The only query that even remotely looks like that is run on forumdisplay.php. So, thats obviously a plugin. In fact it's the "Count Forum Viewers" plugin by zaher. You'll have to deactivate it, or zaher will have to upgrade his plugin to make it work better.
hmm the only problem is, that plugin is deactivated, but i still get many queries :/
It probably didn't get deactivated fully then. Try removing the file.