![]() |
CMS Widget Caching, still running query on every refresh
I've created a PHP Direct Execution CMS Widget with this code to count the number of donating members:
Code:
global $vbulletin; Code:
SELECT count(*) as num Thanks! --------------- Added [DATE]1408560000[/DATE] at [TIME]1408560000[/TIME] --------------- This was my own stupid fault. I just pasted in the plugin code, didn't actually set the variable to $output, which the widget instructions told me to do :) Basically changed to this: Code:
global $vbulletin; |
All times are GMT. The time now is 11:00 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:
|