PDA

View Full Version : Plugin Stopped Working after upgrade to 3.7.2


Remulon
07-22-2008, 03:49 AM
Hi all,

I recently upgraded to 3.7.2 and one of my plugins stopped working.

I have a simple plugin which allows me to show a discrete forum name, which is set to hook at global_start. The plugin is as follows:

$vboptions[bbtitle_discrete] = "My Discrete Forum Title";

and then, certain phrases have been edited to include this bbtitle_discrete variable.

This worked great before the upgrade, but now there is just a blank space where the discrete forum title should be.

Thnks.

Remo

MoT3rror
07-22-2008, 05:06 AM
Try

$vbulletin->options['bbtitle_discrete'] = $vboptions['bbtitle_discrete'] = "My Discrete Forum Title";

Dismounted
07-22-2008, 06:56 AM
$vbulletin->options['bbtitle_discrete'] = 'My Discrete Forum Title';
You should use $vbulletin->options in plugins (ie. outside of templates). You do not need to set $vboptions, because it is assigned by reference to $vbulletin->options.