Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Members Choice Voting Hack Details »»
Members Choice Voting Hack
Version: 1.00, by trafix trafix is offline
Developer Last Online: Jul 2008 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 03-25-2003 Last Update: Never Installs: 32
 
No support by the author.

I built this hack at the request of one of my members before reading many requests for it on vb.org.
I have not added an auto award sequence as I have Lesane's awars/medals/card hack. However you can use this as a stand alone addition, I have a forum called "Spotlight" where I announce a member, product and service of the month.
This hack also makes use of my Links To Us hack if you have it installed.

The member who nominates another can give reason for nominating the person.
Each nominee will see a red "You have been nominated." on their home page, they then go to the members choice area to add a nomination acceptance speech.
Avatars are also displayed for both nominee and nominator, (Defult included)

As a member is nominated he is added to the nominee list.
For each nominee, members can:
1) See who voted for each.
2) Vote for a nominee if permitted, they can also add a reason for their vote
3) Read the nomination reasons and acceptance speeches etc
4) view their forum stats, this includes: amount of new posts, amount of new threads, amount of member votes, amount of new member refferals and if you have my "Links To Us" hack it will also display the amount of people that have clicked on their website banner. These stats start from the time of nomination.

Nomination and voting rules:
1) You may not vote or nominate yourself.
2) You may not vote for the person that you nominated.
3) You may not vote more than once for the same nominee.
4) Only X nominations will be accepted. (can change from admin)
5) You may nominate more than one member. (can change to one only from admin)
6) You may vote for more than one nominee. (can change to one only from admin)
7) You may only nominate members from their posts.

DEMO: www.atmyparty.com

SCREENSHOT: Next posts

REQUIREMENTS:

6 X php file alteration
1 X database query
23 X new templates
1 X template modifications

INSTALATION TIME: aprox. 20 min

Includes a php file to do database changes.

Please click "Install" if you use it.

This update includes the following new features:
1) Leader board link from main page as requested by DPoole .
2) Limiting the viewing of "Who Voted" to selected user groups as requested by USODJA.

~ This hack is Copyright ~
Please note that I reserve the right to code and release this hack for VB3, I have not and will not grant permission for anyone else to code this hack for VB3.

Show Your Support

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

Comments
  #112  
Old 05-18-2003, 02:06 AM
kevinnguyen kevinnguyen is offline
 
Join Date: Feb 2003
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very good job LTDT *thumbs up*
Reply With Quote
  #113  
Old 05-18-2003, 07:09 AM
DPoole DPoole is offline
 
Join Date: Oct 2001
Location: UK
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

looks nice well done m8
Reply With Quote
  #114  
Old 05-20-2003, 05:19 PM
kevinnguyen kevinnguyen is offline
 
Join Date: Feb 2003
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

when will V2 come out?
Reply With Quote
  #115  
Old 05-29-2003, 08:31 PM
Vile's Avatar
Vile Vile is offline
 
Join Date: Apr 2002
Location: Arizona, USA
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome hack, and works great, except for one part..

The message that is supposed to be displayed on forumhome when someone is nominated, does not show up for me.

I read through all the posts, but noone else had this problem.

As the directions stated, in root\index.php

I placed:

PHP Code:
// members choice voting announce bit
 
$userstatus $DB_site->query_first("SELECT * FROM memberschoice WHERE nomname='$bbuserinfo[username]'");
    if (empty(
$userstatus[nomname])) {
  
$nomination="No Nomination";
} else if (
$userstatus[acceptnom]=='No') {
  
$nomination="<b><font color=\"#ffoooo\">You have been nominated</font></b>";
} else {    
  
$nomination="Nomination accepted";
  }
  
// members choice announce bit 
After

PHP Code:
// get total posts
$countposts=$DB_site->query_first('SELECT COUNT(*) AS posts FROM post');
$totalposts=number_format($countposts['posts']); 
But it still doesnt show up :\

Any ideas?

Thanks
Reply With Quote
  #116  
Old 06-03-2003, 01:17 PM
DPoole DPoole is offline
 
Join Date: Oct 2001
Location: UK
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

traffic can u make a small addon please

where anyone who is nominated gets a small gif or anything in their postbit (something which stands out) and once that gif is clicked it takes u straight to the Main page of the voting hack.

Not many people are using it as they dont know its there unless they been nominated so id like to make more traffic for it.

If nominated - get an ICON under avator - if not nominated nothing shows
Reply With Quote
  #117  
Old 06-03-2003, 01:43 PM
trafix's Avatar
trafix trafix is offline
 
Join Date: Dec 2002
Location: Australia
Posts: 1,021
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It has been brought to my ayyension that I missed a template to edit in the instructions, thanks Vile

This tells the ,e,ber on the forum home page if they have been nominated

**********************************
OPEN Postbit Templates > forum home
**********************************

------------------
Add to your welcome panel or approiate place near top of forum
------------------

$nomination

**********************************
SAVE Postbit Templates > forum home
**********************************
Reply With Quote
  #118  
Old 06-03-2003, 03:55 PM
Vile's Avatar
Vile Vile is offline
 
Join Date: Apr 2002
Location: Arizona, USA
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 03:43 PM trafix said this in Post #116
It has been brought to my ayyension that I missed a template to edit in the instructions, thanks Vile


No, thank you for the fix

Hack is working excellent, and the members are loving it
Reply With Quote
  #119  
Old 06-04-2003, 07:40 PM
DPoole DPoole is offline
 
Join Date: Oct 2001
Location: UK
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Yesterday at 03:17 PM DPoole said this in Post #115
traffic can u make a small addon please

where anyone who is nominated gets a small gif or anything in their postbit (something which stands out) and once that gif is clicked it takes u straight to the Main page of the voting hack.

Not many people are using it as they dont know its there unless they been nominated so id like to make more traffic for it.

If nominated - get an ICON under avator - if not nominated nothing shows

No Possibilty of update to this traffic ??
Reply With Quote
  #120  
Old 06-17-2003, 10:53 AM
vbulletin-arab vbulletin-arab is offline
 
Join Date: Jun 2003
Location: s.a
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

helloo trafix

i have 2 prob...

the 1 set :
As the directions stated, in root\index.php

I placed:

PHP Code:
// get total posts
$countposts=$DB_site->query_first('SELECT COUNT(*) AS posts FROM post');
$totalposts=number_format($countposts['posts']); 
add after :


PHP Code:
 // members choice voting announce bit
 
$userstatus $DB_site->query_first("SELECT * FROM memberschoice WHERE nomname='$bbuserinfo[username]'");
    if (empty(
$userstatus[nomname])) {
  
$nomination="<a href=\"memberschoice.php?s=[sessionhash]">No Nomination</a>";
} else if (
$userstatus[acceptnom]=='No') {
  
$nomination="<b><a href=\"memberschoice.php?s=[sessionhash]"><font color=\"#ffoooo\">You have been nominated</font></a></b>";
} else {    
  
$nomination="<a href=\"memberschoice.php?s=[sessionhash]">Nomination accepted</A>";
  }
  
// members choice announce bit 
i will add but give me an error on line 142

and i am removed this code

the 2 set prob...

i am go to - Nominations & Voting > Nominate Member

and click on the Nominate Now dont do anything's

????

plz help me
Reply With Quote
  #121  
Old 06-19-2003, 01:28 AM
vbulletin-arab vbulletin-arab is offline
 
Join Date: Jun 2003
Location: s.a
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any body help me ?!
Reply With Quote
Reply


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:17 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.04626 seconds
  • Memory Usage 2,329KB
  • 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
  • (2)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