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)

Pixelgrounds 07-03-2004 07:52 PM

Quote:

Originally Posted by Pixelgrounds
Thx, i think it was dreamweaver. I switched to my good old DzSoft php editor :P



And mijae, hey its me, ah RanmaFan

Hey, i got a stupid question. Um how does the admin give himself points. Because i need to test all the functions and i dont know how to give myself points.


Srry about the DP, this is more of a bump for help.

House_of_Crazed 07-03-2004 08:25 PM

Via the User option in the AdminCP...

Search for yourself, then open your profile, then give yourself points in the "Points" block.

HoC

b4ne 07-03-2004 08:53 PM

manual install

vb 3.0.1

tryed to leave sec edit in globel out etc ...no luck

Im getting the following error when install when viewing my page with ucash

Warning: Invalid argument supplied for foreach() in /home/b4ne/www/global.php on line 639

When i try to view a Forum :

Unable to add cookies, header already sent.
File: /home/b4ne/www/global.php
Line: 639

Any help is deeplu aprechiated

kall 07-03-2004 08:56 PM

Did you run arcade_install.php?

b4ne 07-03-2004 09:01 PM

no why ?

I have done on the other server and just moved so maybe I should answer that with yes.

kall 07-03-2004 09:04 PM

Quote:

Originally Posted by b4ne
no why ?

I have done on the other server and just moved so maybe I should answer that with yes.

Sorry... ushop_install.php rather. :)

I had the same error when I neglected to do so.

b4ne 07-03-2004 09:20 PM

yes i have even uninstalled reinstalled

Zachery 07-03-2004 09:22 PM

Quote:

Originally Posted by b4ne
yes i have even uninstalled reinstalled

Double check your eidts to global.php and init.php :)

b4ne 07-03-2004 09:32 PM

now i get a parse error

Parse error: parse error, unexpected '/' in /home/b4ne/www/global.php on line 634

I double checked everything its all on his place argggg

b4ne 07-03-2004 09:36 PM

fixed that

but still same error


on line 639 is the this code

// Make a list of the all the actions...
639----------------------->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";


Here is a link to my Forum : www.roadkillbarbeque.com

Zachery 07-03-2004 09:40 PM

Quote:

Originally Posted by b4ne
fixed that

but still same error


on line 639 is the this code

// Make a list of the all the actions...
639----------------------->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";


Here is a link to my Forum : www.roadkillbarbeque.com

Warning: Invalid argument supplied for foreach() in /home/b4ne/www/global.php on line 639

Warning: Invalid argument supplied for foreach() in /home/b4ne/www/ushop.php on line 144

Either, you have installed uCS or your still have bad edits

b4ne 07-03-2004 09:45 PM

nope nothing else installed only a coule of minor hacks like to show how large an attached file is etc

Mijae 07-03-2004 09:52 PM

Does this work on 3.0.2? :D

Zachery 07-03-2004 09:55 PM

Quote:

Originally Posted by Mijae
Does this work on 3.0.2? :D

Yes, but if you can, wait just abit longer ;)

House_of_Crazed 07-03-2004 10:03 PM

Zach -

Are you hinting that the next version is on the way?? O_o

LOL... If so, I'll skip reinstalling the ushop.

HoC

Zachery 07-03-2004 10:04 PM

Quote:

Originally Posted by House_of_Crazed
Zach -

Are you hinting that the next version is on the way?? O_o

LOL... If so, I'll skip reinstalling the ushop.

HoC

Take it whatever way youd like to ;)

Zachery 07-03-2004 10:19 PM

Both me and matt are in the chat room right now ;)

Some of you might want to drop by for no reasons ;D

irc.devcore.co.uk
#geekydesigns

or

http://www.geekydesigns.com/board/chat

Pixelgrounds 07-04-2004 12:22 AM

1 Attachment(s)
I need help again :P

I want that little arrow pointing down next to "Shop" on the navbar gone. Can someone help me, I can get ride of it.

OniBlade 07-04-2004 03:10 AM

I need some help on this one, please.

I used the Standalone installer

This is the error I get
Fatal error: Call to undefined function: is_member_of() in /var/www/html/global.php on line 31

It comes up when I go to my main page, and I am running VB 3.0.1, any help is appreciated :)

Zachery 07-04-2004 03:29 AM

Quote:

Originally Posted by OniBlade
I need some help on this one, please.

I used the Standalone installer

This is the error I get
Fatal error: Call to undefined function: is_member_of() in /var/www/html/global.php on line 31

It comes up when I go to my main page, and I am running VB 3.0.1, any help is appreciated :)

Dont use Dreamweaver, and rehack your files, start from scratch

cybermomcafe 07-04-2004 03:50 AM

Quote:

Yes, but if you can, wait just abit longer
hehe, didn't see this until I was already tinkering on my test board...

I upgraded and I see my points and don't get any error messages, but I don't see any Actions (don't get the "No Actions" message, just don't see the actions)

Any ideas? other than a screwed up file/template edit... it's only my test board, so I'll just wait for an update before I do my live boards :)

And thanks for this hack, my members love it!

Zachery 07-04-2004 03:51 AM

Quote:

Originally Posted by cybermomcafe
hehe, didn't see this until I was already tinkering on my test board...

I upgraded and I see my points and don't get any error messages, but I don't see any Actions (don't get the "No Actions" message, just don't see the actions)

Any ideas? other than a screwed up file/template edit... it's only my test board, so I'll just wait for an update before I do my live boards :)

And thanks for this hack, my members love it!

upload the install file and select reinstall templates ;)

cybermomcafe 07-04-2004 03:58 AM

ouch doh... for some reason I was thinking they would still be there (my other custom templates were) LOL

Thanks! :)

Link14716 07-04-2004 05:49 AM

The problem is, they are installed into the global template set which is deleted upon upgrade. Unfortunately, vBulletin doesn't yet allow a second master style that isn't deleted when upgrading like phrases/languages.

In other news, a pre-release of 0.95 should be on the GeekyDesigns website tommorow. ;)

Link14716 07-04-2004 05:51 AM

Quote:

Originally Posted by OniBlade
I need some help on this one, please.

I used the Standalone installer

This is the error I get
Fatal error: Call to undefined function: is_member_of() in /var/www/html/global.php on line 31

It comes up when I go to my main page, and I am running VB 3.0.1, any help is appreciated :)

You incorrectly modified global.php. The code you need to find is at the bottom of the file.

Link14716 07-04-2004 05:53 AM

Quote:

Originally Posted by Pixelgrounds
I need help again :P

I want that little arrow pointing down next to "Shop" on the navbar gone. Can someone help me, I can get ride of it.

As far as I know, you can't unless you want to get rid of the dropdown menu that clicking on it produces.

Zachery 07-04-2004 07:09 AM

Quote:

Originally Posted by Link14716
As far as I know, you can't unless you want to get rid of the dropdown menu that clicking on it produces.

Actually you can, im just being lazy and not posting that trick :p

Pixelgrounds 07-04-2004 08:24 AM

Quote:

Originally Posted by Zachery
Actually you can, im just being lazy and not posting that trick :p

ah comom, atlest tell my the filre to edit >_>

bhutz 07-04-2004 12:57 PM

Quote:

Originally Posted by b4ne
manual install

vb 3.0.1

tryed to leave sec edit in globel out etc ...no luck


Im getting the following error when install when viewing my page with ucash

Warning: Invalid argument supplied for foreach() in /home/b4ne/www/global.php on line 639

When i try to view a Forum :

Unable to add cookies, header already sent.
File: /home/b4ne/www/global.php
Line: 639


Any help is deeplu aprechiated

Hey don't know if you have sorted this but I had the same problem, I think you have made your file_template.html edits before running admincp/ushop_install.php and following the instructions.

If you have made your edits first this is what I did to remove that error message about the header and cookies.

remove the edits you made in global.php
run admincp/ushop_install.php
edit global.php as mentioned in the file_template.html
Now log into adminCP and make those template changes


I know I made a silly error but I think that maybe you should add the point that you have to run admincp/ushop_install.php at the start of file_template.html

OniBlade 07-04-2004 01:37 PM

Quote:

Originally Posted by Link14716
You incorrectly modified global.php. The code you need to find is at the bottom of the file.

O sorry, it works now, thanks for the help.

b4ne 07-04-2004 01:40 PM

works for me as well ... nice hack thanks a mill for help

nighteyes 07-04-2004 07:30 PM

Great hack. My question....... are you going to improve performance on this so queries are run via the vbulletin cron functions? At the moment whenever someone is rewarded a point, the MySQL database is written too.... this is very bad for performance. I removed threadviews rewards for now as this is the biggest killer performance wise - but you should queue and run database writes every hour or so - not for every point rewarded.

nighteyes 07-04-2004 07:42 PM

In fact, I've just disabled this completely for now as it's killing the server with the constant writing to the database. Let me know if you're planning on improving the performance or whether this is something that will never be designed suitable for larger boards. :)

Server loads with hack (minus threadviews rewards): ~3.50
Server loads without hack: ~0.30

Zachery 07-04-2004 07:45 PM

Quote:

Originally Posted by nighteyes
In fact, I've just disabled this completely for now as it's killing the server with the constant writing to the database. Let me know if you're planning on improving the performance or whether this is something that will never be designed suitable for larger boards. :)

Server loads with hack (minus threadviews rewards): ~3.50
Server loads without hack: ~0.30

Hmm, thats odd. we did design this to run well on larger boards, we will see about improving it before we release the next version

Zachery 07-04-2004 08:00 PM

in general, everytime someone posts, the database is already written to.

This is just adding one addtional query.

I do understand about the threadviews, how large is your forum though ?

can you pin point the exact cause of the load rise?

Zachery 07-04-2004 08:22 PM

Quote:

Originally Posted by Zachery
in general, everytime someone posts, the database is already written to.

This is just adding one addtional query.


I do understand about the threadviews, how large is your forum though ?

can you pin point the exact cause of the load rise?

Niteeyes, after viewing your site, we never imagined a site that large would be using it, we will be attempting to improve preformance.

IF you want drop in our chat, im in there and matt should be in there sooner or later if you want to chat or have any ideas about improving things.

CarlitoBrigante 07-04-2004 11:42 PM

Hi,

we've upgraded to 3.02 and reinstalled all the hacks. Everything is working perfectly, but ushop is giving us some troubles. In the ushop.php main page, no actions are displayed; yet, the system doesn't display the "No actions found" message. We rechecked all the files, and it seems all correct to us. What could be causing this?

Thanks!

the Sandman 07-04-2004 11:44 PM

Quote:

Originally Posted by CarlitoBrigante
Hi,

we've upgraded to 3.02 and reinstalled all the hacks. Everything is working perfectly, but ushop is giving us some troubles. In the ushop.php main page, no actions are displayed; yet, the system doesn't display the "No actions found" message. We rechecked all the files, and it seems all correct to us. What could be causing this?


Thanks!

Did you upload and run the installer (for templates only)?

CarlitoBrigante 07-04-2004 11:55 PM

Quote:

Originally Posted by the Sandman
Did you upload and run the installer (for templates only)?

Yes, we edited the new files, uploaded them, and run the installer of the vbulletin upgrade.

Zachery 07-05-2004 12:08 AM

Quote:

Originally Posted by CarlitoBrigante
Yes, we edited the new files, uploaded them, and run the installer of the vbulletin upgrade.

No no, reupload the ushop install file, and select install templates only


All times are GMT. The time now is 11:17 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.03012 seconds
  • Memory Usage 1,836KB
  • 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
  • (20)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