Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[AJAX] Album Next & Prev Links Use AJAX Details »»
[AJAX] Album Next & Prev Links Use AJAX
Version: 1.1, by Abe1 Abe1 is offline
Developer Last Online: Jun 2010 Show Printable Version Email this Page

Category: Social Group and Album Enhancements - Version: 3.8.x Rating:
Released: 10-25-2008 Last Update: 10-25-2008 Installs: 303
Uses Plugins
 
No support by the author.

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.

Download Now

File Type: zip album_next_&_prev_links_use_ajax_1_1.zip (1.9 KB, 1158 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 03-06-2009, 05:55 AM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed but noiw i have an extra
Quote:
? Previous Picture | First Picture
on the page under the editor
Reply With Quote
  #43  
Old 06-23-2009, 05:18 AM
ElForro ElForro is offline
 
Join Date: Mar 2006
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:

HTML Code:
<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?
Reply With Quote
  #44  
Old 07-06-2009, 09:54 AM
greenspan greenspan is offline
 
Join Date: Feb 2009
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod! Installed ^_^
Reply With Quote
  #45  
Old 07-17-2009, 07:02 PM
yilmaz's Avatar
yilmaz yilmaz is offline
 
Join Date: Sep 2004
Posts: 751
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

shortcut.js on line 109 }, comma, delete the internet explorer works

Nice mod
thanks
Reply With Quote
  #46  
Old 09-05-2009, 05:24 PM
pauldack pauldack is offline
 
Join Date: May 2008
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice one, isntalled and working like a dream, cheers.
Reply With Quote
  #47  
Old 09-29-2009, 07:43 AM
fragov fragov is offline
 
Join Date: Mar 2005
Location: UA
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #48  
Old 10-29-2009, 06:10 AM
goxy63 goxy63 is offline
 
Join Date: Oct 2008
Location: its like another planet:D
Posts: 657
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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/showthrea...hreadid=226846

So that we can get all in one "product"


Booth hacks work great for me tho

Nominated, rated, installed

Cheers
Reply With Quote
  #49  
Old 11-01-2009, 06:05 PM
NAZIA's Avatar
NAZIA NAZIA is offline
 
Join Date: Feb 2008
Location: Multan Pakistan
Posts: 322
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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..
Reply With Quote
  #50  
Old 11-04-2009, 04:41 AM
ForumUser210 ForumUser210 is offline
 
Join Date: Feb 2009
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #51  
Old 11-28-2009, 06:32 AM
ForumUser210 ForumUser210 is offline
 
Join Date: Feb 2009
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I found the problem.

This plug-in interferes with Quick Editor Improver.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:51 AM.


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.04951 seconds
  • Memory Usage 2,330KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_html
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete