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

Reply
 
Thread Tools
Turtle Dollars (includes addons) Details »»
Turtle Dollars (includes addons)
Version: 1.00, by filburt1 filburt1 is offline
Developer Last Online: May 2007 Show Printable Version Email this Page

Version: 2.3.x Rating:
Released: 03-14-2003 Last Update: Never Installs: 28
 
No support by the author.

Note: there is one installation step specific to vB 2.3.0. If you are using an earlier version it might require some creativity on your part to install this hack.

Addons: Top 10 List

This hack is based on Sun's Java support forums' "Duke Dollars." This allows you to place a "dollar" offer when posting a thread, and when you get a helpful reply, give that member some of your "money." If memory serves, this can equate to buying trinkets at Sun's store. In vB it's mostly for pride although it may be possible to integrate this into other hacks like the infamous Store hack. The user's funds are always stored in $bbuserinfo['dollars'].

User-side, the user can offer a given number of dollars for any thread they post. If nobody replies or only they reply, they can retract the offer (this can be changed from the user CP). To award a user with the dollars, he has to click the "Award" button in the postbit. The thread will then be marked has having no dollar offer. Threads with dollar offers are marked in forumdisplay with an icon. When the award is given, the funds are subtracted from the thread poster's account and added to the awardee's funds. The user's funds are shown in his user CP.

Admin-side, an admin can designate which forums can allow dollar offers (by default they all will when installing this hack; when changing this setting only future threads are affected). An admin can also manually edit user accounts and can view the top 10 richest members. In addition, a given user's account can be completely emptied (useful when banning). There are also options for minimum allowed, maximum allowed, and default dollar awards.

Moderators, supermoderators, and administrators can always override some options. They can cancel offers by any member. However they are subject to the same "rules of economics" as any member (rewarding a member will always deduct from their funds and give to the member).

All images included have their PSD counterparts included in layered form and are based on the vBulletin graphics developer kit.

Screenshots are included in a zip below.

This hack comes with a powerful install script that runs the necessary queries for you. It also creates all custom templates. However it is up to you to do the file edits and template edits (included in the instructions).

Please reply with any comments you have. Just a "it's working" is appreciated.

Show Your Support

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

Comments
  #12  
Old 03-15-2003, 09:27 PM
Mephisteus's Avatar
Mephisteus Mephisteus is offline
 
Join Date: Dec 2001
Location: The Netherlands
Posts: 288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm working on an integration with lesane's store for this now

[EDIT]
I have succeeded! I will put it in an readme file :P

[EDIT]
srry, found an major bug :P
Reply With Quote
  #13  
Old 03-15-2003, 09:44 PM
N9ne N9ne is offline
 
Join Date: Feb 2002
Posts: 1,495
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

WOW

I love the idea of this, will you be porting this over to vB3 when it's released to save me time? because i'm going to have a huge points setup on that with my code, Lesane's store hack code (well some of it), and just random code lol, and integrating this into it would be great...
Reply With Quote
  #14  
Old 03-15-2003, 09:45 PM
N9ne N9ne is offline
 
Join Date: Feb 2002
Posts: 1,495
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 11:27 PM DarkSSJ3 said this in Post #11
I'm working on an integration with lesane's store for this now

[EDIT]
I have succeeded! I will put it in an readme file :P

You change all references to $bbuserinfo['dollars'] or $bbuserinfo[dollars] or $userinfo[dollars] to have storep instead of dollars.
Reply With Quote
  #15  
Old 03-15-2003, 09:46 PM
filburt1 filburt1 is offline
 
Join Date: Feb 2002
Location: Maryland, US
Posts: 6,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd consider porting it but not until vB 3.0.1 or so (i.e., a revision or two after the final comes out).
Reply With Quote
  #16  
Old 03-15-2003, 09:46 PM
Mephisteus's Avatar
Mephisteus Mephisteus is offline
 
Join Date: Dec 2001
Location: The Netherlands
Posts: 288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 12:45 AM N9ne said this in Post #13



You change all references to $bbuserinfo['dollars'] or $bbuserinfo[dollars] or $userinfo[dollars] to have storep instead of dollars.

indeed, but when someone replies I loose ALL of my store points and he has only the ones he earned in that thread

[EDIT]
never mind, got it :P

Quote:
$DB_site->query("UPDATE user SET storep = IF(userid = $fromuserid, storep - $transfer, storep + $transfer) WHERE userid IN ($fromuserid, $touserid)");
Reply With Quote
  #17  
Old 03-15-2003, 09:54 PM
filburt1 filburt1 is offline
 
Join Date: Feb 2002
Location: Maryland, US
Posts: 6,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fixed typo in instructions (wrong filename for uploading)
Reply With Quote
  #18  
Old 03-15-2003, 11:22 PM
filburt1 filburt1 is offline
 
Join Date: Feb 2002
Location: Maryland, US
Posts: 6,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anybody else successfully (or unsuccessfully) tested this?
Reply With Quote
  #19  
Old 03-16-2003, 03:36 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I like the idea... might come up with my own version for my site.
Reply With Quote
  #20  
Old 03-16-2003, 08:16 AM
Mephisteus's Avatar
Mephisteus Mephisteus is offline
 
Join Date: Dec 2001
Location: The Netherlands
Posts: 288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I could easily integrate it with lesane's store, it works like a dream
Reply With Quote
  #21  
Old 03-16-2003, 09:27 AM
Koopa Koopa is offline
 
Join Date: Nov 2001
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very good idea, I'll probably install this hack
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 02:08 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.07777 seconds
  • Memory Usage 2,302KB
  • 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
  • (3)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
  • (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