vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   uCash & uShop v2.0.0 (https://vborg.vbsupport.ru/showthread.php?t=107233)

Caravan 02-06-2006 12:51 PM

Could uShop be adapted to sell "stuff" (t-shirts, caps, etc)? Link to PayPal?

I don't care to sell forum upgrades, but this would be a coool way to sell our goodies.

KennethS 02-06-2006 01:03 PM

I try looking at my posts and members i get this error:

Warning: main(/home/kenneth/public_html/testforums/includes/functions_reputation.php): failed to open stream: No such file or directory in /includes/class_postbit.php on line 30

Fatal error: main(): Failed opening required '/home/kenneth/public_html/testforums/includes/functions_reputation.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/kenneth/public_html/testforums/includes/class_postbit.php on line 30

vietkieu_cz 02-06-2006 01:08 PM

I've this Error!

Step 6) Creating New Tables


Fatal error: Call to undefined function: exec_queries() in http://xxx.xx\installer\hacks\ucs\upgrade2001.php on line 268

Revan 02-06-2006 01:10 PM

Quote:

Originally Posted by KennethS
I try looking at my posts and members i get this error:

Warning: main(/home/kenneth/public_html/testforums/includes/functions_reputation.php): failed to open stream: No such file or directory in /includes/class_postbit.php on line 30

Fatal error: main(): Failed opening required '/home/kenneth/public_html/testforums/includes/functions_reputation.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/kenneth/public_html/testforums/includes/class_postbit.php on line 30

Reupload all standard vB files.
Quote:

Originally Posted by vietkieu_cz
I've this Error!

Step 6) Creating New Tables


Fatal error: Call to undefined function: exec_queries() in http://xxx.xx\installer\hacks\ucs\upgrade2001.php on line 268

Seems like a file upload error, hang tight as I fix the installer.

KennethS 02-06-2006 01:17 PM

It didn't work, I still have that error. Can you supply me to the latest files maybe thats the problem.

Revan 02-06-2006 01:34 PM

Im not allowed to attach complete vBulletin files here.

Revan 02-06-2006 01:41 PM

Quote:

Originally Posted by vietkieu_cz
I've this Error!

Step 6) Creating New Tables


Fatal error: Call to undefined function: exec_queries() in http://xxx.xx\installer\hacks\ucs\upgrade2001.php on line 268

Im also recieving this error now, trust it will be fixed shortly.

Done. The installer has been repaired successfully.
I am going to address a few other points in the past 2 pages before releasing an update.

vietkieu_cz 02-06-2006 01:55 PM

Wht about this error?

Quote:

Database error in vBulletin 3.5.3:

Invalid SQL:

ALTER TABLE user
ADD `ushop_history` mediumtext NOT NULL,
ADD `ushop_glow` varchar(20) NOT NULL default '0',
ADD `ushop_usernamecolor` varchar(20) NOT NULL default '0',
ADD `ushop_boldusername` tinyint(1) NOT NULL default '0',
ADD `ushop_italicsusername` tinyint(1) NOT NULL default '0',
ADD `ushop_bankdata` text NOT NULL,
ADD `ushop_bankqueue` text NOT NULL,
ADD `ushop_bankwarning` int(15) NOT NULL default '0',
ADD `ushop_profilemidi` varchar(250) NOT NULL default '',
ADD `ushop_bypassflood` tinyint(1) NOT NULL default '0';

MySQL Error : Duplicate column name 'ushop_history'
Error Number : 1060
Date : Monday, February 6th 2006 @ 04:53:33 PM
Script : http://xxx/installer/index.php
Referrer : http://xxx/upload/installer/index.php
IP Address : xxxxx
Username : vietkieu_cz
Classname : vb_database
i've read some errors like this but i still don't know how to fix it?

deathemperor 02-06-2006 01:58 PM

how about this weird message

You do not have enough points to do this.

Total cost: 5,339.00, Your points: 480,813.00

I'm getting alot of not have enough point accessing the actions, my poin is 480k which is higher than any action.

Any idea ?

edit: I got that error when trying to thief, which costs 0 point and the tax is 0.

Revan 02-06-2006 02:00 PM

[HIGH]Update:[/HIGH]
  • All installer errors should be dead and buried.
  • Purchased Color now overrides Usergroup Markup color.
  • The "setting" with a broken link in the AdminCP has been deleted.
For instructions on how to update, check your Update email.

Revan 02-06-2006 02:05 PM

Quote:

Originally Posted by deathemperor
how about this weird message

You do not have enough points to do this.

Total cost: 5,339.00, Your points: 480,813.00

I'm getting alot of not have enough point accessing the actions, my poin is 480k which is higher than any action.

Any idea ?

edit: I got that error when trying to thief, which costs 0 point and the tax is 0.

Try updating the actions, as if you were editing their costs. I cannot reproduce this on any test board.

influence 02-06-2006 02:26 PM

I am still on vb 3.0 and I use to have ushop on my forum before upgrading to 3.0.7. Now I will be upgrading to vb 3.5.3. Now my question is, do I need to do a fresh install of this hack or do I need to do a upgrade? I haven't upgraded my store for so long that I dont know what version I have on it.

Please answer that for me

thanks

deathemperor 02-06-2006 02:34 PM

I think the problem is this:

You do not have enough points to do this.

Total cost: 5,000.00, Your points: 480.00

I have 480810.00 as I check the database but it says 480.

Also after upgrade to the recent update, I got this when enter the bank:

Fatal error: Maximum execution time of 30 seconds exceeded in /forum/includes/class_core.php on line 2945

Sorry if I seem to be a pain for you. I'm just coding a lot of projects while trying to fix the shop for my users T_T

kpr 02-06-2006 02:43 PM

Warning: Invalid argument supplied for foreach() in /includes/functions_ushop.php on line 535

Warning: Invalid argument supplied for foreach() in /admincp/ushop/ushop_admin.ushopmanager.php on line 9

Warning: Invalid argument supplied for foreach() in /admincp/ushop/ushop_admin.ushopmanager.php on line 13

Warning: Invalid argument supplied for foreach() in /admincp/ushop/ushop_admin.ushopmanager.php on line 78

im getting this in Admincp when setting up store.

I used the new Zip you provided.

Revan 02-06-2006 02:58 PM

Quote:

Originally Posted by influence
I am still on vb 3.0 and I use to have ushop on my forum before upgrading to 3.0.7. Now I will be upgrading to vb 3.5.3. Now my question is, do I need to do a fresh install of this hack or do I need to do a upgrade? I haven't upgraded my store for so long that I dont know what version I have on it.

Please answer that for me


thanks

You will be able to upgrade, provided you install uCash 1.1.0 first.
Quote:

Originally Posted by deathemperor
I think the problem is this:

You do not have enough points to do this.

Total cost: 5,000.00, Your points: 480.00

I have 480810.00 as I check the database but it says 480.

Also after upgrade to the recent update, I got this when enter the bank:


Fatal error: Maximum execution time of 30 seconds exceeded in /forum/includes/class_core.php on line 2945


Sorry if I seem to be a pain for you. I'm just coding a lot of projects while trying to fix the shop for my users T_T

Can you offer me a test account on your forums, since I cannot view NuclioN's? I can't reproduce this locally.
I might also need FTP in order to test fix this. If you can help me with this, that'd be grand.
Quote:

Originally Posted by kpr
Warning: Invalid argument supplied for foreach() in /includes/functions_ushop.php on line 535

Warning: Invalid argument supplied for foreach() in /admincp/ushop/ushop_admin.ushopmanager.php on line 9

Warning: Invalid argument supplied for foreach() in /admincp/ushop/ushop_admin.ushopmanager.php on line 13

Warning: Invalid argument supplied for foreach() in /admincp/ushop/ushop_admin.ushopmanager.php on line 78

im getting this in Admincp when setting up store.

I used the new Zip you provided.

Did you try reuploading the functions_ushop? Because we fixed that error already :p

pulsar132 02-06-2006 03:02 PM

Thank you sooo much :) i have been waiting for this for ages :D

thanks

NuclioN 02-06-2006 03:07 PM

I think Maximum execution time of xxx seconds exceeded is also the problem at our forums so i hope you can get access overthere. Strange you can't open the forums Revan.

Revan 02-06-2006 03:10 PM

Yeah I tried in IE as well, maybe you have some form of ban on my isp or smth XD
Dutch domains I tell ya ;)

deathemperor 02-06-2006 03:11 PM

Quote:

Originally Posted by Revan
You will be able to upgrade, provided you install uCash 1.1.0 first.
Can you offer me a test account on your forums, since I cannot view NuclioN's? I can't reproduce this locally.
I might also need FTP in order to test fix this. If you can help me with this, that'd be grand.
Did you try reuploading the functions_ushop? Because we fixed that error already :p

@Revan: will swing if I can do anything. It's just confusing when you code .Net and fix PHP files O_O.

mikexxx 02-06-2006 03:21 PM

Question about displaying the points.

Now I have:

Posts: 3.945 | Points: 12,345.00

My question is how can chance the “. “ and the “ , “ in the points (Points: 12.345,00)?

Red Blaze 02-06-2006 03:25 PM

I'm running into some problems. Firstly, the bank.

It says I can't deposit more than I have, and I 1,000,000+ points. I deposit at least 1 and it still gives me that.
Also, I noticed that in uShop, under my av, it says:
Quote:

points:
points in bank:
Nothing.

kpr 02-06-2006 03:26 PM

Error in upgrade.
After re uploading then doing install i get this at stage 8 of install

deathemperor 02-06-2006 03:28 PM

Quote:

Originally Posted by mikexxx
Question about displaying the points.

Now I have:

Posts: 3.945 | Points: 12,345.00

My question is how can chance the ?. ? and the ? , ? in the points (Points: 12.345,00)?

that's a vbulletin option I assume.


@Revan: I think the bank got a problem when calculating interests. I got this actually when entering the bank

Fatal error: Maximum execution time of 30 seconds exceeded in forum/ushop/action.bank.php on line 93

which is.
$nextinterest = ($nextinterest + $action['interestincrement']);

Also I can't seem to see where I can set the bank interests.

ThePimp 02-06-2006 03:30 PM

Getting a blank screen when trying to go to the bank. It worked for a little while, then stopped. Any idea as to how to fix this?

Red Blaze 02-06-2006 03:35 PM

XD
I shoulda tried the other shop first. Ah well, I screwed myself over for forgetting to make a backup. L_L

@kpr I had that too. I stopped the installation there, and tried it out. It worked, but I believe that's why I'm getting the other problems.

deathemperor 02-06-2006 03:45 PM

To Revan: You should check this, I think it's a bug:

Firstly, in global_start plugin for Ucash, this line:

$vbulletin->userinfo['points'] = ucash_number_format($vbulletin->userinfo[$vbulletin->options['ucash_pointsfield']], true);

will make $vbulletin->userinfo['points'] become point which has "," , that can't be use to compare in this:

PHP Code:

if ($cost $vbulletin->userinfo['points'] && $cost 0) { 

If I change to (second param to false)

PHP Code:

$vbulletin->userinfo['points'] = ucash_number_format($vbulletin->userinfo[$vbulletin->options['ucash_pointsfield']], false); 

I will not receive the "do not have enough point message" anymore, because that time my point is calculated correctly.

BUT, if I enter the bank, I will get the 30s maximun execution time. On the contrary I set to "true", I can enter the bank but I get the "do not have enough point message".

Could you check that please ?

Iain M 02-06-2006 03:54 PM

Quote:

Originally Posted by kpr
Error in upgrade.
After re uploading then doing install i get this at stage 8 of install

i am getting this also,

except, i get to step 8 then click Next Step (9/10) then i get the "Error in upgrade." message.

Revan 02-06-2006 03:55 PM

Step 8 and onwards is building forum permissions and adding cron job, so that would have no impact.
I just tried a fresh install on a new installation and it went almost without a hitch, gonna update the zip.

Revan 02-06-2006 03:58 PM

Quote:

Originally Posted by deathemperor
To Revan: You should check this, I think it's a bug:

Firstly, in global_start plugin for Ucash, this line:

$vbulletin->userinfo['points'] = ucash_number_format($vbulletin->userinfo[$vbulletin->options['ucash_pointsfield']], true);

will make $vbulletin->userinfo['points'] become point which has "," , that can't be use to compare in this:

PHP Code:

if ($cost $vbulletin->userinfo['points'] && $cost 0) { 

If I change to (second param to false)

PHP Code:

$vbulletin->userinfo['points'] = ucash_number_format($vbulletin->userinfo[$vbulletin->options['ucash_pointsfield']], false); 

I will not receive the "do not have enough point message" anymore, because that time my point is calculated correctly.

BUT, if I enter the bank, I will get the 30s maximun execution time. On the contrary I set to "true", I can enter the bank but I get the "do not have enough point message".

Could you check that please ?

Thank you for the extensive report, I will definetely check this out.
Just let me hotfix the install problem, and Ill get right onto this problem. You have been most helpful :)

Red Blaze 02-06-2006 03:59 PM

I tried to remove the shop completely, now I can't install it anymore.
I get to step 7, and stops there with a vBulletin message saying:

Quote:

Invalid File Specified

deathemperor 02-06-2006 04:03 PM

Quote:

Originally Posted by Revan
Thank you for the extensive report, I will definetely check this out.
Just let me hotfix the install problem, and Ill get right onto this problem. You have been most helpful :)

very glad that I could be some help. it's just because I'm not in the develop team, it doesn't mean I can't give support :p

Gio~Logist 02-06-2006 04:07 PM

I am not at home at the moment. However, i will be at home and ready to give support in about 3 hours or so.

Revan 02-06-2006 04:08 PM

@Sonikku: Zip has been updated with a fix for this.

@deathemperor: try the following:
In functions_ucs_shared.php find
PHP Code:

$points round($points$vbulletin->options['ucash_rounddecimal']);
$points number_format($points$vbulletin->options['ucash_rounddecimal'], '.'$showcomma); 

Replace with
PHP Code:

$points vb_number_format($points$vbulletin->options['ucash_rounddecimal']); 

If this works, when I get around to rewriting the hack, Im scrapping the ucs_number_format :p

Snake 02-06-2006 04:09 PM

Awesome! I've been waiting for this for a long time. Thankies! :D

Ziki 02-06-2006 04:13 PM

well I need help.
1. it doesn't show points in memberinfo and postbit templates
2. doesn't show points in the shop at all
3. can't purchse anything cause says I don't have enough points although in the richest members I see that I have enough

JaMBo 02-06-2006 04:17 PM

Quote:

Originally Posted by gio~logist
Run the upgrade.

Thanks but how?

deathemperor 02-06-2006 04:20 PM

@Revan: that makes me enter the bank and get the execution time error, and do not have enough point when entering other actions

Revan 02-06-2006 04:22 PM

Hmm. Then I can't think of anything by playing the guessing game.

mikexxx 02-06-2006 04:22 PM

Question about displaying the points.

Now I have:

Posts: 3.945 | Points: 12,345.00

My question is how can chance the ?. ? and the ? , ? in the points (Points: 12.345,00)?

Quote:

Originally Posted by deathemperor
that's a vbulletin option I assume.

Here in Holland, and the rest of Europe I think we use the ?, ? for the last two digit?s. This can be set in the languish file but it don?t work for the Point?s (as you can see the post uses the ?. ? and that is good. It chances when I select another languish)

I must look like this: Points: 12.345,00

deathemperor 02-06-2006 04:29 PM

Quote:

Originally Posted by mikexxx
Question about displaying the points.

Now I have:

Posts: 3.945 | Points: 12,345.00

My question is how can chance the ?. ? and the ? , ? in the points (Points: 12.345,00)?



Here in Holland, and the rest of Europe I think we use the ?, ? for the last two digit?s. This can be set in the languish file but it don?t work for the Point?s (as you can see the post uses the ?. ? and that is good. It chances when I select another languish)

I must look like this: Points: 12.345,00

find in functions_ucs_shared.php

PHP Code:

$showcomma ','

change that to

PHP Code:

$showcomma '.'



All times are GMT. The time now is 04:32 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.03876 seconds
  • Memory Usage 1,862KB
  • 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
  • (8)bbcode_php_printable
  • (18)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
  • (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