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-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?


All times are GMT. The time now is 11:58 AM.

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.01267 seconds
  • Memory Usage 1,740KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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