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
  #52  
Old 01-14-2005, 04:19 PM
rex_b rex_b is offline
 
Join Date: Jul 2004
Location: LA
Posts: 271
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you have to use the HIS installer for this puppy?
Reply With Quote
  #53  
Old 01-14-2005, 04:24 PM
docvader's Avatar
docvader docvader is offline
 
Join Date: Dec 2002
Posts: 520
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rex_b
Do you have to use the HIS installer for this puppy?
Hey Trafix, still got that problem with the phrases, for some reason. It doesn't show in the ADMIN CP, and the email doesn't show the nomination phrase (both of which have been discussed in this thread before.

Otherwise, seems to be working fine. Happy to test things for you.

rich
Reply With Quote
  #54  
Old 01-14-2005, 04:30 PM
mcyates mcyates is offline
 
Join Date: Jan 2003
Location: Middlesbrough, Cleveland
Posts: 798
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All these phrases are in the wrong location. They are under "geekarticles" which is another hack that i have instaled.

================================
mc_ a_ member [Edit] [Delete]
mc_ acceptance_ speech [Edit] [Delete]
mc_ add_ new_ x [Edit] [Delete]
mc_ are_ you_ sure_ want_ to_ delete_ booth_ x [Edit] [Delete]
mc_ are_ you_ sure_ you_ want_ to_ remove [Edit] [Delete]
mc_ automatic_ closing_ polls [Edit] [Delete]
mc_ booth_ list [Edit] [Delete]
mc_ booth_ name [Edit] [Delete]
mc_ closing_ date [Edit] [Delete]
mc_ edit_ x_ y_ id_ z [Edit] [Delete]
mc_ is_ booth_ open [Edit] [Delete]
mc_ leader_ board [Edit] [Delete]
mc_ manual_ closing_ polls [Edit] [Delete]
mc_ may [Edit] [Delete]
mc_ may_ not [Edit] [Delete]
mc_ members_ choice [Edit] [Delete]
mc_ members_ choice_ polling_ booth [Edit] [Delete]
mc_ must_ be_ member_ to_ nom [Edit] [Delete]
mc_ new_ award_ called [Edit] [Delete]
mc_ no_ booths_ open [Edit] [Delete]
mc_ no_ nominations [Edit] [Delete]
mc_ no_ reason_ entered [Edit] [Delete]
mc_ nom_ only_ from_ posts [Edit] [Delete]
mc_ nominate [Edit] [Delete]
mc_ nominated_ and_ accepted [Edit] [Delete]
mc_ nomination_ status [Edit] [Delete]
mc_ nominees [Edit] [Delete]
mc_ not_ nominated [Edit] [Delete]
mc_ nothing_ to_ list [Edit] [Delete]
mc_ only_ x_ noms [Edit] [Delete]
mc_ please_ select_ booth [Edit] [Delete]
mc_ polling_ booth [Edit] [Delete]
mc_ polling_ booth_ closed [Edit] [Delete]
mc_ polling_ booth_ open [Edit] [Delete]
mc_ reason_ for_ nomination [Edit] [Delete]
mc_ remove_ nomination [Edit] [Delete]
mc_ rule_ 1_ 3 [Edit] [Delete]
mc_ rules [Edit] [Delete]
mc_ see_ who_ voted [Edit] [Delete]
mc_ vote_ now [Edit] [Delete]
mc_ vote_ when_ all_ nom [Edit] [Delete]
mc_ votes [Edit] [Delete]
mc_ voting [Edit] [Delete]
mc_ voting_ foyer [Edit] [Delete]
mc_ who_ do_ you_ nominate [Edit] [Delete]
mc_ you_ are_ nominating [Edit] [Delete]
mc_ you_ are_ voting_ for [Edit] [Delete]
mc_ you_ may_ vote [Edit] [Delete]
mc_ you_ x_ nom [Edit] [Delete]
mc_ you_ x_ vote [Edit] [Delete]
mc_ your_ nominated [Edit] [Delete]
mc_ your_ not_ nominated [Edit] [Delete]
==============================

I installed first but got a database error something to do with this query:

$query['new'][] = 'INSERT INTO '.TABLE_PREFIX.'phrasetype (phrasetypeid, fieldname, title, editrows) VALUES (153, \'members_choice\', \'Members Choice\', 3)';

Saying it was a duplicate:

I then removed the query from the queries.php along with:

$query['new'][] = 'ALTER TABLE '.TABLE_PREFIX.'language ADD `phrasegroup_members_choice` MEDIUMTEXT NOT NULL';

And it said it installed fine but all the phrases are in the wrong place. Well some are working but all the ones above do not. How can i move them all at once.

Another thing, I tried to install it but i got this error:

There is no record of Members Choice being installed. It cannot be uninstalled.

Even though i installed it!!!1

Arghhhhhh!!!
Reply With Quote
  #55  
Old 01-14-2005, 04:32 PM
mcyates mcyates is offline
 
Join Date: Jan 2003
Location: Middlesbrough, Cleveland
Posts: 798
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rex_b
Do you have to use the HIS installer for this puppy?
I think you do, i prefer the notepad way personally as you know exactly what you are doing.
Reply With Quote
  #56  
Old 01-14-2005, 05:32 PM
docvader's Avatar
docvader docvader is offline
 
Join Date: Dec 2002
Posts: 520
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mcyates
I think you do, i prefer the notepad way personally as you know exactly what you are doing.
I'm having trouble with people not being able to vote. Registered members do not have the option. Is there a permission that has to be turned on in the User Groups menu?
Reply With Quote
  #57  
Old 01-14-2005, 07:08 PM
mcyates mcyates is offline
 
Join Date: Jan 2003
Location: Middlesbrough, Cleveland
Posts: 798
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Warning: main(./uninstall_queries.php): failed to open stream: No such file or directory in /index.php on line 103

Fatal error: main(): Failed opening required './uninstall_queries.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /usr/home/yates238/public_html/install/hacks/Members Choice/1/index.php on line 103

When trying to uninstall. This is ++++ing up my forum. Its logging everyone out. I'm uninstalling it, manually as its not letting me do it normally. This should be beta with all these problems.
Reply With Quote
  #58  
Old 01-14-2005, 07:19 PM
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Location: New Zealand
Posts: 2,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mcyates
Warning: main(./uninstall_queries.php): failed to open stream: No such file or directory in /index.php on line 103

Fatal error: main(): Failed opening required './uninstall_queries.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /usr/home/yates238/public_html/install/hacks/Members Choice/1/index.php on line 103

When trying to uninstall. This is ++++ing up my forum. Its logging everyone out. I'm uninstalling it, manually as its not letting me do it normally. This should be beta with all these problems.
http://forums.nzboards.com/mc_pollbooth.php

No problems whatsoever here.

How is the installation of this hack causing people to be logged out of your forums? The only php files that are altered is admincp/index.php ... do you have other hacks installed that may be conflicting? Like the loginlog hack?
Reply With Quote
  #59  
Old 01-14-2005, 09:13 PM
trafix's Avatar
trafix trafix is offline
 
Join Date: Dec 2002
Location: Australia
Posts: 1,021
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmmm .... i warned vb org staff in a pvt forum that this this could happn but i was ignored ... i will now say it in a public thread...

what has happened here i predicted would happen a while ago ..... these two hacks are using the same phraseid numbers ..... bad news ..... as for a fix its not going to be that easy i will have to work on that
Reply With Quote
  #60  
Old 01-14-2005, 09:27 PM
mcyates mcyates is offline
 
Join Date: Jan 2003
Location: Middlesbrough, Cleveland
Posts: 798
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kall
http://forums.nzboards.com/mc_pollbooth.php

No problems whatsoever here.

How is the installation of this hack causing people to be logged out of your forums? The only php files that are altered is admincp/index.php ... do you have other hacks installed that may be conflicting? Like the loginlog hack?
Its all ok now. I've removed this hack and the geekarticles.
Reply With Quote
  #61  
Old 01-14-2005, 09:39 PM
trafix's Avatar
trafix trafix is offline
 
Join Date: Dec 2002
Location: Australia
Posts: 1,021
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmmm ok here is the fix ..... in the hack/members choice/1/ folder open quiries.php and change the phraseid number to something else say 887 in the first quirie

then open phrases.php and change all the phrases with phraseid 153 to 887 as well .... then you will be able to successufully install both hacks

trafix
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 08:16 AM.


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.04827 seconds
  • Memory Usage 2,305KB
  • 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
  • (5)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
  • (4)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