vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Social Group and Album Enhancements - [AJAX] Album Next & Prev Links Use AJAX (https://vborg.vbsupport.ru/showthread.php?t=194628)

Abe1 10-25-2008 10:00 PM

[AJAX] Album Next & Prev Links Use AJAX
 
1 Attachment(s)
Album Next & Prev Links Use AJAX 1.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!
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?

Abe1 10-26-2008 08:01 PM

Quote:

Originally Posted by nerofix (Post 1653334)
Sounds interesting, what about the template cache thing?

oh, your right. Forgot about that.

Abe1 10-26-2008 08:07 PM

Version 1.1 (10/26/2008):
  • Template Cache

ryancooper 10-26-2008 08:10 PM

will it work on 3.7.3

Abe1 10-26-2008 08:19 PM

Quote:

Originally Posted by ryancooper (Post 1653343)
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

Quote:

Originally Posted by ryancooper (Post 1653343)
will it work on 3.7.3

Thanks!

Abe1 10-26-2008 11:55 PM

Quote:

Originally Posted by nerofix (Post 1653362)
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

Quote:

Originally Posted by Abe1 (Post 1653447)
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

Quote:

Originally Posted by rapidphim (Post 1653822)
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

IrPr 10-28-2008 09:29 AM

Long time no mod Abe, great one

Cheers

Abe1 10-28-2008 11:39 PM

Quote:

Originally Posted by tafreeh (Post 1653566)
demo or screenshot wuldn be a bad idea... niwayz sounds goood

of what? no visable change to vb.
Quote:

Originally Posted by nerofix (Post 1653760)
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.
Quote:

Originally Posted by nerofix (Post 1653760)
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.
Quote:

Originally Posted by furst (Post 1653798)
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.


All times are GMT. The time now is 06:15 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
  • Page Generation 0.01224 seconds
  • Memory Usage 1,790KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete