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)

syjech 08-27-2004 01:13 PM

Is there anyone who can help me install ushop and cash? I will be willing to make a donation to you?????? PM me if you can do it and how much. Thank you guys alot

Zachery 08-27-2004 02:18 PM

Quote:

Originally Posted by proxyMX
ok ive just installed 3.0.3 and this store has pretty much stopped working. Since im trying to optimise the site i wanna totally uninstall it, how will i go about this?

If you upgraded to 3.0.3 yoiu need to redo your file edits for it to work, if you dont want to use the system anymore run the uninstall link in the install file.

Zachery 08-27-2004 02:18 PM

Quote:

Originally Posted by syjech
Is there anyone who can help me install ushop and cash? I will be willing to make a donation to you?????? PM me if you can do it and how much. Thank you guys alot

Syjech i suggest trying to install the system yourself, if you find yourself unable you can drop me a pm and i will do the install for you for the going rate which is 15 USD via paypal.

CMX_CMGSCCC 08-27-2004 04:12 PM

You could also do this for the action.thief.php

Find:
PHP Code:

    if ($_FIELDS['points'] <= "0") {
        
$message "You may not steal a non-positive amount!";
        
uttstore_print_end_message($message);
    } 

Add above:
PHP Code:

    // dont allow stealing from an admin
    
$admin $DB_site->query_first("SELECT userid from " TABLE_PREFIX "administrator where userid = $thefted[userid]");
    if (isset(
$admin['userid'])) {
        
$message "You may not steal from an administrator!";
        
uttstore_print_end_message($message);
    }
    
// dont allow stealing from a moderator
    
$mod $DB_site->query_first("SELECT userid from " TABLE_PREFIX "moderator where userid = $thefted[userid]");
    if (isset(
$mod['userid'])) {
        
$message "You may not steal from an moderator!";
        
uttstore_print_end_message($message);
    } 

Maybe not the most efficient way, but its working on my forums.

-CMX

Zelda-King 08-27-2004 04:16 PM

Heh, well it's a much more globally functional fix than my little attempt. I know the variables to use to indicate forum staff but they don't seem to want to work with $thefted. :/

It seems your fix isn't working for super mods though.

CMX_CMGSCCC 08-27-2004 04:23 PM

Yeah, I had that problem at first too, kept giving a php error.

I finally found one line that worked, and I didnt want to fiddle with it anymore.

I hack Code Breaker PS2 codes, so I know how changing 1 letter can mess up everything :)

-CMX

Zelda-King 08-27-2004 05:15 PM

You can use this code for super moderators in the thief script:
PHP Code:

// Don't allow stealing from supermods
    
$supermod $DB_site->query_first("SELECT userid from " TABLE_PREFIX "user where usergroupid = 5 and userid = $thefted[userid]");
    if (isset(
$supermod['userid'])) {
        
$message "You may not steal from a super moderator!";
        
uttstore_print_end_message($message);
    } 


Link14716 08-27-2004 07:03 PM

I'll use an Action Specific Variable to control it in the next release.

RetroDreams 08-27-2004 07:49 PM

How many addons are there to this? I've only found like 2 or 3. Am I looking in the wrong place?

Shari Hes 08-27-2004 09:24 PM

hello, I just installed it and I've been getting this weird error

Request Error (invalid_request)


Your request could not be processed.
This could be caused by a misconfiguration, or possibly a malformed request.

For assistance, contact your network support team.

everytime I click a link or post reply, but everything is just fine if I refresh (the reply is posted successfully). and most strangely, it only happened in IE.

my VB is 3.0.3 of course.

Thanks ^^


All times are GMT. The time now is 04:51 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.03499 seconds
  • Memory Usage 1,754KB
  • 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
  • (3)bbcode_php_printable
  • (2)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