Author Topic: SMFShop Stats Modification  (Read 18950 times)

Offline inkstains

SMFShop Stats Modification
« on: September 25, 2007, 04:52:27 pm »
THIS HAS ONLY BEEN TESTED ON A CLEAN INSTALL OF SMF 1.1.3  AND SMFShop 3.0

WARNING IF YOU INSTALL THIS MOD AND EVER GO TO REMOVE/UPGRADE YOUR INSTALL OF SMFShop YOU MAY ENCOUNTER ERRORS IF THIS MOD IS NOT UNINSTALLED FIRST. YOU'VE BEEN WARNED

This mod will add a few more stats to the SMFShop home section (Top Purchasers and Top Traders) as well as a persistent Recently Purchased section which if you mouseover the images will display a tooltip with the items description

enjoy  :)

SMFShop Home




PACKAGE UPDATED 28/09/07
« Last Edit: September 28, 2007, 09:31:08 pm by inkstains »

Offline leo

Re: SMFShop Stats Modification
« Reply #1 on: September 25, 2007, 05:05:28 pm »
thanx i'll give it a try.. :D

Offline inkstains

Re: SMFShop Stats Modification
« Reply #2 on: September 25, 2007, 09:07:12 pm »
 O0

Offline sc2

Re: SMFShop Stats Modification
« Reply #3 on: October 10, 2007, 12:50:59 am »
Thanks, I installed this and works fine with no errors. Too bad it only starts counting from when you install it. I was a bit confused at first, but it's good that I start it now rather than later!  :)

Offline Andy134

Re: SMFShop Stats Modification
« Reply #4 on: October 14, 2007, 11:26:29 am »
Won't let me install it on mine. I'm using SMF Shop 3.0 and SMF 1.1.3. Any ideas? It says "Unknown Package" and:

"Execute Modification | ./Sources/shop/Shop-Buy.php | Test failed "

Offline inkstains

Re: SMFShop Stats Modification
« Reply #5 on: October 15, 2007, 04:24:31 am »
Won't let me install it on mine. I'm using SMF Shop 3.0 and SMF 1.1.3. Any ideas? It says "Unknown Package" and:

"Execute Modification | ./Sources/shop/Shop-Buy.php | Test failed "

the unknown package part doesn't really matter it, but it's your choice as to whether you install it or not on based on those grounds.

as for the error it just means another mod has probably modified that file. in which case you just do the edit to that file manually if you still want to use the mod.

basically just put Stats Mod package through the package parser here

http://modparser.dev.dansoftaustralia.net/

and scroll down until you find the edits it does to that file Shop-Buy.php

download your Shop-Buy.php file and follow the instructions to edit your file. then install the mod ignoring the error, then upload the new edited Shop-Buy.php file you have overwriting your current one and you should be good to go.
« Last Edit: October 15, 2007, 04:33:50 am by inkstains »

Offline feildmaster

Re: SMFShop Stats Modification
« Reply #6 on: October 16, 2007, 01:13:08 pm »
Very nice, may i suggest that you make it like so...

put that in the image...
Code: [Select]
onclick="document.elements['desc'].innerHTML=',$varfordesc,'"[code] (change $varfordesc to what u use for desc...)

on the end add this...
[code]<div name="desc">Click image to view description.</div>

this code might or might not work... i threw it together on the back of my head... what it does is makes the "Click image to view description" change to the desc... nifty no? =) [/code][/code]

Offline Joshsux

Re: SMFShop Stats Modification
« Reply #7 on: October 26, 2007, 10:54:17 am »
Just wanted to say it works on a heavily modified  SMF 1.1.2 Running SMF SHOP SMFShop 3.0 (Build 12)

Just tried it myself, it looks  fine, thanks for this.

Offline Andy134

Re: SMFShop Stats Modification
« Reply #8 on: November 11, 2007, 07:22:22 pm »
I would also like to say, this installs smoothly onto a SMF 1.1.4 forum :D

Offline Christian3

Re: SMFShop Stats Modification
« Reply #9 on: May 25, 2008, 06:41:31 pm »
hello,

I'm using SMF 1.4. and SMF Shop 3.0

However it did not install through the Paket Managed so I've had to do the installaton manually.

However I don't know how to alter my database / create the necessary tables.

Could someone please let me know how to do this?

Thank you!

Offline mike dijital

Re: SMFShop Stats Modification
« Reply #10 on: October 17, 2008, 06:49:37 am »
Installed Smooth as silk into a heavily modded 1.1.6

Offline WBADude

Re: SMFShop Stats Modification
« Reply #11 on: March 15, 2009, 04:52:53 am »
Hi

Thanks For This Great Mod!

Joe

Offline DTeK

Re: SMFShop Stats Modification
« Reply #12 on: October 23, 2010, 10:27:55 pm »
I have just installed this but it makes all the stat areas about two inches wide. Click this link to see. http://kill4fun.info/index.php?action=shop Can anyone help me please?

Offline DTeK

Re: SMFShop Stats Modification
« Reply #13 on: October 23, 2010, 11:08:56 pm »
I used this and fixed it. It is not too good as it puts stuff at the bottom of the page out of line.

         <table width="760px" cellpadding="5" cellspacing="1" border="0" class="bordercolor">
            <tr class="titlebg">

Offline pablo24

Re: SMFShop Stats Modification
« Reply #14 on: January 26, 2011, 10:36:56 pm »
I tyed to install it, but i had some problems.
I use smf 2.0rc3 and smfshop 3.1.6
I can't install it because there's a problem on this: ./Sources/shop/Shop-Buy.php

Could you update it please

I would be very pleased,

Thankyou before hand