SMFShop - Shop MOD

Started by SMFHacks.com Team, December 27, 2004, 06:46:17 AM

Previous topic - Next topic

Koper

Hello.  I would like to add this game to the smf shop, games room.  there is such a possibility?  someone could help me.  That's what this game is at this link https://radio-relax.pl/kolor/kolo.php

Koper

Hello. As in the SMF store in the tab buy items change the name of the color of the item. What code must be? below I send a screen what I mean

Adrek

@Koper, in your previous posts I see that on attached screenshot you have SA Shop mod. This topic is about SMFShop mod - do you have SMFShop or SA Shop mod installed? These are two different mods from different authors.
Polskie wsparcie SMF na simplemachines.org

the simplest solution is most likely the right one

Koper

I have sa shop installed

Adrek

This is not support topic for SA Shop.

Please post your issue here (I think it's best topic for this) https://www.simplemachines.org/community/index.php?topic=317308.0
ST Shop was originally SA Shop, but now has new owner.

Polskie wsparcie SMF na simplemachines.org

the simplest solution is most likely the right one

Koper

Hello, I have a problem with the smf 4.0.1 store, the point is that I have 5 credits for post and 10 credits for thread. And the problem is that the store does not add anyone credit for posts and threads. how to change it and in what file? please help

Koper

Hello.  I would like to put the number of loans of a given user in the chat in the profile which I have integrated with the forum and I know that I can only do not know which code from the php file I would have to insert.  you will help

vbgamer45

For a different system? That would have to be coded. You can query the users information and find out the details for shop money
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Xpresskonami

How can I hide members from seeing each other credit. I want only the user to see his/her own credit but hide from other members to see it

Koper

Hello.  currently, the number of credits is displayed like this: 53287 @ and I would like it to display like this: 53,287 @ in what file and where I need to add this comma to display the way I want above.

Shades.

I have this installed on fresh SMF 2.0.18 and getting "HTTP ERROR 500" when trying to add/edit items. No problem deleting items tho! ???

index.php?action=admin;area=shop_items_add;step=1
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

vbgamer45

Anything in forum error log or apache?
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Shades.

Quote from: vbgamer45 on March 04, 2021, 02:14:22 PM
Anything in forum error log or apache?

https://xxxxxx/index.php?action=admin;area=shop_items_add;step=1Apply Filter: Only show the errors with the same message2: require(/home/xxxxxx/public_html/xxxxxx/Sources/shop/items/randommoney.php): failed to open stream: No such file or directoryApply Filter: Only show the errors from this fileFile: /home/xxxxxx/public_html/xxxxxx/Sources/shop/ShopAdmin.php
Line: 277
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

M45T3R5W4G3R

#3193
Hey all, this mod is quite old and I don't know if people check here regularly but firstly thanks a lot to the mod developers for an awesome mod. I have a forum RPG website launching in a few days and this mod helped a lot with many features that would be impossible to do otherwise.

Anyway, I am building a Turkish forum therefore translated the mod's user interface according to both the language and the RPG's universe yet I'm having a problem. The shop is named "Diagon Alley" in Turkish yet next to it, in the UI, the button says "Diagon Alley Home". I tried to look up everywhere but couldn't find where that "Home" text comes from and I need to remove or modify it to Turkish. The current layout looks like this:



I have changed line 81 in Shop.php which was the only instance I could find and it updated sitemap link however I cannot find the button text part.

Below, the code where it added "Home" to the shop name in sitemap link:
// Are we home?
if ($_GET['do'] == "home")
{
// Add this to the link tree
$context['linktree'][] = array(
'url' => $scripturl . '?action=shop',
'name' => $txt['shop'] . ' Home',
);

Does anyone know where else something like this is present? I'd be glad if someone could guide me.

EDIT: AFTER HOURS I FOUND OUT ONLY AFTER POSTING.
If someone else has the issue, the place where that "Home" is line 51 in Shop.template.php:
<td class="smalltext" style="line-height: 1.3; padding-bottom: 3ex;">
', ($context['shop_do'] == 'main' ? '<b>' : ''), '<a href="', $scripturl, '?action=shop">', $txt['shop'], ' Home</a>', ($context['shop_do'] == 'main' ? '</b>' : ''), '<br />';
// Allowed to buy stuff?
if (allowedTo('shop_buy'))

M45T3R5W4G3R

Quote from: Shades. on March 04, 2021, 02:17:13 PM
Quote from: vbgamer45 on March 04, 2021, 02:14:22 PMAnything in forum error log or apache?

https://xxxxxx/index.php?action=admin;area=shop_items_add;step=1Apply Filter: Only show the errors with the same message2: require(/home/xxxxxx/public_html/xxxxxx/Sources/shop/items/randommoney.php): failed to open stream: No such file or directoryApply Filter: Only show the errors from this fileFile: /home/xxxxxx/public_html/xxxxxx/Sources/shop/ShopAdmin.php
Line: 277

I had the same issue and seeing this quite late but... Maybe it may help people later on. I had it too before and not sure why it happens but it is something with case sensitivity. If you rename any item's name in file system from "ItemName.php" to "itemname.php" things will be most likely fixed.

vbgamer45

Yes that is a known issue.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

StarredSkies

Any plans to update this to 2.1?

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

StarredSkies

Yep. That's my next plan. Thank you!

overdue

Will this be updated to 2.1.4?

Pretty sure this Shop mod was what I had installed before I had to reinstall due to php8.
2.1.4; default theme - curve.

Advertisement: