PDA

View Full Version : A posticon request everyone would enjoy :D


Dorign
08-09-2004, 06:23 PM
I know everyone would find a use for this.. it might even be a simple code, but hey, for a dumby like me, well, let's just say I have no clue where you'd begin.

The request..

I'm sure everyone is a bit annoyed when their users don't pick a thread icon. Let's face it, when people don't pick an icon, it doesn't add that "random" flavor to your forumdisplay page(s). So, I thought of a solution.

Instead of the "no icon" choice picking the default icon1 image, how about "no icon" runs a "choose random icon" script? That way, there's still variety in thread icons, and if users don't like it when their icon randomly ends up as one they don't like, it'll encourage them to start picking their thread icon. Kill two birds with one stone. ;)

Can anyone do this?

nexialys
08-09-2004, 06:39 PM
this would be easier to have a javascript to verify if a posticon is choosen and not post the topic until one is selected... (same script as empty title)

Dorign
08-09-2004, 07:30 PM
Yes, but then that would annoy my users. :ninja:

Dorign
08-10-2004, 12:18 AM
Come now, I know I'm not the only one who'd be interested in this. :)

Dorign
08-10-2004, 04:14 PM
*tear*

Dorign
08-10-2004, 08:05 PM
Okay man, I'll settle for that javascript trick.. how's it done?

Dorign
08-12-2004, 04:32 AM
I'll give someone 5 bucks for this script via paypal. :lol:
I mean, it can't be too hard to script. Hell, it can even be less complex. The page loads with an icon already randomly selected. :D

C'mon, prease? :classic:

Giveit2u43
08-12-2004, 01:21 PM
place the attached file in your images/icons folder.

then in vbulletin options > Thread Display Options (showthread) > Show Default Post Icon change it to:
images/icons/random.php

and voila ;)

Dorign
08-12-2004, 07:31 PM
Oh man, sweet, thanks! The only problem is, it selects the same "random icon" for every "No Icon" on the page. That's okay though, it's still cool. Thanks!

Giveit2u43
08-12-2004, 11:46 PM
hmmmm.. It doesn`t do that on my test site.. Maybe I did a file hack too, I thought it was just the option change and the php file.. will check it out and get back to you.

Dorign
08-13-2004, 02:40 AM
It's my understanding that the random.php file is only loading once, therefore being put in all the spots where it wasn't loaded. So it brings up the same "random image" it drew up and placing it everywhere. If the random.php was loaded every time it was called, it'd probably have the desired outcome.

But I have no idea how you'd go about doing that, and it's still a great script. So thanks! ;)

Dorign
08-14-2004, 07:41 PM
Any updates?