UBB.Dev
Posted By: Nightcrawler Organizing Avatars (and graemlins?) - 07/17/2005 11:31 PM
Is there a way to categorize the avatars?

Maybe place avatars into subfolders?

For example, let's say I have a Star Wars fan site. And because I have hundreds of avatars available I'd like to organize them into subcategories, such as -

Episode I
Episode II
Episode III
Episode IV
Episode V
Episode VI
Comic Book
Cartoons
Misc.

Displaying the above as clickable folders that then show your typical avatar page only restricted to that specific group of avatars. This way people who want to use an avatar from Episode IV can look through only those avatars and not have to wade through all of the others. Does that make sense?

And if this is possible for avatars, is it possible to do the same with graemlins?

Thanks for your consideration and especially for any help!
Posted By: Nightcrawler Re: Organizing Avatars (and graemlins?) - 10/31/2005 8:01 AM
I have another question that may be easier than the above.

How do I apply the jump to pages such as "Page: 1 2 3 4 5 6 7," to the avatar page?
Posted By: AllenAyres Re: Organizing Avatars (and graemlins?) - 11/02/2005 7:20 AM
You have that many avatars?

What kinda files are you using, php or perl?
Posted By: Nightcrawler Re: Organizing Avatars (and graemlins?) - 11/02/2005 9:56 AM
php or perl? Sorry, I don't understand the question.

Here's my site - http://www.legionworld.net/cgi-bin/ultimatebb.cgi

Here are our avatars . We currently have well over 1000, with members constantly asking for more.
Posted By: AllenAyres Re: Organizing Avatars (and graemlins?) - 11/02/2005 9:24 PM
eek That's a lot.

yes, pagination within the avatar pages would be good... I'll look into this this weekend if my wife lets me use the computer and not cut down some more trees smile
Posted By: Gizmo Re: Organizing Avatars (and graemlins?) - 11/02/2005 11:53 PM
Allen == Bodybuilding Lumberjack...

I concourr about the grossly huge ammount of avitars; kind of scary...
Posted By: Nightcrawler Re: Organizing Avatars (and graemlins?) - 11/03/2005 1:47 AM
Thanks for the consideration Allen!

My original question was based on a system I've seen at another MB that I belong to, but it's an XMB board.

Click here for a screen capture of their page since you have to log in to see it there.
Posted By: AllenAyres Re: Organizing Avatars (and graemlins?) - 11/10/2005 6:35 AM
hmmm... a javascript function is currently used for the "prev" and "next" links. I'm not so good with perl, I'm even worse with javascript tipsy

/Avatars/ot_avatars_lib.js
Posted By: Nightcrawler Re: Organizing Avatars (and graemlins?) - 11/10/2005 10:12 PM
Me too. Thanks for looking at the problem.

If I ever figure it out on my own, I'll be sure to pass it along.
Posted By: Nightcrawler Re: Organizing Avatars (and graemlins?) - 05/18/2007 12:23 AM
Hi! I'm back. Not with a solution unfortunately...with a new question.

Anyone have an idea on how to stop a particular image in your avatar folder from showing up in the avatar list?

I have an avatar that's being stolen by an individual that's eating bandwidth. I want to replace that avatar with a nasty message, but would prefer that image to not appear among my avatars. Any thoughts/solutions?
Posted By: Gizmo Re: Organizing Avatars (and graemlins?) - 05/18/2007 1:16 AM
why not block all images on yoru site from being loaded offsite?
Posted By: Nightcrawler Re: Organizing Avatars (and graemlins?) - 05/18/2007 1:27 AM
How do I do that?

(And thanks for the reply.)
Posted By: Gizmo Re: Organizing Avatars (and graemlins?) - 05/18/2007 1:38 AM
.htaccess:
Code
# Allowed Hosts #
RewriteCond %{HTTP_REFERER} !google.com [NC]
RewriteCond %{HTTP_REFERER} !yahoo.com [NC]
RewriteCond %{HTTP_REFERER} !picsearch.com [NC]
RewriteCond %{HTTP_REFERER} !^http://aolsearch.aol.com [NC]

# Start defined files & redirect location #
RewriteRule [^/]+.(gif|jpg|jpeg|psd|png)$ - [F]

Will blank out any request to an image on your site unless accessed through a site in the allowed hosts section. You can replace the "-" in the rewrite rule with a "bad" image which will redirect any unauthorized request to load.
Posted By: Nightcrawler Re: Organizing Avatars (and graemlins?) - 05/18/2007 3:53 AM
Many thanks again Gizzy! I really appreciate your help!
Posted By: Gizmo Re: Organizing Avatars (and graemlins?) - 05/18/2007 8:34 AM
Originally Posted by Nightcrawler
Many thanks again Gizzy! I really appreciate your help!
Not a problem, the joys of what you end up finding when you're researching things for clients lol...
© UBB.Developers