Previous Thread
Next Thread
Print Thread
Rate Thread
#57746 06/08/2004 11:20 AM
Joined: Nov 2001
Posts: 96
Member
Member
Offline
Joined: Nov 2001
Posts: 96
I have my own custom avatar solution that prevents two people from having the same avatar, but there is too much manual intervention on my part. I have an idea to cut this down quite a bit, but I need some help.

I have already modified the avatar selection popup supplied by Infopop to only be an avatar gallery of sorts, but I plan to modify it further to once again make it select and assign your avatar. The trouble is, I won’t allow two people to have the same avatar. I need to create some sort of flat file that holds the names of the avatars that are taken and have it check this file before allowing an avatar to be assigned. This is the hard part.

What would be the best format or organization for the file? Are there more efficient ways to search a file like this? Do I have to use some file locking method to prevent people from reading/writing to the file at the same time?

Or is there a better and entirely different way to solve the problem of unique avatars?


"For who would lie idle when the king has returned?"
www.MinasTirith.com
Sponsored Links
Entire Thread
Subject Posted By Posted
Unique Avatars? White Gold Wielder 06/08/2004 6:20 PM
Re: Unique Avatars? Ron M 06/08/2004 8:54 PM
Re: Unique Avatars? White Gold Wielder 06/08/2004 9:42 PM
Re: Unique Avatars? Ron M 06/08/2004 10:03 PM
Re: Unique Avatars? White Gold Wielder 06/08/2004 10:36 PM
Re: Unique Avatars? Ron M 06/08/2004 11:52 PM
Re: Unique Avatars? White Gold Wielder 06/09/2004 12:08 AM
Re: Unique Avatars? AllenAyres 06/09/2004 1:56 AM
Re: Unique Avatars? White Gold Wielder 06/09/2004 4:54 AM
Re: Unique Avatars? White Gold Wielder 06/10/2004 6:59 PM
Re: Unique Avatars? White Gold Wielder 06/18/2004 7:10 PM
Re: Unique Avatars? Ian Spence 06/18/2004 7:32 PM
Re: Unique Avatars? White Gold Wielder 06/19/2004 12:38 AM
Re: Unique Avatars? Ian Spence 06/19/2004 3:46 AM
Re: Unique Avatars? White Gold Wielder 06/23/2004 6:01 AM

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
badfrog
badfrog
somewhere on the coast of Maine
Posts: 94
Joined: March 2007
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
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
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)