vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Board Optimization - vB AJAX Cron (https://vborg.vbsupport.ru/showthread.php?t=123719)

Code Monkey 08-23-2006 02:19 AM

Anyone had any issues with this?

sickboy6ths 08-24-2006 08:38 AM

Somehow... my cron stopped working since a while...
I have tried everything, even tried using the default style with no template additions, but no luck...

Now, after installing your mod, my cron is working properly again. So big thanks..
altough I of coarse would've loved to figure out why the default cron image didnt work anymore :S

Code Monkey 08-24-2006 01:22 PM

I'm wondering if you had the same problem as Revan. I'm glad this fixed it for you. It is a better way to call the cron anyway.

Alcatraz 08-26-2006 05:31 PM

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.


What about the other hacks that require cron? does this turn the reular cron off. I have RPG Inferno v3 and it requires over 3 cron scripts. To run to keep everything running ok. Do I have to know how to write java script to my it work or does it pick it off the cron task tabel and run it via ajax?

Thanks for the program though :-) I installed!

Alcatraz

Code Monkey 08-26-2006 07:02 PM

No. This runs all crons that are in your scheduled task list in your admincp.

As stated above. This does not change any internal cron functions whatesover. It only improves the method that runs the scripts on page load.

Alcatraz 08-26-2006 11:05 PM

Yeah I seen the .js scripts and I wasn't for sure if it was or not.

Alcatraz

Code Monkey 08-27-2006 04:09 AM

You should have no problems. Thanks for posting and thanks for clicking install.

Brandon Sheley 08-30-2006 09:06 PM

thanks for the mod Code Monkey, I'll give it a try :)

[high]* Brandon Sheley clicks install[/high]

Code Monkey 08-31-2006 04:30 AM

I am sure you will find it useful and beneficial.

Enjoy

DementedMindz 09-04-2006 07:52 AM

Code Monkey thank you very much and once again nice work. installed


All times are GMT. The time now is 10:48 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01361 seconds
  • Memory Usage 1,734KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete