vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   uCash & uShop (https://vborg.vbsupport.ru/forumdisplay.php?f=100)
-   -   uCash & uShop old support and thank you thread (https://vborg.vbsupport.ru/showthread.php?t=73736)

EnriqueHavoc 05-24-2004 10:52 PM

faranth.. it actually does help when you communicate even if you dont know the answer. Its been distressing to me seeing BR posting for a couple days while being ignored if even just to say you dont know. it makes me nervous to install this hack for the inability to support it :/

Flow Fusion 05-25-2004 04:08 AM

How do I use the arcade pass if possible? Cause I have members on the board who have zero post and 183 hrs of arcade play.

U-Dox 05-25-2004 04:11 AM

I Got Rid Of That Warning Error At The Very Top. Now This Is What I See

"No actions found..."

Anybody Know What To Do?

Zachery 05-25-2004 05:06 AM

Quote:

Originally Posted by Flow Fusion
How do I use the arcade pass if possible? Cause I have members on the board who have zero post and 183 hrs of arcade play.

Make a usergroup promotion based on time and posts and disable the ability for registerd users to be able to play


^^

Zachery 05-25-2004 05:08 AM

Quote:

Originally Posted by U-Dox
I Got Rid Of That Warning Error At The Very Top. Now This Is What I See

"No actions found..."

Anybody Know What To Do?

Flow, somthing youve done is wrong, or youve missed a file edit or changed one wrongly or somthing, or you havent run the installer

MindTrix 05-25-2004 03:31 PM

i got a couple of problems.

One time i had a member spend her cash on changing her names color, she has a glowing purple i believe and paid to change it too green, it took her money but did not change anything.

Also when donating money to a member, it doesnt, it donates the money to yourself, so if i tried donating to say "bob" it would say after "Donated succesfully to Trix" blah blah blah.

Advice/help etc?

bahawolf 05-26-2004 12:01 AM

Yea, i was wondering how to edit the template files, just bought vBulletin! Unsure what or how to do whatever it is im suppose to

moonclamp 05-26-2004 12:09 AM

Quote:

Originally Posted by bahawolf
Yea, i was wondering how to edit the template files, just bought vBulletin! Unsure what or how to do whatever it is im suppose to

In the styles and templates option of your control panel you will see all of the various HTML and CSS code that gives your vbulletin it's look and feel. It is all stored in the database so needs to be edited directly through the admin panel. You can of course edit it in mysql but vbulletin actually tracks any changes you make so can revert them to their original if need be.

Oh and as for other .php file edits ... don't use dreamweaver. It messes with stuff

Zachery 05-26-2004 12:18 AM

Quote:

Originally Posted by MindTrix
i got a couple of problems.

One time i had a member spend her cash on changing her names color, she has a glowing purple i believe and paid to change it too green, it took her money but did not change anything.

Also when donating money to a member, it doesnt, it donates the money to yourself, so if i tried donating to say "bob" it would say after "Donated succesfully to Trix" blah blah blah.

Advice/help etc?

Odd ive never expirenced this myself on our dev forums or anywhere i am using it.

Mhaddy 05-26-2004 02:51 AM

I believe I found a small bug in action.denyforumaccess.php.

Around line 35 there is the line:
PHP Code:

if ($accessable['accessmask'] == '0') { 

This should be:
PHP Code:

if ($accessable[accessmask] == '0') { 

I found this out when I consistently received the "this forum is already un-accessable" error when trying to deny access to a forum for a user through the shop. I noticed another member in the thread (I forget his name) asked the same question, but AFAIK, was never answered. Now I can deny access to forums to all the users I want ;). Hope this helps someone.

mrcancel 05-26-2004 04:39 AM

help me !!! when i click http://mysite.com/forum/ushop.php and error :
Quote:

Warning: Invalid argument supplied for foreach() in /home/dhpcvn/public_html/forum/ushop.php on line 149

MindTrix 05-26-2004 04:32 PM

Quote:

Originally Posted by Zachery
Odd ive never expirenced this myself on our dev forums or anywhere i am using it.

Now members are saying that when they withdraw cash from the bank that they deposited, it takes it out, but they dont get any of it.

CarlitoBrigante 05-27-2004 01:03 AM

It seems to all work fine to me. The only problem is that, if the user purchases an italics or bold username, he can't reset it... apparently, even if the italics action is displayed with cost "0.00" after the first purchase, when you click on it it asks to pay again points... like you don't have the action already active.

weaver 05-27-2004 02:03 AM

Where does the money collected for taxes go? Also, is there a way to show the richest members who have money in the bank not just what members have without depositing?

weaver 05-27-2004 02:04 AM

I went over to your site but there is a problem with your database. I'll check back there another time. :)

Zachery 05-27-2004 02:21 AM

Quote:

Originally Posted by snobbymom
I went over to your site but there is a problem with your database. I'll check back there another time. :)

Yes, our server was dossed and we had a major crash im still working on restoring it :)

CarlitoBrigante 05-27-2004 01:46 PM

The system doesn't seem to properly calculate exceptions... while it gives you the right discounts, if you don't have enough money, you have no access to that action. For example, if I buy Italics username for 500, and I have 200 gils left, and I want to reset the username to normal (cost: 0), the system doesn't let me access that action - it always controls against the "normal" full price of the action.

I think the problem is here, in ushop.php

PHP Code:

    // Run through the standard procedure...
    
$rcost calculate_discounted_price($action['cost'], $action['tax']);
    
$rcost calculate_taxed_price($rcost$action['tax']);
    
$cost uttpoints_number_format($rcost);
    
$cost uttstore_actions_cost_exceptions($cost);
    if (
$rcost $points) {
        
$message "You do not have enough points for this.";
        
uttstore_print_end_message($message);
    } 

It should check for $cost >$points - or, it should be like this:

PHP Code:

    // Run through the standard procedure...
    
$rcost calculate_discounted_price($action['cost'], $action['tax']);
    
$rcost calculate_taxed_price($rcost$action['tax']);
    
$rcost uttpoints_number_format($rcost);
    
$rcost uttstore_actions_cost_exceptions($rcost);
    if (
$rcost $points) {
        
$message "You do not have enough points for this.";
        
uttstore_print_end_message($message);
    } 

Zachery?

moonclamp 05-27-2004 02:52 PM

That just made my shop disappear

Mystictrunks03 05-27-2004 09:22 PM

thats why u do it when ppl r sure about it andd oh yeah how come the points arent counting for the posts or threads i make i set the points per post up and thread but it dont work.... only when i donate to myself it counts that

ImportPassion 05-27-2004 10:19 PM

so I guess geeky will be back in full force since the exams are over?
I want to use this, but too many problems right now.

Battle_Ring 05-28-2004 01:22 AM

my store and bank has been workign fine but now all of a sudded one of my members is getting No Actions Found

Any Idea what the problem is??

deathemperor 05-28-2004 03:05 AM

there're some nonsense things in UCS
the tax: the tax applied is totally wrong, like: change user title cost 10k, the tax is 10% therefore the final price must be 11k but it's always says 9k.
and the opposite thing appear in bank, the money you wish to withdraw or deposit is 10k, the tax is 10% hence you can withdraw or deposit 9k but instead of that it says 11k.
or maybe I am so stupid to figure out all things ?

Zachery 05-28-2004 04:03 AM

Quote:

Originally Posted by deathemperor
there're some nonsense things in UCS
the tax: the tax applied is totally wrong, like: change user title cost 10k, the tax is 10% therefore the final price must be 11k but it's always says 9k.
and the opposite thing appear in bank, the money you wish to withdraw or deposit is 10k, the tax is 10% hence you can withdraw or deposit 9k but instead of that it says 11k.
or maybe I am so stupid to figure out all things ?

Are you taking into account any usergroup discount you might have?

tjdrico 05-28-2004 09:10 AM

Is there already a betting/bookmaker hack or extension that can work with uCash? I'm working on one at the moment, and I hope to have it ready in time for Euro 2004 (that's in about 3 weeks). I've had a look around and haven't noticed any betting hacks or add-ons for vBulletin 3.0.0 already released (or I'm using the wrong search terms), but if anyone knows of one then I'd be happy to hear of it.

My hack would have an option to use uCash instead of its own internal cash system, so it can work standalone of other cash/credit systems or integrate. Integration wouldn't go any further than taking money from and settling bets into the uCash table.

So, am I duplicating effort that has already been made by someone else?

http://www.kop.nildram.co.uk/images/vbookie-lives.gif
http://www.kop.nildram.co.uk/images/vbookie-lives2.gif
http://www.kop.nildram.co.uk/images/vbookie-lives3.gif

Holidazed 05-28-2004 07:47 PM

Can somebody please tell me what makes this hack different from Lesane's store? I have to install something like this on my site, but I do nto know whether I should install this one or Lesane's Store hack.

WEForums 05-28-2004 07:54 PM

Lesane's hack is for vB2, while this hack is for vB3.

Holidazed 05-29-2004 12:23 AM

I installed this hack in my vb3.01 system and it seemed to go seamless exclet for the following error. This happens when I clicked on "Usergroup Manager" in the ACP.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Parse error: parse error, expecting `')'' in /home2/webbhelp/dkdrpg-www/mb-test/admincp/usergroup.php on line 121
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

This happens when I make the in usergroup.php according to your instructions:

Code:

Find in File admincp/usergroup.php

'profilepicmaxwidth' => 100, 'profilepicmaxheight' => 100, 'profilepicmaxsize' => 25000

REPLACE that with:

// ## <ucs>
                'profilepicmaxwidth' => 100, 'profilepicmaxheight' => 100, 'profilepicmaxsize' => 25000, 'uttstore_discount' => 0
// ## </ucs>

When I do not make this change, all is cool. But when I do, I get the error.

Help.

dstruct2k 05-29-2004 12:42 AM

Quote:

Originally Posted by bitg
I installed this hack in my vb3.01 system and it seemed to go seamless exclet for the following error. This happens when I clicked on "Usergroup Manager" in the ACP.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Parse error: parse error, expecting `')'' in /home2/webbhelp/dkdrpg-www/mb-test/admincp/usergroup.php on line 121
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

This happens when I make the in usergroup.php according to your instructions:

Code:

Find in File admincp/usergroup.php

'profilepicmaxwidth' => 100, 'profilepicmaxheight' => 100, 'profilepicmaxsize' => 25000

REPLACE that with:

// ## <ucs>
                'profilepicmaxwidth' => 100, 'profilepicmaxheight' => 100, 'profilepicmaxsize' => 25000, 'uttstore_discount' => 0
// ## </ucs>

When I do not make this change, all is cool. But when I do, I get the error.

Help.

Here's instructions that will work.
Code:

Find in File admincp/usergroup.php

'profilepicmaxwidth' => 100, 'profilepicmaxheight' => 100, 'profilepicmaxsize' => 25000

REPLACE that with:

'profilepicmaxwidth' => 100, 'profilepicmaxheight' => 100, 'profilepicmaxsize' => 25000, 'uttstore_discount' => 0

You probably have other code in there that gets broken by the change. You'll probably end up with a comma and more code after the "uttstore_discount" :)

Holidazed 05-29-2004 12:50 AM

Quote:

Originally Posted by dstruct2k
Here's instructions that will work.
Code:

Find in File admincp/usergroup.php

'profilepicmaxwidth' => 100, 'profilepicmaxheight' => 100, 'profilepicmaxsize' => 25000

REPLACE that with:

'profilepicmaxwidth' => 100, 'profilepicmaxheight' => 100, 'profilepicmaxsize' => 25000, 'uttstore_discount' => 0

You probably have other code in there that gets broken by the change. You'll probably end up with a comma and more code after the "uttstore_discount" :)

Excuse me, but it looks to me like the instructions you are giving me is exactly the same as the ones I was using. Maybe this will help. This is the surrounding code where the uCash hack is being placed
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// [START HACK='Shoutbox Hack' AUTHOR='squall14716' VERSION='1.03' CHANGEID= 3 ]
// set default yes permissions (bitfields)
$ug_bitfield = array(
'showgroup' => 1, 'canview' => 1, 'canviewmembers' => 1,
'canviewothers' => 1, 'cagetattachment' => 1, 'cansearch' => 1,
'canmodifyprofile' => 1, 'canthreadrate' => 1, 'canpostattachment' => 1,
'canpostpoll' => 1, 'canvote' => 1, 'canwhosonline' => 1,
'allowhidden' => 1, 'showeditedby' => 1, 'canseeprofilepic' => 1,
'canusesignature' => 1, 'shoutview' => 1, 'shoutpost' => 1, 'shoutedit' => 1,
'shoutdelete' => 1, 'shouthdelete' => 0, 'shouteditothers' => 0,
'shoutdeleteothers' => 0, 'shouthdeleteothers' => 0, 'shoutip' => 0,
'shoutcoventry' => 0
);
// set default numeric permissions
$usergroup = array(
'pmquota' => 0, 'pmsendmax' => 5, 'attachlimit' => 1000000,
'avatarmaxwidth' => 50, 'avatarmaxheight' => 50, 'avatarmaxsize' => 20000,
// ## <ucs>
'profilepicmaxwidth' => 100, 'profilepicmaxheight' => 100, 'profilepicmaxsize' => 25000, 'uttstore_discount' => 0
// ## </ucs>
'shouthierarchy' => 5, 'shoutmaxdaily' =>0
);
// [END HACK='Shoutbox Hack' AUTHOR='squall14716' VERSION='1.03' CHANGEID= 3 ]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Holidazed 05-29-2004 01:01 AM

Ok I think I figured it out.

'profilepicmaxwidth' => 100, 'profilepicmaxheight' => 100, 'profilepicmaxsize' => 25000, 'uttstore_discount' => 0
// ## </ucs>
'shouthierarchy' => 5, 'shoutmaxdaily' =>0
);

Should be:

'profilepicmaxwidth' => 100, 'profilepicmaxheight' => 100, 'profilepicmaxsize' => 25000, 'uttstore_discount' => 0
// ## </ucs>
,'shouthierarchy' => 5, 'shoutmaxdaily' =>0
);

Note the "," before the "shouthierarchy"

MindTrix 05-29-2004 11:07 AM

Hmmm ok my members are all going mental now because the shop is so messed up :s

If they change their coloured username to another one, it doesnt change at all but still takes their money, if they donate money to someone, it gets donated to themselves instead, If they remove money from the bank it takes it out but they dont get it.

Anychance one of you guys who made it can take a closer look or something because it seems real messed up

Zachery 05-29-2004 11:59 AM

Quote:

Originally Posted by MindTrix
Hmmm ok my members are all going mental now because the shop is so messed up :s

If they change their coloured username to another one, it doesnt change at all but still takes their money, if they donate money to someone, it gets donated to themselves instead, If they remove money from the bank it takes it out but they dont get it.

Anychance one of you guys who made it can take a closer look or something because it seems real messed up

you didnt make the correct changes to one of your files, someone made the same mistake, try looking a few pages back Liam :)

MindTrix 05-29-2004 12:48 PM

i looked back about 20 pages and didnt spot anything, nudge in the right direction please? ;)

Zachery 05-29-2004 01:20 PM

Quote:

Originally Posted by MindTrix
i looked back about 20 pages and didnt spot anything, nudge in the right direction please? ;)

Double check your file edits and make sure (100%) each is in the right place :)

MindTrix 05-29-2004 01:22 PM

Well as for the username issues, that sorted, ive never used the shop, just installed it for everyone else, so i investigated and noticed you had to remove the color first before changing it too another colour, So i have informed the members about this, only thing now is the bank thing

MindTrix 05-29-2004 01:23 PM

donate thing i meant hehe

paulomt1 05-29-2004 05:32 PM

Excellent hack, well done.

In file functions_newpost.php I want add points per attachment type , how I can do that?

Thanks

weaver 05-29-2004 06:11 PM

Quote:

Originally Posted by Zachery
Yes, our server was dossed and we had a major crash im still working on restoring it :)

Registering now. ;)

msimplay 05-30-2004 12:22 PM

Quote:

Originally Posted by Battle_Ring
hey i have a problem when 1 of my users try to acess the bank they get a database error and i get sent an email that is this

Database error in vBulletin 3.0.1:

Invalid SQL: UPDATE user SET uttpoints=uttpoints-20.000.00 WHERE userid='95'
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '.00 WHERE userid='95'' at line 1

mysql error number: 1064

Date: Friday 21st of May 2004 03:03:36 PM
Script: http://battlering.net/forums/ushop....&shortname=bank
Referer: http://battlering.net/forums/
Username: Jolly Jolza
IP Address: 203.96.202.81



only 1 user has complained about this i tried and acessed the bank fine

i have a similar error which is this

Quote:

Database error in vBulletin 3.0.0:

Invalid SQL: UPDATE user SET uttpoints=uttpoints-70,000 WHERE userid='75'
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '000 WHERE userid='75'' at line 1

mysql error number: 1064

Date: Sunday 30th of May 2004 06:15:47 AM
Script: http://www.wambam.net/vbulletin/usho...shortname=bank
Referer: http://www.wambam.net/vbulletin/

weaver 05-30-2004 01:23 PM

I'm having a very similar error as well.


All times are GMT. The time now is 02:16 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.03251 seconds
  • Memory Usage 1,867KB
  • 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_php_printable
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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