Author Topic: SMFShop 3.0 now out!  (Read 62082 times)

Offline cheesenub

Re: SMFShop 3.0 now out!
« Reply #15 on: January 19, 2007, 01:11:19 am »
Could you clean up the Buy section a bit?

Maybe put the sort and category pulldowns above the item list on 2 different lines?

The way it's set up makes me adjust the width of my browser pretty big.

I attached a screen of what I'm talking about.

(Edit: Sorry, I meant to thank you for the new work on it also. Much appreciated!)
« Last Edit: January 19, 2007, 01:16:55 am by cheesenub »

Offline Daethian

Re: SMFShop 3.0 now out!
« Reply #16 on: January 19, 2007, 01:23:33 am »
Unknown column 'category' in 'field list'
File: /home/purpleme/public_html/bb/Sources/shop/Shop-Subs.php
Line: 108

I'm getting that error after doing a fresh install of 3.0

I was up to version 2.2 I think but it wasn't functioning properly.  I upgraded my SMF and my Tinyportal and it said the SHop was no longer installed so I did a fresh install.

Offline Sakuragi

Re: SMFShop 3.0 now out!
« Reply #17 on: January 19, 2007, 06:21:13 am »
Could you clean up the Buy section a bit?

Maybe put the sort and category pulldowns above the item list on 2 different lines?

The way it's set up makes me adjust the width of my browser pretty big.

I attached a screen of what I'm talking about.

(Edit: Sorry, I meant to thank you for the new work on it also. Much appreciated!)

On Shop.template.php

Search:
Code: [Select]
<table width="100%" cellpadding="5" cellspacing="0" border="0" class="tborder"> <!-- style="margin-top: 1.5ex;"> -->
Replace with:
Code: [Select]
<table width="100%" cellpadding="5" cellspacing="0" border="0" class="tborder" align="left"> <!-- style="margin-top: 1.5ex;"> -->

Offline cheesenub

Re: SMFShop 3.0 now out!
« Reply #18 on: January 19, 2007, 06:28:41 am »
That worked perfectly!

Was that a fix, or were the tables originally supposed to be set up that way?

Thanks again!

Offline Lady Ambrosia

Re: SMFShop 3.0 now out!
« Reply #19 on: January 19, 2007, 07:59:31 am »
YES!!  GREAT mod, as always, Daniel!!  And thanks so much for the table fix Sakuragi!!

Ambrosia's Castle - My Personal Site
The Dark Castle - My Forum
Avatar by:  Me

Offline jdv

Re: SMFShop 3.0 now out!
« Reply #20 on: January 19, 2007, 09:04:52 am »
wow. im up on 3.0 now. now checking it out and redoing everything.

here is something i noticed. if a member goes backwards... they dont go in the whole or minus. It only goes to zero. Would be cool if they could go negative. Maybe credit for making a post with attachment? Just ideas.

Hey Dan thank you for the help.

John

Offline jdv

Re: SMFShop 3.0 now out!
« Reply #21 on: January 19, 2007, 09:23:58 am »
Serious problem with credits. Its doubling/quadrupling. And i took out the extra code in the post.php "ill post hte post.php at the end here".

I have it set as:
10 per new topic
5 per reply
10 per registration

Bonus
1 per word
0 per character
0 for limit per post credit

Example: I make the following post thinking i should only be credited 14 credits (10 for the post and 4 for the 4 words)

This is a test.

However it gives me 48 credits?

How do i fix?

Post.php attached for review.
« Last Edit: January 19, 2007, 09:25:38 am by jdv »

Offline minfinger

Re: SMFShop 3.0 now out!
« Reply #22 on: January 19, 2007, 09:48:52 am »
However it gives me 48 credits?

How do i fix?
Divide by 4.8  :uglystupid2:

Offline jdv

Re: SMFShop 3.0 now out!
« Reply #23 on: January 19, 2007, 09:56:07 am »
what?

Im being serious. Need help please so credits are correct.

-----------

Does previous items on this site made by others work in 3.0? I noted the change primary member group was not coming up, but was still an item in the shop item folder on my site but not coming up when i click add/edit.
« Last Edit: January 19, 2007, 10:37:41 am by jdv »

Lucid_Dream

  • Guest
Re: SMFShop 3.0 now out!
« Reply #24 on: January 19, 2007, 10:42:49 am »
Updated perfectly for me, great job

Offline jdv

Re: SMFShop 3.0 now out!
« Reply #25 on: January 19, 2007, 11:01:37 am »
Lucid help. See my post above yours. Sure you can help, as you know how it works? Is something wrong with my code?

Thanks in advance.

jd

Lucid_Dream

  • Guest
Re: SMFShop 3.0 now out!
« Reply #26 on: January 19, 2007, 11:05:22 am »
will have a proper look at it but as a quick solution you could try having the per word bonus set to .25 .  I'm sure daniel will have a solution for it.

Offline Daniel15

Re: SMFShop 3.0 now out!
« Reply #27 on: January 19, 2007, 11:21:34 am »
jdv, the shop code is in your Post.php file 4 times. Try the attached Post.php file, it should solve your problem.

Quote
It only goes to zero. Would be cool if they could go negative
They can't go negative, because I've set up the database fields as unsigned (this means that the range is from 0 upwards, and doesn't include negative numbers). If you want people's credits to go negative, you can edit the field in phpMyAdmin. Open the smf_members database in Structure view, and find the money field. Edit it and remove the 'UNSIGNED' attribute.

Quote
Does previous items on this site made by others work in 3.0?
Yeah, they'll work fine... SMFShop items are backwards compatible. There's a few extra settings in 3.0, which you'll find by looking at the test items.

Quote
Maybe credit for making a post with attachment? Just ideas.
That's an idea, I'll consider it :)

Lucid_Dream

  • Guest
Re: SMFShop 3.0 now out!
« Reply #28 on: January 19, 2007, 11:23:28 am »
see daniel to the rescue

Offline jdv

Re: SMFShop 3.0 now out!
« Reply #29 on: January 19, 2007, 11:34:16 am »
the post.txt works. but i tried this.

i made a post and it gave me 11 credits like it should of. i went and deleted the post and it only took away 5 credits and left me with the 6.

is it still giving me credits for the words posted, but only took away the post credit?