again nothing, lol this is becoming such a headache for such a little task =(
--------------- Added [DATE]1458277099[/DATE] at [TIME]1458277099[/TIME] ---------------
just for popped in my head so i tried.
postbit_display_complete
Code:
$search = 'img';
$replace = 'a';
$vbulletin->templatecache['postbit'] = preg_replace($search, $replace, $vbulletin->templatecache['postbit']);
seems like that should do something.... like replace all the images with links, but all it does is cause an infinite load -_-
--------------- Added [DATE]1458322966[/DATE] at [TIME]1458322966[/TIME] ---------------
seems postbit isnt cached in the hook i was using
using
Code:
$vbulletin->templatecache['postbit'] = str_replace('<img src=\"$post[avatarurl]', 'SHIT', $vbulletin->templatecache['postbit']);
in global gave me results. although i need some help to get the "whatever comes after doesnt matter" combination, been playing with it for hours and cant get it =/
example in red:
Code:
str_replace('<img src=\"$post[avatarurl]'\"*/>, ......
so everything in the img tag gets replaced.