Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Reply
 
Thread Tools
vBulletin Election Booth Details »»
vBulletin Election Booth
Version: 1.00, by vBsquad vBsquad is offline
Developer Last Online: Apr 2012 Show Printable Version Email this Page

Category: Portal Software - Version: 3.6.8 Rating:
Released: 10-13-2007 Last Update: Never Installs: 27
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.

Credit for the original hack goes to trafix.

The original hack can be located here:
https://vborg.vbsupport.ru/showthread.php?t=74183

Since the original coder could not be located I updated this hack to work with vb 3.6.8 and added several enhancements along the way.

What it does?
This hack basically allows you to hold elections on you board. You can open as many elections as you wish each with their own set of parameters. Some of the more important features are listed below.
  1. End Date
  2. Number of candidates
  3. Usergroups who can vote
  4. Number of candidates users can vote for
  5. Usergroups who can view leaderboard
  6. Usergroups who can see who voted

Support
I welcome your suggestions and will do what I can when I can to solve any issues.

Enloy
vBsquad | www.URLJet.com

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 10-15-2007, 02:37 AM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Perhaps this could be used for MOTM and BOTM over here
Reply With Quote
  #13  
Old 10-15-2007, 03:56 AM
SuperTaz's Avatar
SuperTaz SuperTaz is offline
 
Join Date: Apr 2007
Location: Pennsylvania
Posts: 744
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Doctor Death View Post
When clicking on the NOMINATE NOW button in POSTBIT, I get...
I got the same thing. Waiting for the patch now.
Reply With Quote
  #14  
Old 10-15-2007, 05:06 AM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice hack, looks cool
I'll have to think of a reason to use it now
Reply With Quote
  #15  
Old 10-15-2007, 10:05 AM
MDK-Indy MDK-Indy is offline
 
Join Date: Mar 2007
Location: Germany
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a Database Error...

Code:
Datenbankfehler in vBulletin 3.6.8:

Invalid SQL:

SELECT * 
FROM  candvoting_pollbooth 
WHERE enddate < 1192445146 
AND status =  1;

MySQL-Fehler : Table '_vbulletin.candvoting_pollbooth' doesn't  exist
Fehler-Nr.   : 1146
Datum        : Monday, October 15th 2007 @  12:45:46 PM
Skript       : http://xxx/cron.php?&rand=825430
Referrer      : http://xxx/showthread.php?p=65192
IP-Adresse    : xxx.xxx.xxx.xxx
Benutzername : Unregistriert
Klassenname  : vB_Database
How i can fix it?

greeting Indy
Reply With Quote
  #16  
Old 10-15-2007, 01:26 PM
Kalina's Avatar
Kalina Kalina is offline
 
Join Date: Mar 2005
Location: Canada
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What "varname" and "Log Phrase" do we give the scheduled task?

I also have a Database Error...

Code:
Database error in vBulletin 3.6.8:

Invalid SQL:

	SELECT * FROM candvoting_pollbooth 
	WHERE candvoting_pollboothid =;

MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 2
Error Number : 1064
Date         : Monday, October 15th 2007 @ 09:46:37 AM
Script       : http://www.mydomain.com/candvoting_nominate.php?do=nominate&memberid=2339
Referrer     : http://www.mydomain.com/showthread.php?p=97608
IP Address   : xx.xxx.xx.xx
Username     : Kalina
Classname    : vb_database
I get this error too when I click "nominate", I also don't understand why "nominate" is visible if there's no active polls.
Reply With Quote
  #17  
Old 10-15-2007, 03:21 PM
slyreptile slyreptile is offline
 
Join Date: Feb 2007
Location: Arizona
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tagging this for further consideration! Sounds like a great hack.
Reply With Quote
  #18  
Old 10-15-2007, 07:13 PM
CBTS Pennywise1 CBTS Pennywise1 is offline
 
Join Date: Mar 2007
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Same here Database error when I click Nominate now.
Reply With Quote
  #19  
Old 10-15-2007, 07:37 PM
vBsquad vBsquad is offline
 
Join Date: Sep 2007
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not sure why I'm not getting my email notifications, but I'm working on the db issue now.
Reply With Quote
  #20  
Old 10-15-2007, 09:13 PM
Doctor Death Doctor Death is offline
 
Join Date: Dec 2005
Posts: 449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When nominations are filled, you still have to click on name to get to vote?

I have an active poll right now and it is stuck on four votes without a way to move the voting forward.

Think that this hack needs a little unhacking.

Author: Can you give us some assist?
Reply With Quote
  #21  
Old 10-15-2007, 10:27 PM
CBTS Pennywise1 CBTS Pennywise1 is offline
 
Join Date: Mar 2007
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sweet thanks a bunch.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:28 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.07073 seconds
  • Memory Usage 2,299KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete