vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   uCash & uShop 0.95d - Updated 9/28/05 (https://vborg.vbsupport.ru/showthread.php?t=63793)

akanevsky 04-25-2005 11:12 AM

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?

jrofosho 04-30-2005 06:45 PM

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?

Hellspire 05-04-2005 05:02 PM

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.

Zachery 05-04-2005 05:08 PM

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

highlander_RD 05-05-2005 07:05 AM

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.

Zachery 05-05-2005 03:12 PM

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

highlander_RD 05-06-2005 05:38 AM

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. :rolleyes:
|| # 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

pgowder 05-09-2005 12:04 PM

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

Zachery 05-09-2005 12:40 PM

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

RapCapital 05-16-2005 02:31 AM

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
  • Page Generation 0.01334 seconds
  • Memory Usage 1,746KB
  • 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
  • (4)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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