The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Save plugin issue
Hi there,
I've got a problem when saving a plugin, I wanne add a template to the subscription bits by doing the following: Code:
eval('$infobits = "' . fetch_template('hymoo_subscription_addinfo') . '";'); $subscriptionbits = $infobits . $subscriptionbits; Code:
$result = $vbulletin->db->query_first("SELECT count(userid) as count FROM refer_log WHERE userid = 3"); //the 3 is just a test number. query works in mysql eval('$infobits = "' . fetch_template('hymoo_subscription_addinfo') . '";'); $subscriptionbits = $infobits . $subscriptionbits; Does anyone know why this should happen. because I've created numerous plugins with db querys in them. Thanks in forward |
#2
|
||||
|
||||
Have you checked your error_logs (if you don't know where they are, ask your host)?
It also always help to specify which hook location you are using. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|