vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   TOTW: Thread of the Week Poll - Version 1.16 (https://vborg.vbsupport.ru/showthread.php?t=74737)

Marco van Herwaarden 02-17-2005 10:54 AM

What settings do you use in the rule for Schedule Options for Rule?

The Geek 02-17-2005 11:02 AM

see attachment :)

Marco van Herwaarden 02-17-2005 03:57 PM

At "Post Poll in Forum" you have set it to "Main". Is this a postable forum, not a section?

The Geek 02-17-2005 04:39 PM

Quote:

Originally Posted by MarcoH64
At "Post Poll in Forum" you have set it to "Main". Is this a postable forum, not a section?

Its a postable forum.

The Geek 02-17-2005 06:35 PM

BTW:

I got it to work by deleting the lastrun value from the rule. I also changes the sql critera so that it pulled based on dateline not lastpost. Really old threads that had been bumped within the last week appeared and it was a tad confusing. Since it should be thread of the week I assumed that the thread would have started within the time frame.

Anyway - just thought I would throw that in if it helps.

BTW: Why check when the lastrun was? If its a cron job then that runs automatically whenever you specify. If I wanted twice a week, I would set the cron job up accordingly. What is happening is that the lastrun date is never lower than the $cut date so it doesnt run the do_run_rule

Marco van Herwaarden 02-17-2005 07:00 PM

Thanks for looking into it. I have a new version being beta tested and one of the new options is the choice of selecting threads based on thread start or on last post. Also it will have uShop integration, posting of the result in a "Winners Post", replacement variables in the thread title, and some more small things.

About testing the lastrun, you can have multiple rules, 1 running every day, and one running on a weekly or monthly schedule. The cronjob will need to run every day in this scenario, and only execute those rules that are supposed to be executed. Don't get what you say about lastrun never being lower then $cut, but will check it against the code tomorrow.

PS If you are just starting up, you could also help beta testing the new version ;)

TTG 02-17-2005 07:53 PM

Quote:

Originally Posted by The Geek
Its a postable forum.

Already posted twice into the specified 'Polls Forum'

Marco van Herwaarden 02-18-2005 02:59 AM

Quote:

Originally Posted by TTG
Already posted twice into the specified 'Polls Forum'

Sorry i don't understand this reaction? you mean it already worked good twice on your board?

TTG 02-18-2005 10:59 AM

Quote:

Originally Posted by MarcoH64
Sorry i don't understand this reaction? you mean it already worked good twice on your board?

Correct .. worked fine twice and then never worked again !?

Marco van Herwaarden 02-18-2005 03:50 PM

New version released, now with uCash integration.

Please check out the change log.

All reported bugs should be solved. If you find any (new) bugs, please report them again.


All times are GMT. The time now is 06:35 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.01231 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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