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.


All times are GMT. The time now is 02:19 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.04023 seconds
  • Memory Usage 1,744KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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