Previous Thread
Next Thread
Print Thread
Rate Thread
#191445 05/30/2002 3:30 PM
Joined: Feb 2000
Posts: 59
Member
Member
Offline
Joined: Feb 2000
Posts: 59
Is there an easy way to have the message icons appear based on alphabetical order, instead of numerical order? This way, the icons can be named instead of displaying as "icon4" during a mouseover.

Furthermore, the problem with having icons named "icon1", icon2", etc. is if you alter the image for icon1, people will continue to see the old cached "icon1" image instead of the new one.

I see two ways to do solve this (for my needs):

1) change the for-next $iconlist routine to display based on alphabetical order instead of counting numbers.

2) Hard code a drop-down HTML select list to replace the $iconlist routine altogether, where I would just type out all the options - in order - that I want to display.

Can anyone tell me what I need to do to make either method work? I'm certain it's quite simple to make the second work, but I'm wary of messing anything up since I'm not very well-versed in Perl.

Thanks!

Sponsored Links
#191446 05/31/2002 6:27 AM
Joined: Mar 2001
Posts: 136
Journeyman
Journeyman
Offline
Joined: Mar 2001
Posts: 136
I made a pretty complex hack for changing message icons into clickable smilies and it involes allowing you to use any filename for icons.

get it from

http://elym.tripod.com

I tested on 6.30 and it works with 6.30 with a little change.

hope that helps you.

#191447 06/09/2002 11:42 PM
Joined: Feb 2000
Posts: 59
Member
Member
Offline
Joined: Feb 2000
Posts: 59
Ely_M, thanks for the response/help. Is there any easy way to modify your message icon code into a drop-down? I have 67+ icons and that's too much clutter to have in rows above my textbox! Either that or can we create a link that will display all the message icons (like you have) in a new window, select an icon, and then the window closes and that icon is selected (like the Avatar feature for 6.3x)?


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
JAISP
JAISP
PA
Posts: 449
Joined: February 2008
Forum Statistics
Forums63
Topics37,575
Posts293,930
Members13,823
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)