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)

TTG 01-27-2005 02:44 PM

Looks like it could be a useful addition. Installed a week ago and it worked well for the 1st poll .. never worked again no matter what I do. Checked all details and after 10 days still waiting for the next poll !?

Polo 01-27-2005 02:53 PM

so is this mod working correctly for anyone?

Marco van Herwaarden 01-27-2005 02:54 PM

Quote:

Originally Posted by TTG
Looks like it could be a useful addition. Installed a week ago and it worked well for the 1st poll .. never worked again no matter what I do. Checked all details and after 10 days still waiting for the next poll !?

- How often is your Scheduled Task set to run?
- What Schedule type and value did you set?
- What is the last run date?

TTG 01-27-2005 04:47 PM

My mistake .. set the schedule and forgot to add the filename for the task .. duh

Marco van Herwaarden 01-27-2005 08:32 PM

:D

Glad that this also answers the question of Polo ;)

sabret00the 01-28-2005 09:17 AM

Quote:

Originally Posted by Polo
so is this mod working correctly for anyone?

working perfectly for me.

Polo 01-28-2005 08:19 PM

Ok, sounds good, will install on my forum :)

Marco van Herwaarden 01-28-2005 08:54 PM

There is a modified version ready, but i am still waiting to get test results back. Seems the person testing is a bit busy with other things atm.

fiber1 01-29-2005 04:15 AM

Quote:

Originally Posted by MarcoH64
Well the hack is pretty stand alone, an upgrade shouldn't effect anything except maybe some phrases.

Yes this query is part of the cronjob for this hack.

What this cronjob does is read the rules table and then execute for every rule some code.

This query that give you an error is inside the part that gets triggered for each rule that needs to be run (meaning that there IS a rule row in the database that needs to be run).

So given the fact that this part of the code can only be executed if there is a rule, i really dont get why this query have no values from the rules row.

The line [sql], ((views * ) + (replycount * )) AS score[/sql]
should have the values of the weight for views and replies inserted there. So for example:
[sql], ((views * VIEWWEIGHT) + (replycount * REPLYWEIGHT)) AS score[/sql]
If you have access to the database, please check if there is somehow an empty row in the 'threadofweekrules' table.

Otherwise all i can think of is to clear all rules, and add them again.

If you could just post the fix once resolved, when you find it that would be great

docvader 01-29-2005 04:48 AM

Quote:

Originally Posted by MarcoH64
There is a modified version ready, but i am still waiting to get test results back. Seems the person testing is a bit busy with other things atm.

OH, were you talking about me?

Sorry. Will try it again. didn't get that file to work, but, the hack seems to be working great.


All times are GMT. The time now is 03:30 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.01303 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