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)

KevinL 06-19-2005 02:10 AM

I want to install as it sounds like an awesome hack, but first was wondering if something is possible.

Could it be possible to say have a button in the first post to nominate that thread? So users can nominate threads instead of it picking based on views/replies?

Then after a month it will make a poll thread on the first of every month based on those threads clicked and close after say five days?

Any thoughts on this? :)

Marco van Herwaarden 06-19-2005 06:13 AM

That would have to be an addon to this hack. I don't know if i would have time for that right now, maybe in a few weeks.

KevinL 06-19-2005 12:23 PM

Quote:

Originally Posted by MarcoH64
That would have to be an addon to this hack. I don't know if i would have time for that right now, maybe in a few weeks.

That would be great! Thanks

A donation might be in order when thats done ;)

Marco van Herwaarden 06-21-2005 02:48 PM

Quote:

Originally Posted by KevinL
That would be great! Thanks

A donation might be in order when thats done ;)

Kevin

You would really need to specify a bit more how you want this. Should nomination votes get reset after selection? It would not be possible to have more then 1 Poll running at the same time i think.

dsboyce8624 06-21-2005 03:02 PM

Quote:

Originally Posted by MarcoH64
Kevin

You would really need to specify a bit more how you want this. Should nomination votes get reset after selection? It would not be possible to have more then 1 Poll running at the same time i think.

Sounds like a whole new hack to me. And I do like the idea.

Users vote during the week, at the end of the week, the votes are used to create a poll, then the votes are reset and a new vote begins. The winners from the the last X number of weeks are ineligable and X is defined in ACP.

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

Ok, i might be better off telling what i have in mind.

First of all i already made some changes to TOTW:
- New option to close a Poll after X-days instead of when a new Poll is started.
- Created basic support for alternative way of Candidate selection.
- Moved current Poll from Rules table to a new Polls table.
- Added a Poll Manager (not much, just a place to see the current ongoing Polls).
- Created to possiblility to End a Poll, the next time the cronjob is run. This means you can end it earlier then normal.

What i was thinking of is creating a function (maybe an addon, depending on the fact if vBfiles/tables must be edited or not, since the current TOTW is more a "plugin") that can do the following:
- Create a way of allowing external votes to be made to Candidate a thread for a predefined Rule. You would only need to add a link to that function with the ruleid as parameter somewhere in a template.
- Make it impossible to vote more then once for a user.
- Empty the new Candidate voting after a new Poll is created?


(I know this doesn't make sense, but i just slowly start to figure out how to solve this)

PS Not sure if i would make this addon for free.

dsboyce8624 06-21-2005 03:29 PM

Most of what you said, sounds like what I said.

If it ends up being what I said, I have no problems shelling out a few clams.

KevinL 06-21-2005 03:33 PM

Excellent :)

yahoooh 08-11-2005 06:05 AM

when i try to install i get this error :
[11-Aug-2005 02:36:40] PHP Warning: chdir(): No such file or directory (errno 2) in /home/xxx/public_html/forum/install/his_files/hack_install_b3.php on line 30
[11-Aug-2005 02:36:40] PHP Warning: main(./global.php): failed to open stream: No such file or directory in /home/xxx/public_html/forum/install/his_files/hack_install_b3.php on line 31
[11-Aug-2005 02:36:40] PHP Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxx/public_html/forum/install/his_files/hack_install_b3.php on line 31

Marco van Herwaarden 08-11-2005 01:33 PM

If you have renamed your admincp directory, then please have a look at the config file in install/his_files. This file must be renamed and edited to reflect your directory names.


All times are GMT. The time now is 09:14 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.01144 seconds
  • Memory Usage 1,739KB
  • 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
  • (3)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