Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
AJAX Fast Open/Close Threads (vB 3.5 Replication) Details »»
AJAX Fast Open/Close Threads (vB 3.5 Replication)
Version: 1.00, by Zero Tolerance Zero Tolerance is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.0.7 Rating:
Released: 05-17-2005 Last Update: Never Installs: 58
 
No support by the author.

Update: To fix the known 2 bugs (red x for new threads & in-functional on search pages), re-download, do the edit for the 'search_results' template, and re-upload clientscript/ajax_openclosethread.js

Well as i wrote a tutorial on how to use AJAX, i thought i might aswell release an addon which uses AJAX Technology.

I'm sure you've all seen the video of AJAX in action in the vBulletin v3.5 development announcement, and if you havn't, better go look at it for a preview.

This addon will do exactly what that video shows, opening and closing topics with no page reload what-so-ever (no, it does not include the fast edit topic title).

Very easy installation, upload 1 file, 1 file to edit and 2 templates to edit, should take you 5-10 minutes max

Enjoy,

- Zero Tolerance

Show Your Support

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

Comments
  #72  
Old 06-20-2005, 03:11 PM
JsnakeJ JsnakeJ is offline
 
Join Date: Mar 2005
Location: Pennsylvania
Posts: 231
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

1 little thing. A few of my moderators are reporting to me that they can now open/close a topic anywhere they please and they're only a mod of 1 forum. Any help on that?
Reply With Quote
  #73  
Old 06-26-2005, 02:28 PM
edbri871 edbri871 is offline
 
Join Date: Apr 2005
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great Hack!

Was wondering if there's a way to make it double click instead of single click? (to prevent closing topics by accident)
Reply With Quote
  #74  
Old 06-26-2005, 08:51 PM
edbri871 edbri871 is offline
 
Join Date: Apr 2005
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

NVM, I got it:
ondblclick=""

Reply With Quote
  #75  
Old 06-26-2005, 09:40 PM
mgurain's Avatar
mgurain mgurain is offline
 
Join Date: Apr 2005
Location: KSA - Qatif - Al-Jarodiah
Posts: 345
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by edbri871
NVM, I got it:
ondblclick=""

what did you change to do it ? I need that too because some mods really closed threads accidantly !!

thanks in advance edbri871,,
Reply With Quote
  #76  
Old 06-27-2005, 02:41 AM
edbri871 edbri871 is offline
 
Join Date: Apr 2005
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mgurain
what did you change to do it ? I need that too because some mods really closed threads accidantly !!

thanks in advance edbri871,,
No Problem.

In the template edit you change onclick="" to ondblclick="".

So the code for the template change in THREADBIT will be:

Code:
<img src="$stylevar[imgdir_statusicon]/thread$thread[statusicon].gif" alt="<if condition="can_moderate($thread[forumid])">Click To Open/Close This Thread" ondblclick="requestData('postings.php?{$session[sessionurl]}do=openclosethread&amp;threadid={$thread[threadid]}','parseThread',this)<else /><if condition="$show['threadcount']"><phrase 1="$thread[dot_count]" 2="$thread[dot_lastpost]">$vbphrase[have_x_posts_in_thread_last_y]</phrase></if></if>" border="" />
Reply With Quote
  #77  
Old 07-07-2005, 03:34 PM
BillyFischbach BillyFischbach is offline
 
Join Date: Jun 2005
Location: Brooklyn, NY
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where is this thing supposed to show up? and when I goto a forum I get this "td>" under my statis icon
Reply With Quote
  #78  
Old 07-19-2005, 12:04 AM
vakvak vakvak is offline
 
Join Date: Mar 2005
Location: T?rkiye
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks very good
Reply With Quote
  #79  
Old 07-19-2005, 02:50 AM
sketch42's Avatar
sketch42 sketch42 is offline
 
Join Date: May 2004
Location: Brooklyn, NY
Posts: 361
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great Mod... i Love AJAX!!!!! btw wheres the video ??
Reply With Quote
  #80  
Old 08-20-2005, 07:15 AM
Yorixz Yorixz is offline
 
Join Date: Jun 2005
Location: Netherlands
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice hack, works perfectly. Sadly in Firefox it doesn't change the icon for me.
Reply With Quote
  #81  
Old 09-16-2005, 01:03 AM
G-Unot G-Unot is offline
 
Join Date: Sep 2005
Location: Brooklyn, New York
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is nice, btw does anyone know if this works for vb 3.0.8?
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 01:33 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06907 seconds
  • Memory Usage 2,304KB
  • Queries Executed 25 (?)
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_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)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
  • (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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete