PDA

View Full Version : Avatar Hack (if it's not already done)


Warlord
01-06-2002, 04:33 PM
When registerring and in your user cp the avatar display layout is kind of annoying (IMO). Can someone make a hack that has the avatar listing in a drop down box and when one is selected the avatar shows up to the right of the drop down box? Or if this hack has been made already could someone point me in the right direction please?

Version 2.2.1

Warlord
01-06-2002, 05:49 PM
I want it to appear something like this in both the registration as well as in the user cp

http://www.superherochat.com/warlord/avatar _screen_shot.jpg

-.valkyre
01-06-2002, 10:55 PM
I believe that's already a released hack, try searching for "Avatar hack", or just "Avatar". You should come across it with little to no effort :)

Warlord
01-06-2002, 11:59 PM
Thank you very much valkrye, I was starting to think everyone put me on ignore for some reason. LOL :D

Warlord
01-07-2002, 12:21 AM
Ok, this is the closest thing I could find to what I'm looking for.

https://vborg.vbsupport.ru/showthread.php?s=&threadid=24997&highlight=Jump+Navigation+in+Avatar

Which looks like this...


https://vborg.vbsupport.ru/attachment.php?s=&postid=152161&fullpage=1

It's not quite what I'm looking for. The avatars on my board are quite a bit larger than usual and I'm looking for something that would show each individual avatar as it is selected like in the screen shot I posted earlier.

Anyone have anything like that?

Bioderm
01-07-2002, 12:42 AM
Can anyone help us here.Please.it should be to hard,but i dont know php to well.

Warlord
01-07-2002, 01:01 AM
looking at the source code from the site that screen shot was taken of it looks like html inside a php block...

-----------------------------------------------------------------------------------

<td width='100%' valign='top' bgcolor="#000000"><font face="verdana, arial, helvetica" size="2" ><b>Avatar:</b><br>
<font face="verdana,arial,helvetica" size="1" >You make pick an avatar that appears beneath your name on your posts. </font></font></td>
<td bgcolor="#000000" valign='middle' height='70'>
<font face="verdana,arial,helvetica" size="1" >
<select name="avatarsel" onchange="document.images.avatarpic.src = this[this.selectedIndex].value;">
<option value="images/clear.gif"> </option>
<option value='images/avatars/mov9_bqueen001.jpg'>First Contact Borg Queen</option>
<option value='images/avatars/mov9_cochrane001.jpg'>First Contact Cochrane</option>
<option value='images/avatars/mov9_data001.jpg'>First Contact Data</option>
<option value='images/avatars/mov9_picard002.jpg'>First Contact Dixon Hill</option>
<option value='images/avatars/mov9_picard003.jpg'>First Contact Dixon Hill 2</option>
<option value='images/avatars/mov9_picard004.jpg'>First Contact Dixon Hill 3</option>
<option value='images/avatars/mov9_ent001.jpg'>First Contact Enterprise-E</option>
<option value='images/avatars/mov9_laforge001.jpg'>First Contact La Forge</option>
<option value='images/avatars/mov9_phoenix001.jpg'>First Contact Phoenix</option>
<option value='images/avatars/mov9_picard001.jpg'>First Contact Picard</option>
<option value='images/avatars/mov9_picard005.jpg'>First Contact Picard 2</option>
<option value='images/avatars/mov9_riker001.jpg'>First Contact Riker</option>
<option value='images/avatars/mov9_vulcan001.jpg'>First Contact Solkar</option>
<option value='images/avatars/movins_akira001.jpg'>First Contact Starfleet Battle</option>
<option value='images/avatars/mov9_troi.jpg'>First Contact Troi</option>
<option value='images/avatars/mov9_worf001.jpg'>First Contact Worf</option>
<option value='images/avatars/movins_artim001.jpg'>Insurrection Artim</option>
<option value='images/avatars/movins_data001.jpg'>Insurrection Data</option>
<option value='images/avatars/movins_dougherty001.jpg'>Insurrection Dougherty</option>
<option value='images/avatars/movins_ent001.jpg'>Insurrection Enterprise-E</option>
<option value='images/avatars/movins_gallatin001.jpg'>Insurrection Gallatin</option>
<option value='images/avatars/movins_laforge001.jpg'>Insurrection La Forge</option>
<option value='images/avatars/movins_officer001.jpg'>Insurrection Lieutenant</option>
<option value='images/avatars/movins_picard001.jpg'>Insurrection Picard</option>
<option value='images/avatars/movins_picard002.jpg'>Insurrection Picard 2</option>
<option value='images/avatars/movins_riker001.jpg'>Insurrection Riker</option>
<option value='images/avatars/movins_ruafo001.jpg'>Insurrection Ru'afo</option>
<option value='images/avatars/movins_ruafo002.jpg'>Insurrection Ru'afo 2</option>
<option value='images/avatars/movins_shuttle001.jpg'>Insurrection Scout Ship & Shuttle</option>
<option value='images/avatars/movins_troi001.jpg'>Insurrection Troi</option>
<option value='images/avatars/tngysent_bev.jpg'>Military Uniform Beverly Crusher</option>
<option value='images/avatars/tngysent_data.jpg'>Military Uniform Data</option>
<option value='images/avatars/tngysent_laforge.jpg'>Military Uniform La Forge</option>
<option value='images/avatars/tngysent_picard.jpg'>Military Uniform Picard</option>
<option value='images/avatars/tngysent_riker.jpg'>Military Uniform Riker</option>
<option value='images/avatars/tngysent_wesley.jpg'>Military Uniform Wesley Crusher</option>
<option value='images/avatars/tngysent_yar.jpg'>Military Uniform Yar</option>

</select></font>&nbsp;<img src='images/clear_avatar.gif' name='avatarpic' align='absmiddle' border=0></td>
</tr>
</table>
</td></tr></table>
-----------------------------------------------------------------------------------

But I'd rather not write out each line of code we need to list all of our avatars. Is there a way to do it with variables so I won't have to do that?

Warlord
01-12-2002, 12:59 AM
bump

Warlord
01-12-2002, 07:41 PM
ok, I'm thinking we have to edit the avatars template, but can someone show me how please? I'm still a newbie :(

Warlord
01-20-2002, 06:52 AM
bump

Warlord
01-20-2002, 09:12 PM
Could someone please just lend a hand explaining how I would even attempt this? I'm not asking anyone to write it, since no one seems to want to anyway....

I just need a push in the right direction... please help.

Palmer ofShinra
01-21-2002, 12:51 AM
I'm on it

Warlord
01-21-2002, 03:42 AM
Thanks bud. :)

(BTW I added those instructions on the Glowing Staff usernames to make it work on 2.2.1, it should really be in finished hacks now i think)