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 04:25 PM

Quote:

Originally Posted by proxyMX
can someone help, im having an error saying No Actions found whenever i go anywhere on the shop yet the actions are enabled

vERSION: 3.0.0
Error: No Actions Found
On Page: All Ushop pages
Standalone install

Flow Fusion 05-19-2004 09:11 PM

Quote:

Originally Posted by proxyMX
vERSION: 3.0.0
Error: No Actions Found
On Page: All Ushop pages
Standalone install

You need to fix your global.php

Zachery 05-19-2004 09:14 PM

Quote:

Originally Posted by proxyMX
vERSION: 3.0.0
Error: No Actions Found
On Page: All Ushop pages
Standalone install

You probaly havent done all your file edits

proxyMX 05-19-2004 09:35 PM

Quote:

Originally Posted by Zachery
You probaly havent done all your file edits

I have though.

proxyMX 05-19-2004 09:36 PM

Quote:

Originally Posted by proxyMX
I have though.

so what do i need to look for to fix this solution, saying GLOBAL.PHP or youve missed a file edit isnt exaclty the most helpful thing when trying to fix a problem on a system as large as this one

sabret00the 05-19-2004 09:40 PM

Quote:

Originally Posted by U-Dox
Can Someone Help Please

should read
PHP Code:

UPDATE user SET uttpoints=uttpoints+5.00reputation=reputation-XX WHERE userid='1' 

XX should be a number

sabret00the 05-19-2004 09:41 PM

Quote:

Originally Posted by proxyMX
so what do i need to look for to fix this solution, saying GLOBAL.PHP or youve missed a file edit isnt exaclty the most helpful thing when trying to fix a problem on a system as large as this one

apologies, however without knowing where you didn't edit it's hard to tell based on the global.php as all files use it, you'll sadly have to go through your edits one by one and make sure they're all done.

sabret00the 05-19-2004 09:43 PM

Quote:

Originally Posted by Flow Fusion
I failed....

Parse error: parse error in /home/giftedso/public_html/gs/includes/functions.php on line 1872

Fatal error: Call to undefined function: is_browser() in /home/giftedso/public_html/gs/global.php on line 59

i would suggest reapplying all changes to funtions.php

also what page url caused that problem?

Flow Fusion 05-19-2004 10:25 PM

Quote:

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

also what page url caused that problem?

The entire board shuts down when this happens. Also what does this file do? Do I need to edit it? Because none of the board features work as far as getting a custom color, bold, glow, italic? All this seems to do is make it so members have a bank lol. But nothing to use the money for.

sabret00the 05-19-2004 10:26 PM

Quote:

Originally Posted by Flow Fusion
The entire board shuts down when this happens. Also what does this file do? Do I need to edit it? Because none of the board features work as far as getting a custom color, bold, glow, italic? All this seems to do is make it so members have a bank lol. But nothing to use the money for.

your board is dependant on that file. it's as important as global.php

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 =[

Battle_Ring 05-21-2004 09:42 PM

hey i have a problem when 1 of my users try to acess the bank they get a database error and i get sent an email that is this

Database error in vBulletin 3.0.1:

Invalid SQL: UPDATE user SET uttpoints=uttpoints-20.000.00 WHERE userid='95'
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '.00 WHERE userid='95'' at line 1

mysql error number: 1064

Date: Friday 21st of May 2004 03:03:36 PM
Script: http://battlering.net/forums/ushop.p...shortname=bank
Referer: http://battlering.net/forums/
Username: Jolly Jolza
IP Address: 203.96.202.81



only 1 user has complained about this i tried and acessed the bank fine

moonclamp 05-22-2004 12:30 AM

Quote:

Originally Posted by Flow Fusion
I failed....

Parse error: parse error in /home/giftedso/public_html/gs/includes/functions.php on line 1872

Fatal error: Call to undefined function: is_browser() in /home/giftedso/public_html/gs/global.php on line 59

Similar error here

And I have done everything instructed ... twice now ...

Parse error: parse error in /domains/virtualstrangers-com/virtualstrangers/www_root/includes/functions.php on line 1871

Fatal error: Call to undefined function: exec_nocache_headers() in /domains/virtualstrangers-com/virtualstrangers/www_root/admincp/global.php on line 37

this is when I try to execute the install.

moonclamp 05-22-2004 01:42 AM

OK I took everything off and ran the install script first, that went fine so I re-edited (for a third time) and now I am getting the same errors

Can this clash with vbadvanced portal as that is the only other mod I have at the moment?

Or could it be because I am using 3.01?

Error on homepage is:


Parse error: parse error in /domains/virtualstrangers-com/virtualstrangers/www_root/includes/functions.php on line 1878

Fatal error: Call to undefined function: is_browser() in /domains/virtualstrangers-com/virtualstrangers/www_root/global.php on line 91

Zachery 05-22-2004 02:53 AM

Quote:

Originally Posted by moonclamp
OK I took everything off and ran the install script first, that went fine so I re-edited (for a third time) and now I am getting the same errors

Can this clash with vbadvanced portal as that is the only other mod I have at the moment?

Or could it be because I am using 3.01?

Error on homepage is:


Parse error: parse error in /domains/virtualstrangers-com/virtualstrangers/www_root/includes/functions.php on line 1878

Fatal error: Call to undefined function: is_browser() in /domains/virtualstrangers-com/virtualstrangers/www_root/global.php on line 91

You didnt edit the files correctly.

moonclamp 05-22-2004 03:03 AM

Quote:

Originally Posted by Zachery
You didnt edit the files correctly.

I've re-edited everything 3 times, I will do it again though just to make extra sure, It's late here though so i will do it after I have slept some in case I'm missing the obvious

moonclamp 05-22-2004 04:01 AM

IT WAS DREAMWEAVER!!!

I was doing it right but for some reason dreamweaver doesn't like to be used for the global or functions files. textpad was no better and in the end I did it in notepad.

I need a new text editor :(

moonclamp 05-22-2004 04:38 AM

Quote:

Originally Posted by vhoang
When not logged in, we are supposed to get "No action found" for all action related to Shop/Bank right?

Can this be changed to the default log in screen instead ... or simply make the button invisible?

Oh and clicked *install*

dkny 05-22-2004 04:45 AM

I cant get the images to work, is this fuctyion working for others? I enabled the images in the control panel.

Skyline_GT 05-22-2004 06:06 AM

is it possibble to make a points per click on the sponsor?

badblu01 05-22-2004 08:00 AM

Hello I have installed Ushop everything went fine i think
My main problem is when i go to Action or the Bank i get the following VB message
No actions found...

Is it a setting or am I stupid

GeekyDesigns 05-22-2004 08:08 AM

Quote:

Originally Posted by badblu01
Hello I have installed Ushop everything went fine i think
My main problem is when i go to Action or the Bank i get the following VB message
No actions found...

Is it a setting or am I stupid

Youve missed an edit somewhere, or miss hacked a file, start with a fresh one and try again please.

GeekyDesigns 05-22-2004 08:09 AM

Quote:

Originally Posted by dkny
I cant get the images to work, is this fuctyion working for others? I enabled the images in the control panel.

The conditional to show the image was removed at the last moment to finish off the templtaes, it will be back in the next version

Flow Fusion 05-22-2004 08:29 AM

Ok in the functions.php

I get this error

Parse error: parse error in /home/giftedso/public_html/gs/includes/functions.php on line 1871

Zachery 05-22-2004 08:33 AM

Quote:

Originally Posted by Flow Fusion
Ok in the functions.php

I get this error

Parse error: parse error in /home/giftedso/public_html/gs/includes/functions.php on line 1871

If your editing the files with anything more advanced than wordpad, stop and start with a fresh copy and try again.

dkny 05-22-2004 08:43 AM

Quote:

Originally Posted by GeekyDesigns
The conditional to show the image was removed at the last moment to finish off the templtaes, it will be back in the next version

ohh I see, any ETA on the next version?

Zachery 05-22-2004 08:47 AM

Hopefully soon? ^^ matt just got onto break, so ima bust his ass till he starts working ;D

Skyline_GT 05-22-2004 08:53 AM

anyone can answer my questions/suggestions?
like you earn point by visting sponsors.

Zachery 05-22-2004 09:00 AM

Quote:

Originally Posted by Skyline_GT
anyone can answer my questions/suggestions?
like you earn point by visting sponsors.

Its possible of course, anything is, if were talking about clicking on google ad's that can get you removed from Ad sense fyi ;)

badblu01 05-22-2004 10:26 AM

Hello i have it working

How do you get images to show up?

and the number of points i have is not showing up in the post screen I am not sure if its meant to show up of not.

I guess the Ushop can only get better over tme

Flow Fusion 05-22-2004 10:57 AM

OK I GOT it but this file is not Mac friendly.


All times are GMT. The time now is 04:12 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.03236 seconds
  • Memory Usage 1,882KB
  • 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
  • (23)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