Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Warning Notification (Icon).
#11
This user has been denied support. This user has been denied support.
(2012-09-23, 07:28 PM)euantor Wrote: Ok, take a peak at this: http://euantor.com/4-reducing-mybb-plugi...he-postbit

It should help you cut the query count to just one if you do it right. Also, why are you looking up the uid from the user's table? Just use $post['uid'] unless I'm missing something by skim reading on my phone.
Looking at it, thanks.

(2012-09-23, 07:29 PM)euantor Wrote: Also, why are you running get_forum within a loop? I'm sure it runs a query too...
Nope, just tried to avoid any confusion, runs the same amount of queries.
Reply


Messages In This Thread
Post Warning Notification (Icon). - by crazy4cs - 2012-09-23, 07:43 AM
RE: Post Warning Notification (Icon). - by Euan T - 2012-09-23, 07:16 PM
RE: Post Warning Notification (Icon). - by Euan T - 2012-09-23, 07:28 PM
RE: Post Warning Notification (Icon). - by Euan T - 2012-09-23, 07:29 PM
RE: Post Warning Notification (Icon). - by crazy4cs - 2012-09-23, 07:33 PM
RE: Post Warning Notification (Icon). - by Euan T - 2012-09-23, 07:38 PM
RE: Post Warning Notification (Icon). - by Euan T - 2012-09-23, 07:40 PM
RE: Post Warning Notification (Icon). - by Euan T - 2012-09-23, 07:52 PM
RE: Post Warning Notification (Icon). - by Euan T - 2012-09-23, 07:56 PM
RE: Post Warning Notification (Icon). - by Euan T - 2012-09-23, 08:37 PM
RE: Post Warning Notification (Icon). - by Euan T - 2012-09-23, 08:51 PM
RE: Post Warning Notification (Icon). - by iHydra - 2012-09-23, 09:11 PM
RE: Post Warning Notification (Icon). - by lexy - 2012-09-28, 08:14 AM
RE: Post Warning Notification (Icon). - by lexy - 2012-09-28, 10:26 AM

Forum Jump:


Users browsing this thread: 12 Guest(s)