View Full Version : Social Group and Album Enhancements - [AJAX] Album Next & Prev Links Use AJAX
Album Next & Prev Links Use AJAX 1.1
Click here to Nominate this Mod for Mod the Month (https://vborg.vbsupport.ru/vborg_miscactions.php?do=nominate&threadid=194628&type=1)
About this hack:
This hack should be a standard feature in vBulletin. But since it is not, enjoy this mod.
While viewing a picture in an album, this hack makes the Next & Previous Picture links AJAX. Instead of the whole page refreshing and you have to scroll back to the picture area to see the picture, just hit next and the image will change along with the comments and anything else that belong to the picture.
All you have to do is upload the product file. No template edits or ftp file uploads.
This hack will work with my Album Picture Clicks to Next Picture in Album template mod. When you click on the picture, the image will just change to the next image without refreshing the page.
This hack works on both vb 3.7 and vb 3.8.
Version 1.0 (10/26/2008):
First release of this hack.
Version 1.1 (10/26/2008):
Template Cache
Please post your comments or suggestions for this hack. I read ALL posts.
MAKE SURE YOU CLICK INSTALL (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=194628)!
You will get an email when a new version is released.
ArnyVee
10-26-2008, 03:39 PM
This sounds like a very good mod. I'll be installing it later! Thanks Abe! :D
TheLab
10-26-2008, 04:04 PM
Installed, thanks :)
the stig
10-26-2008, 04:23 PM
Subscribed. Will install when I go home. :up:
Adem GEN?
10-26-2008, 04:25 PM
Installed
Thanks
Basboss
10-26-2008, 04:32 PM
Installed, thanks.
Edit: template album_pictureview_ajax_javascript not being cached.
glorify
10-26-2008, 04:40 PM
Nice work Abe. Will upgrade to beta 2 when released and use it :)
Martell
10-26-2008, 06:41 PM
Installed, thanks ;)
nerofix
10-26-2008, 07:53 PM
Sounds interesting, what about the template cache thing?
Sounds interesting, what about the template cache thing?
oh, your right. Forgot about that.
Version 1.1 (10/26/2008):
Template Cache
ryancooper
10-26-2008, 08:10 PM
will it work on 3.7.3
will it work on 3.7.3
yes
nerofix
10-26-2008, 08:31 PM
hehe thank you abe, gonna install it now ;-)
glorify
10-26-2008, 08:33 PM
Abe, any way to keep the table at a constant height without collapsing/expanding every time an image is loaded?
I guess I can do a template edit allowing for the max height of my images.
nerofix
10-26-2008, 08:41 PM
Okay works great, the only thing now is that the browser-URL doesn't change which could be a bit irritating for the users.
ryancooper
10-26-2008, 09:34 PM
will it work on 3.7.3
Thanks!
Okay works great, the only thing now is that the browser-URL doesn't change which could be a bit irritating for the users.
Well the url shows right under the picture.
tafreeh
10-27-2008, 06:34 AM
demo or screenshot wuldn be a bad idea... niwayz sounds goood
nerofix
10-27-2008, 01:17 PM
Well the url shows right under the picture.
I know I know :)
Another thing is that some people push the backbutton in the browser instead of the back-link in the navigation. :)
Another question: Do you think you could create a mod that turns pictures to 90? to the left or to the right? Some people are uploading pictures which needs to be turned, so I don't need to turn my head =)
Cobra-J82
10-27-2008, 01:52 PM
Amazing Mod
I have 3.7.3
Works Perfect and really HelpFull.
furst
10-27-2008, 02:27 PM
After flipping through a few pics and going to comment on a picture it forces a page reload, even when there are already comments for that picture. Any way to avoid this?
rapidphim
10-27-2008, 02:49 PM
is this mod pull picture from member album? or how is it work?
Cobra-J82
10-27-2008, 03:16 PM
is this mod pull picture from member album? or how is it work?
When you View someones album pics
You open a picture
When you click next
Instead of loading the whole page
It just loads the next pic.
Thats it.
TsirhCitna
10-27-2008, 04:35 PM
Another great addition that Jelsoft should have made standards.
Thanks!
abouahmed
10-27-2008, 06:29 PM
nice work
i'll try it
installed
Long time no mod Abe, great one
Cheers
demo or screenshot wuldn be a bad idea... niwayz sounds goood
of what? no visable change to vb.
I know I know :)
Another thing is that some people push the backbutton in the browser instead of the back-link in the navigation. :)
trying to work this out but it doesn't look promising. I got the browser to log the moves but the picture doesn't change back when you go back.
Another question: Do you think you could create a mod that turns pictures to 90? to the left or to the right? Some people are uploading pictures which needs to be turned, so I don't need to turn my head =)
Interesting thing.
After flipping through a few pics and going to comment on a picture it forces a page reload, even when there are already comments for that picture. Any way to avoid this?I'm going to try to figure this out. I confirmed this.
GrendelKhan{TSU
11-01-2008, 05:13 PM
simple goodness!!
thanks :D
working great.
3.8.0 beta 1
safakuygur
11-01-2008, 08:04 PM
very good thanks
samiro
11-30-2008, 10:02 AM
vbulletin must make it built-in
one of the best hacks... :)
but. whtn clickiing on "next - previos" its movet the page to top...
arauf
11-30-2008, 12:37 PM
Nice 1
Chimpie
12-23-2008, 02:48 PM
Just installed. Very nice!
Hannan
01-09-2009, 11:23 PM
Nice mod
thanks
lnxtr
01-11-2009, 04:46 PM
great ajax :D
basil2070
01-11-2009, 05:58 PM
Awesome mod :)
yotsume
01-12-2009, 01:32 AM
No joke this needs to be default in VB! HELLO WAKE UP DEVELOPERS! LOL
Great mod installed on vb3.8 no problem.
bartek24m
02-17-2009, 08:46 AM
i have problem with this addon after integrate album.php page with my vbadvanced
when i click next or prev they double me content of album.php
like on the screen shout
http://iv.pl/images/muwzfa422b2uy6xdzs2c.png
Unimatrix01
02-17-2009, 09:59 AM
The Addon does not work with The Image Resizer and Lightbox/Highslide :(
https://vborg.vbsupport.ru/showthread.php?t=184571
alfex68
02-20-2009, 12:54 AM
This mod is really good.
DieselMinded
03-06-2009, 05:55 AM
installed but noiw i have an extra ? Previous Picture | First Picture on the page under the editor
ElForro
06-23-2009, 05:18 AM
This is Great. I've one question...
I've implemented [i'm not an expert in Javascript] a keyboard shortcut function, to navigate through the photos with the arrows in the keyboard.
I'm using this JS: http://www.elforro.com/js/shortcut.js
And this:
<script type="text/javascript">
/* <![CDATA[ */
shortcut.add("Left",function() {
window.location.href = "album.php?$session[sessionurl]albumid=$albuminfo[albumid]&pictureid=$pic_location[prev_pictureid]";
});
shortcut.add("Right",function() {
window.location.href = "album.php?$session[sessionurl]albumid=$albuminfo[albumid]&pictureid=$pic_location[next_pictureid]";
});
/* ]]> */
</script>
I would like to know what should I modify in this last Javascript code to act like this mod... Any clue?
greenspan
07-06-2009, 09:54 AM
Great mod! Installed ^_^
yilmaz
07-17-2009, 07:02 PM
shortcut.js on line 109 }, comma, delete the internet explorer works
Nice mod
thanks
pauldack
09-05-2009, 05:24 PM
Nice one, isntalled and working like a dream, cheers.
fragov
09-29-2009, 07:43 AM
Hi, great mod, but need one improvement. When you click on image (or next/prev links) everything works fine, but URL in address bar doesn't change, so if you press back (or forward), reload button (or F5) it reloads on first opened image. As I know you may change this behavior by adding URL change in your script.
If you can do it - it would be great.
Thank you, anyway.
goxy63
10-29-2009, 06:10 AM
Can you improve this mod in a way that when user clicks image itself next one will be shown, as in this hack:
https://vborg.vbsupport.ru/showthread.php?threadid=226846
So that we can get all in one "product"
:D
Booth hacks work great for me tho
Nominated, rated, installed
Cheers
NAZIA
11-01-2009, 06:05 PM
thanks great..but??
It is not working here at my site. :) i have just installed your another mod which has only next image link...
nominated...
Best of luck..
working now.. ;)
ForumUser210
11-04-2009, 04:41 AM
Problem!
It was working great, until I tried to write a comment, and I noticed that the WYSIWYG editor buttons no longer worked. When I tried to add a link, I clicked the button, but it didn't respond. It didn't even affirm that I was hovering the "insert link" button.
When I turn plugin off, the editor begins to work again.
My browser is Firefox -- latest version.
ForumUser210
11-28-2009, 06:32 AM
I found the problem.
This plug-in interferes with Quick Editor Improver (https://vborg.vbsupport.ru/showthread.php?t=202160).
yilmaz68
01-10-2010, 04:25 AM
Thanks, intalled.
dihuta
01-21-2010, 10:11 AM
Hope this will be uprade to VB 4.0.
Thanks!
akonze
04-17-2010, 05:51 AM
Does not work for me. Downloaded, installed, nothing changed. :(
Kai77
04-17-2010, 12:20 PM
didn't work at my site too
vb 4.0 version posted here: https://vborg.vbsupport.ru/showthread.php?t=241695
MoMan
05-17-2010, 07:30 PM
Excellent! 5/5. Any chance this can be implemented for social group albums as well?
bartek24m
06-08-2010, 12:23 PM
Great mod but if its possible to create link to next album
Next albumid insted of next pictureid ?
Please reply
yotsume
11-24-2010, 05:48 AM
This hack conflicts and breaks: vBulletin Album Picture Annotation Hack (Tagging Photos like Facebook) (http://services.milado.net/vbulletin-album-picture-annotation-hack-374/)
I emailed the developer of that hack to help remove the conflict.
danyz81
11-26-2010, 02:12 PM
Hello, this mod work great thnx!
But with this product my image resize product doesnt work anymore ;(
https://vborg.vbsupport.ru/showthread.php?t=184571
Is it possible do working togheter?
Thanks,
Daniele.
jimsflies
11-27-2010, 04:35 PM
Having an issue where I get a new page loaded within the same page when I click on next picture. Notice the two navbars and two side columns in the attachment.
RIYADH BOY
11-27-2010, 04:46 PM
can you give me example please ...
jimsflies
11-27-2010, 06:02 PM
can you give me example please ...
Not sure if you are replying to me...but here is a link:
http://www.captivereefs.com/forum/album.php?albumid=163&pictureid=1154
ricardoNJ
02-01-2013, 06:55 PM
does not work.... :)
realdx
12-22-2013, 06:33 AM
It's possible add arrow's buttons for prev & next pictures? Like this?
https://vborg.vbsupport.ru/external/2013/12/13.jpg
Thanks
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.