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
Prize Recognition Hack Details »»
Prize Recognition Hack
Version: 1.00, by ranger2kxlt ranger2kxlt is offline
Developer Last Online: Jan 2011 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 05-23-2003 Last Update: Never Installs: 12
 
No support by the author.

If your like me and hand out monthly recognition to members for winning car of the month (this can be used for anything... doesnt have to be monthly either... whatever you want)... then you will want this hack as it recognizes when a member has won through their postbit.

**It will NOT show if the member has never won anything.**

Its actually pretty simple to install and to figure out. See screen shots below.

Also I should recognize MarkB for his contribution hack. Since I am not a very good programmer of php i followed his hack and added some additions as well as modified it for this hack. No need to worry however it all works perfect.

Ok ill shut up. Instructions are in the attached text file. Screen shots to follow.

DOWNLOAD ATTACHMENT HERE!

Show Your Support

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

Comments
  #12  
Old 05-25-2003, 04:15 AM
ranger2kxlt ranger2kxlt is offline
 
Join Date: Jan 2003
Location: Plano, TX
Posts: 272
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Yesterday at 02:39 PM DPoole said this in Post #8
any chance of makin it add a small gif to it ect ? or are we stuck with text only ??

Edit the postbit_winner template to include an img tag (html) and you can add one that way.
Reply With Quote
  #13  
Old 05-25-2003, 04:17 AM
ranger2kxlt ranger2kxlt is offline
 
Join Date: Jan 2003
Location: Plano, TX
Posts: 272
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Yesterday at 08:36 PM ethics said this in Post #10
Doesn't work for me either.

Looks like the code

PHP Code:
makeinputcode("Has $user[username] won POM?","winner1",$user[winner]); 
(I use POM) has something wrong with it. I can't even get it to display while the question of when shows up.

Does 2.2.8 have a limit in how many options you can have in the options parameters?

What is the error your getting? No 2.2.8 should not have a limit to how many options you can have.
Reply With Quote
  #14  
Old 05-26-2003, 05:51 AM
Talisman's Avatar
Talisman Talisman is offline
 
Join Date: Aug 2002
Location: USA/West Coast
Posts: 371
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey, that sounds interesting. I just have 2 questions:

Who is Tom?

And how do I win him?

Hmm?
Reply With Quote
  #15  
Old 05-26-2003, 11:11 PM
ethics ethics is offline
 
Join Date: Feb 2002
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Yesterday at 01:17 AM ranger2kxlt said this in Post #12
What is the error your getting? No 2.2.8 should not have a limit to how many options you can have.

The error is that while I have the "specify the date of the ToM winner" I do not get the switch to turn the user on.

In other words, the screenshot shows that you have two fields in the options (user.php). I only get one.
Reply With Quote
  #16  
Old 05-27-2003, 03:16 AM
ranger2kxlt ranger2kxlt is offline
 
Join Date: Jan 2003
Location: Plano, TX
Posts: 272
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 01:51 AM Talisman said this in Post #13
Hey, that sounds interesting. I just have 2 questions:

Who is Tom?

And how do I win him?

Hmm?
TOM on my site stands for Thunderbird of the Month. I guess it should be TOTM huh? lol. I guess i will make that change. Oh yeah and you win him by entering a picture of your car in the monthly vote and if you win... i display a picture on the homepage... you have a permanent marking in your postbit (this hack), and recognition for your vehicle.
Reply With Quote
  #17  
Old 05-27-2003, 03:29 AM
ranger2kxlt ranger2kxlt is offline
 
Join Date: Jan 2003
Location: Plano, TX
Posts: 272
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 07:11 PM ethics said this in Post #14
The error is that while I have the "specify the date of the ToM winner" I do not get the switch to turn the user on.

In other words, the screenshot shows that you have two fields in the options (user.php). I only get one.
Im extremely sorry about this... I forgot a small piece of the code in two places which is why this is not showing up for you... and for the people who said it is working they will need to update it. Sorry once again. Ive updated the download file and the changes are also posted below... Sorry.


NOTE THAT THE BELOW CHANGES ARE NOT ONLY WHAT I FORGOT TO ADD, BUT THE ENTIRE SECTION OF THE HACK THAT I MISSED. IN EACH OF THE TWO CHANGES BELOW... ONE LINE WAS MISSING FROM MY ORIGINAL ATTACHMENT.

In admin/user.php find:
PHP Code:
makeinputcode("IP Address","aipaddress",$ipaddress); 
After, Add this:
PHP Code:
makeinputcode("Has $user[username] won [ENTER YOUR OWN DESCRIPTION HERE]?","winner1",$user[winner]);
makeinputcode("Month, Year of Winning [ENTER YOUR OWN DESCRIPTION HERE]?","winnerdate1",$user[winnerdate]); 

Find:
PHP Code:
makeinputcode("IP Address","aipaddress",$user[ipaddress]); 
After, Add this:
PHP Code:
makeyesnocode("Has $user[username] won [ENTER YOUR OWN DESCRIPTION HERE]?","winner1",$user[winner]);
makeinputcode("Month, Year of winning [ENTER YOUR OWN DESCRIPTION HERE]?","winnerdate1",$user[winnerdate]); 
Reply With Quote
  #18  
Old 05-27-2003, 03:34 AM
ranger2kxlt ranger2kxlt is offline
 
Join Date: Jan 2003
Location: Plano, TX
Posts: 272
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

NEW ATTACHMENT! v1.1
Reply With Quote
  #19  
Old 05-27-2003, 09:02 PM
ranger2kxlt ranger2kxlt is offline
 
Join Date: Jan 2003
Location: Plano, TX
Posts: 272
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did the above fix work for you ethics?
Reply With Quote
  #20  
Old 06-04-2003, 04:49 AM
ranger2kxlt ranger2kxlt is offline
 
Join Date: Jan 2003
Location: Plano, TX
Posts: 272
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bump... just seeing if anyone else wants this...
Reply With Quote
  #21  
Old 06-08-2003, 01:45 AM
kevinnguyen kevinnguyen is offline
 
Join Date: Feb 2003
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

still doesnt work
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:29 AM.


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.04388 seconds
  • Memory Usage 2,315KB
  • 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_php
  • (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
  • (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