PDA

View Full Version : help with programming


Maouze
01-01-2010, 06:04 PM
hi there xD!

i wanna create a plugin to my hack:


global $vbulletin;
if ($vbulletin->options['activado'])
{
$post[message] = str_ireplace('[rp]','$vbulletin->options['reemplazin']', $post[message]);
}


the namevar: activado, activate my hack (on/off) and the namevar "reemplazin" is the "box" in my admincp.

what i need to reemplaze in post "[rp]" with the content of the box in admincp?

Thanks ;)