Back to vBulletin 3.0 Add-Ons

Disallow visitors to see the 'images'
Mod Version: 1.00, by Creative Suite

This modification is in the archives.
vB Version: 3.0.6 Rating: (0 vote - 0 average) Installs: 11
Released: 07 Feb 2005 Last Update: Never Downloads: 2
Not Supported  

What it does ?

Disallows visitors to see the images in the Forum

++++++++
----------
++++++++

in the functions_bbcodeparse.php find :

PHP Code:
    $link strip_smilies(str_replace('\\"''"'$link));

    
// remove double spaces -- fixes issues with wordwrap
    
$link str_replace('  '''$link);
    return 
'<img src="' .  $link '" border="0" alt="" />'
replace it with :

PHP Code:
global $bbuserinfo;
    
$link strip_smilies(str_replace('\\"''"'$link));

    
// remove double spaces -- fixes issues with wordwrap
    
$link str_replace('  '''$link);
if(
$bbuserinfo[userid] != 0){ 
    return 
'<img src="' .  $link '" border="0" alt="" />';
}else{
return 
"
<b><font color='#FF0000' face='Microsoft Sans Serif' size='2'>
<a target='_blank' href='register.php'><font color='#FF0000'>
<span style='text-decoration: none'>[<span lang='ar-kw'>
</span>Sorry you can</font><font color='#FF0000' face='Tahoma' size='2'>'</font><font color='#FF0000' face='Microsoft Sans Serif' size='2'>t see this image before </font>
</span></font></a><a target='_blank' href='register.php'>
<span style='text-decoration: none'>
<font color='#008000' face='Microsoft Sans Serif' size='2'>registering</font><font color='#FF0000' face='Microsoft Sans Serif' size='2'><span lang='ar-kw'>
</span>]</font></span></a></b>
"
;

all done

don't forget to click install*

Download

No files for download.

Screenshots

   

Similar Mods

Mini Mods Recent Visitors Block: Hide Recent Visitors vBulletin 3.7 Add-ons

vblts.ru supports vBulletin®, 2022-2024