Go Back   vBulletin Modification Discussions > Free vBulletin Modification Releases > vBulletin Add-ons
Home Register FAQ Members List Calendar Mark Forums Read
vBSEO Info Tags

About This Page: This is a discussion on vBulletin AJAX Cron within the vBulletin Add-ons forums, part of the Free vBulletin Modification Releases category, at vBulletin Modification Discussions. 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... Click


Comment
 
LinkBack Release Tools
Old 08-06-2006, 07:11 PM   #31
Code Monkey
Administrator
 
Code Monkey's Avatar
 
Join Date: May 2006
Posts: 2,193
Code Monkey is on a distinguished road
iTrader: (0)
vBulletin AJAX Cron

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...
__________________
Please do not PM me unless it's personal. General vBulletin or mod questions by PM will be ignored.

Try the vBSEO Demo

Click here for Instant Community
Code Monkey is offline   Reply With Quote
Sponsored Links

Old 08-28-2006, 02:24 PM   #28 (permalink)
Senior Member
 
Join Date: May 2006
Posts: 140
Kihon Kata is on a distinguished road
Installed on 3.6!!! Waves to CM!

How do we test this to work properly?
Kihon Kata is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-28-2006, 06:35 PM   #29 (permalink)
Administrator
 
Code Monkey's Avatar
 
Join Date: May 2006
Posts: 2,193
Code Monkey is on a distinguished road
It works. Just empty your cron log and then go back an look at it tommorow.
Code Monkey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-28-2006, 07:42 PM   #30 (permalink)
Senior Member
 
Join Date: May 2006
Posts: 140
Kihon Kata is on a distinguished road
Quote:
Originally Posted by Code Monkey View Post
It works. Just empty your cron log and then go back an look at it tommorow.
yay
Kihon Kata is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-31-2006, 10:08 PM   #31 (permalink)
Administrator
 
Code Monkey's Avatar
 
Join Date: May 2006
Posts: 2,193
Code Monkey is on a distinguished road
Quote:
Originally Posted by Oblivion Knight View Post
Nominated for MOTM too..
Well, I gues just you and me voted since it didn't make it. LOL
Code Monkey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-03-2006, 12:47 PM   #32 (permalink)
Senior Member
 
Eric's Avatar
 
Join Date: May 2006
Location: France
Posts: 458
Eric is on a distinguished road
Send a message via ICQ to Eric Send a message via MSN to Eric
I installed it again for 3.6 and cleaned log, but it is empty for 12 hours now. Does it fill once every 24 hours or should I have already some logs ?

Found that all crons had logging disabled after upgrade, set a few back to yes, now wait..... guess it is all ok

Last edited by Eric : 09-03-2006 at 12:57 PM. Reason: found something
Eric is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-22-2006, 10:17 PM   #33 (permalink)
Senior Member
 
G_Man's Avatar
 
Join Date: Oct 2006
Posts: 475
G_Man is on a distinguished road
Quote:
Originally Posted by Code Monkey View Post
LOL, I don't think it will get enough installs for that. It's one of those apps that people don't get that they need.
Taking your word for it and installed it!!

The forum didn't implode, so.... I guess its all good.
G_Man is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-23-2006, 09:16 PM   #34 (permalink)
Senior Member
 
Join Date: May 2006
Posts: 140
Kihon Kata is on a distinguished road
Yeah mine seems to work good, except for the occasional DB error that I get emailed to me regarding vBajax cron
Kihon Kata is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-23-2006, 09:23 PM   #35 (permalink)
Administrator
 
Code Monkey's Avatar
 
Join Date: May 2006
Posts: 2,193
Code Monkey is on a distinguished road
Those are not from vBajax cron. Those are from scripts vBajax cron is running for you. There are references on this site and in the thread at vBORG on how to fix the bug in the vBulletin script that has the problem.
__________________
Please do not PM me unless it's personal. General vBulletin or mod questions by PM will be ignored.

Try the vBSEO Demo

Click here for Instant Community
Code Monkey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-23-2006, 10:14 PM   #36 (permalink)
Senior Member
 
Join Date: May 2006
Posts: 140
Kihon Kata is on a distinguished road
Quote:
Originally Posted by Code Monkey View Post
Those are not from vBajax cron. Those are from scripts vBajax cron is running for you. There are references on this site and in the thread at vBORG on how to fix the bug in the vBulletin script that has the problem.
I guess you're gunna make me hunt those references down. lol
Kihon Kata is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-23-2006, 10:26 PM   #37 (permalink)
Administrator
 
Code Monkey's Avatar
 
Join Date: May 2006
Posts: 2,193
Code Monkey is on a distinguished road
As apposed to me hunting them down? Yes
__________________
Please do not PM me unless it's personal. General vBulletin or mod questions by PM will be ignored.

Try the vBSEO Demo

Click here for Instant Community
Code Monkey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-12-2006, 01:26 PM   #38 (permalink)
Junior Member
 
Join Date: Oct 2006
Posts: 6
testebr is on a distinguished road
nice invention
testebr is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-12-2006, 02:18 PM   #39 (permalink)
Administrator
 
Code Monkey's Avatar
 
Join Date: May 2006
Posts: 2,193
Code Monkey is on a distinguished road
Thanks testebr
__________________
Please do not PM me unless it's personal. General vBulletin or mod questions by PM will be ignored.

Try the vBSEO Demo

Click here for Instant Community
Code Monkey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-13-2006, 06:19 AM   #40 (permalink)
Senior Member
 
Join Date: May 2006
Posts: 140
Kihon Kata is on a distinguished road
Does the error below still have to do with this? If so, can you point me in the right direction as to the fix?

Code:
Database error in vBulletin 3.6.3:

Invalid SQL:

SELECT linkid,  name, links.catid, userid, username, dateline, links.lastpostdateline,  title
FROM adv_links AS links
LEFT JOIN adv_links_categories AS categories  USING (catid)
WHERE links.dateline > 1163318449 AND suspended = 0 AND  valid = 1;

MySQL Error  : Column 'valid' in where clause is  ambiguous
Error Number : 1052
Date         : Monday, November 13th 2006 @  12:00:49 AM
Script       : http://www.makeuptalk.com/forums/aja...hp?rand=303218
Referrer      : 
IP  Address   : 125.173.104.124
Username     : Unregistered
Classname    :  vB_Database
Kihon Kata is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-13-2006, 07:53 AM   #41 (permalink)
Administrator
 
Code Monkey's Avatar
 
Join Date: May 2006
Posts: 2,193
Code Monkey is on a distinguished road
Looks like you havs some sort of links script that has a problem. The cron script just runs the other script it doesn't cause or fix the other scripts errors.
__________________
Please do not PM me unless it's personal. General vBulletin or mod questions by PM will be ignored.

Try the vBSEO Demo

Click here for Instant Community
Code Monkey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-13-2006, 08:15 AM   #42 (permalink)
Senior Member
 
Join Date: May 2006
Posts: 140
Kihon Kata is on a distinguished road
Looks like it's my adv links directory.
Kihon Kata is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-13-2006, 08:31 AM   #43 (permalink)
Administrator
 
Code Monkey's Avatar
 
Join Date: May 2006
Posts: 2,193
Code Monkey is on a distinguished road
I'm thinking maybe "valid" is a reserved word in mysql. Did you upgrade mysql? I heard they added a bunch of reserved words. Try putting `` arround it.

anyway, I have made a new hack thread in the public mods section for this mod since it's a free one so please make all posts there now peeps. I am going to be removing or closing this one.
__________________
Please do not PM me unless it's personal. General vBulletin or mod questions by PM will be ignored.

Try the vBSEO Demo

Click here for Instant Community
Code Monkey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-15-2006, 06:16 AM   #44 (permalink)
Junior Member
 
Join Date: Sep 2006
Location: Raleigh NC
Posts: 24
NCangler is on a distinguished road
Thanks for this CM. I am installing now!
NCangler is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-15-2006, 08:25 AM   #45 (permalink)
Junior Member
 
Join Date: Sep 2006
Location: Raleigh NC
Posts: 24
NCangler is on a distinguished road
I installed it. How do you know if its working or not?
NCangler is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-15-2006, 08:30 AM   #46 (permalink)
Administrator
 
Code Monkey's Avatar
 
Join Date: May 2006
Posts: 2,193
Code Monkey is on a distinguished road
it's subtle. As a webmaster you should have the firebug extension installed in Firefox so you can watch AJAX events. Other than that, empty your task log, make sure some things are set to log and then look at the logs.
__________________
Please do not PM me unless it's personal. General vBulletin or mod questions by PM will be ignored.

Try the vBSEO Demo

Click here for Instant Community
Code Monkey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-24-2006, 04:14 PM   #47 (permalink)
Junior Member
 
Join Date: Nov 2006
Posts: 16
vmatt21 is on a distinguished road
Works great, thanks
vmatt21 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-25-2006, 05:44 AM   #48 (permalink)
Junior Member
 
Join Date: Sep 2006
Location: Raleigh NC
Posts: 24
NCangler is on a distinguished road
vBulletin database error message

CM, I am running the new vBlogetin forum Blog system, which I ran the first upgrade to Beta 2-5 last night. I had the following error message this morning. Do you think I'll need to uninstall AJAX Cron or should I reinstall? Any insight is most appreciated.
Quote:
Database error in vBulletin 3.6.4:

Invalid SQL:

SELECT user.salt, user.username, user.email, user.languageid, user.usergroupid, user.membergroupids, user.timezoneoffset, usergroup.permissionsField, settings.userid as bloguserid, settings.title as blogtitle, stats.lastentryid, stats.lastprivateentryid, if(user.options & 128, 1, 0) as dstonoff, if(user.options & 8192, 1, 0) as hasaccessmask, entry.title, entry.dateline, entry.categoryid, entry.lastcommentid, entry.lastprivatecommentid, comment.commentid, comment.dateline as lastcomment, subscribeentry.entryid, subscribeentry.subscribeid, subscribeentry.userid
FROM blog_subscribeentry as subscribeentry
LEFT JOIN user as user on (user.userid = subscribeentry.userid)
LEFT JOIN usergroup AS usergroup ON (usergroup.usergroupid = user.usergroupid)
LEFT JOIN blog_entry as entry on (entry.entryid = subscribeentry.entryid)
LEFT JOIN blog_settings as settings on (entry.userid = settings.userid)
LEFT JOIN blog_stats as stats on (entry.userid = stats.userid)
LEFT JOIN blog_comment as comment on comment.commentid = if(
entry.lastprivatecommentid > entry.lastcommentid and (
(usergroup.blogCommentPermissions & 2) or
comment.userid = subscribeentry.userid or
entry.userid = subscribeentry.userid
),
entry.lastprivatecommentid,
entry.lastcommentid
)
WHERE subscribeentry.emailupdate = 2 and
comment.dateline > 1164344428 and
entry.deleted = 0 and
entry.visible = 1 and
entry.draft = 0 and
user.usergroupid <> 3 and
(usergroup.genericoptions & 32);

MySQL Error : Unknown column 'usergroup.permissionsField' in 'field list'
Error Number : 1054
Date : Saturday, November 25th 2006 @ 12:03:28 AM
Script : http://www.mysite.com/forums/ajax_cron.php?rand=419691
Referrer : http://www.mysite.com/forums/
IP Address : **.***.***.***
Username : Unregistered
Classname : vb_database
NCangler is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-25-2006, 07:14 AM   #49 (permalink)
Senior Member
 
Eric's Avatar
 
Join Date: May 2006
Location: France
Posts: 458
Eric is on a distinguished road
Send a message via ICQ to Eric