Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Guarantee seal Contribution


oldmen47

Recommended Posts

:-"

Somebody know how I cann install this Contribution Error/Free

Guarantee seal Contribution: http://addons.oscommerce.com/info/4471..

 

How to install this add-on?

 

1- copy guarantee_seal.php to: catalog\includes\boxes\

 

2- add this line to catalog\includes\languages\english.php

 

// Guarantee Verified Box

define ('GUARANTEE_HEADER', 'Guarantee');

 

4- In column left or right add the following to where you want to show the box.

 

include(DIR_WS_BOXES . 'Guarantee_seal.php');

 

That's all!!!

 

 

 

in step #4 I get the error:

 

Warning: include(includes/boxes/Guarantee_seal.php) [function.include]: failed to open stream: No such file or directory in /home/gisellst/public_html/includes/column_right.php on line 12

 

Warning: include(includes/boxes/Guarantee_seal.php) [function.include]: failed to open stream: No such file or directory in /home/gisellst/public_html/includes/column_right.php on line 12

 

Warning: include() [function.include]: Failed opening 'includes/boxes/Guarantee_seal.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/gisellst/public_html/includes/column_right.php on line 12

 

Please Help Me!

Link to comment
Share on other sites

Try changing this:

 

include(DIR_WS_BOXES . 'Guarantee_seal.php');

to

 

include(DIR_WS_BOXES . 'guarantee_seal.php');

Filenames are case sensitive in the UNIX environment,

:blush:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Try changing this:

 

include(DIR_WS_BOXES . 'Guarantee_seal.php');

to

 

include(DIR_WS_BOXES . 'guarantee_seal.php');

Filenames are case sensitive in the UNIX environment,

:blush:

 

"Uacala". Best to the Best. "Is Work...."

 

 

I'd also like to know how I cann move the Go Daddy seal that's on the center Top of my page,

and insert it above where I currently have my shopping cart column on the right side column of my page

so it is parallel to the buysafe bonded logo in the left column.

 

Visit My Website

 

I've done some research on how to make these changes but I have not been able to find the instructions.

This is all I need to complete my store.

 

Go Daddy script:

<script id="siteSeal" type="text/javascript" src="//tracedseals.starfieldtech.com/siteseal/get?scriptId=siteSeal&sealId=###################"></script>

 

Your help is really appreciated.

Link to comment
Share on other sites

"Uacala". Best to the Best. "Is Work...."

 

 

I'd also like to know how I cann move the Go Daddy seal that's on the center Top of my page,

and insert it above where I currently have my shopping cart column on the right side column of my page

so it is parallel to the buysafe bonded logo in the left column.

 

Visit My Website

 

I've done some research on how to make these changes but I have not been able to find the instructions.

This is all I need to complete my store.

 

Go Daddy script:

<script id="siteSeal" type="text/javascript" src="//tracedseals.starfieldtech.com/siteseal/get?scriptId=siteSeal&sealId=###################"></script>

 

Your help is really appreciated.

 

This is the Guarantee seal Script:

 

$content='<!-- Begin Guarantee Seal --><script id="siteSeal" type="text/javascript" src="//tracedseals.starfieldtech.com/siteseal/get?scriptId=siteSeal&sealId=b7b02c2eb42a8649b3a43f1e4092a6328d5ed7158b5777eaa76b4054b2036430"></script><!-- End Official Guarantee Seal -->';

Link to comment
Share on other sites

Put the code towrds the top of /includes/column_right,php, just BEFORE the code for your "Guarantee box" like this:

 

$content='<!-- Begin Guarantee Seal --><script id="siteSeal" type="text/javascript" src="//tracedseals.starfieldtech.com/siteseal/get?scriptId=siteSeal&sealId=b7b02c2eb42a8649b3a43f1e4092a6328d5ed7158b5777eaa76b4054b2036430"></script><!-- End Official Guarantee Seal -->';

echo '<tr><td align="center">' . $content . '</td></tr>';

You should backup the file before making any edits.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

This is the Guarantee seal Script:

 

$content='<!-- Begin Guarantee Seal --><script id="siteSeal" type="text/javascript" src="//tracedseals.starfieldtech.com/siteseal/get?scriptId=siteSeal&sealId=b7b02c2eb42a8649b3a43f1e4092a6328d5ed7158b5777eaa76b4054b2036430"></script><!-- End Official Guarantee Seal -->';

 

public_html//includes/boxes

 

<?php

/*

Guarantee Seal Box By: zhexiang

 

osCommerce

http://www.oscommerce.com/

 

Copyright © 2000,2001 osCommerce

 

Released under the GNU General Public License

 

*/

?>

<!-- Guarantee Seal Info Box //-->

<tr>

<td>

<?php

 

{

 

$info_box_contents = array();

$info_box_contents[] = array('align' => 'left', 'text' => GUARANTEE_HEADER );

new infoBoxHeading($info_box_contents, false, false);

 

$info_box_contents = array();

$content='<!-- Begin Guarantee Seal --><img src="/images/guarantee.jpg" border="0" alt="100% Customer Satisfaction Guaranteed"><!-- End Official Guarantee Seal -->';

 

$info_box_contents[] = array('text' => $content);

 

new infoBox($info_box_contents);

}

?>

</td></tr>

Link to comment
Share on other sites

Put the code towrds the top of /includes/column_right,php, just BEFORE the code for your "Guarantee box" like this:

 

$content='<!-- Begin Guarantee Seal --><script id="siteSeal" type="text/javascript" src="//tracedseals.starfieldtech.com/siteseal/get?scriptId=siteSeal&sealId=b7b02c2eb42a8649b3a43f1e4092a6328d5ed7158b5777eaa76b4054b2036430"></script><!-- End Official Guarantee Seal -->';

echo '<tr><td align="center">' . $content . '</td></tr>';

You should backup the file before making any edits.

 

 

I inserted the code where you indicated, but it just duplicated the go daddy logo in the header.

Please visit my store so you can see what I mean. Visit My Website

Link to comment
Share on other sites

Put the code towrds the top of /includes/column_right,php, just BEFORE the code for your "Guarantee box" like this:

 

$content='<!-- Begin Guarantee Seal --><script id="siteSeal" type="text/javascript" src="//tracedseals.starfieldtech.com/siteseal/get?scriptId=siteSeal&sealId=b7b02c2eb42a8649b3a43f1e4092a6328d5ed7158b5777eaa76b4054b2036430"></script><!-- End Official Guarantee Seal -->';

echo '<tr><td align="center">' . $content . '</td></tr>';

You should backup the file before making any edits.

Re read what I posted.

 

If it ended up in the header, you put the code in the wrong file.

:huh:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Re read what I posted.

 

If it ended up in the header, you put the code in the wrong file.

:huh:

 

 

Sorry. is in the rigth place:

<?php

/*

$Id: column_right.php 1739 2007-12-20 00:52:16Z hpdl $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

$content='<!-- Begin Guarantee Seal --><script id="siteSeal" type="text/javascript" src="//tracedseals.starfieldtech.com/siteseal/get?scriptId=siteSeal&sealId=b7b02c2eb42a8649b3a43f1e4092a6328d5ed7158b5777eaa76b4054b2036430"></script><!-- End Official Guarantee Seal -->';

 

echo '<tr><td align="center">' . $content . '</td></tr>';

include(DIR_WS_BOXES . 'guarantee_seal.php');

 

require(DIR_WS_BOXES . 'shopping_cart.php');

 

if (isset($HTTP_GET_VARS['products_id'])) include(DIR_WS_BOXES . 'manufacturer_info.php');

 

if (tep_session_is_registered('customer_id')) include(DIR_WS_BOXES . 'order_history.php');

 

if (isset($HTTP_GET_VARS['products_id'])) {

if (tep_session_is_registered('customer_id')) {

$check_query = tep_db_query("select count(*) as count from " . TABLE_CUSTOMERS_INFO . " where customers_info_id = '" . (int)$customer_id . "' and global_product_notifications = '1'");

$check = tep_db_fetch_array($check_query);

if ($check['count'] > 0) {

include(DIR_WS_BOXES . 'best_sellers.php');

} else {

include(DIR_WS_BOXES . 'product_notifications.php');

}

} else {

include(DIR_WS_BOXES . 'product_notifications.php');

}

} else {

include(DIR_WS_BOXES . 'best_sellers.php');

}

 

if (isset($HTTP_GET_VARS['products_id'])) {

if (basename($PHP_SELF) != FILENAME_TELL_A_FRIEND) include(DIR_WS_BOXES . 'tell_a_friend.php');

} else {

include(DIR_WS_BOXES . 'specials.php');

}

 

require(DIR_WS_BOXES . 'reviews.php');

 

if (substr(basename($PHP_SELF), 0, 8) != 'checkout') {

include(DIR_WS_BOXES . 'languages.php');

include(DIR_WS_BOXES . 'currencies.php');

}

 

?>

Link to comment
Share on other sites

Looks right to me.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

I could be wrong, but it looks like the code you're putting in the right column for the GoDaddy doo-dad isn't the same code you put in the header for the same thing.

:blush:

 

That's why it's not showing.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

I could be wrong, but it looks like the code you're putting in the right column for the GoDaddy doo-dad isn't the same code you put in the header for the same thing.

:blush:

 

That's why it's not showing.

 

Position description.

I delete from all the file and trie put in the footer :same problem, goin to the header.

Delete again and trie to put from the barnner in the footer,goin again to the header.

Go daddy make me ????????????

Link to comment
Share on other sites

Position description.

I delete from all the file and trie put in the footer :same problem, goin to the header.

Delete again and trie to put from the barnner in the footer,goin again to the header.

Go daddy make me ????????????

 

Guarantee Seal Code:

 

$content='<!-- Begin Guarantee Seal --><img src="/images/guarantee.jpg" border="0" alt="100% Customer Satisfaction Guaranteed"><!-- End Official Guarantee Seal -->';

 

 

Go Daddy Seal Code:

 

<script id="siteSeal" type="text/javascript" src="//tracedseals.starfieldtech.com/siteseal/get?scriptId=siteSeal&sealId=b7b02c2eb42a8649b3a43f1e4092a6328d5ed7158b5777eaa76b4054b2036430"></script>

 

Code is not Same!

Link to comment
Share on other sites

Kinda' what I noticed...

:blush:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Kinda' what I noticed...

:blush:

 

Dont give up,please. I dont know english that much & I ve been trying to finish My store for the past 6 months and this is all that im missing.

I ve read all your POST and you're one of the best.

Thanks for all you help.

Link to comment
Share on other sites

<?php
/*
$Id: column_right.php 1739 2007-12-20 00:52:16Z hpdl $

osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com

Copyright © 2003 osCommerce

Released under the GNU General Public License
*/

?>

<tr><td align="center">
<script id="siteSeal" type="text/javascript" src="//tracedseals.starfieldtech.com/siteseal/get?scriptId=siteSeal&sealId=b7b02c2eb42a8649b3a43f1e4092a6328d5ed7158b5777eaa76b4054b2036430"></script>
</td></tr>

<?php

include(DIR_WS_BOXES . 'guarantee_seal.php');

Make the top part of column_right look like that.

 

BACKUP THE FILE FIRST!

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

<?php
/*
$Id: column_right.php 1739 2007-12-20 00:52:16Z hpdl $

osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com

Copyright © 2003 osCommerce

Released under the GNU General Public License
*/

?>

<tr><td align="center">
<script id="siteSeal" type="text/javascript" src="//tracedseals.starfieldtech.com/siteseal/get?scriptId=siteSeal&sealId=b7b02c2eb42a8649b3a43f1e4092a6328d5ed7158b5777eaa76b4054b2036430"></script>
</td></tr>

<?php

include(DIR_WS_BOXES . 'guarantee_seal.php');

Make the top part of column_right look like that.

 

BACKUP THE FILE FIRST!

Same: Can you make alignment closet to the other SSL Seal? I quit!

Link to comment
Share on other sites

So what does your /includes/column_right look like now?

:unsure:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

So what does your /includes/column_right look like now?

:unsure:

<?php

/*

$Id: column_right.php 1739 2007-12-20 00:52:16Z hpdl $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

?>

 

<tr><td align="center">

<script id="siteSeal" type="text/javascript" src="//tracedseals.starfieldtech.com/siteseal/get?scriptId=siteSeal&sealId=b7b02c2eb42a8649b3a43f1e4092a6328d5ed7158b5777eaa76b4054b2036430"></script>

</td></tr>

 

<?php

 

include(DIR_WS_BOXES . 'guarantee_seal.php');

 

require(DIR_WS_BOXES . 'shopping_cart.php');

 

if (isset($HTTP_GET_VARS['products_id'])) include(DIR_WS_BOXES . 'manufacturer_info.php');

 

if (tep_session_is_registered('customer_id')) include(DIR_WS_BOXES . 'order_history.php');

 

if (isset($HTTP_GET_VARS['products_id'])) {

if (tep_session_is_registered('customer_id')) {

$check_query = tep_db_query("select count(*) as count from " . TABLE_CUSTOMERS_INFO . " where customers_info_id = '" . (int)$customer_id . "' and global_product_notifications = '1'");

$check = tep_db_fetch_array($check_query);

if ($check['count'] > 0) {

include(DIR_WS_BOXES . 'best_sellers.php');

} else {

include(DIR_WS_BOXES . 'product_notifications.php');

}

} else {

include(DIR_WS_BOXES . 'product_notifications.php');

}

} else {

include(DIR_WS_BOXES . 'best_sellers.php');

}

 

if (isset($HTTP_GET_VARS['products_id'])) {

if (basename($PHP_SELF) != FILENAME_TELL_A_FRIEND) include(DIR_WS_BOXES . 'tell_a_friend.php');

} else {

include(DIR_WS_BOXES . 'specials.php');

}

 

require(DIR_WS_BOXES . 'reviews.php');

 

if (substr(basename($PHP_SELF), 0, 8) != 'checkout') {

include(DIR_WS_BOXES . 'languages.php');

include(DIR_WS_BOXES . 'currencies.php');

}

 

?>

Link to comment
Share on other sites

Check your /includes/header.php

 

I think there's some left over Godaddy site seal code in it.

 

Remove it.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Check your /includes/header.php

 

I think there's some left over Godaddy site seal code in it.

 

Remove it.

<?php

/*

$Id: header.php 1739 2007-12-20 00:52:16Z hpdl $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

// check if the 'install' directory exists, and warn of its existence

if (WARN_INSTALL_EXISTENCE == 'true') {

if (file_exists(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/install')) {

$messageStack->add('header', WARNING_INSTALL_DIRECTORY_EXISTS, 'warning');

}

}

 

// check if the configure.php file is writeable

if (WARN_CONFIG_WRITEABLE == 'true') {

if ( (file_exists(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) && (is_writeable(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) ) {

$messageStack->add('header', WARNING_CONFIG_FILE_WRITEABLE, 'warning');

}

}

 

// check if the session folder is writeable

if (WARN_SESSION_DIRECTORY_NOT_WRITEABLE == 'true') {

if (STORE_SESSIONS == '') {

if (!is_dir(tep_session_save_path())) {

$messageStack->add('header', WARNING_SESSION_DIRECTORY_NON_EXISTENT, 'warning');

} elseif (!is_writeable(tep_session_save_path())) {

$messageStack->add('header', WARNING_SESSION_DIRECTORY_NOT_WRITEABLE, 'warning');

}

}

}

 

// check session.auto_start is disabled

if ( (function_exists('ini_get')) && (WARN_SESSION_AUTO_START == 'true') ) {

if (ini_get('session.auto_start') == '1') {

$messageStack->add('header', WARNING_SESSION_AUTO_START, 'warning');

}

}

 

if ( (WARN_DOWNLOAD_DIRECTORY_NOT_READABLE == 'true') && (DOWNLOAD_ENABLED == 'true') ) {

if (!is_dir(DIR_FS_DOWNLOAD)) {

$messageStack->add('header', WARNING_DOWNLOAD_DIRECTORY_NON_EXISTENT, 'warning');

}

}

 

if ($messageStack->size('header') > 0) {

echo $messageStack->output('header');

}

?>

<table border="0" width="100%" cellspacing="0" cellpadding="0">

<tr class="header">

<td align="left" valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'gisell logo1.bmp', 'Gisell Store') . '</a>'; ?></td>

 

 

 

<td align="right"><span id="siteseal"><script src="https://seal.godaddy.com/getSeal?sealID=120485443604c246eb212711e1ddf4d2b17dce0626124180" type="text/javascript"></script></span><br/><?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_account.gif', HEADER_TITLE_MY_ACCOUNT) . '</a>  <a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '">' . tep_image(DIR_WS_IMAGES . 'header_cart.gif', HEADER_TITLE_CART_CONTENTS) . '</a>  <a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_CHECKOUT) . '</a>'; ?>  </td>

</tr>

</table>

<table border="0" width="100%" cellspacing="0" cellpadding="1">

<tr class="headerNavigation">

<td class="headerNavigation">  <?php echo $breadcrumb->trail(' » '); ?></td>

<td align="right" class="headerNavigation"><?php if (tep_session_is_registered('customer_id')) { ?><a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_LOGOFF; ?></a>  |  <?php } ?><a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a>  |  <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a>  |  <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CHECKOUT; ?></a>   </td>

</tr>

</table>

<?php

if (isset($HTTP_GET_VARS['error_message']) && tep_not_null($HTTP_GET_VARS['error_message'])) {

?>

<table border="0" width="100%" cellspacing="0" cellpadding="2">

<tr class="headerError">

<td class="headerError"><?php echo htmlspecialchars(stripslashes(urldecode($HTTP_GET_VARS['error_message']))); ?></td>

</tr>

</table>

<?php

}

 

if (isset($HTTP_GET_VARS['info_message']) && tep_not_null($HTTP_GET_VARS['info_message'])) {

?>

<table border="0" width="100%" cellspacing="0" cellpadding="2">

<tr class="headerInfo">

<td class="headerInfo"><?php echo htmlspecialchars(stripslashes(urldecode($HTTP_GET_VARS['info_message']))); ?></td>

</tr>

</table>

<?php

}

 

?>

 

 

This is the other Seal SSL in the right header

Link to comment
Share on other sites

I don't have a clue.

 

I'd say somewhere along the line you've messed up the code for the seal in the header or the one you're trying to put in the right column.

 

I can't see anything else.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...