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)

Kru 03-15-2005 02:07 PM

Quote:

Originally Posted by MarcoH64
Edit your includes/cron/threadoftheweek.php.

Find:
PHP Code:

if ($pollid

Add above:
PHP Code:

        $svotes = array(); 

Please report back if this is solving anything.

1 Question, did the current poll maybe never get any votes?

Made the change but still same error message.

I installed the hack last week. Told it that the poll should happen every 1 week.

Because I wanted to start with the poll directly after I installed the hack I run it in the Scheduled Task Manager but nothing happened. It still said poll never run.

Because I was busy with other stuff I didn't check any longer at it but then on saturday the poll started automatically but instead to show 3 poll options it just showed 2. I thought I made something wrong and deleted the thread. I reset date last run and reset previous polled threads.

Again I tried to run it in the Scheduled Task Manager but this time I got the error message mentioned above.

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

Quote:

Originally Posted by Kru
Made the change but still same error message.

I installed the hack last week. Told it that the poll should happen every 1 week.

Because I wanted to start with the poll directly after I installed the hack I run it in the Scheduled Task Manager but nothing happened. It still said poll never run.

Because I was busy with other stuff I didn't check any longer at it but then on saturday the poll started automatically but instead to show 3 poll options it just showed 2. I thought I made something wrong and deleted the thread. I reset date last run and reset previous polled threads.

Again I tried to run it in the Scheduled Task Manager but this time I got the error message mentioned above.

Thank you very much for this description. Think i finally got an old bug out now. The reason for the error is that the cron job is trying to close a thread that don't exist anymore (you deleted it).

I will post an update in an hour.

Marco van Herwaarden 03-15-2005 03:14 PM

Quote:

Originally Posted by Kru
Made the change but still same error message.

I installed the hack last week. Told it that the poll should happen every 1 week.

Because I wanted to start with the poll directly after I installed the hack I run it in the Scheduled Task Manager but nothing happened. It still said poll never run.

Because I was busy with other stuff I didn't check any longer at it but then on saturday the poll started automatically but instead to show 3 poll options it just showed 2. I thought I made something wrong and deleted the thread. I reset date last run and reset previous polled threads.

Again I tried to run it in the Scheduled Task Manager but this time I got the error message mentioned above.

Updated version posted. Just upload all files, no upgrade scripts to be run.

Marco van Herwaarden 03-15-2005 03:15 PM

About only selecting 2 options, maybe there where not enough posts to select from based on the criteria.

Please test again, if your problems continue send me a PM and we will look at it.

Kru 03-16-2005 04:34 AM

Quote:

Originally Posted by MarcoH64
About only selecting 2 options, maybe there where not enough posts to select from based on the criteria.

Please test again, if your problems continue send me a PM and we will look at it.

The error message is gone. Thank you. :)

But if I run the Scheduled Task Manager manually nothing is happening. Well it says DONE but in the Thread of the Weeks option it says that the poll is never run and it doesn't make any new poll at the forum. :(

SnowBot 03-19-2005 02:59 AM

is their a way to uninstall this?

Lionel 03-19-2005 07:20 AM

I have none of the problems described in this thread. The second poll ran itself as scheduled in cron while closing the first one.

2 minor details:

1-The closed thread says below are the winners and is empty
2-on forumdisplay.php the "Last Post" by has no username.

I keep on manually adjusting the thread title to say Week Ending {today} instead of the plain Thread of the Week Poll.

Marco van Herwaarden 03-19-2005 02:38 PM

@lionel

Thanks, i will look inti that second issue. Can you PM me the config for the winners post, so i can look at your first problem.

@snowbot
Run the installer again, choose to uninstall and follow instructions. If you added the Manager to your ACP menu, you will have to manually remove that edit. The scheduled task also needs to be removed manually.

Lionel 03-19-2005 07:19 PM

Quote:

Originally Posted by Lionel
I have none of the problems described in this thread. The second poll ran itself as scheduled in cron while closing the first one.

2 minor details:

1-The closed thread says below are the winners and is empty
2-on forumdisplay.php the "Last Post" by has no username.

I keep on manually adjusting the thread title to say Week Ending {today} instead of the plain Thread of the Week Poll.

OK, I did not realize that there were more options about variables in the question mark help to be included with #1

fiber1 04-05-2005 12:35 AM

Here is the biggest problem with this hack. One cannot exclude certain forums not to choose from for the Thread of the week. Besides this it would be a great hack!


All times are GMT. The time now is 04:40 PM.

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.01300 seconds
  • Memory Usage 1,746KB
  • 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
  • (2)bbcode_php_printable
  • (5)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