Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
vB AJAX Cron Details »
vB AJAX Cron
Mod Version: 1.1.4, by Code Monkey (Member) Code Monkey is offline
Developer Last Online: Aug 2015 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.0 Rating: (11 votes - 4.64 average) Installs: 222
Released: 12 Aug 2006 Last Update: 19 Aug 2006 Downloads: 647
Not Supported Template Edits Additional Files  


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.

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

I will support it here as time permits.


Enjoy

Don't forget to click install if you use it.




******************************************
Do not use this with vb 3.5x! There is a difference in the cron table.
The 3.5x version can be found here







Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Board Optimization True Asynchronous Cron Jobs using Javascript [!AJAX]. No more hanging page loads. Analogpoint vBulletin 3.6 Add-ons 72 15 Dec 2015 16:23
[Not tested] vB-Cron invoked by server cron Brad vBulletin 3.0 Beta Releases 6 25 Jul 2007 03:20
vB AJAX Cron Code Monkey vBulletin 3.5 Add-ons 12 19 Aug 2006 16:12

  #16  
Old 12 Aug 2006, 16:14
unitedpunjab's Avatar
unitedpunjab unitedpunjab is offline
 
Join Date: Feb 2006
Real name: Dhillon
Installed
how do i make sure its working properly
Reply With Quote
  #17  
Old 12 Aug 2006, 16:30
Code Monkey's Avatar
Code Monkey Code Monkey is offline
 
Join Date: May 2004
Originally Posted by unitedpunjab
Installed
how do i make sure its working properly
If your site is busy it is unlikely that you will often win the "load the cron" lottery.

There are several ways to view what is happening and if it is happening.

Use Firefox, if you don't already, and get the wonderful Firebug extension. This extension allows you to see many things including all AJAX calls and their responces on any site you visit. Then if you are the lucky one that vb decides will cause the next cron to run, you will see it happen in Firebug.

Another way is to go into your scheduled task log setting in your ACP and empty the log by deleting any logs over 0 days old. Then you can come back later and see if those crons that are set to record a log have run.

Ultimately this is one of those mods that does a wonderful thing but it does it behind the scenes. It's not glamorous, it's functional.
__________________
Gaming Forums

Last edited by Code Monkey; 12 Aug 2006 at 16:32.
Reply With Quote
  #18  
Old 12 Aug 2006, 16:39
unitedpunjab's Avatar
unitedpunjab unitedpunjab is offline
 
Join Date: Feb 2006
Real name: Dhillon
Thx for the Firebug
Reply With Quote
  #19  
Old 12 Aug 2006, 16:51
Code Monkey's Avatar
Code Monkey Code Monkey is offline
 
Join Date: May 2004
Originally Posted by unitedpunjab
Thx for the Firebug
Use that baby on a site that missuses AJAX to auto refresh data, such as AJAX chat, and you will see why they are a resource hog. That is if you can keep up with the scrolling.
__________________
Gaming Forums
Reply With Quote
  #20  
Old 12 Aug 2006, 18:09
Floris Floris is offline
 
Join Date: Jan 2002
Originally Posted by Code Monkey
26 downloads and only 8 installs?

The button must be stuck!
This is common - no need to plug users to go and click it.
__________________
My community; http://wetalknation.net
Reply With Quote
  #21  
Old 12 Aug 2006, 18:18
Code Monkey's Avatar
Code Monkey Code Monkey is offline
 
Join Date: May 2004
Originally Posted by Floris
This is common - no need to plug users to go and click it.
I'm quite familiar with what is common around here. I was mocking the faulty system. Was a joke. Lighten up
__________________
Gaming Forums
Reply With Quote
  #22  
Old 12 Aug 2006, 22:51
Lizard King's Avatar
Lizard King Lizard King is offline
 
Join Date: Jan 2005
Real name: Mert
This is a great idea and working perfectly. Thanks for this Code Monkey
__________________
Mert G÷kšeimam / Crawlability Inc.

DepKaš | vBSEO 3.3.0 - vBulletin Search Engine Optimisation
Reply With Quote
  #23  
Old 13 Aug 2006, 00:13
Code Monkey's Avatar
Code Monkey Code Monkey is offline
 
Join Date: May 2004
You're welcome and thank you.
__________________
Gaming Forums
Reply With Quote
  #24  
Old 13 Aug 2006, 03:32
nicedreams nicedreams is offline
 
Join Date: Jan 2005
Ok, 2 questions:

1 - How do you correct the link path to not get file not found errors on custom vb pages.

File does not exist: /home/thep/public_html/goto/all_galleries/ajax_cron.php

2 - Why do you not have to edit the footer template to take out the cronimage?

Jimmy
Reply With Quote
  #25  
Old 13 Aug 2006, 03:49
Code Monkey's Avatar
Code Monkey Code Monkey is offline
 
Join Date: May 2004
1. That is most likely happening because your Homepage url and Forumpage url settings, in vBulettin Options->Site Name / URL / Contact Details, are wrong. Please post what those settings are.

2. Because this mod takes care of all template edits and disposal on the fly.
__________________
Gaming Forums
Reply With Quote
  #26  
Old 13 Aug 2006, 03:54
Code Monkey's Avatar
Code Monkey Code Monkey is offline
 
Join Date: May 2004
Actually, I think I see what you mean in number one. I think I have a way around that.
__________________
Gaming Forums
Reply With Quote
  #27  
Old 13 Aug 2006, 04:08
Code Monkey's Avatar
Code Monkey Code Monkey is offline
 
Join Date: May 2004
I'm going to need a link to those pages.
__________________
Gaming Forums
Reply With Quote
  #28  
Old 13 Aug 2006, 04:31
nicedreams nicedreams is offline
 
Join Date: Jan 2005
Originally Posted by Code Monkey
Actually, I think I see what you mean in number one. I think I have a way around that.
I dropped some code for the link and forumdir and changed the link to:

$_link = "/forums/ajax_cron.php";

And that works on all vb pages custom or not for my site.

Jimmy
Reply With Quote
  #29  
Old 13 Aug 2006, 04:35
Code Monkey's Avatar
Code Monkey Code Monkey is offline
 
Join Date: May 2004
But that will break it for many other sites so it is not a solution.
__________________
Gaming Forums
Reply With Quote
  #30  
Old 13 Aug 2006, 04:42
nicedreams nicedreams is offline
 
Join Date: Jan 2005
Originally Posted by Code Monkey
But that will break it for many other sites so it is not a solution.
Well, it shouldn't be too hard to figure out based on what I said.

It is looking for /home/thep/public_html/goto/all_galleries/ajax_cron.php from /home/thep/public_html/goto/all_galleries/index.php when it should be looking for /home/thep/public_html/forums/ajax_cron.php

Something to do with your forumdir or string change functions.

Jimmy
Reply With Quote
Reply


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

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


New To Site? Need Help?

All times are GMT. The time now is 00:46.

Layout Options | Width: Wide Color: