Quote:
Originally Posted by Lionel
that was infraction.gif
|
the full code should look like this.
PHP Code:
$postbit = str_replace(
array(
//'image.php',
'member.php',
'private.php',
'search.php',
'sendmessage.php',
'profile.php',
'<!-- / post #',
'imwindow',
'400, 200); return false;">',
'images/avatars/',
'<span id="reputationmenu',
' Reputation" border="0" /></a></span>',
'src="' . $stylevar['imgdir_button'] . '/infraction.gif"'
),
array(
//$vbulletin->options['bburl'] . '/image.php',
$vbulletin->options['bburl'] . '/member.php',
$vbulletin->options['bburl'] . '/private.php',
$vbulletin->options['bburl'] . '/search.php',
$vbulletin->options['bburl'] . '/sendmessage.php',
$vbulletin->options['bburl'] . '/profile.php',
'<hr style="visibility: hidden; padding: 0.25em 0 0 0; margin: 0; line-height: 0em" />' . "\n\n" . '<!-- / post #',
'grps_imwindow',
'400, 200, \'' . $vbulletin->options['bburl'] . '\'); return false;">',
$vbulletin->options['bburl'] . '/images/avatars/',
'<!-- <span id="reputationmenu',
' Reputation" border="0" /></a></span> -->',
'src="' . $vbulletin->options['bburl'] . '/clear.gif" width="0" height="0"'
),
$postbit);
minus the commented out lines. please note, that's both tested and workng as far as i can tell. i.e. on my board.