![]() |
(Album) Click on Picture to go to Next Picture - Like Facebook & VB4 Albums Work
1 Attachment(s)
This is a simple template edit to make vBulletin Albums work like Facebook and vBulletin 4.x Albums... In VB 3.8 you have to find the small "Next" link in the corner of the page to go to the next photo in an album. With this template modification you can click anywhere on the image itself to go to the next image automatically. When you get to the last image in an album you will be taken back to the first.
Demo: http://www.juot.net/forums/album.php...1&pictureid=96 Note: While there would never be any porn in this album, some pictures may not be entirely work safe. Go to the album_pictureview template, find the code: Code:
<img src="picture.php?$session[sessionurl]albumid=$albuminfo[albumid]&pictureid=$pictureinfo[pictureid]" alt="$pictureinfo[caption_censored]" /> Code:
<a href="album.php?$session[sessionurl]albumid=$albuminfo[albumid]&pictureid=$pic_location[next_pictureid]"><img src="picture.php?$session[sessionurl]albumid=$albuminfo[albumid]&pictureid=$pictureinfo[pictureid]" alt="$pictureinfo[caption_censored]" /></a> It was suggested this functionality be added to Social Group Pictures as well... In the template socialgrouops_picture Find the line: Code:
<img src="picture.php?$session[sessionurl]groupid=$group[groupid]&pictureid=$pictureinfo[pictureid]" alt="$vbphrase[picture]" /> Code:
<a href="group.php?$session[sessionurl]do=picture&groupid=$group[groupid]&pictureid=$pic_location[next_pictureid]"><img src="picture.php?$session[sessionurl]groupid=$group[groupid]&pictureid=$pictureinfo[pictureid]" alt="$vbphrase[picture]" /></a> Download the .txt file for a backup of these instructions. Please Mark as Installed if you use this. :) |
Worked great. 3.8.6
Thanks |
Works great and I plan to keep this installed. However its breaks a custom tagging mod I have that allows members to tag their album photos like on Facebook.
|
Quote:
|
Quote:
The album photo tagging mod is a for sale item only here: vBulletin Album Picture Annotation Hack (Tagging Photos like Facebook) All three of these mods need to work together to remove any conflicts. :) |
Quote:
If it isn't working I'd assume it's probably a conflict with the premium tagging mod like you mentioned. |
Really nice Idea.. I will bookmark this for sure.
|
Great idea.
|
Nice :)
|
nice thanks ;)
|
All times are GMT. The time now is 05:59 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|