vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Prize Recognition Hack (https://vborg.vbsupport.ru/showthread.php?t=53334)

ranger2kxlt 05-25-2003 04:15 AM

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.

ranger2kxlt 05-25-2003 04:17 AM

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.

Talisman 05-26-2003 05:51 AM

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

Who is Tom?

And how do I win him?

Hmm? ;)

ethics 05-26-2003 11:11 PM

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.

ranger2kxlt 05-27-2003 03:16 AM

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.

ranger2kxlt 05-27-2003 03:29 AM

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]); 


ranger2kxlt 05-27-2003 03:34 AM

NEW ATTACHMENT! v1.1

ranger2kxlt 05-27-2003 09:02 PM

Did the above fix work for you ethics?

ranger2kxlt 06-04-2003 04:49 AM

bump... just seeing if anyone else wants this...

kevinnguyen 06-08-2003 01:45 AM

still doesnt work


All times are GMT. The time now is 12:26 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.01170 seconds
  • Memory Usage 1,749KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete