PDA

View Full Version : Social Group and Album Enhancements - [AJAX] Album Next & Prev Links Use AJAX


Abe1
05-01-2010, 10:00 PM
Album Next & Prev Links Use AJAX

Click here to Nominate this Mod for Mod the Month (https://vborg.vbsupport.ru/vborg_miscactions.php?do=nominate&threadid=241695&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.

Version 1.20 (05/01/2010):
First release of this hack for vb 4.0.

Version 1.21 (05/02/2010):
Support for more vb4.0.x versions
Fixed template cache
Click on picture will also go to next picture using AJAX


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=241695)!
You will get an email when a new version is released.

Juggernaut
05-02-2010, 03:39 AM
Tagged for later. Will wait for other users to try first :D
Seems to be working fine :D

Jabong82
05-02-2010, 03:52 AM
I just tried this and it doesn't work for me. I have 4.0.3 patch1 running. After installing this my next-prev buttons actually do not work any more. Seems like a great mod though, it could be a conflict with another mod for me though as my board is heavily modded. Curious to hear other 4.0.3 user experiences

Charlie98902
05-02-2010, 04:12 AM
4.0.3 PL1 and works so far. Thanks it still seems like the whole page is refreshing though but I may be overlooking something.

monkeyboy1916
05-02-2010, 04:35 AM
Got this error on picture pages after installing on 4.0.2 PL4:

Parse error: syntax error, unexpected '[' in /home/******/public_html/******/testvb/includes/class_core.php(4010) : eval()'d code on line 29

* = Removed folder.

Abe1
05-02-2010, 01:11 PM
Got this error on picture pages after installing on 4.0.2 PL4:

Parse error: syntax error, unexpected '[' in /home/******/public_html/******/testvb/includes/class_core.php(4010) : eval()'d code on line 29

* = Removed folder.
It is possible this only works with 4.0.3. I have to look into that.

Abe1
05-02-2010, 05:23 PM
Version 1.21 (05/02/2010):
Support for more vb4.0.x versions
Fixed template cache
Click on picture will also go to next picture using AJAX

nkumaran
05-02-2010, 06:09 PM
screenshot?

Abe1
05-02-2010, 06:14 PM
screenshot?
Did you think before you posted this? What would you like to see in the screenshot exactly?

fayax
06-19-2010, 09:54 AM
Did you think before you posted this? What would you like to see in the screenshot exactly?

Maybe he just wanted to see your attitude in the screenshot. ;) Which I am sure he already saw, and so did many others.

testbot
02-18-2011, 02:13 AM
Doesn't seem to work with 4.1.2. Not on my forum anyway.

Juggernaut
03-08-2011, 04:35 AM
It's working in vb4.1.2 :D

Wordplay
03-11-2011, 10:55 AM
excellent modification.

BANDiT600
03-11-2011, 11:38 AM
Useful modification, but a little thing that I would like to change is to make working count of picture in title of page. I'm using firefox and when I see next photo the title of a page are still (Picture 1 from 59). Sorry for my english. ;)

testbot
03-15-2011, 04:53 PM
i wonder why it refreshes when i hit next w/4.1.2 :(