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)

wrongful 04-18-2004 04:07 PM

I love this hack, but there are two issues that I have. First off, when a user pays to change their username, they can change their name to an existing members name, and although this is merely a vanity thing, you don't really want users to be able to pay to have the same name as an admin or moderator. Is it possible to have the script check for this? Another thing, when you pay for yourself, or another user a custom title, it allows for you to use html in both, and this may be a security risk. Otherwise, great job!

wrongful 04-18-2004 05:17 PM

I also get this error whenever a sticky thread is purchased

Code:

Fatal error: Call to undefined function: addslahes() in /uttstore/action.stickythread.php on line 59

filth 04-18-2004 05:33 PM

Quote:

Originally Posted by wrongful
I also get this error whenever a sticky thread is purchased

Code:

Fatal error: Call to undefined function: addslahes() in /uttstore/action.stickythread.php on line 59

looks like a typo open action.stickythread.php and on line 59 you will see


Code:

uttstore_add_history($action['actionid'], $action['cost'], $userdiscount, $action['tax'], $totalcost, "0", "0", addslahes($thread['title']));
change it 2

Code:

uttstore_add_history($action['actionid'], $action['cost'], $userdiscount, $action['tax'], $totalcost, "0", "0", addslashes($thread['title']));

GamerzWorld 04-18-2004 06:11 PM

Anyone explain access to me

Seany 04-18-2004 06:14 PM

One question... even after I set the store not to use item quantities, it still tells me that it's out of stock... how come? And what can I do to fix it? Thanks.

Zachery 04-18-2004 06:28 PM

Quote:

Originally Posted by Seany
One question... even after I set the store not to use item quantities, it still tells me that it's out of stock... how come? And what can I do to fix it? Thanks.

That small thing at the bottom that says out of stock was a template conditional error on my end, it should say either nothing, or you dont have enuf money to purcahse ^^

Seany 04-18-2004 06:29 PM

Ahh, my mistake. I didn't have enough money, I realised that shortly after my post. Thanks. :)

wrongful 04-18-2004 08:28 PM

Quote:

Originally Posted by filth
looks like a typo open action.stickythread.php and on line 59 you will see


Code:

uttstore_add_history($action['actionid'], $action['cost'], $userdiscount, $action['tax'], $totalcost, "0", "0", addslahes($thread['title']));
change it 2

Code:

uttstore_add_history($action['actionid'], $action['cost'], $userdiscount, $action['tax'], $totalcost, "0", "0", addslashes($thread['title']));

That did the trick, thanks!

GamerzWorld 04-18-2004 08:46 PM

Argdgfg :(

wrongful 04-18-2004 08:59 PM

Quote:

Originally Posted by GamerzWorld
Argdgfg :(

if you mean as in "buy forum access" that means one can purchase the rights to visit a forum they weren't able to visit before. it's buying new permissions.

SavgeDusk 04-18-2004 09:33 PM

Quote:

Originally Posted by wrongful
I love this hack, but there are two issues that I have. First off, when a user pays to change their username, they can change their name to an existing members name, and although this is merely a vanity thing, you don't really want users to be able to pay to have the same name as an admin or moderator. Is it possible to have the script check for this? Another thing, when you pay for yourself, or another user a custom title, it allows for you to use html in both, and this may be a security risk. Otherwise, great job!

I didn't realize that could happen. Can that be fixed?

Flow Fusion 04-18-2004 11:20 PM

No actions found...????

wrongful 04-18-2004 11:21 PM

Quote:

Originally Posted by Flow Fusion
No actions found...????

hit control and F5

Flow Fusion 04-18-2004 11:42 PM

I'm on a Mac? What other option do I have? Cause I don't understand?

Flow Fusion 04-18-2004 11:51 PM

Ok I also see someone else has this problem

Lurk 04-19-2004 12:00 AM

Quote:

Originally Posted by Flow Fusion
Ok I also see someone else has this problem

how do i rename 'points' to cash or money?

PGU 04-19-2004 12:15 AM

What arcade is the compatible with?

Zachery 04-19-2004 12:25 AM

Template edits

Theres only 1 vB3 arcade

Flow Fusion 04-19-2004 01:26 AM

Quote:

Originally Posted by wrongful
hit control and F5

Nothing can someone help me? I'm not the only one with this problem?

http://www.giftedsouls.com/gs/index.php

http://www.hybrid-reactions.com/VBGold/

FrOgZ 04-19-2004 01:31 AM

How do you rename the points system? :SS

Lurk 04-19-2004 02:42 AM

anyone know how i can change points to 'money' (rename) ?

Zachery 04-19-2004 02:46 AM

Quote:

Originally Posted by LurkCorp
That's for v3 arcade, right?

anyone know how i can change points to 'money' (rename) ?

Yes, JUST EDIT THE TEMPLATE AND CHANGE POINTS TO MONEY :)

Lurk 04-19-2004 02:52 AM

Quote:

Originally Posted by Zachery
Yes, JUST EDIT THE TEMPLATE AND CHANGE POINTS TO MONEY :)

any specific template?

AN-net 04-19-2004 03:08 AM

do a template search:)

Zachery 04-19-2004 03:10 AM

Quote:

Originally Posted by LurkCorp
any specific template?

Memberinfo, postbit(_legacy)

Roxie 04-19-2004 03:59 AM

I want moderators to be able to donate money. Is this possible?

hXc Radio 04-19-2004 04:40 AM

I went into acp and saved the ucash and ushop settings in vb options and I saved the settings in uttstoreadmin.php but when I go to ushop.php I still get no actions found.

I am running vb 3.0.0 gold and did the manual install.

GamerzWorld 04-19-2004 06:30 AM

Quote:

Originally Posted by wrongful
if you mean as in "buy forum access" that means one can purchase the rights to visit a forum they weren't able to visit before. it's buying new permissions.

Yes but what permissions do i set. I mean if i set it as no access to anyone even when they buy they cant see.

Gio Takahashi 04-19-2004 04:23 PM

There is an instruction on how to fix this in the first post, and it really helped me out :/

Quote:

IF YOU ARE HAVING FOREACH ERRORS IN GLOBAL.PHP OR NO ACTION ERRORS:
First, remove the second global.php edit. Then run ushop.php?rebuildds=1. Then put the edit back in adns ee if that works. If it doesn't work, answer the questions above, if it does, post saying that and let me know in the post if you used the HTL or standalone installer. This will help me diagnose the problem as to whether it is a user error or an error on one of the installers. Thank you.
which by the way: I used a Standalone installer, I got the No Action Error, and This instruction DID fixed the problem, No one has yet to report that error yet.

But there is a bug I ran into, Some of the items are saying out of stock and it says it is still in stock in the Admin CP Store setttings.

I'd like to see glowing custom title and if possible any user field and the works. (and in colors too).

What I'd also like to see is something like "Buy" to upload signature to use.

AutomatikStudio 04-19-2004 04:24 PM

I had a member who had all of their points in the bank and then all of the sudden they had -73 points and 7 red dots of negative reputation. Any ideas?

lasto 04-19-2004 06:00 PM

Quote:

Originally Posted by AutomatikStudio
I had a member who had all of their points in the bank and then all of the sudden they had -73 points and 7 red dots of negative reputation. Any ideas?


yeah ban em (ok bit stong i know),they where using the thief mode - hence the red karma and also it cost nothing to steal does it unless u set a price for it.Also dont believe anything members tell u cause half the time they be pulling a fast one so u fix their account after they got caught.

AN-net 04-19-2004 06:06 PM

you do loose points in thiefing if your not successful

Zachery 04-19-2004 07:21 PM

Quote:

Originally Posted by AN-net
you do loose points in thiefing if your not successful

Not unless you charge for it, someone might have stolen from them ;)

DannyBoy8406 04-19-2004 07:24 PM

The "Admin Donate" option....how can I make that so that maybe another usergroup can access that function as well?

Zachery 04-19-2004 07:25 PM

Quote:

Originally Posted by DannyBoy8406
The "Admin Donate" option....how can I make that so that maybe another usergroup can access that function as well?

Edit the action and give another usergroup access to it.

AutomatikStudio 04-19-2004 09:08 PM

Quote:

Originally Posted by lasto
yeah ban em (ok bit stong i know),they where using the thief mode - hence the red karma and also it cost nothing to steal does it unless u set a price for it.Also dont believe anything members tell u cause half the time they be pulling a fast one so u fix their account after they got caught.

They said they didn't steal any money. They just logged in and they had -73 and tons of negative reputation.

Matrixgl 04-19-2004 09:32 PM

Did you run the standalone or HTL installer?
Standalone

What is the exact error you recieve?
vBulletin Message:
No actions found...

And above the header, it says
"Warning: Invalid argument supplied for foreach() in /path/forums/global.php on line 640"

Where does the supposed error happen?
ushop.php

What vB version are you running?
vBulletin 3.0.1

I tried the solution mentioned in the first post of this thread, no luck.. I tried xenon's solution, but didnt work. I tried to set "use quantity system?" to no, and still no use. How do I fix it? Thanks.

lasto 04-19-2004 09:46 PM

Quote:

Originally Posted by AutomatikStudio
They said they didn't steal any money. They just logged in and they had -73 and tons of negative reputation.


yeah but id say they where more at fault cause its easy to say ive just logged in and look whats happened.See if anyone else has that problem from another board and u may just find out in time they pulling a fly one.Cause red karma means they lost what bit they had using the thief mode.

TheOne24 04-19-2004 10:39 PM

Error:

Fatal error: Call to undefined function: is_member_of() in /home/the1/public_html/global.php on line 14

How do I fix this? :ermm:

Zachery 04-19-2004 10:54 PM

Quote:

Originally Posted by TheOne24
Error:

Fatal error: Call to undefined function: is_member_of() in /home/the1/public_html/global.php on line 14

How do I fix this? :ermm:

You have miss hacked global.php


All times are GMT. The time now is 03:26 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.02766 seconds
  • Memory Usage 1,829KB
  • 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
  • (6)bbcode_code_printable
  • (19)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