Quote:
Originally Posted by Lynne
We went through a strange issue a week or so ago where plugins weren't getting parsed on external pages. The solution for that was here. I'm not sure if that would help out here cuz I never did go research exactly what was going on, but at this point it might be worth a shot.
|
If I add that code to my plugin or php file I get:
Warning: mysql_query(): 7 is not a valid MySQL-Link resource in [path]/includes/class_core.php on line 408

. I'm not trying to run a plugin on an external page I 'm trying to include my php file in the header template of vbulletin which contains $notifications_total in it. It works outside vB but in vB it doesn't work.