PDA

View Full Version : str_replace for postbit its posible?


WarLion
09-12-2007, 11:46 AM
i have one question is possible to make a str_replace i will trying from 4 hours now and i still cant do it
its posible?
i try with diferent hooks but not luck.
this code is what i need

$vbulletin->templatecache['postbit'] = str_replace('<img src=\"$post[avatarurl]\"', '<span class="test"> <img src=\"$post[avatarurl]\"', $vbulletin->templatecache['postbit']);
$vbulletin->templatecache['postbit'] = str_replace('$vbphrase[xs_avatar]</phrase>" border=\"0\" />', '$vbphrase[xs_avatar]</phrase>" border=\"0\" /></span>', $vbulletin->templatecache['postbit']);

Dismounted
09-12-2007, 12:29 PM
<a href="https://vborg.vbsupport.ru/showthread.php?t=151254" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=151254</a>

WarLion
09-12-2007, 04:48 PM
https://vborg.vbsupport.ru/showthread.php?t=151254

thaks a lot all i need