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-09-2005 11:58 AM

Quote:

Originally Posted by the nail geek
Dont know if this has been suggested... but a naming scheme would be good instead of all polls with the same title.

Just a thought :)

I am working on the next version right now. Any suggestions for some naming scheme's?

deb0 02-14-2005 10:02 AM

Quote:

Originally Posted by docvader
Database error in vBulletin 3.0.6:

Invalid SQL: SELECT
threadid
, ((views * ) + (replycount * )) AS score
, views
, replycount
, title
, postusername
, postuserid
FROM thread
WHERE lastpost > 0
AND forumid IN ()

ORDER BY score DESC
LIMIT

mysql error: You have an error in your SQL syntax near ') + (replycount * )) AS score
, views
, replycount
, title
, postuse' at line 3

mysql error number: 1064

Date: Saturday 22nd of January 2005 04:14:04 AM
Script: http://x.russbo.com/vb/cron.php?&rand=173925
Referer:
Username: Unregistered
IP Address: 65.173.88.230.

I'm getting the same thing.

I also noticed that the mod doesn't seem to be working. Isn't a poll/thread supposed to appear in the forum you specify?

Help!

Marco van Herwaarden 02-14-2005 10:15 AM

Are you using the 1.12 version of the threadoftheweek.php?

This one is downloadable seperate in this thread (look at the hack in the top).

PS This week there will be a new version with some extra's like uCash integration. I will post it as soon as i had time to finish upgrade/installer and it is tested. But a bit busy with normal work atm.

sabret00the 02-14-2005 10:15 AM

Quote:

Originally Posted by MarcoH64
I am working on the next version right now. Any suggestions for some naming scheme's?

i thought if it could get the 'month' or 'week' and use that it'd be good.

SnowBot 02-14-2005 04:11 PM

Think i may try this out.

/me clicks install

TTG 02-17-2005 02:32 AM

Appears to have stopped again !?
Last run 5.2.2005 .. run the cron job manually and see message "Thread of the Week
Done", but no new poll !?

Marco van Herwaarden 02-17-2005 03:43 AM

After you run it manually, it still say last run 5.2?

It could be that there are not enough candidate threads selected.

Marco van Herwaarden 02-17-2005 03:44 AM

Edit: On what schedule is this Poll set in the Rule?

TTG 02-17-2005 10:25 AM

Quote:

Originally Posted by MarcoH64
After you run it manually, it still say last run 5.2?

It could be that there are not enough candidate threads selected.

After a manual cron the date of the next run is listed as "18-02-05 12:59 AM" but no new Thread has been added to the poll section !

I've changed the The weight the number of thread views has in the selection process and The weight the number of replies has in the selection process to just 5 and still no joy.

The Geek 02-17-2005 10:51 AM

Quote:

Originally Posted by TTG
After a manual cron the date of the next run is listed as "18-02-05 12:59 AM" but no new Thread has been added to the poll section !

I've changed the The weight the number of thread views has in the selection process and The weight the number of replies has in the selection process to just 5 and still no joy.

Same here.
First run was fine. Since then, scheduled or manually running it doesnt work. Looking at the cron log, it keeps telling me it is updated - but no new thread. Just ran with debugging on and got this:

PHP Code:

Thread of the Week Started12:49 PM
Start processing rule 1 
(Thread of the week)
Key data idactives.types.valuepostfidpostuserThe Nail Geek aforumsa:7:{i:0;s:2:"11";i:1;s:1:"7";i:2;s:1:"6";i:3;s:2:"17";i:4;s:2:"21";i:5;s:2:"18";i:6;s:2:"22";} - wviews50 wreplies50 last1107904020 prevpoll11863
Rule has run before
daily or weekly scheduleTimenow1108644573 timecut1108039773 
Rule don
't need to run now, skipping 
Thread of the Week polls updated. 12:49 PM 

So it looks like it is already thinking it has run?


All times are GMT. The time now is 08:10 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.01248 seconds
  • Memory Usage 1,754KB
  • 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_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)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