Sigx

We are the future in the past.
It is currently Mon Dec 09, 2019 11:24 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Tue Apr 06, 2004 1:51 pm 
Offline

Joined: Mon Apr 05, 2004 8:37 pm
Posts: 335
Location: /home/chair/sitting down/
Yet another Dark Horizon creation - Custom Random background for remote sigx
Image
http://www.dh5.net/sig/DHFlat04IPP-Random.php
yeah, you can define your own custom bg

this is pretty ez to do

find this line and remove it:
Code:
$backIMG = "images/yourimage.PNG";



find the line that goes like "$Yoffset=20;", and on the next line, paste in:

Code:
// Random Skinz mod by DarkHorizon
$skinz = array("skin1",
            "skin2",
            "skin3",
            );
$x = rand(0,count($skinz)-1);
$uskin = urlencode($skinz[$x]);
$backIMG = "images/$uskin.PNG"; //you can set the extensions in the array too
// End random skins mod


Make sure that you have the directories set correctly and everything.

replace skin1, skin2, and skin3 with your image names - you can add more by following the format provided -
Code:
             "imagename",


you can edit $backIMG = "images/$uskin.PNG"; to something like $backIMG = "images/$uskin"; and define your own custom extensions

-Dark Horizon

(note, reload the page to display the diff custom bg)

_________________
Image
My Site: www.dh5.us
I'll kill you Brian Anderson


Last edited by DarkHorizon on Tue Apr 06, 2004 4:24 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 06, 2004 1:55 pm 
Offline

Joined: Sat Mar 06, 2004 4:17 pm
Posts: 276
learn to put your stuff in the right sections. This would go in Contrib.

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 06, 2004 1:56 pm 
Offline

Joined: Mon Apr 05, 2004 8:37 pm
Posts: 335
Location: /home/chair/sitting down/
sorry, didnt think about that. I figured this pertained to remote sigx, so i posted it in this area.

Maybe you need to move the contrib section to Remote SigX, or create a Remote SigX contrib category

----EDIT----

Added #4- #8 for more variety in my random sigs... they look like crap, but for now, work for the test/display/demo

Check http://forum.yuriy.net/phpbb/viewtopic.php?t=489 for information on how to have different random bg with different text locations for everything

_________________
Image
My Site: www.dh5.us
I'll kill you Brian Anderson


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group