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)

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"


All times are GMT. The time now is 10:21 PM.

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.02824 seconds
  • Memory Usage 1,758KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)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