vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Integration with vBulletin - Cafe Press reloaded (https://vborg.vbsupport.ru/showthread.php?t=195858)

aproape 12-18-2008 07:52 PM

Hi there EagleNick!

Quote:

Originally Posted by EagleNick (Post 1685239)
Thanks for the help. Here is the URL: http://lineolatedparakeet.net/forums/shop.php

Also, for some reason, It is displaying the prices in CAD for me... How do I switch it to USD? When I go directly to my CafePress store, the prices are in USD just fine.
:confused:

Thanks again.

Is your board/website hosted on a Canadian server or with a Canadian provider? That's the reason [mainly] why the cafepress store displays in CAD.. cafepress.com looks up the IP where the requests come from and tries to match your 'local' currency..


Cheers,
aproape

aproape 12-18-2008 07:53 PM

Hi there repairman jack,

Quote:

Originally Posted by repairman jack (Post 1685425)
Is there a way to configure the style? The forum I moderate has a narrower forum (80%) and because of this the Cafe Press doesn't look proper. Can I widen just this specific forum without affecting my entire board?

I think this question should be addressed to a designer.. there are no templates in this mod so you have to either:

1. Modify the style for that forum [or somehow adapt it when someone enters the store]

2. Adjust the design elements from the module so that they fit in your narrow 80% style..

Hope this helps.


Cheers,
aproape

aproape 12-18-2008 07:55 PM

Hi there v12kid,

Quote:

Originally Posted by v12kid (Post 1683867)
hmm..didn't change anything except upload the new shop.php

any guidance on how to fix it?

thanks

You could re-download the entire package and look for the files' path - and compare with what you have.

The css file should be in the proper place according to the archive location.. make sure you have the same directory structure on your board.


Cheers,
aproape

EagleNick 12-19-2008 12:10 PM

Quote:

Originally Posted by aproape (Post 1688212)
Hi there EagleNick!



Is your board/website hosted on a Canadian server or with a Canadian provider? That's the reason [mainly] why the cafepress store displays in CAD.. cafepress.com looks up the IP where the requests come from and tries to match your 'local' currency..


Cheers,
aproape

Ahh, yes that is the problem ;)

Is there a way you can add a currency selector? My members are all from various countries around the world.

aproape 12-20-2008 03:29 PM

Hi there EagleNick!

Quote:

Originally Posted by EagleNick (Post 1688703)
Ahh, yes that is the problem ;)

Is there a way you can add a currency selector? My members are all from various countries around the world.

Unless cafepress.com is offering it on the same page - we can't do much there.. we pull the content/page entirely from cafepress and don't alter it in any way -

The CAD pricing is automatically done by cafepress based on the IP that made the request.. if you can find anything that allows currency selector on their site we can take a look..

[another solution would be for you to set-up a US-based proxy in-between your server and cafepress.. but that's a bit more complicated and prone to errors unless you have full control/know the person/company behind it/etc]

Of course - all the above unless you wants to move your hosting provider with a US ip : )


Cheers,
aproape

iogames 12-20-2008 03:32 PM

Hi Aproape...

Where do I change the metatag?

http://chat.iogames.com/shop.php

MikeHolohan 12-23-2008 02:48 PM

Works very well, thanks for the update...

Mike.

Jman423 12-27-2008 04:54 PM

I'm having two problems:

My footer on the shop.php is messed up as opposed to other pages, but on the product pages, it looks fine.

And when I click a different size of shirt that has an additional cost, the price reverts to the original price without the markup and adds the additional cost to that instead.

I also seem to have odd placement of the View Cart button, but I think that may be due to setup of my template.

Unfortunately, I don't have the credentials to the store yet, so I can't check any settings on the CafePress side. I should have access from the organizer of the store soon.

http://forums.trailvoy.com/shop.php

Saviour 12-28-2008 09:46 PM

back to top link works in IE, but not FF.

In addition, when using IE, when the shop.php page loads, the products are not displayed correctly. If you visit my shop located at http://www.glitchpc.com/forums/shop.php using both IE and FF...just scroll down the page and you'll see where there are spaces between products.

Seems to me we have some coding issues with this mod as it is not compatible with all of the major browsers.

Is this being worked on? If not, I'm going to have to uninstall this mod and just direct visitors to the CafePress online store.

Thanks for a great mod, though...if you can get the kinks worked out of it. If you do, you should test it with all major browsers, IE, FF, Opera, Safari, etc., etc.

Digital Jedi 12-29-2008 12:14 AM

It's not just a FireFox issue, my store does the same thing in IE. It's probably some conflicting CSS between forum skins and CafePress, which means it probably has to be worked out on an individual basis.

Saviour 12-29-2008 12:38 AM

Would be nice if we could get it sorted, though.

I use two skins...the default and one I use from vbskinworks. No matter which style is used, the results are the same as I have posted previously.

Digital Jedi 12-29-2008 03:10 AM

What I'm suggesting though, is if it's conflict between CafePress' CSS and our skins, then it's likely that each of us will have to sort the problems on a case by case basis.

Saviour 12-29-2008 03:45 AM

Oh...of course...I understood. I just wanted to make sure all of the skins were producing the same issues.

Digital Jedi 12-29-2008 07:19 AM

Quote:

Originally Posted by Saviour (Post 1696090)
Oh...of course...I understood. I just wanted to make sure all of the skins were producing the same issues.

I went through and edited, really, just removed some things. I think the problem is some areas were being too specific, when your forum is going to have different formatting for such areas. I also added a height element to the product DIV containers, as they seemed to be causing the spacing issue between items. If an item name was longer then the one next to it, the container would stretch a little farther down and push it's way into the row below it. The next row would then just skip the area where an above item was pushing down, and you'd get a "gap" when that happened.

Give this CSS file a try. Replace the cafe_press.css file in your clientscript/cafe_press/free_shop folder.

Saviour 12-29-2008 11:34 AM

Okay, we seem to have a winner with the new css for the free shop. That's solved the spacing issue with the IE browser.

However, I still have an issue when it comes to the "back to top" link in Firefox. It works in IE, though.

Thanks for the fix DJ...

Digital Jedi 12-29-2008 03:33 PM

It seems that there's no top anywhere in the page for #top to go to. I think the only reason it's working in IE, if I'm not mistaken, is because the # symbol sends you to the top of the page anyway.

Saviour 12-29-2008 04:17 PM

So would this change be implemented on the shop.php file?

Thanks for the help, by the way...much appreciated.

Jman423 12-31-2008 11:32 PM

Quote:

Originally Posted by Jman423 (Post 1694901)
I'm having two problems:

My footer on the shop.php is messed up as opposed to other pages, but on the product pages, it looks fine.

And when I click a different size of shirt that has an additional cost, the price reverts to the original price without the markup and adds the additional cost to that instead.

I also seem to have odd placement of the View Cart button, but I think that may be due to setup of my template.

Unfortunately, I don't have the credentials to the store yet, so I can't check any settings on the CafePress side. I should have access from the organizer of the store soon.

http://forums.trailvoy.com/shop.php


Have you had a chance to look at my issues by chance?

EDIT: I found that when clicking "Keep Shopping" once you add something to your cart, you get an error and nothing happens. I don't remember anyone mentioning this yet, so sorry if someone did. And by altering the URL, I was able to get the footer working properly. If I just call /shop.php instead of /shop.php?item=Trailvoy1, the footer is messed up. I hope this helps someone.

Thank you, and Happy New Year :)

Bro_Joey_Gowdy 01-01-2009 03:27 AM

*installed*

Works fine with vB3.8.0rc1

:cool:

Digital Jedi 01-01-2009 06:42 AM

Quote:

Originally Posted by Jman423 (Post 1698221)
Have you had a chance to look at my issues by chance?

Did you try my CSS file a few posts back?

Quote:

Originally Posted by Saviour (Post 1696503)
So would this change be implemented on the shop.php file?

Thanks for the help, by the way...much appreciated.

I didn't get a chance to look, but I get the feeling it's pulled from CafePress. Been jumping around all over the place trying to get multiple things done. Haven't seemed to get any one thing finished.

Jman423 01-01-2009 09:12 PM

Quote:

Originally Posted by Digital Jedi (Post 1698366)
Did you try my CSS file a few posts back?


I didn't get a chance to look, but I get the feeling it's pulled from CafePress. Been jumping around all over the place trying to get multiple things done. Haven't seemed to get any one thing finished.

Yes I did, no luck.

My biggest problem is the pricing. When the user clicks on a different size for a shirt, the price looses the markup then adds the up-charge. That and the error when trying to "Keep Shopping" from the CafePress cart are preventing me from making this live.

Thank you

Saviour 01-07-2009 09:39 AM

Digital Jedi...

If you're listening, LOL! I've found another problem within this mod. It tends to break W3C's XHTML validation for the following reason:

Quote:

Line 568, Column 22: document type does not allow element "style" here .

<style type="text/css">



The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).

One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
The problem occurs when you go to my shop page, located at http://www.glitchpc.com/forums/shop.php and try to validate through W3C's validation service.

Is there any way we can get this fixed?

Upon looking at the shop.php file I find the following:

Code:

echo "<style type=\"text/css\">\n";
        echo ".head {font-weight: bold; font-size: 1.5em}\n";
        echo "</style>\n";

This seems to be where the culprit lies.

Thanks for looking...

Saviour 01-07-2009 10:03 AM

Update...

Well, I decided to edit the shop.php file and removed the above "style" code. Re-uploaded the shop.php file to the server and checked for validation.

It passed...Woo-hoo! Apparently...this little fix resulted in no issues with the functionality of this mod. Everything seems to be working fine.

So, Digital Jedi...if anyone is experiencing the same problem with W3C validation, they may want to incorporate this little fix, or the coder may want to revamp the shop.php file to include this...just a thought.

Thanks, again, for looking...

Digital Jedi 01-07-2009 06:45 PM

I got the page to vaildate a completely different way, but it escapes at the moment what it is I did. I really need to start keeping change logs.

JimmiOO 01-08-2009 05:18 PM

I have installed it and it works ok when i use http://www.cafepress.com/CNDS as the store id

I have created my own free shop and its looks like i have added products but it not showing products when i change the CNDS to my own id.

Any ideas?

mousegeek 01-08-2009 06:53 PM

I must be doing something wrong. I have the latest version of PHP and MY SQL and I keep getting this error:

Warning: preg_replace() [function.preg-replace]: Unknown modifier '/' in [path]/shop.php on line 325

Warning: preg_replace() [function.preg-replace]: Unknown modifier '/' in [path]/shop.php on line 327

Warning: preg_replace() [function.preg-replace]: Unknown modifier '/' in [path]/shop.php on line 328




What does this mean and how do I fix this?

JimmiOO 01-08-2009 06:59 PM

I have sussed out my problerm with the products not showing.

How you you go about sorting the currency? at the moment it shows A£ and not £

JimmiOO 01-08-2009 09:34 PM

Also is there any way you can just sell the products without having to add a logo for print

Digital Jedi 01-08-2009 11:16 PM

Quote:

Originally Posted by JimmiOO (Post 1705602)
Also is there any way you can just sell the products without having to add a logo for print

Don't add a logo?

Jman423 01-09-2009 01:33 AM

I had to uninstall this. I can't sell anything if the prices won't remain correct.

It is a nice mod, thank you for taking the time to work on it.

JimmiOO 01-09-2009 10:46 AM

Quote:

Originally Posted by Digital Jedi (Post 1705728)
Don't add a logo?


I will try again tonight, im sure i tried that and then got a pic with a product with no logo just a white bitwhere the logo should go.

Anyone got info on how to change the currence from A? to ?

Digital Jedi 01-09-2009 04:29 PM

Have you tried uploading a transparent image?

The price appears to be determined by the servers location.

JimmiOO 01-11-2009 05:40 PM

Quote:

Originally Posted by Digital Jedi (Post 1706487)
Have you tried uploading a transparent image?

The price appears to be determined by the servers location.


Yep sussed it out thanks, only thing left is the A infront of the ? , anyone know how to fix this?

mousegeek 01-15-2009 04:47 PM

Wait I think I may know whats wrong im operateing my vB at 3.7.2 will that be a factor with this mod?

JimmiOO 01-15-2009 05:03 PM

Quote:

Originally Posted by mousegeek (Post 1713582)
Wait I think I may know whats wrong im operateing my vB at 3.7.2 will that be a factor with this mod?


Im using 3.7.2 and its all fine apart from the A? instead of ?

iogames 01-19-2009 10:27 PM

Can you check mine APROAPE?

http://chat.iogames.com/shop.php

1. Can't find where to change the repeated Metatag
2. How do I solve the problem of the dark background
3. jCarousel sometimes fails

Can you?

Digital Jedi 01-20-2009 05:25 AM

1. Do you mean you page title? The title of every page in your forum will always begin with IOGAMES:, but you've also named your shop .:IOGAMES:. Gear in the Admin CP. So the two names are being put back to back.

2. Whatever your using to set the transparency on your tables is set way to high, so white areas are having trouble showing. Try to see if you can set it a little lower.

iogames 01-21-2009 11:36 PM

Thaaaaaaaaaanks!

Saviour 01-21-2009 11:52 PM

Are we going to see a version of this for vB 3.8?

mousegeek 01-21-2009 11:59 PM

Well then thats weird cause ive even re-loaded thism od and im still getting this:

Warning: preg_replace() [function.preg-replace]: Unknown modifier '/' in [path]/shop.php on line 325

Warning: preg_replace() [function.preg-replace]: Unknown modifier '/' in [path]/shop.php on line 327

Warning: preg_replace() [function.preg-replace]: Unknown modifier '/' in [path]/shop.php on line 328


All times are GMT. The time now is 01:24 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01449 seconds
  • Memory Usage 1,841KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete