vBulletin Modifications

Board Optimizations - vB AJAX Cron

Welcome to vBHackers.com! - vBHackers Updates:

Go Back   vBulletin Modifications > vBulletin Database System > vBulletin 3.5 / 3.6 Hack Releases

Reply
 
Thread Tools Search this Thread
Download Options
You Must Register First
To Download This Modification

Bugs
No bugs found in the system. If you have found a bug, please report a bug here
Submit A Bug | View All Bugs

Advertisement
  
Not Supported
[vB 3.5.5] Board Optimizations - vB AJAX Cron (87)
Released: 08-11-2006, 10:16 PM
Modification Information:
Code Monkey's Avatar Author: Code Monkey
Last Online: 11-28-2007
Demo: View Online Demo!
Hack Version: 1.1.4 Installer Included: 1 Additional queries added to database: 0
New Templates: 1 Template Edits: 0 File Edits: 0
New Files: 2 New Phrases: 0 Installation Time (In Minutes): 1

vB 3.6.0 Compatible!
Plugin
vB AJAX Cron From vBModder.com

This is such a small but useful mod that I decided to give it away free. This mod will replace your sheduled task image code at the bottom of your pages and run your sheduled tasks via an AJAX call.

AJAX is asyncronous and offers true background running of sheduled tasks. This does not change anything with the actual tasks or the scripts that run them. It merely replaces the method that initiates the running of those scripts.

There are no template edits of any kind. Simply upload the files to your forumhome directory and import the product xml file. Both 3.5x and 3.6x xml files are included. Make sure you use the right one as there are changes in crons with 3.6x.

This should work in any vb or custom script in any directory.
Support will only be given at vbmodder.com


Enjoy




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Add a Comment!
Old 09-10-2006, 06:18 AM   #21
Coder
bairy's Avatar
Join Date: Jun 2006
Real Name: Chris
Location: Birmingham, UK
bairy is on a distinguished road

Default

Quote:
Originally Posted by takiye
A more clear explanation, can u? :confused:
I installed this hack, and is expected to know its benefit.
Everytime you load a page (I'm not sure if it's every page, but most) on a vB board, the server looks at it's list of scheduled tasks and sees if any are due to run. If they are, it runs them.
If the task is quite big and takes a while then whoever is loading the page has to wait until the task has finished before the rest of the page loads (or something very similar to that anyway).

What this hack does is replaces that method of starting scheduled tasks with an AJAX based one, meaning that the task will run in the background but the person surfing the site won't have to wait for it to finish before getting their page.

Since cron jobs are quite rare (in relation to the number of pageloads) and most of them are pretty quick, you'll find it hard to notice any visible gain, but it is there.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 07-19-2007, 12:15 AM   #22
vB Newbie
Join Date: May 2007
SlashNick is on a distinguished road

Default

Nice..

This a vey nice script.. ajax tech doesnt really need to reload page..
act somewhat like an active page . .. correct me if im wrong..




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



LinkBacks (?)
LinkBack to this Thread: http://www.vbhackers.com/f76/board-optimizations-vb-ajax-cron-4809/
Posted By For Type Date
Statistics for vbmodder.com (2006-10) This thread Refback 10-27-2006 02:37 AM

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Integrating AJAX Technology Into Your Modifications Zero Tolerance vBulletin Modification Tutorials 3 08-28-2006 10:30 AM
vB 3.0+hacks & vB 3.5 Safice General vBulletin Support 2 03-08-2006 07:01 AM
Combine yahoogroups list with vB forum laureen vBulletin Modification Requests 0 08-01-2005 11:48 PM


All times are GMT -3. The time now is 06:58 AM.


SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. (Patent Pending)