![]() |
Any way to optimize my code or cut down on queries?
1 Attachment(s)
I took this MOD:
https://vborg.vbsupport.ru/showthread.php?t=97403 And turned it into this: Attachment 51318 I did it without any real prior knowledge of php or mySQL so I'm sure my code is very inefficient. I pieced it together from what was already in the MOD and got the rest from trial & error. Here's the plugin code. Any feedback is appreciated, thank you. Original Code: Code:
// ### LATEST NEWS BY TANTAWI ############################################ Code:
// ### LATEST NEWS BY TANTAWI ############################################ |
Bump.
|
In your queries, you can remove the bold bits as per the example below;
Code:
SELECT threadcount FROM ' . TABLE_PREFIX . 'forum WHERE 1 AND forumid = 28 ORDER BY forumid DESC LIMIT 0 , 1 |
All times are GMT. The time now is 04:45 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|