News:

Join the Facebook Fan Page.

Main Menu

ST Shop

Started by Diego Andrés, June 13, 2009, 06:06:35 AM

Previous topic - Next topic

mrselnombre

Noticed 2 problems
1, you can't seem to get to page two of your inventory
and if a member has too much stuff in their inventory, a lot of items get lost mostly likely everything on Page 2
(\__/)
(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.
Total Twaddle.

kat

Also, the words "Casino" and "shop" cause errors.

QuoteForbidden page http://www.totaltwaddle.co.uk/board/index.php/topic,48691.new.html

Dunno where the "html" comes from...

SA™

just out of interest does that site have mod secrity enabled?

i have a hunch but i could be wrong :P
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

kat

We figured it out, not long before you posted! :)

Ta, mate.

Just out of pure curiosity, why would that cause the error?

The odd thing is, it affected eight sites on the same server!

SA™

it was just a hunch K@ cos this mod has had issues with mod secrity in the past

what was the issue in the end?
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

kat

It was exactly that!

I've never really understood the whys and wherefores about mod_security and why/how it affects things, though, to be honest.

Just found a good explanation, though.

http://help.joyent.com/index.php?pg=kb.page&id=85

SA™

ah glad you got it sorted though :)
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

mrselnombre

Sorted it and have the Shop back installed and working.

:D
(\__/)
(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.
Total Twaddle.

ben sisko

is there any way to chage the pay table for dices manually? it's a very easy way for the users to get rich.
i'm using SA Shop 0.5

hcfwesker

"dices"?  Not sure what you mean.

ben sisko

i'm talking about the pay table of the games in the 'Games Room' of the Shop.

hcfwesker

Think I found it.

Sources/shop2/Shop_Games.php

Find
$payouts = array (
    '<img src="'. $settings['images_url']. '/ShopGamesImages/dice/blackdice1.png" alt=""/>|<img src="'. $settings['images_url']. '/ShopGamesImages/dice/blackdice1.png" alt=""/>' => '150',
    '<img src="'. $settings['images_url']. '/ShopGamesImages/dice/blackdice2.png" alt=""/>|<img src="'. $settings['images_url']. '/ShopGamesImages/dice/blackdice2.png" alt=""/>' => '550',
    '<img src="'. $settings['images_url']. '/ShopGamesImages/dice/blackdice3.png" alt=""/>|<img src="'. $settings['images_url']. '/ShopGamesImages/dice/blackdice3.png" alt=""/>' => '750',
    '<img src="'. $settings['images_url']. '/ShopGamesImages/dice/blackdice4.png" alt=""/>|<img src="'. $settings['images_url']. '/ShopGamesImages/dice/blackdice4.png" alt=""/>' => '900',
    '<img src="'. $settings['images_url']. '/ShopGamesImages/dice/blackdice5.png" alt=""/>|<img src="'. $settings['images_url']. '/ShopGamesImages/dice/blackdice5.png" alt=""/>' => '1500',
    '<img src="'. $settings['images_url']. '/ShopGamesImages/dice/blackdice6.png" alt=""/>|<img src="'. $settings['images_url']. '/ShopGamesImages/dice/blackdice6.png" alt=""/>' => '2000',


and change the values on the end of each line to what you want them to payout.

all the games added to this shop by default, should be listed here, and you can search the file for other game titles to change the payouts as well.


SA™

http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

Joseph H

I always get an error message when loging in with facebook "An error occurred. Please try again later." Please help me im using 2.0.1..  and i followed every step. www.darforums.tk
Cheap webhosting +24 hours

eric1234

Can i add or change game in the game shop? :)

Diego Andrés

Updated!
Not a lot, but wait for more changes in next version  ;D




Quote from: eric1234 on March 20, 2012, 02:06:46 PM
Can i add or change game in the game shop? :)

What do u mean?

SMF Tricks - Free & Premium Responsive Themes for SMF.

Fog

Cool Diego...I'm looking foward to the next update.

Cutter65

I just installed the latest version SA_Shop1.0_RC1.zip on SMF 2.0.2 and I am getting the following error when I go to the main setting section of SA Shop.

This is the error.

index.php?action=admin;area=shop;sa=settingsa;fcf3ecf65=8cfc3a14f92ab909fa2f7d699be56dfa

8: Undefined index: ShopCbContent

File: /Themes/default/ShopAdmin.template.php

Line: 158

Line 158 of the ShopAdmin.template.php has this in it.

==>158: <textarea cols="100" rows="5" name="ShopCbContent" id="ShopCbContent">', $modSettings['ShopCbContent'], '</textarea>

Thought I would report the issue. Hope there is a easy fix.

Thanks!
Cutter

Diego Andrés

Right now i'm in the mobile, but i saw this error today.
I'll fix it and I'll reply the fix earlier tomorrow

SMF Tricks - Free & Premium Responsive Themes for SMF.

Fog

Where would one find new shop items?

Advertisement: