![]() |
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? |
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?
|
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]'"); 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]'"); |
Quote:
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 |
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. |
Quote:
and post your bugs at area51.geekydesigns.com. thanks |
Quote:
|| # 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 |
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 |
Quote:
thanks |
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 : https://vborg.vbsupport.ru/ Thanks in advance yall, Peace! |
All times are GMT. The time now is 11:52 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|