Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[F] is_moderator is not cached
#2
If a user is not admin and super modder, it will generate alot of queries if there are many sub-forums especially the index.php.

These similar queries just repeat many times:

 SELECT * FROM mybb_moderators WHERE uid='123' AND (fid='5' OR fid='7' OR fid='19' ....)

You can take a look at my site at http://mkportal.thevnchannel.com/support/index.php . I also activate debug info for registered users so you will know what's wrong. Currently it generate more than 70 queries in that index forum even I turned the modlist off.
[Image: vnchannel0.png]

MKP | MKV (EN) | VNC (EN)


Messages In This Thread
[F] is_moderator is not cached - by vnc - 2007-03-06, 12:07 AM
RE: is_moderator is not cached - by vnc - 2007-03-10, 08:01 PM
RE: is_moderator is not cached - by Dennis Tsang - 2007-03-11, 09:07 PM
RE: [F] is_moderator is not cached - by vnc - 2007-04-13, 07:41 PM
RE: [F] is_moderator is not cached - by vnc - 2007-05-17, 09:20 PM
RE: [F] is_moderator is not cached - by vnc - 2007-05-18, 12:11 AM
RE: [F] is_moderator is not cached - by vnc - 2007-05-18, 01:44 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)