Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > uCash & uShop
Action not found after upgrading to 3.0.7 Details »»
Action not found after upgrading to 3.0.7
Version: , by MissKalunji MissKalunji is offline
Developer Last Online: Jul 2015 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 02-20-2005 Last Update: Never Installs: 0
 
No support by the author.

I just uploaded to 3.0.7 and now im getting this erro when i got o my ucash

http://www.dancehallareaz.com/forum/ushop.php

IT tells me that : no action was found what do i do to fix that?

Quote:
Originally Posted by MissKalunji
I just uploaded to 3.0.7 and now im getting this erro when i got o my ucash

http://www.dancehallareaz.com/forum/ushop.php

IT tells me that : no action was found what do i do to fix that?

ok i was able to fix it now my next question how can i mass give points?

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 02-20-2005, 01:27 PM
between worlds between worlds is offline
 
Join Date: Nov 2004
Location: Scotland
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How did you fix it? I just upgraded to 3.0.7 and there's no Ushop menu in my admincp and I keep getting the No Actions found message.

When I tried to direct link to the /uttstoreadmin.php file this is the message I got:

Warning: Invalid argument supplied for foreach() in /admincp/uttstoreadmin.php on line 492

Anybody able to give any help?
Reply With Quote
  #3  
Old 02-20-2005, 02:17 PM
Viktor Kraft's Avatar
Viktor Kraft Viktor Kraft is offline
 
Join Date: Jul 2004
Location: Chile
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by between worlds
How did you fix it? I just upgraded to 3.0.7 and there's no Ushop menu in my admincp and I keep getting the No Actions found message.

When I tried to direct link to the /uttstoreadmin.php file this is the message I got:

Warning: Invalid argument supplied for foreach() in /admincp/uttstoreadmin.php on line 492

Anybody able to give any help?
Looks like you haven't rehacked your files after the upgrade. This may be the problem.
Reply With Quote
  #4  
Old 02-20-2005, 02:20 PM
between worlds between worlds is offline
 
Join Date: Nov 2004
Location: Scotland
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll give that a try. I'm a complete ditz with php. Thanks Viktor.
Reply With Quote
  #5  
Old 02-20-2005, 02:52 PM
MissKalunji's Avatar
MissKalunji MissKalunji is offline
 
Join Date: Aug 2003
Location: Canada
Posts: 2,845
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by between worlds
How did you fix it? I just upgraded to 3.0.7 and there's no Ushop menu in my admincp and I keep getting the No Actions found message.

When I tried to direct link to the /uttstoreadmin.php file this is the message I got:

Warning: Invalid argument supplied for foreach() in /admincp/uttstoreadmin.php on line 492

Anybody able to give any help?

all i did i was missing this and i saved

Find:

PHP Code:
 (THIS IS LOCATED NEAR THE VERY BOTTOM OF GLOBAL.PHP.)if (DB_QUERIES)
{
    
$pageendtime microtime();
    
$starttime explode(' '$pagestarttime);
    
$endtime explode(' '$pageendtime);
    
$aftertime $endtime[0] - $starttime[0] + $endtime[1] - $starttime[1];
    echo 
"End call of global.php: $aftertime\n";
    echo 
"\n<hr />\n\n";

PHP Code:
Add Above:// ## 
 
<ucs>
// 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);
// ## </ucs> 
and as for the admin part redo the admin part from the installation menue
Reply With Quote
  #6  
Old 02-22-2005, 09:20 PM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For mass giving points, there should be an addon if you just want to give it to a few users in the full releases forum. If you want to give points to all users, use this query:
[sql]UPDATE user SET uttpoints=uttpoints+X;[/sql]
where X is the amount of points to give. If you want to give points based on their postcount, open admincp/uttstoreadmin.php?do=giveoldpointsl in your browser.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:44 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.03769 seconds
  • Memory Usage 2,271KB
  • Queries Executed 19 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete