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)

Skaterscafe.com 03-22-2005 02:20 AM

Strange, I copied the stor ename from Cafepress just like it's listed and nothing shows up, just a blank page.

Creed 03-22-2005 02:41 AM

You did create a new template called

CAFEPRESS

right?

Skaterscafe.com 03-22-2005 05:36 AM

Well I figured it out....duh...

When it said the store name I added the name I gave the store, didn't realize it needed the name of the store that followed the cafepress.com url. It's working great now.

Creed 03-22-2005 06:07 AM

Great! Glad you got it working.

flamyngo 03-24-2005 04:17 AM

excellent mod thanks a lot!

SuperGLS 04-23-2005 01:46 PM

Thanks, easy and great hack.

Harley D 04-23-2005 03:32 PM

Quote:

Originally Posted by Creed
Fixed...well sort of. You can replace the CAFEPRESS template with the one provided in the attached text file Now, if you have custom header and footer templates this will remove those...as there is a problem with the $show['oldexplorer'] variable and this script. I'll work on that, but in the mean time you can use the attached template for immediate fix.

I HACKED at this until I found a fix.

using the IE fix TXT on post#44, find and replace this text
Code:

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
        <td align="$stylevar[left]"><a href="$vboptions[forumhome].php?$session[sessionurl]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
        <td align="$stylevar[right]">
                &nbsp;

With the actual HEADER code from the same skin thats holds the CAFEPRESS template your editing.
as an example, I copied the portion of my HEADER template, and used it to replace the above code.

Code:

<!-- logo -->
<a name="top"></a>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td background="Bilder2/Unbenannt-1_02.gif" width="100%" /></td>
  </tr>
</table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><center><img src="$vboptions[bburl]/Bilder2/Unbenannt-1_03.gif" width="99%" height="82" /></center></td>
  </tr>
</table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><img src="$vboptions[bburl]/Bilder2/Unbenannt-1_14.gif" width="100%"></td>
  </tr>
</table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><img src="$vboptions[bburl]/Bilder2/Unbenannt-1_15.gif"></td>
        <td bgcolor="#FFFFFF" width="100%"></td>
        <td><img src="$vboptions[bburl]/Bilder2/Unbenannt-1_17.gif"></td>
  </tr>
</table>

Its actually everything in the HEADER template ABOVE the
"<!--
NEW HEADER &amp; NAVBAR" statement.

Now remember, You will have to edit each CAFEPRESS template with each skins HEADER template accordingly.

Works great for me! I hope it helps everyone else.

Harley D 04-23-2005 03:50 PM

Now to add your custom footer.

Using the same txt file in post#44, that you have edited per instructions in the above post.

Remove this
Code:

<br />
<div class="smallfont" align="center">$vbphrase[all_times_are_gmt_x_time_now_is_y]</div>
<br />

And REPLACE everything below this
Code:

        </td></tr></table>
<else />
                </div>       
        </div>
</div>

With your FOOTER template code for that skin.

This worked on at least 5 different custom templates, with no problems.

I'm no coder, Just keep that in mind.


Use at you own risk!! Make backups!! :lick:

YLP1 04-25-2005 06:09 PM

This should work for me but it isn't.

My storeid is YourLincolnPark.com
My url to the store is: http://www.cafepress.com/yourlincolnpark

I have tried both in the script but I keep getting a blank page.

Any help is appreciated in getting this to work.

Creed 05-03-2005 06:00 PM

You need to make sure you replace "yourstorename" with "yourlincolnpark" as it appears at the end of the cafe press url.


All times are GMT. The time now is 06:49 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.01103 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
  • (4)bbcode_code_printable
  • (1)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
  • (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