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)

proxyMX 05-19-2004 10:39 PM

Quote:

Originally Posted by sabret00the
i would suggest reapplying all changes to funtions.php

also what page url caused that problem?

ive looked through the full thing, i had this chunk of code
PHP Code:

// ######################## USHOP #################################### 
// Unserialize uShop Actions. 
$storeactions unserialize($datastore['utt_store_act']); 

// Make a list of the all the actions... 
foreach ($storeactions as $actionid => $theaction) { 
    if (
$theaction['active'] == "1") { 
        
$allowed explode(","$theaction['allowedgroups']); 
        foreach (
$allowed as $allow) { 
            if (
is_member_of(array('userid'=>$bbuserinfo['userid'], 'usergroupid'=>$bbuserinfo['usergroupid'], 'membergroupids'=>$bbuserinfo['membergroupids']), $allow)) { 
                
$canenter "1"
            } 
        } 
        
$denied explode(","$theaction['deniedgroups']); 
        foreach (
$denied as $deny) { 
            if (
is_member_of(array('userid'=>$bbuserinfo['userid'], 'usergroupid'=>$bbuserinfo['usergroupid'], 'membergroupids'=>$bbuserinfo['membergroupids']), $deny)) { 
                unset(
$canenter); 
            } 
        } 
        if (!isset(
$canenter)) { 
            
$canenter "0"
        } 
        if (
THIS_SCRIPT == 'ushop') { 
            if (
$canenter == 1) { 
                
$action1[$actionid] = $theaction
            } 
            if (
$theaction['showinstore'] == 1) { 
                (isset(
$actioncount) ? $actioncount++ : $actioncount "1"); 
            } 
        } 
        if (
$canenter == && $theaction['showinstore'] == 1) { 
            eval(
'$ushop_navbar .= "' fetch_template('navbar_uttstore_actions') . '";'); 
        } 
    } 

// The end all solution. 
unset($theaction); 
unset(
$storeactions); 
if (
THIS_SCRIPT == 'ushop') { 
    
$storeactions $action1

unset(
$action1); 

in the wrong place, ive ammended that and now all is well!

Thanks

proxyMX 05-20-2004 03:12 AM

Quote:

Originally Posted by proxyMX
ive looked through the full thing, i had this chunk of code
PHP Code:

// ######################## USHOP #################################### 
// Unserialize uShop Actions. 
$storeactions unserialize($datastore['utt_store_act']); 

// Make a list of the all the actions... 
foreach ($storeactions as $actionid => $theaction) { 
    if (
$theaction['active'] == "1") { 
        
$allowed explode(","$theaction['allowedgroups']); 
        foreach (
$allowed as $allow) { 
            if (
is_member_of(array('userid'=>$bbuserinfo['userid'], 'usergroupid'=>$bbuserinfo['usergroupid'], 'membergroupids'=>$bbuserinfo['membergroupids']), $allow)) { 
                
$canenter "1"
            } 
        } 
        
$denied explode(","$theaction['deniedgroups']); 
        foreach (
$denied as $deny) { 
            if (
is_member_of(array('userid'=>$bbuserinfo['userid'], 'usergroupid'=>$bbuserinfo['usergroupid'], 'membergroupids'=>$bbuserinfo['membergroupids']), $deny)) { 
                unset(
$canenter); 
            } 
        } 
        if (!isset(
$canenter)) { 
            
$canenter "0"
        } 
        if (
THIS_SCRIPT == 'ushop') { 
            if (
$canenter == 1) { 
                
$action1[$actionid] = $theaction
            } 
            if (
$theaction['showinstore'] == 1) { 
                (isset(
$actioncount) ? $actioncount++ : $actioncount "1"); 
            } 
        } 
        if (
$canenter == && $theaction['showinstore'] == 1) { 
            eval(
'$ushop_navbar .= "' fetch_template('navbar_uttstore_actions') . '";'); 
        } 
    } 

// The end all solution. 
unset($theaction); 
unset(
$storeactions); 
if (
THIS_SCRIPT == 'ushop') { 
    
$storeactions $action1

unset(
$action1); 

in the wrong place, ive ammended that and now all is well!

Thanks

Question: How do i change the word "Points" on all of the documents into "Dollars" or whatever?

Zachery 05-20-2004 03:39 AM

Quote:

Originally Posted by proxyMX
Question: How do i change the word "Points" on all of the documents into "Dollars" or whatever?

By editing the templates.

Keta 05-20-2004 04:48 AM

there is no buy a avatar action?

sabret00the 05-20-2004 09:00 AM

nope, it's the hope that this action is released for 0.99 or 1.0

xHollywoodx 05-21-2004 01:17 PM

Ok, im getting errors, and it wont let me login to admin =[, when i try to login to admin i get this errors

Unable to add cookies, header already sent.
File: /home/cosclan/public_html/forums/global.php
Line: 649

And at the top of my site i get this error too

Warning: Invalid argument supplied for foreach() in /home/cosclan/public_html/forums/global.php on line 649

when i go to line 649, i have this there

foreach ($storeactions as $actionid => $theaction) {

???

Someone please help!!! i would really like to have this on my site, but i cant get it to work =[

xHollywoodx 05-21-2004 02:11 PM

Hello? Can some one please help me, i hate having erros on my site ??

xHollywoodx 05-21-2004 04:20 PM

Me and my friend fixed it.

Zachery 05-21-2004 06:06 PM

Quote:

Originally Posted by xHollywoodx
Me and my friend fixed it.

Sorry, im not avaible to do support 24/7 for this hack, you should wait at least 12-24 hours befor bumping a post, however im glad to see you fixed it

xHollywoodx 05-21-2004 06:41 PM

hehe, sorry i paniced cause my site got messed up, hehe, ok now i am having this prob, peeps post, they dont get any money??? i dont know why??? Is there something wrong? Look?

http://www.teamsik.net/forums/showthread.php?t=309

Its not working =[


All times are GMT. The time now is 01:41 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.02888 seconds
  • Memory Usage 1,784KB
  • 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
  • (2)bbcode_php_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