For the cause (to the powers that be)!

What do you think?

  • He's lost the plot.

    Votes: 3 100.0%
  • Nice idea.

    Votes: 0 0.0%

  • Total voters
    3
Status
Not open for further replies.

DefecTalisman

Community Advocate
Community Support
Messages
4,148
Reaction score
5
Points
38
To the powers that be I offer my services(as a novice).

I have noticed alot of you have link bars(dont know the correct term) in place of signatures. Sorry and please take no offence to this, they look like they where made in microsoft paint.

I am willing to create a uniform version for all the people in power on this forum(I mean the boss's gotta look good right).
I can custom animate them.
I expect nothing in return for this other than you carry on your great services for us peeps.
If anyone wants to donate to the cause, I propose that we setup a account that the credits can be transefered to. This account can stay in the hands of a admin or mod. When it reaches a desired amount the credits could be distributed to all members that meet a certain criteria.

All I need from you is the requiered names for the links that you might need.
Any ideas regarding design.
I would preffer to do a uniform design that consists of multiple images/gifs to reduce work load and maintenence. Each person can have thier own header in this image and then choose from the opions we decied on as links.

eg: TOS, Suspended accounts... and so on.

So what you think?
Edit:
left.gif
base.gif
anima.gif
base.gif
right.gif

Edit:
Ouch... maybe a resize on that, but you get the idea ?
Edit:
This took a total of 5mins...
left stopper, base image, aminated gif, base image, right stopper.
Edit:
Please note my filters for Adobe arn't loaded yet, had a reformat. Takes about 2 hours to load them all. Thereafter they can be more graphically intense.
Edit:
.
.
Could also use the php BBcode tags to creat a uniform size for the links.

eg:

a base overall size is needed, lets say 400 x 500.

______________________500pixels_____________________

_____________________USERNAME______________________ |
____________________POSTION HELD____________________ |
_STOPPER_ | _LINK_ | _LINK_ | _LINK_ | _LINK_ | _STOPPER_ |400pixels
____________________________________________________ |

the username/job bar is maybe 150 x 500
therfore there is 250x500 left for the links and stoppers
lets say 5 links what ever they would be and 2 stoppers(0.125 of a link in this case)
take the total width of the links(200 each in this case) requiered, add the stoppers(25 in this) and we get 1050.

1050/500 = 2.1

now we have the ammount to divide each image by.
Edit:
PHP:
$i= 0;
$ii = 0;
$ttl_size = 0;
$http_base = 'http://www.defectalisman.exofire.net/img/';
//$http_base = 'img/';
$header = $http_base.'head.gif';
$stoper_left = $http_base.'left.gif';
$stoper_right = $http_base.'right.gif';
$links = array("$http_base".'anima.gif', "$http_base".'anima.gif', "$http_base".'anima.gif', "$http_base".'anima.gif');

$image_size = getimagesize("$header");
$ttl_width = $image_size[0];
foreach ($links as $_) {
	$i++;
	$tmp = getimagesize("$_");
	$ttl_size += $tmp[0];
};

$tmp = getimagesize($stoper_left);
$ttl_size += $tmp[0];
$tmp = getimagesize($stoper_right);
$ttl_size += $tmp[0];

$ratio = $ttl_size / $ttl_width;


// therfore each links/stoppers width is divided by the ratio
$tmp = getimagesize($stoper_left);
$leftstop_width = round($tmp[0] / $ratio);
$leftstop_height = round($tmp[1] / $ratio);
$tmp = getimagesize($stoper_right);
$rightstop_width = round($tmp[0] / $ratio);
$rightstop_height = round($tmp[1] / $ratio);

// this now creates a average width for the links
$tmp = getimagesize("$links[0]");
$link_width = round($tmp[0] / $ratio);
$link_height = round($tmp[1] / $ratio);

// now we have to construct the sig
$sig = 
'[img='."$image_size[0]".'x'."$image_size[1]".']'."$header".'[/img]'.'<br>'.
'[img='."$leftstop_width".'x'."$leftstop_height".']'."$stoper_left".'[/img]'.
'[img='."$link_width".'x'."$link_height".']'."$links[0]".'[/img]'.
'[img='."$link_width".'x'."$link_height".']'."$links[1]".'[/img]'.
'[img='."$link_width".'x'."$link_height".']'."$links[2]".'[/img]'.
'[img='."$link_width".'x'."$link_height".']'."$links[3]".'[/img]'.
'[img='."$rightstop_width".'x'."$rightstop_height".']'."$stoper_right".'[/img]'
;
//$sig = '[img='."$link_width".'x'."$link_height".']'."$links[0]".'[/img]';
echo $sig;
Edit:
bugger that didnt have the effect i wanted...
doh...
works if run as a script... only suited for 4 links and could work it as a function though.
Edit:
With some mod on the script:

This is what it should output:

[img=500x150]http://www.defectalisman.exofire.net/img/head.gif[/img]
[img=9x241]http://www.defectalisman.exofire.net/img/left.gif[/img][img=120x241]http://www.defectalisman.exofire.net/img/anima.gif[/img][img=120x241]http://www.defectalisman.exofire.net/img/anima.gif[/img][img=120x241]http://www.defectalisman.exofire.net/img/anima.gif[/img][img=120x241]http://www.defectalisman.exofire.net/img/anima.gif[/img][img=9x241]img/right.gif[/img]
 
Last edited:

Derek

Community Support Force
Community Support
Messages
12,882
Reaction score
186
Points
63
Isn't that the same as mine..
 

DefecTalisman

Community Advocate
Community Support
Messages
4,148
Reaction score
5
Points
38
Yes, following the same format, but applying animation and rendering.

Uhm... what package did you use to make the images?
 
Status
Not open for further replies.
Top