Follow vBSEO on Twitter
vBulletin Modifications
  • Forums
  • Add-Ons
  • Template Modifications
  • Styles
  • Graphics
  • Tutorials
  • Support Center
  • Register
  • vBulletin SEO

Member Log In

Site Navigation

  • Register
  • Members List
  • Social Groups
  • Search
  • Today's Posts
  • Mark Forums Read

Latest Modifications

  • [vB 3.8.4] THX - Hack for VB. 3.8.4
    By: bluedog
  • [vB 3.8.4] Cyb - Chatbox V.2.3
    By: bluedog
  • [vB 4.0.x] PHPKD - Advanced Quick...
    By: PHPKD
  • [vB 3.6.x] StopSpam
    By: flappi282
  • [vB 3.8.x] vBulletin Chat Addon for...
    By: 123flashchat

Latest Template Mods

  • [vB 4.0.x] Remove My Profile Link...
    By: Ak Worm
  • [vB 3.8.x] Images DownloadBox...
    By: cRs!MP
  • [vB 3.8.x] Adviertise Mod On Forum...
    By: MG4
  • [vB 3.8.4] Images PassWordBox...
    By: cRs!MP
  • [vB 3.8.4] Footer Follow Ups
    By: Ak Worm

Latest Styles

  • [vB 4.0.x] 4.0.3 - VB4STYLE-TWEETA...
    By: Belon
  • [vB 4.0.x] [4.0.3] vbdesigns.de...
    By: Belon
  • [vB 3.8.4] CompletevB - Skylight
    By: DreadKnight
  • [vB 3.8.3] [vB 3.8.4] Barcelona...
    By: hoiquantinhoc.com
  • [vB 3.8.3] Natures Walk by vBSkin...
    By: Chri5

Latest Graphics

  • [vB ] [anim.]Team Ranks
    By: cRs!MP
  • [vB ] Abstract Circles (3...
    By: cRs!MP
  • [vB ] PlayStation Rank Images
    By: cRs!MP
  • [vB 3.6.12] Heavy Stroked Button...
    By: Shelley
  • [vB ] Minature Ranks.
    By: Shelley
vBulletin Modifications » vBulletin Modifications » vBulletin 3.5 / 3.6 Hack Releases » Board Optimizations - vB AJAX Cron
Reply
Page 1 of 3 1 23 >

 

  • Thread Tools
Download Options
You Must Register First
To Download This Modification

Report A Bug
Bugs
No bugs found in the system. If you have found a bug, please report a bug here
Submit A Bug | View All Bugs
  
Not Supported
[vB 3.5.5] Board Optimizations - vB AJAX Cron (91)
Released: 08-12-2006, 01:16 AM
Modification Information: Version: 1.1.4
Code Monkey's Avatar Author: Code Monkey
Last Online: 11-28-2007
Demo: View Online Demo!
Installer Included: 1 Additional queries added to database: 0 Template Edits:
File Edits: New Files: 2 New Phrases:

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





Old 08-12-2006, 02:39 PM   #2
BigJohnny
Coder

BigJohnny's Avatar

Activity Longevity
0/20 13/20
Today Posts
0/3 ssssss386
Age: 28
BigJohnny is on a distinguished road
Send a message via MSN to BigJohnny
Status: Offline Default
sweet cool man ....... though im really not sure what this does .... i dont know what scheduled task image your talking about
Reply With Quote Installed
Old 08-12-2006, 02:43 PM   #3
Code Monkey
Coder

Code Monkey's Avatar

Activity Longevity
0/20 14/20
Today Posts
0/3 ssssss245
Age: 49
Code Monkey is on a distinguished road
Status: Offline Default
Currently, when vb needs to run a sheduled task, it loads image code at the bottom of your forum page. Except it has a php file as the src of the img tag. This causes the php file to run which in turn runs the next scheduled task. This can, depending on the cron to run and the size of the site, cause a browser to seemingly hang until the script is finished running. This happens because this is a syncronous event. Meaning, it's waiting for the page to finish loading the image.

This mod replaces that with an asyncronous AJAX call to the cron script.

The image code has served vb well but with the advent of AJAX type methods there is a cleaner way to do it. That's what this does.
Reply With Quote Author of thread
Old 08-12-2006, 03:46 PM   #4
navid
vB Newbie

Activity Longevity
0/20 14/20
Today Posts
0/3 sssssss40
navid is on a distinguished road
Status: Offline Default
Quote:
Originally Posted by Code Monkey
Currently, when vb needs to run a sheduled task, it loads image code at the bottom of your forum page. Except it has a php file as the src of the img tag. This causes the php file to run which in turn runs the next scheduled task. This can, depending on the cron to run and the size of the site, cause a browser to seemingly hang until the script is finished running. This happens because this is a syncronous event. Meaning, it's waiting for the page to finish loading the image.

This mod replaces that with an asyncronous AJAX call to the cron script.

The image code has served vb well but with the advent of AJAX type methods there is a cleaner way to do it. That's what this does.
nice hack mate and
thanks for your explain.
Reply With Quote
Old 08-12-2006, 08:32 PM   #5
Code Monkey
Coder

Code Monkey's Avatar

Activity Longevity
0/20 14/20
Today Posts
0/3 ssssss245
Age: 49
Code Monkey is on a distinguished road
Status: Offline Default
No problem
Reply With Quote Author of thread
Old 08-13-2006, 07:22 AM   #6
Code Monkey
Coder

Code Monkey's Avatar

Activity Longevity
0/20 14/20
Today Posts
0/3 ssssss245
Age: 49
Code Monkey is on a distinguished road
Status: Offline Default
Updated. This should now work on any pages. The fix actually eliminated many lines of php code.
Reply With Quote Author of thread
Old 08-13-2006, 05:21 PM   #7
BigJohnny
Coder

BigJohnny's Avatar

Activity Longevity
0/20 13/20
Today Posts
0/3 ssssss386
Age: 28
BigJohnny is on a distinguished road
Send a message via MSN to BigJohnny
Status: Offline Default
so this is 1.1.1 now?
Reply With Quote Installed
Old 08-14-2006, 12:48 AM   #8
Code Monkey
Coder

Code Monkey's Avatar

Activity Longevity
0/20 14/20
Today Posts
0/3 ssssss245
Age: 49
Code Monkey is on a distinguished road
Status: Offline Default
yes it is.
Reply With Quote Author of thread
Old 08-14-2006, 03:59 PM   #9
Dan2k3k4
vB User

Activity Longevity
0/20 13/20
Today Posts
0/3 sssssss52
Location: London, UK
Age: 22
Dan2k3k4 is on a distinguished road
Status: Offline Default
* Dan2k3k4 installs

Thanks :D
Reply With Quote Installed
Old 08-14-2006, 10:33 PM   #10
takiye
vB Lover

takiye's Avatar

Activity Longevity
0/20 13/20
Today Posts
0/3 ssssss161
takiye is on a distinguished road
Status: Offline Default
Quote:
Originally Posted by Code Monkey
Currently, when vb needs to run a sheduled task, it loads image code at the bottom of your forum page. Except it has a php file as the src of the img tag. This causes the php file to run which in turn runs the next scheduled task. This can, depending on the cron to run and the size of the site, cause a browser to seemingly hang until the script is finished running. This happens because this is a syncronous event. Meaning, it's waiting for the page to finish loading the image.

This mod replaces that with an asyncronous AJAX call to the cron script.

The image code has served vb well but with the advent of AJAX type methods there is a cleaner way to do it. That's what this does.
A more clear explanation, can u?
I installed this hack, and is expected to know its benefit.
Reply With Quote Installed

Reply
Page 1 of 3 1 23 >

« mini Magic toolbox | Top xx Reputation Forum Home »

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 05:37 AM

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

 
Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page

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 Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
Integrating AJAX Technology Into Your Modifications Zero Tolerance vBulletin Modification Tutorials 3 08-28-2006 01:30 PM
Combine yahoogroups list with vB forum laureen vBulletin Modification Requests 0 08-02-2005 02:48 AM



All times are GMT. The time now is 05:17 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.
Transverse Styles
  • Top
  • Archive
  • vBSEO
  • Contact Us
LinkBack
See LinkBacks See LinkBacks
LinkBack URL LinkBack URL
About LinkBacks About LinkBacks
Bookmark & Share
Digg this Thread! Digg this Thread!
Add Thread to del.icio.us Add Thread to del.icio.us
Bookmark in Technorati Bookmark in Technorati
Furl this Thread! Furl this Thread!