← Back to vBulletin 3.0 Add-Ons

Completely Random Font Colours For Graffiti Wall
Mod Version: 1.00, by sabret00the

This modification is in the archives.
vB Version: 3.0.7 Rating: (0 vote - 0 average) Installs: 8
Released: 28 Apr 2005 Last Update: Never Downloads: 2
Not Supported  

Open "wall.php" and find:
PHP Code:
    $randcolor = rand(1,9);
    if ( 
$randcolor == 1 ) $color = ImageColorAllocate($myimage, 255, 255, 0);
    elseif ( 
$randcolor == 2 ) $color = ImageColorAllocate($myimage, 255, 165, 0);
    elseif ( 
$randcolor == 3 ) $color = ImageColorAllocate($myimage, 255, 20, 147);
    elseif ( 
$randcolor == 4 ) $color = ImageColorAllocate($myimage, 255, 0, 0);    
    elseif ( 
$randcolor == 5 ) $color = ImageColorAllocate($myimage, 255, 255, 255);            
    elseif ( 
$randcolor == 6 ) $color = ImageColorAllocate($myimage, 0, 255, 255);            
    elseif ( 
$randcolor == 7 ) $color = ImageColorAllocate($myimage, 255, 0, 255);            
    else 
$color = ImageColorAllocate($myimage, 0, 255, 0); 
and replace with
PHP Code:
    // +++ completely random colours
    
$randred = rand(1,255);
    
$randgreen = rand(1,255);
    
$randblue = rand(1,255);

    
$color = ImageColorAllocate($myimage, $randred, $randgreen, $randblue);
    
// --- completely random colours 
now save and upload and you're done

Download

No files for download.

Similar Mods

Add-On Releases MPDev's Graffiti Wall for vB3.6 vBulletin 3.6 Add-ons
MPDev's Graffiti Wall v1 vBulletin 3.0 Full Releases

vblts.ru supports vBulletin®, 2022-2025