SMF Shop
Home
Help
Search
Shop
Login
Register
SMF Shop
»
SMFShop
»
Installation Problems
»
Installation problem?
Print
Pages: [
1
]
Author
Topic: Installation problem? (Read 2901 times)
blitzchic
Newbie
Posts: 0
114 credits
View Inventory
Send Money To blitzchic
Karma: +0/-0
Installation problem?
«
on:
October 22, 2006, 11:53:45 am »
Hi guys, I have just recently installed the new SMFShop (for the first time) but there is no-where in Admin Centre for me to be able to change any settings? Nothing shows up in the Mainenaince section .. any ideas?
Logged
Daniel15
The one who started it all
Administrator
Posts: 1,465
673 credits
View Inventory
Send Money To Daniel15
Karma: +73/-12
Re: Installation problem?
«
Reply #1 on:
October 22, 2006, 11:57:46 am »
Hmmmm... Check your Sources/Subs.php for a SMFShop section.
If there's not one, then here's how to fix the problem:
Open Sources/Subs.php, and find:
validateSession
();
Add before:
//Begin SMFShop code
loadLanguage
(
'Shop'
);
if (
allowedTo
(
'shop_admin'
))
$context
[
'admin_areas'
][
'shop'
] = array (
'title'
=>
$txt
[
'shop_admin'
],
'areas'
=> array(
'shop_general'
=>
"<a href='
$scripturl
?action=shop_general'>
{
$txt
[
'shop_admin_general'
]}
</a>"
,
'shop_inventory'
=>
"<a href='
$scripturl
?action=shop_inventory'>
{
$txt
[
'shop_admin_inventory'
]}
</a>"
,
'shop_items'
=>
$txt
[
'shop_admin_items'
],
'shop_items_edit'
=>
"|--- <a href='
$scripturl
?action=shop_items_edit'>
{
$txt
[
'shop_admin_items_addedit'
]}
</a>"
,
'shop_restock'
=>
"|--- <a href='
$scripturl
?action=shop_restock'>
{
$txt
[
'shop_admin_restock'
]}
</a>"
,
'shop_usergroup'
=>
"<a href='
$scripturl
?action=shop_usergroup'>
{
$txt
[
'shop_admin_usergroup'
]}
</a>"
,
)
);
//End SMFShop code
Hope this helps you
Logged
Daniel15
blitzchic
Newbie
Posts: 0
114 credits
View Inventory
Send Money To blitzchic
Karma: +0/-0
Re: Installation problem?
«
Reply #2 on:
October 22, 2006, 05:00:35 pm »
Thanks for the quick response Daniel
There is that code there in the subs.php .. I checked it, and its the same ..
Logged
Daniel15
The one who started it all
Administrator
Posts: 1,465
673 credits
View Inventory
Send Money To Daniel15
Karma: +73/-12
Re: Installation problem?
«
Reply #3 on:
October 27, 2006, 07:06:26 pm »
Hmmm... Try accessing [yourforum]/index.php?action=shop_general, and see if that works.
Logged
Daniel15
Print
Pages: [
1
]
SMF Shop
»
SMFShop
»
Installation Problems
»
Installation problem?