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 (https://vborg.vbsupport.ru/showthread.php?t=182424)

Dylanblitz 07-18-2008 04:45 PM

What theme are you using? If it's a free one from here I'll download it and see what's going on with it.

yachtjim 07-19-2008 06:16 PM

I had a custom one made.

Dylanblitz 07-20-2008 03:39 AM

I think it's something with your style. It runs fine in the stock style.

alishahbazi 07-22-2008 01:38 PM

hi , all Dear Friend.
I Download This MODS in LocalHost but this Mosd

https://vborg.vbsupport.ru/external/2008/07/27.jpg

Please Help me

THX

Dylanblitz 07-22-2008 03:24 PM

Quote:

Originally Posted by alishahbazi (Post 1581414)
hi , all Dear Friend.
I Download This MODS in LocalHost but this Mosd

Please Help me

THX

Download the changed one I just uploaded. You don't need to reimport the xml, it hasn't changed since 2.0.3, just do a file change of the shop.php.

tpearl5 07-22-2008 04:57 PM

I am getting the following on shop.php after installing:
Code:

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

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

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


Dylanblitz 07-22-2008 05:06 PM

Quote:

Originally Posted by tpearl5 (Post 1581548)
I am getting the following after installing:
Code:

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

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

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


What's your store id?

tpearl5 07-22-2008 05:25 PM

Quote:

Originally Posted by Dylanblitz (Post 1581554)
What's your store id?

cellphoneforums

This page to be specific: cellphoneforums.net/shop.php

Dylanblitz 07-22-2008 06:14 PM

Quote:

Originally Posted by tpearl5 (Post 1581576)
cellphoneforums

This page to be specific: cellphoneforums.net/shop.php

Did you import the xml file?
It's running fine on my local machine and live server with your id.

http://www.cnd-systems.com/support/forums/shop.php

tpearl5 07-22-2008 07:25 PM

Yeh, it was imported and everything is setup in the admincp. I think it may have something to do with vbseo, not sure yet.

Dylanblitz 07-22-2008 07:36 PM

Quote:

Originally Posted by tpearl5 (Post 1581680)
Yeh, it was imported and everything is setup in the admincp. I think it may have something to do with vbseo, not sure yet.

Is vbseo a free hack from here? If it is I'll install it and test.
The reason I asked about the install is because the lines that errored are the only lines that use the store id variable. It's like it's not seeing that variable. I just checked again and it is picking up the store name variable, weird.

tpearl5 07-22-2008 08:36 PM

No, it's not free.

However, I hard coded my store id into store.php and it seems to be working now. *shrug. Looks like $vbulletin->options['cafepressstoreid']; wasn't being passed for some reason.

tpearl5 07-22-2008 09:19 PM

now, how to make the background white? :)

Dylanblitz 07-22-2008 09:43 PM

Quote:

Originally Posted by tpearl5 (Post 1581793)
now, how to make the background white? :)

It uses the forum style for it's background. For your shop, I think you could edit line 297 from
echo "<td valign=\"top\">\n";
to be
echo "<td valign=\"top\" bgcolor="#FFFFFF">\n";

and it should work.

aproape 08-07-2008 05:30 AM

Hi there Dylanblitz!

Thanks for this upgrade - wonderful add-on!

One observation though - after using it for about 5 minutes.. if you click on the LINK of the product [NOT the product image] - the target is the cafepress site..

I thought you might want to know and replace that to always show the same site not cafepress :-)

[at least not until checkout etc]

Cheers,
aproape

Dylanblitz 08-07-2008 05:43 AM

Quote:

Originally Posted by aproape (Post 1593148)
Hi there Dylanblitz!

Thanks for this upgrade - wonderful add-on!

One observation though - after using it for about 5 minutes.. if you click on the LINK of the product [NOT the product image] - the target is the cafepress site..

I thought you might want to know and replace that to always show the same site not cafepress :-)

[at least not until checkout etc]


Cheers,
aproape

Good catch, I'll have to fix that one heh

PGAmerica 08-08-2008 04:25 PM

OK, I got this installed. I have a basic shop for now. When I run it, I get the following error:

Warning: fclose(): supplied argument is not a valid stream resource in [path]/shop.php on line 211

Ideas?

Dylanblitz 08-08-2008 05:07 PM

Quote:

Originally Posted by PGAmerica (Post 1594149)
OK, I got this installed. I have a basic shop for now. When I run it, I get the following error:

Warning: fclose(): supplied argument is not a valid stream resource in [path]/shop.php on line 211

Ideas?


Hmm only thing it's doing at 211 is closing the connection after the initial connection to cafe press. Can you send me the shop page link and your store id so I can test further?

PGAmerica 08-08-2008 06:59 PM

Quote:

Originally Posted by Dylanblitz (Post 1594171)
Hmm only thing it's doing at 211 is closing the connection after the initial connection to cafe press. Can you send me the shop page link and your store id so I can test further?

Well, I don't even pretend to understand this programming thing. I can follow instructions tho.

My like is at http://www.hidingplace.com/forums/shop.php
ID is hidingplaceshop

PGAmerica 08-08-2008 07:00 PM

Weird. I just loaded the page again and now it is working.

It is breaking the style tho. How do I fix that?

Tharos 08-08-2008 08:34 PM

Very nice, and it is perfect for a business website

Dylanblitz 08-08-2008 09:05 PM

Quote:

Originally Posted by PGAmerica (Post 1594243)
Weird. I just loaded the page again and now it is working.

It is breaking the style tho. How do I fix that?

Your logo is taking only one table cell and it's pushing everything else to the right. Try using this one, should work for you better.

PGAmerica 08-08-2008 09:28 PM

Sweet! It is perfect now. Thank you so much!

Now if only I can get CafePress to lower their prices so I can lower mine. Lol. Like that's going to happen.

BTW, are you planning on adding more features? I would love to see an option to show the store categories on the first page and then have an option to show all. Then I can build a drop-down menu with an option for each of my stores or categories.

Maybe even an option to have multiple stores.

AuroraStorm 08-08-2008 09:30 PM

This would be really cool to have if I wanted to sell, oh let's just say...grown up stuff... :D

PGAmerica 08-08-2008 09:31 PM

I just noticed another problem. Goto http://www.hidingplace.com/forums/sh...shop.292652450 and see for yourself. Everything is whacked, but only in one of my styles.

If you don't see what I am referring too, look at the attachment.

Melissa Miller 08-10-2008 03:32 PM

Im getting this same error also. In more than one style.
Warning: fclose(): supplied argument is not a valid stream resource in [path]/shop.php on line 211

PGAmerica 08-10-2008 04:04 PM

Quote:

Originally Posted by Melissa Miller (Post 1595537)
Im getting this same error also. In more than one style.
Warning: fclose(): supplied argument is not a valid stream resource in [path]/shop.php on line 211

Try the shop.php file that was provided to me in post #142

That solved my problem. I am still having another layout issue on one style tho.

Melissa Miller 08-10-2008 08:37 PM

I uploaded that file and get the same error. I actually tried it before I posted, then just tried it a second time. :(

Normally I can fix minor things, but I don't have a clue what this error means or how to fix it.

Dylanblitz 08-10-2008 11:28 PM

Quote:

Originally Posted by Melissa Miller (Post 1595758)
I uploaded that file and get the same error. I actually tried it before I posted, then just tried it a second time. :(

Normally I can fix minor things, but I don't have a clue what this error means or how to fix it.

On like 202 can you remove the @ so the line reads

$socket = fsockopen("www.cafepress.com", 80, $errno, $errstr);

Run it like that and see if it gives you an error.
Also, can you send me the link to your shop script and the shop id. PM or reply on here with it so I can troubleshoot more.

PGAmerica 08-12-2008 03:29 AM

Quote:

Originally Posted by PGAmerica (Post 1594329)
I just noticed another problem. Goto http://www.hidingplace.com/forums/sh...shop.292652450 and see for yourself. Everything is whacked, but only in one of my styles.

If you don't see what I am referring too, look at the attachment.

Is there any answer to my problem?

Dylanblitz 08-12-2008 03:36 AM

Sorry about that, didn't see that post. It's gotta be something in the style, because it works fine in the default style. I'll try and trace it down and exclude it in the code :)

SouthpawK 08-14-2008 06:29 AM

This is great!

One question...does it work with vbadvanced?

Zacarias 08-14-2008 01:28 PM

Awesome, working perfectly.

If anyone is having style problems, your designer has not designed your skin properly.

Phooey 08-16-2008 05:42 PM

Awesome mod, thanks so much!

rinkrat 08-16-2008 07:59 PM

Installed in 60 seconds. Great job.

steveninstl 08-19-2008 04:56 AM

When I use this with the present style (facebook advanced) the store appears at the bottom of the page.

Dylanblitz 08-19-2008 07:49 AM

Quote:

Originally Posted by steveninstl (Post 1602062)
When I use this with my present style (facebook advanced) the store appears at the bottom of the page.

Can you give me a link to the shop.php on your server and your store id?

KenDude 08-19-2008 06:21 PM

I installed this today and the graphic image for more colors is showing up as a red x because it is trying to pull it from my site as opposed to pulling it from Cafe Press. I will send you a link to my shop.php file and the store id to troubleshoot if possible.

steveninstl 08-21-2008 12:10 AM

Quote:

Originally Posted by Dylanblitz (Post 1602144)
Can you give me a link to the shop.php on your server and your store id?

http://www.pimpmyberry.com/shop.php

steveninstl 08-23-2008 04:56 PM

Any idea?


All times are GMT. The time now is 07:54 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.02188 seconds
  • Memory Usage 1,823KB
  • 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
  • (2)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