Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#493 2010-07-09 10:57:18

Bijay
Member
Registered: 2010-07-02
Posts: 17

Re: yab_shop (simple textpattern shop with paypal support)

Great brother’s … i really love this this plugins.. Cheer’s.

Offline

#494 2010-07-11 09:57:02

nardo
Member
From: tuvalahiti
Registered: 2004-04-22
Posts: 743

Re: yab_shop (simple textpattern shop with paypal support)

trenc – possible to have more than one promo code?

Offline

#495 2010-07-12 09:09:34

trenc
Plugin Author
From: ⛵️, currently Göteborg, SE
Registered: 2008-02-27
Posts: 574
Website GitHub

Re: yab_shop (simple textpattern shop with paypal support)

Hi nardo,

no sorry, multiple promo codes are not supported.


Digital nomad, sailing the world on a sailboat: 32fthome.com

Offline

#496 2010-07-19 14:30:39

saccade
Plugin Author
From: Neubeuern, Germany
Registered: 2004-11-05
Posts: 521

Re: yab_shop (simple textpattern shop with paypal support)

Hi trenc, great plugin, but I ran into a similar (or the same) problem as in post #463 here:

There is an error message in test-mode which says “site_slogan” is an “unknown column”. This is the same as in #463 where “timezone_key” was unknown.

Maybe this has something to do with the number of custom_fields?
(I mean: the plugin must get the timezone_key and the site_slogan from somewhere. These are existent fields, maybe perhaps the plugin fetches some field from somewhere with an offset dependent on used/existent custom fields).
I have added some over the 10 built in (using glz_customfields).
Maybe this explains why here it is “site_slogan” instead of “timezone_key”?

The error doesn’t appear in individual articles but only when the add-tag is in article-lists.
And: The error is thrown the same number of times as articles with an add-tag are in the list.

Last edited by saccade (2010-07-19 14:33:49)

Offline

#497 2010-07-20 11:40:34

Nathanael_mc
Member
From: Liverpool
Registered: 2010-06-16
Posts: 20

Re: yab_shop (simple textpattern shop with paypal support)

saccade wrote:

Hi trenc, great plugin, but I ran into a similar (or the same) problem as in post #463 here:

There is an error message in test-mode which says “site_slogan” is an “unknown column”. This is the same as in #463 where “timezone_key” was unknown.

Maybe this has something to do with the number of custom_fields?
(I mean: the plugin must get the timezone_key and the site_slogan from somewhere. These are existent fields, maybe perhaps the plugin fetches some field from somewhere with an offset dependent on used/existent custom fields).
I have added some over the 10 built in (using glz_customfields).
Maybe this explains why here it is “site_slogan” instead of “timezone_key”?

The error doesn’t appear in individual articles but only when the add-tag is in article-lists.
And: The error is thrown the same number of times as articles with an add-tag are in the list.

Hey saccade i had a similar problem, what you need to do is insure that under the admin tab- preferences, that a suitable time zone is selected from the drop down menu. and in the box above you have a site slogan entered. i hope this helps.

Offline

#498 2010-07-20 11:47:19

saccade
Plugin Author
From: Neubeuern, Germany
Registered: 2004-11-05
Posts: 521

Re: yab_shop (simple textpattern shop with paypal support)

Hi Nathanael,

thanks for this help.

Indeed “Slogan” has been empty, timezone was set. So I filled Slogan.
Funny though: Now the message says:

Fehler im Tag: <txp:yab_shop_add /> -> Textpattern Warning: Unknown column ‘spam_blacklists’ in ‘field list’
select custom_15 as property_1, spam_blacklists as property_2, spam_blacklists as property_3 from neu_textpattern as textpattern where ID = 3 on line 85
Fehler im Tag: <txp:yab_shop_add /> -> Textpattern Warning: Unknown column ‘spam_blacklists’ in ‘field list’
select custom_15 as property_1, spam_blacklists as property_2, spam_blacklists as property_3 from neu_textpattern as textpattern where ID = 4 on line 85

Last edited by saccade (2010-07-20 11:47:43)

Offline

#499 2010-07-21 20:50:46

Nathanael_mc
Member
From: Liverpool
Registered: 2010-06-16
Posts: 20

Re: yab_shop (simple textpattern shop with paypal support)

ive never had that error before.

have a look at your custom fields and make sure that you havn’t got anything called spam blacklists in them. make sure you check in yab shop preferences, yab shop L10n and in admin, preferences, advanced.

then make sure that in admin, preferences, advanced, “Spam blacklists (comma-separated)” has this in it- sbl.spamhaus.org

im really not too sure but just check to see if that works.

Offline

#500 2010-07-21 20:54:31

Nathanael_mc
Member
From: Liverpool
Registered: 2010-06-16
Posts: 20

Re: yab_shop (simple textpattern shop with paypal support)

hi trenc,

i was wondering is there anyway to have an image change a custom field? for example if one of my custom property fields is color instead of using a drop down box to select the color the client can click an image which would change the color??

Offline

#501 2010-07-22 08:55:42

trenc
Plugin Author
From: ⛵️, currently Göteborg, SE
Registered: 2008-02-27
Posts: 574
Website GitHub

Re: yab_shop (simple textpattern shop with paypal support)

Hi Michael,

There is an error message in test-mode which says “site_slogan” is an “unknown column”. This is the same as in #463 where “timezone_key” was unknown.

Maybe this has something to do with the number of custom_fields?
(I mean: the plugin must get the timezone_key and the site_slogan from somewhere. These are existent fields, maybe perhaps the plugin fetches some field from somewhere with an offset dependent on used/existent custom fields).
I have added some over the 10 built in (using glz_customfields).
Maybe this explains why here it is “site_slogan” instead of “timezone_key”?

The error doesn’t appear in individual articles but only when the add-tag is in article-lists.
And: The error is thrown the same number of times as articles with an add-tag are in the list.

I had some testings on my own hostings, but I can’t reproduce this errors. But thanks for the tip with the article list. This gives me a clue where to begin an deeper investigation.
I also dally with the idea of a complete code rewrite to a more atomic and isolated oo code. Meanwhile the increased code looks very ugly and it’s hard to maintain. After a month of not looking into the code seems to be written from another person. :/


Digital nomad, sailing the world on a sailboat: 32fthome.com

Offline

#502 2010-07-22 09:00:00

trenc
Plugin Author
From: ⛵️, currently Göteborg, SE
Registered: 2008-02-27
Posts: 574
Website GitHub

Re: yab_shop (simple textpattern shop with paypal support)

Hi Nathanael,

i was wondering is there anyway to have an image change a custom field? for example if one of my custom property fields is color instead of using a drop down box to select the color the client can click an image which would change the color??

The shop can’t do this. But i can imagine this could work with some jQuery voodoo.


Digital nomad, sailing the world on a sailboat: 32fthome.com

Offline

#503 2010-07-22 20:45:08

Nathanael_mc
Member
From: Liverpool
Registered: 2010-06-16
Posts: 20

Re: yab_shop (simple textpattern shop with paypal support)

cheers trence, think i might have to do that voodoo or at least try.

Offline

#504 2010-07-22 20:51:34

Nathanael_mc
Member
From: Liverpool
Registered: 2010-06-16
Posts: 20

Re: yab_shop (simple textpattern shop with paypal support)

i know this is probably not the place to ask this but, how do i put an swf file up on my site? Like so when someone opens the page the file loads and plays the content?

Offline

Board footer

Powered by FluxBB