[DEV] Item Shop

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
Locked
brettm133
Registered User
Posts: 50
Joined: Thu Sep 26, 2002 12:06 pm

Post by brettm133 » Thu Dec 19, 2002 12:51 pm

Zarath wrote: did you do all the stuff in install.txt?


of course! i'll double check though..

User avatar
tuck
Registered User
Posts: 222
Joined: Mon Jul 01, 2002 8:13 pm

A problem

Post by tuck » Thu Dec 19, 2002 1:18 pm

When I click on "Store configuration" in the admin panel, I have

Code: Select all

Warning: open_basedir restriction in effect. File is in wrong directory in /usr/local/psa/home/vhosts/mysite.net/httpdocs/phpBB2/admin/admin_shop.php on line 44
and

Code: Select all

Warning: open_basedir restriction in effect. File is in wrong directory in /usr/local/psa/home/vhosts/mysite.net/httpdocs/phpBB2/admin/admin_shop.php on line 738
Then, I would suggest that this line to add on page_header

Code: Select all

	'U_SHOP' => append_sid('shop.'.$phpEx),
should be

Code: Select all

	'U_SHOP' => append_sid($phpbb_root_path .'shop.'.$phpEx),
just to respect the standards.
Last, can you please write a little manual about this mod which I like so much, but I still don't understand everything :oops:

baselineace
Registered User
Posts: 177
Joined: Sat Oct 05, 2002 2:46 pm
Contact:

Post by baselineace » Thu Dec 19, 2002 3:27 pm

Anyway to sell avatars?

User avatar
kegz51
Registered User
Posts: 46
Joined: Thu Oct 31, 2002 6:19 pm

Post by kegz51 » Thu Dec 19, 2002 7:38 pm

Problem with the update. I uploadde everything fine.


But I can't make a special shop. all the fields are blank. How do i make a special shop?

User avatar
kegz51
Registered User
Posts: 46
Joined: Thu Oct 31, 2002 6:19 pm

Post by kegz51 » Thu Dec 19, 2002 7:54 pm

Also i can only create one shop i'm tryin to make more but unless i hav the same shop type and same store name it says this when i try to view an item.


Fatal Error Checking Protected Shops



I cant find anything where it says my shop is protected whats wrong?

younghistorians
Registered User
Posts: 368
Joined: Mon Sep 16, 2002 9:17 pm
Location: YoungHistorians.com
Contact:

Post by younghistorians » Thu Dec 19, 2002 10:08 pm

baselineace wrote: Anyway to sell avatars?


Yes, if you install the update, you can sell avatars and titles!

younghistorians
Registered User
Posts: 368
Joined: Mon Sep 16, 2002 9:17 pm
Location: YoungHistorians.com
Contact:

Post by younghistorians » Thu Dec 19, 2002 10:26 pm

hmm yeah, when i try to sell an avatar, then a user buys it, they cant get one automatically....!

Zarath
Registered User
Posts: 736
Joined: Fri Dec 06, 2002 9:01 am
Contact:

Re: A problem

Post by Zarath » Thu Dec 19, 2002 11:24 pm

tuck wrote: When I click on "Store configuration" in the admin panel, I have

Code: Select all

Warning: open_basedir restriction in effect. File is in wrong directory in /usr/local/psa/home/vhosts/mysite.net/httpdocs/phpBB2/admin/admin_shop.php on line 44
and

Code: Select all

Warning: open_basedir restriction in effect. File is in wrong directory in /usr/local/psa/home/vhosts/mysite.net/httpdocs/phpBB2/admin/admin_shop.php on line 738
Then, I would suggest that this line to add on page_header

Code: Select all

	'U_SHOP' => append_sid('shop.'.$phpEx),
should be

Code: Select all

	'U_SHOP' => append_sid($phpbb_root_path .'shop.'.$phpEx),
just to respect the standards.
Last, can you please write a little manual about this mod which I like so much, but I still don't understand everything :oops:


lol, the points mod didn't use phpbb_root_path and there's really no need for it unless your webserver sucks :P

on the error, that looks like a server restriction, chmod the file and make it 777 and try again.

User avatar
mrtaz4u
Registered User
Posts: 246
Joined: Mon Nov 11, 2002 4:55 am
Location: new york
Contact:

Post by mrtaz4u » Thu Dec 19, 2002 11:24 pm

when i try to view a topic i get this error
Could not obtain post/user information.

Zarath
Registered User
Posts: 736
Joined: Fri Dec 06, 2002 9:01 am
Contact:

Post by Zarath » Thu Dec 19, 2002 11:25 pm

kegz51 wrote: Problem with the update. I uploadde everything fine.


But I can't make a special shop. all the fields are blank. How do i make a special shop?



did you run the new install_shop.php file?

younghistorians
Registered User
Posts: 368
Joined: Mon Sep 16, 2002 9:17 pm
Location: YoungHistorians.com
Contact:

Post by younghistorians » Thu Dec 19, 2002 11:30 pm

when a user buys an avatar, is the thing in the profile supposed to appear? cauz it is not, and i have to do it manually for them.

Zarath
Registered User
Posts: 736
Joined: Fri Dec 06, 2002 9:01 am
Contact:

Post by Zarath » Thu Dec 19, 2002 11:44 pm

You have to enable them to be able to link their avatar. The avatar ability just allows it to be viewed in viewtopic.


To the person who's getting the error in viewtopic: run the new shop_install.php file.

User avatar
kegz51
Registered User
Posts: 46
Joined: Thu Oct 31, 2002 6:19 pm

Post by kegz51 » Thu Dec 19, 2002 11:49 pm

did you run the new install_shop.php file?

Thanx Zarath my bad.

but how do i fix this?

Also i can only create one shop i'm tryin to make more but unless i hav the same shop type and same store name it says this when i try to view an item.


Fatal Error Checking Protected Shops



I cant find anything where it says my shop is protected whats wrong?

blulegend
Registered User
Posts: 83
Joined: Wed Jan 30, 2002 5:41 pm

Post by blulegend » Thu Dec 19, 2002 11:53 pm

You should use addslashes/stripslashes. If you use 's in usernames or any fields in the shop, it halts.

User avatar
kegz51
Registered User
Posts: 46
Joined: Thu Oct 31, 2002 6:19 pm

Post by kegz51 » Thu Dec 19, 2002 11:54 pm

thanx

Locked

Return to “[2.0.x] MODs in Development”