PDA

View Full Version : Alternating Images in Posts.


pattox
03-11-2003, 10:00 PM
Alternating Images in Posts.
====================
I think this hack should work in any recent version of vbulletin, but I am not sure. I have written it in 2.2.9.

What it does:
As you have the backgrounds alternating per post this will alternate an image per post. You can also use it to alternate other things like pieces of text, images or backgrounds.

I am willing to provide support, but am not sure if I can answer all your questions. So if you have any questions, comments or requests you may reply here.

Thanks for trying/using my hack! Eventhough it is very simple.

Kevorkian
03-12-2003, 01:28 PM
can you explain better what do this hack? ^^

sabret00the
03-12-2003, 01:31 PM
screen shot please :-)

Pady
03-12-2003, 01:47 PM
looks like instead of having a background colour this adds a piccie which like the colours alternates with the posts

pattox
03-12-2003, 01:52 PM
A screenshot doesnt really apply here because it is an image of your choosing

Explanation:

Post 1:
Image 1
Post 2:
Image 2
Post 3:
Image 1
Post 4:
Image 2
Post 5:
Image 1

In what way you use this image is up to you!

Automated
03-12-2003, 02:37 PM
nice idea :p

pattox
03-12-2003, 03:46 PM
hehe, thanks. If anyone uses this please click install :D

Chris Gwynne
03-12-2003, 06:02 PM
It's a cool idea. But I don't see why you'd want this? :)

filburt1
03-12-2003, 06:10 PM
Somebody at vBT requested it.

pattox
03-12-2003, 07:36 PM
that was me :D

You'd want it if you want to alternate anything else than the backgrounds of a post.

btw. filburt I gave you propper credit in the hack, since you pointed me in the right direction.

Chris Gwynne
03-12-2003, 07:54 PM
Thanks. :)

pattox
03-13-2003, 07:10 AM
your welcome, I hope to release more hacks and get better at hacking. This was very simple.

Alchemyst
08-15-2004, 07:04 PM
It's a cool idea. But I don't see why you'd want this? :)

Think of it this way, if you want to create a background image for part of the postbit with CSS positioning so it doesn't repeat (say, a corner, or center image) you can use this hack so the background seams into both FirstAlt and SecondAlt colors. It just gives a little more flexibility.

Great, simple, hack btw. :)