Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
Prev Previous Post   Next Post Next
  #1  
Old 01-25-2009, 08:50 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Mod to allow users to make 'points/credits' in exchange for 'rep'

OK... so I program in PHP and do MySQL stuff all day long sometimes at work so I know the programming part of this isn't difficult, but I have no experience in VB mods other then some basic template changes and conditionals and such otherwise I'd be doing this myself... My hope is someone who knows what they're doing can do this relatively quickly and easily - I think it would be a popular mod for boards who use some sort of credits or points system on their boards.

Specifically I'm using the Casino from VBgaming which has a default points system called "Casino Cash" but the Casino allows you to specify any other points or credits system just by entering the column name into the settings screen. (my forum is www.juot.net/forums/ if you'd like to see it in action)

Here's my idea- users are often running out of casino cash because they're gambling addicted- as such instead of seeing them beg for money in the forums I want to provide a way they can always get a quick infusion of cash without bothering anyone else.

I'm thinking of a page they can go to as a link off the navbar or such that provides a number of 'less then honorable' ways of making money in exchange for reputation... The exact name and details of each way would be customizable via the admincp but I'm thinking of things like:

1) Rob a Liquor Store
-Min Amount: $500
-Max Amount: $1000
-Rep Loss: 100 points

2) Dig through dumpsters looking for stuff to sell
-Min Amount: $5
-Max Amount: $200
-Rep Loss: 25 points

3) Sign up for medical experiemnts
-Min Amount: $200
-Max Amount: $250
-Rep Loss: 50 points

Each of the fields (and total number of options) would be settable in the admin CP... if there could possibly be a graphic icon to go with each option, something maybe around avatar sized that could be set by the admin (path to uploaded image file or blank if none) that would be even more icing on the cake.

So basically the user just picks one of these options, hits 'Submit' and they go to a page that tells them exactly how much money they made and displays their new rep score. The exact amount is a random number between the min and max.

An option to open this up to only people with positive rep, or let anyone - even with negative rep- use it...

Also a setting to limit it to certain usergroups if need be, but by default work for all.

Not as imporant but if a log could also be kept so that users can view it and see who's been 'dumpster diving' or robbing liquor stores that would be cool... maybe the last 10 or 20 transactions are logged - nothing too fancy.

If I'm crazy and this is a huge project I'm sorry don't flame me too much.

EDIT- very basic idea of what I'm looking for attached.
Attached Images
File Type: gif needcash.gif (17.9 KB, 0 views)
Reply With Quote
 

Thread Tools
Display Modes

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 06:18 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.04935 seconds
  • Memory Usage 2,311KB
  • Queries Executed 13 (?)
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
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (3)postbit
  • (1)postbit_attachment
  • (3)postbit_onlinestatus
  • (3)postbit_wrapper
  • (1)showthread_list
  • (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_threadedmode.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • 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_threaded
  • showthread_threaded_construct_link
  • 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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete