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

Reply
 
Thread Tools
uCash & uShop 0.95d - Updated 9/28/05 Details »»
uCash & uShop 0.95d - Updated 9/28/05
Version: 0.95d, by GeekyDesigns GeekyDesigns is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.0.9 Rating:
Released: 04-11-2004 Last Update: 09-27-2005 Installs: 741
DB Changes
 
No support by the author.

Presenting uCash & uShop

Latest Changes:
09/28/05 4:13 PM EDT - 0.95d: security update for includes/functions_uttstore.php.

03/13/05 9:00 PM EST - 0.95c is released to patch SQL exploit issues in a few action files. Upgrade immediately by re-uploading all the files in the uttstore folder.

Support will no longer by given in this thread. Support has moved to this vBulletin.org forum and GeekyDesigns.com. If you want support, go to those forums.



uCash: Feature List
  • Fully configurable database table/field for integrating with other systems that uses points.
  • Master On/Off Switch
  • Global Points Per Thread Setting
  • Global Points Per Reply Setting
  • Global Points Per Thread View Setting
  • Points Per Good Reputation
  • Points Per Bad Reputation
  • Points Per Referral
  • Points Per Shout Setting (if Squall's Shoutbox Hack 1.02 or above is installed.)
  • Round to x Decimal Places (for a cash/change system)
  • Modify Points in the User Manager
  • Per-Forum Points Per Thread Setting (multiplied by the global setting to get the final value)
  • Per-Forum Points Per Reply Setting (multiplied by the global setting to get the final value)
  • Per-Forum Points Per Thread View Setting (multiplied by the global setting to get the final value)
uShop: Feature List
  • Currently 18 actions are available - Donate, Change Custom Title, Change Other User's Custom Title, Change Username, Glowing Username, Colored Username, Bold Username, Italicized Username, Admin Donate, Bank, Secondary Usergroup, Sticky Thread, Thief!, Buy Forum Password, Buy Forum Access, Deny Forum Access, Give Forum Access, Arcade Pass (If Arcade Pass Hack v3 is installed.)
  • Quantity System
  • Quantity Refill (Set a number of seconds between refills and quantity is automatically refilled when accessing the main store script.)
  • Richest x Users
  • Top x Most Sold Actions
  • Purchase History
  • Senoir Discount (based on age - if they are older than x years, they get a discount (also setable))
  • Loyal Member Discount (based on days registered - if they have been registered for x days, they get a discount (also setable))
  • Usergroup Discount (give your staff a price cut!)
  • Shortname (only setable while in debug mode - can be used in links (also used in some functions))
  • Setable Action Description
  • Setable Display Order
  • Setable Cost
  • Setable Quantity and Quantity Refill (when/if quantities are refilled)
  • Setable Allowed Usergroups Via Checkboxes (usergroups that are not allowed do not see the action at all and cannot access it)
  • Setable Denied Usergroups Via Checkboxes (users that are a member of this usergroup cannot use the action)
  • Setable Image Location (if not location is specified, no image is shown)
  • Show In Store (if it is set to no, you will not see the action in the store, but can still access it via direct link)
  • Setable Active Status (if it isn't active, it goes *poof* from the store and is not accessable until it is set active again)
  • Update Display Order, Cost, Tax, Sold, Quantity Refill, and Quantity en masse.
  • You can duplicate the "Secondary Usergroup" action and define which usergroups are joinable for each action by duplicating the action file and setting the joinable groups at the top (so you can allow different usergroups to be joined for different prices)
  • Secondary Usergroup is an extremely powerful action - you can give people access to forums, higher PM quotas, the ability to see invisible users, access to free custom title changing, etc.
  • Action Specific Variables System - specific variblables set per action. You can add and edit these variables in debug mode - or you can just change the value while editing an action as if it were any other variable.
  • Copy an action (useful for actions like secondary usergroup and those dealing with forums if you want each forum/usergroup to have a different cost/quantity/etc)
  • Very few queries! (On the main page, there are 6 queries - 5 from vB3 and 1 from the store - and that's just for the richest users!)
I think thats the features

uCash & uShop credits

Conecept:
Zachery Woods
Matthew Gordon
PHP Code:
Matthew Gordon
- misc: Zachery Woods, Stefan "Xenon", g-force2k2
Templates:
Zachery Woods
- misc: Matthew Gordon
Other contributions:
Assassingod
Kura
Oblivion Knight
Hobbes
Stefan "Xenon"
g-force2k2
Brian aka "Tigga"


If you feel your not able to install this yourself please feel free to drop me a pm and we can make arrangments

If you would like to donate to us please pm us and again we can make arragnments

Dont forget to click install!

Quick instructions: Upload all files and run admincp/ushop_install.php, then do the edits in readme.html.

Make the shop appear in the WOL https://vborg.vbsupport.ru/showpost....&postcount=131

Enjoy.

Supporters / CoAuthors

Show Your Support

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

Comments
  #62  
Old 04-25-2005, 11:12 AM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great Hack!
[high]* akanevsky clicks install
[/high]

Few suggestions though:
- Why not make an additional textarea field in every ushop action, where a user could write custom variables in a form of:
variable:value
and make them evaluate to $vboptions[variable]=value only when running that specific action?
- Hack functions have a messy code which is hard to read. Plus those functions have a lot of variables to be passed. Why not clean it up a bit and comment function variables like Jelsoft does?
- Some sanity when submitting the form, maybe?
Reply With Quote
  #63  
Old 04-30-2005, 06:45 PM
jrofosho jrofosho is offline
 
Join Date: Apr 2005
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay i need help. I recently upgrade The BuffaloRange (www.buffalorange.com) to 3.0.7. Then i re-did all the hack work. The points and everything seems to be working. But most of the store actions aren't. Only bold and italic work. Can anyone help?
Reply With Quote
  #64  
Old 05-04-2005, 05:02 PM
Hellspire's Avatar
Hellspire Hellspire is offline
 
Join Date: Oct 2003
Location: NY, USA
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Don't know if anyone has posted this before, and I really don't care enough to search through this post, but I modified the code very slightly to prevent points from incrementing on posts that did not get counted.

Simply open up the functions_newpost.php file, find this:

Code:
$DB_site->query("UPDATE ".TABLE_PREFIX . $vboptions[uttpoints_pointtable]." SET ".$vboptions[uttpoints_pointsfield]."=".$vboptions[uttpoints_pointsfield]."+".$givethempoints." WHERE userid='$bbuserinfo[userid]'");
and change it to this
Code:
if ($foruminfo['countposts']) $DB_site->query("UPDATE ".TABLE_PREFIX . $vboptions[uttpoints_pointtable]." SET ".$vboptions[uttpoints_pointsfield]."=".$vboptions[uttpoints_pointsfield]."+".$givethempoints." WHERE userid='$bbuserinfo[userid]'");
Total modification time, 1 minute or less.
Reply With Quote
  #65  
Old 05-04-2005, 05:08 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hellspire
Don't know if anyone has posted this before, and I really don't care enough to search through this post, but I modified the code very slightly to prevent points from incrementing on posts that did not get counted.

Simply open up the functions_newpost.php file, find this:

Code:
$DB_site->query("UPDATE ".TABLE_PREFIX . $vboptions[uttpoints_pointtable]." SET ".$vboptions[uttpoints_pointsfield]."=".$vboptions[uttpoints_pointsfield]."+".$givethempoints." WHERE userid='$bbuserinfo[userid]'");
and change it to this
Code:
if ($foruminfo['countposts']) $DB_site->query("UPDATE ".TABLE_PREFIX . $vboptions[uttpoints_pointtable]." SET ".$vboptions[uttpoints_pointsfield]."=".$vboptions[uttpoints_pointsfield]."+".$givethempoints." WHERE userid='$bbuserinfo[userid]'");
Total modification time, 1 minute or less.
Please report it at a bug on the dev site if yoou can replicate it

http://area51.geekydesigns.com


On second thought did you just turn the point count to 0?

some people might want to still give points even if their post count is off
Reply With Quote
  #66  
Old 05-05-2005, 07:05 AM
highlander_RD's Avatar
highlander_RD highlander_RD is offline
 
Join Date: Oct 2003
Location: Italy
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just discovered a bug in uCash & uShop actions

In details:
If you use «donate» action (action.donate.php) and before clicking "confirm" (step2) you log as a second account, you can make a donation of whatever figure even if you do have zero points.

It works!

Thanks.
Reply With Quote
  #67  
Old 05-05-2005, 03:12 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by highlander_RD
Just discovered a bug in uCash & uShop actions

In details:
If you use ?donate? action (action.donate.php) and before clicking "confirm" (step2) you log as a second account, you can make a donation of whatever figure even if you do have zero points.

It works!

Thanks.
What version of uCS are you running, also, please START A NEW THREAD IN THE SUPPORT FORUMS.

and post your bugs at area51.geekydesigns.com.

thanks
Reply With Quote
  #68  
Old 05-06-2005, 05:38 AM
highlander_RD's Avatar
highlander_RD highlander_RD is offline
 
Join Date: Oct 2003
Location: Italy
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachery
What version of uCS are you running, also, please START A NEW THREAD IN THE SUPPORT FORUMS.

and post your bugs at area51.geekydesigns.com.

thanks
Sorry.
|| # uShop Hack Version 0.95 # ||
|| # ---------------------------------------------------------------- # ||
|| # A Geeky Designs Production! # ||
|| # Project Began: February 9th, 2004 # ||
|| # Version Released: July 16th, 2004 # ||
|| # PHP Code by: squall14716 # ||

I'll follow your advise.
Cheers
Reply With Quote
  #69  
Old 05-09-2005, 12:04 PM
pgowder's Avatar
pgowder pgowder is offline
 
Join Date: Nov 2001
Location: West Columbia, SC
Posts: 537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My users have requested a feature be added to allow them to see thier last x number of transactions. They want to be able to see what they've spent points on and where they recieved points from.

Thanks
Reply With Quote
  #70  
Old 05-09-2005, 12:40 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by pgowder
My users have requested a feature be added to allow them to see thier last x number of transactions. They want to be able to see what they've spent points on and where they recieved points from.

Thanks
THIS THREAD IS NOT FOR REQUESTS, OR SUPPORT, OR BUGS, PLEASE USE THE FORUMS! geekydesigns.com or the forums here!

thanks
Reply With Quote
  #71  
Old 05-16-2005, 02:31 AM
RapCapital RapCapital is offline
 
Join Date: Mar 2005
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a question...
In the Postbit, How would i make it so the Points listings are in a New Box (Not under the posts) + How do i change where it says "Points:" to "Cash:"
As Seen in this screenshot :

Thanks in advance yall, Peace!
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 09:24 AM.


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.07591 seconds
  • Memory Usage 2,320KB
  • Queries Executed 26 (?)
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_code
  • (4)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