Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

Reply
 
Thread Tools
Members Choice voting hack - V2 with usergroup permissions Details »»
Members Choice voting hack - V2 with usergroup permissions
Version: 2, by trafix trafix is offline
Developer Last Online: Jul 2008 Show Printable Version Email this Page

Version: 3.0.5 Rating:
Released: 01-10-2005 Last Update: 02-13-2005 Installs: 53
DB Changes
 
No support by the author.

I have eventually got around to porting and releasing this hack on vborg for vb 3.0.5

1 file edit
3 template edit
3 new db table

This hack uses and includes a copy of the [HIS] Hack Installer System (Build 3)
released by Link14716 and can be found here --> https://vborg.vbsupport.ru/showthread.php?t=71542


This is similar to the earlier version however i have mane some changes including the ability to run more that one polling booth at a time

The member who nominates another can give reason for nominating the person.
and then the nominee can add an acceptance speech.
Avatars are also displayed for both nominee and nominator.

A Tutorial for manual install can be found here https://vborg.vbsupport.ru/showthread.php?t=76050

UPDATE V1.1

missing phrases added
changed wrong phrase call in template
fixed db quirie to add the table prefix


UPDATE V1.2

Changed phrasegroup id due to conflict with another hack

Update V2
1. Booth auto close.
2. Add option for nominate to be able to vote for the person they nominated
3. Add option to deny admin from nomination.
4. Added usergroup permissions for
-- Who can vote
-- Who can nominate
-- who can remove nominees
-- who can see votes.
5) fixed some phrases
If you are upgrading please be sure to remove the "1" folder before starting the install of v2

Show Your Support

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

Comments
  #12  
Old 01-11-2005, 09:44 PM
trafix's Avatar
trafix trafix is offline
 
Join Date: Dec 2002
Location: Australia
Posts: 1,021
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by alkatraz
Great idea for a hack!! Sorting through nominations and votes is such a pain in the ass.

Nothing wrong with it, but a lot of peeps like to do things manualy "just in case" something could affect their heavily modded board.
Hmm manually ..... its not my idea of fun sitting there adding heaps of templates and phrases one at a time

vB trader manually .... i dont think so .... over 70 templates and like over 400 new phrases ...... manual is not going to happen .. lol
Reply With Quote
  #13  
Old 01-11-2005, 09:57 PM
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Location: New Zealand
Posts: 2,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In the text file you mention installing vB Jukebox...
Reply With Quote
  #14  
Old 01-11-2005, 11:07 PM
paulmjno paulmjno is offline
 
Join Date: Sep 2004
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is confusing. I have installed the hack, but have no idea how to use it. Where can I add voting booths? And why does the install text have info about vB Jukebox in it?
Reply With Quote
  #15  
Old 01-12-2005, 02:19 AM
trafix's Avatar
trafix trafix is offline
 
Join Date: Dec 2002
Location: Australia
Posts: 1,021
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by paulmjno
This is confusing. I have installed the hack, but have no idea how to use it. Where can I add voting booths? And why does the install text have info about vB Jukebox in it?
ooops ... i used the jukebox readme as a template for this readme .... mentally substatute
Reply With Quote
  #16  
Old 01-12-2005, 02:20 AM
MikaK's Avatar
MikaK MikaK is offline
 
Join Date: Nov 2004
Location: Helsinki, Finland
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yinyang
2) is there a way in the next generation to set the member choice via usergroups?
Would be very cool:up:
Reply With Quote
  #17  
Old 01-12-2005, 02:23 AM
trafix's Avatar
trafix trafix is offline
 
Join Date: Dec 2002
Location: Australia
Posts: 1,021
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ummm you will find the settings in the vb options .... and to set up a polling booth .... setect the polling booth manager and click on "add"
Reply With Quote
  #18  
Old 01-12-2005, 04:15 AM
MikaK's Avatar
MikaK MikaK is offline
 
Join Date: Nov 2004
Location: Helsinki, Finland
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Seems like very cool! and fun Definately finds the small, very deep hiding politician even in me!

I think I found a small bug creating a db error when clickin at the "Leader Board" link. In mc_pollbooth.php around line 333
PHP Code:
$topresult $DB_site->query("
SELECT * FROM mc_nominee 
WHERE boothid = 
$boothid 
ORDER BY votes 
DESC 
needs a TABLE_PREFIX, like in my case: scll as the tableprefix
PHP Code:
$topresult $DB_site->query("
SELECT * FROM scllmc_nominee 
WHERE boothid = 
$boothid 
ORDER BY votes 
DESC 
Further, I think it would be nice if bbcode and smilies were present available for the speeches.

Cheers,
-Mika
Reply With Quote
  #19  
Old 01-12-2005, 04:32 AM
trafix's Avatar
trafix trafix is offline
 
Join Date: Dec 2002
Location: Australia
Posts: 1,021
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MikaK
Seems like very cool! and fun Definately finds the small, very deep hiding politician even in me!

I think I found a small bug creating a db error when clickin at the "Leader Board" link. In mc_pollbooth.php around line 333
PHP Code:
$topresult $DB_site->query("
SELECT * FROM mc_nominee 
WHERE boothid = 
$boothid 
ORDER BY votes 
DESC 
needs a TABLE_PREFIX, like in my case: scll as the tableprefix
PHP Code:
$topresult $DB_site->query("
SELECT * FROM scllmc_nominee 
WHERE boothid = 
$boothid 
ORDER BY votes 
DESC 
Further, I think it would be nice if bbcode and smilies were present available for the speeches.

Cheers,
-Mika
hmmm, i will take a look .... maybe i didnt add the "table prefix" bit
Reply With Quote
  #20  
Old 01-12-2005, 04:41 AM
MikaK's Avatar
MikaK MikaK is offline
 
Join Date: Nov 2004
Location: Helsinki, Finland
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by trafix
hmmm, i will take a look .... maybe i didnt add the "table prefix" bit
This might be dependent on my server mail options. When nominating my test member the test member receives a notification email with the message:
Could not find phrase 'mc_nomination_email'.

Regards,
-Mika
Reply With Quote
  #21  
Old 01-12-2005, 05:02 AM
trafix's Avatar
trafix trafix is offline
 
Join Date: Dec 2002
Location: Australia
Posts: 1,021
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MikaK
This might be dependent on my server mail options. When nominating my test member the test member receives a notification email with the message:
Could not find phrase 'mc_nomination_email'.

Regards,
-Mika
hmmm ... i will check the phrases have been added to the phrases.php .... they should have
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 11:56 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.13019 seconds
  • Memory Usage 2,310KB
  • Queries Executed 25 (?)
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
  • (4)bbcode_php
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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