vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Cafe Press Store Add-On (https://vborg.vbsupport.ru/showthread.php?t=75397)

Acedeal 07-15-2005 06:08 AM

Quote:

Originally Posted by CrazyLady
ok, I opened a test shop with ONE item, and the page loaded with the item, great! Now I adjusted the shop.php back with my regular cafe press shop, which has 29 items so far, and nothing showed between the header and footer. Could the amount of items not be compatible with your mod? Could the fact that my store was created a long time ago have anything to do with it? thanx

Items should not have an affect on this-
we had over 300 items at 1 time using this same code on phpbb.

Quote:

YLP1 I am having the exact same issue as Crazylady....I am running version 3.0.7

Here is the url to my store page within VB:http://www.yourlincolnpark.com/lpsforum/shop.php?
did you get this fixed?
i put your store name in my shop.php and works great
http://www.dow-gamers.net/vb/shop.php

your shop.php should look like this
Code:

$start = '<!-- Start Main Content -->';
$end = '<!-- End Content, Start Footer Include -->';
$stores = 'yourlincolnpark'; //EDIT THIS VARIABLE TO BE A LIST OF YOUR STORES
$url = 'http://www.cafepress.com/';
$item = $_GET['item'];

worked both in IE in Firefox, so it's something you did not copy and paste on the install

Acedeal 07-15-2005 06:36 AM

Quote:

Originally Posted by Big Kahuna
Installed -- and it works great (Clicking Installed)

I have multiple stores -- can it append two of the stores on one screen -- and if so how.

Thanx for a great hack

BK

yes

edit this line in your shop.php
Code:

$stores = 'yourlincolnpark,dow_gamers'; //EDIT THIS VARIABLE TO BE A LIST OF YOUR STORES
add as many stores are you want, just sepperate with ,

look here and you'll see images from both stores
http://www.dow-gamers.net/vb/shop.php
one from that linkpark place and one from my site-

Just FYI,
the first name that you put on the above line is what's going to display on your pages ie
$stores = 'yourlincolnpark,dow_gamers'; will pull all the main info from yourlincolnpark and fill out your template with that.

aranthorn 07-20-2005 08:08 PM

Quote:

Originally Posted by Acedeal
:(
Code:

* CafePress Modification for phpbb
* -------------------
* begin : 1 December 2002
* copyright : (C) 2002 Edward Polack
* email : pollix@drunksquids.com
* original author : Jack Keller (cell7.org) as a stand alone for his site.
*
* $Id: cafepress.php

this hack's been around a long time :)

cafepress will randomly change their pages so that stores will not load off-site-
see my post here
http://www.phpbbhacks.com/forums/viewtopic.php?t=36899


and here


yea yea, former phpbb user for over 5 years :) just changed to vb about a week ago-
Just be aware that cafepress changes their code on thier pages to that you'll have to re-do this mod every couple months-
(at least they were changing it every couple months in 2003/2004)

Has anyone who's installed this mod had this happen yet? It's been a few months...

mattyk72 09-05-2005 03:31 AM

I keep getting a blank page

hbalagh1 09-22-2005 12:48 AM

I have this installed as seen here

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

but i hate how it gives a horizontle scroll bar in 1024x768 resolution (as ive noticed on others forums that have listed theirs here) I am wondering how would we fix this....

boatswife 09-27-2005 04:49 PM

Quote:

Originally Posted by michael5472
Thanks for the Hack but i have updated your install instructions to what i have done as it makes it soooo much easier to install for newbies :)

I hope this is ok :nervous:

Thank you, the name was the first thing that got me.....everything else went smoothly.

sinner 10-04-2005 06:38 PM

Like many others, I followed the instructions perfectly (both the original ones and the updated ones on page 5 of this thread) but the page still comes up blank. Is anyone still supporting this?

Ninth Dimension 10-08-2005 03:34 PM

Quote:

Originally Posted by sinner
Like many others, I followed the instructions perfectly (both the original ones and the updated ones on page 5 of this thread) but the page still comes up blank. Is anyone still supporting this?

I had this problem, it's because I had called the template 'cafepress' not 'CAFEPRESS' - edit the template name and it should work for you (not sure what the instructions on page 5 say, going to look now).

sinner 10-08-2005 04:12 PM

Quote:

Originally Posted by Ninth Dimension
I had this problem, it's because I had called the template 'cafepress' not 'CAFEPRESS' - edit the template name and it should work for you (not sure what the instructions on page 5 say, going to look now).

Thanks for the info man, but alas that was not the problem. Looks like I'm calling the proper template to begin with so it's got to be something else. This is really becoming a bit frustrating. LOL

funinthesun 11-21-2005 08:45 AM

Can someone update this for 3.5 please? :D


All times are GMT. The time now is 02:34 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.01140 seconds
  • Memory Usage 1,749KB
  • 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
  • (3)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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