Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Cafe Press Store Add-On Details »»
Cafe Press Store Add-On
Version: 1.01, by Creed Creed is offline
Developer Last Online: May 2006 Show Printable Version Email this Page

Version: 3.0.6 Rating:
Released: 01-29-2005 Last Update: 01-29-2005 Installs: 35
Template Edits
Additional Files  
No support by the author.

This add-on will allow you to add all the items from any of your Cafe Press store's or multiples if you so choose. If you have multiple stores you are going to use, make sure you separate each store name with a comma.

This add-on works with Cafe Press basic store, as well as with premium stores.

One Template to add.
One file to upload.
One (optional) Template Edit.

See it in use here

I will support this add-on the best I can, its very simple so there shouldn't really be any questions. I did not write the script to include the items. The javascript was written by scanman20@hotmail.com. I just edited the script to work with vbulletin, and added and templates to make the modification to add this to your forums.

As always, click install if you use. I'll keep you updated if I change anything

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 03-22-2005, 02:20 AM
Skaterscafe.com Skaterscafe.com is offline
 
Join Date: Mar 2004
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Strange, I copied the stor ename from Cafepress just like it's listed and nothing shows up, just a blank page.
Reply With Quote
  #53  
Old 03-22-2005, 02:41 AM
Creed's Avatar
Creed Creed is offline
 
Join Date: May 2002
Location: The Matrix
Posts: 281
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You did create a new template called

CAFEPRESS

right?
Reply With Quote
  #54  
Old 03-22-2005, 05:36 AM
Skaterscafe.com Skaterscafe.com is offline
 
Join Date: Mar 2004
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #55  
Old 03-22-2005, 06:07 AM
Creed's Avatar
Creed Creed is offline
 
Join Date: May 2002
Location: The Matrix
Posts: 281
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great! Glad you got it working.
Reply With Quote
  #56  
Old 03-24-2005, 04:17 AM
flamyngo flamyngo is offline
 
Join Date: Mar 2005
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

excellent mod thanks a lot!
Reply With Quote
  #57  
Old 04-23-2005, 01:46 PM
SuperGLS SuperGLS is offline
 
Join Date: Nov 2004
Posts: 126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, easy and great hack.
Reply With Quote
  #58  
Old 04-23-2005, 03:32 PM
Harley D's Avatar
Harley D Harley D is offline
 
Join Date: Jan 2003
Location: WagnerTech.net
Posts: 266
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #59  
Old 04-23-2005, 03:50 PM
Harley D's Avatar
Harley D Harley D is offline
 
Join Date: Jan 2003
Location: WagnerTech.net
Posts: 266
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
Reply With Quote
  #60  
Old 04-25-2005, 06:09 PM
YLP1 YLP1 is offline
 
Join Date: Aug 2004
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #61  
Old 05-03-2005, 06:00 PM
Creed's Avatar
Creed Creed is offline
 
Join Date: May 2002
Location: The Matrix
Posts: 281
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:35 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.04954 seconds
  • Memory Usage 2,311KB
  • Queries Executed 28 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete