Back to vBulletin 3.8 Template Modifications

Facebook like advance image on click
Mod Version: 1.00, by iflymyhelishigh

vB Version: 3.8.4 Rating: (1 vote - 5.00 average) Installs: 25
Released: 27 Oct 2009 Last Update: Never Downloads: 1
Not Supported Template Edits Code Changes Re-usable Code  

This modification is one of the simplest and dirtiest I have ever made, yet no one has ever posted here about it.

You know how on Facebook you can advance to the next photo when you click on the photo itself?

We're going to do that here.

Open up your style in your style manager, and browse to Album Templates > album_pictureview

Search for the code

Code:
<img src="picture.php?$session[sessionurl]albumid=$albuminfo[albumid]&amp;pictureid=$pictureinfo[pictureid]" alt="$pictureinfo[caption_censored]" />
Make sure you copy and paste this code snippet, so you have a backup.

Replace this snippet of code with

Code:
<a href="album.php?$session[sessionurl]albumid=$albuminfo[albumid]&amp;pictureid=$pic_location[next_pictureid]"><img src="picture.php?$session[sessionurl]albumid=$albuminfo[albumid]&amp;pictureid=$pictureinfo[pictureid]" alt="$pictureinfo[caption_censored]" /></a>
After doing this, you should be able to go back to your album (album.php) and progress to the next photo by clicking this picture and going to the previous photo by hitting the back space key.

Download

No files for download.

Similar Mods

Advance Image Verification Hack - Prevent Automated Registrations vBulletin 2.x Full Releases

vblts.ru supports vBulletin®, 2022-2024