The Arcive of vBulletin Modifications Site. |
|
Completely Random Font Colours For Graffiti Wall Details »»
|
|||||||||||||||||||||||||||
|
Completely Random Font Colours For Graffiti Wall
Developer Last Online: Apr 2010
Open "wall.php" and find:
PHP Code:
PHP Code:
![]() Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
would be good to add a button on the wall entry field to select a random or not... this is good feature!
|
|
#3
|
|||
|
|||
|
Sweet installed
|
|
#4
|
||||
|
||||
|
Installed
|
|
#5
|
|||
|
|||
|
The problem on my board is that it generates too many dark colours. Fix it by having the random value from 150-255
Code:
// +++ completely random bright colours
$randred = rand(150,255);
$randgreen = rand(150,255);
$randblue = rand(150,255);
$color = ImageColorAllocate($myimage, $randred, $randgreen, $randblue);
// --- completely random bright colours
|
|
#6
|
|||
|
|||
|
thanks
/me installs |
|
#7
|
|||
|
|||
|
any prnt scrn??
|
|
#8
|
||||
|
||||
|
Thank's for this hack!
|
|
#9
|
||||
|
||||
|
While developing the Wall I found that random colors didn't render well and I got alot of purple or brown even when it was trying to render some off yellow color. Sticking close to primaries will ensure as close as possible colors.
|
|
#10
|
||||
|
||||
|
Quote:
PHP Code:
|
![]() |
|
|