![]() |
I just did the 3.06 upgrade, which has screwed up a bunch of my hacks. So, I'm not sure it's your hack that's doing this, I was just wondering if you thought it might. (I'm still dealing with some Shoutbox issues, LOL). The rule settings for the poll look fine to me, as does the functioning of the hack within the AdminCP. But the only two new Cron additions were the Statistics hack by PDFreak, and yours. So, I was just wondering if you had seen this error before, or, if you might recognize it.
|
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. |
Thanks for the fun hack! :) Good Job!
|
This is what is in the database:
Quote:
Now, I did set this up so that it ran for one day. And, it seemed to have worked. So, I'm not saying that this doesn't work; I just don't understand where this error came from. I wanted you to be aware of it. let me know what I can do to help, if need be. |
It doesn't work as advertised. On my forum I have it set for the last 7 days but it shows threads from months ago in the poll!!
|
Quote:
|
Quote:
Quote:
|
I have the same issue that docvader does so there is an issue there. I am just not sure of the resolution.
|
Quote:
Quote:
Quote:
score = (views * weight_views) + (replies * weight_replies) General: Will look soon into a uShop integration. |
Quote:
Thanks!!!!! |
All times are GMT. The time now is 10:57 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|