

mathius
Members-
Content count
52 -
Joined
-
Last visited
Everything posted by mathius
-
Hi Jack, Thanks for this it works mint, I had the same issue as above, I installed 1.4 and ran the sitemap_seo_install.php it seems to be missing: heading_title VARCHAR (40) NOT NULL DEFAULT 'Site Map', heading_sub_text TEXT NOT NULL, The sql script worked fine.
-
How can I get the prices to display with two different sized fonts ie $129.95
-
Is there anyway to make this apply to only product_listing.php and product_info.php? I have seen other sites using images for pricing instead of text does anyone know what contribution does this?
-
Legend! will try this now... what are they worth?
-
How much would it cost to get this done? cheers
-
Hi, unfortunately my cURL skills are <0 Is it possible to use the following page with this contribution? http://www.nzpost.co.nz/Cultures/en-NZ/Onl...d=wl247878410nz
-
Same problem here, I have been searching for weeks for a solution....
-
Ok after many late nights slowly restoring my site to stock Ive narrowed it down to header.php heres my header.php can anyone see anything obvious? <?php /* $Id: header.php,v 1.42 2003/06/10 18:20:38 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 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'); } ?> <div id="STOREWIDTH"> <table width="99%" border="0" cellpadding="0" cellspacing="0" align="center" background="#ffffff"> <tr> <td valign="top" background="images/header/left.gif"> </td> <td width="100%"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr class="header"> <td valign="middle" height="67"> <?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'logo.png', 'tronix.co.nz') . '</a>'; ?></td> <td align="center" valign="middle"><?php if ($banner = tep_banner_exists('dynamic', '468x50')) { echo tep_display_banner('static', $banner); } ?></td> <td align="right" valign="bottom"><?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"><a href="java script:window.external.AddFavorite(location.href,document.title);" class="headerNavigation"><?php echo BOX_HEADER_ADDFAVORITE; ?></a> </td> </tr> <tr class="headerNavigation"> <td class="headerNavigation" align="left" ><span style="font-weight:normal;font-family:Arial"> <?php echo tep_draw_form('search', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get') . tep_draw_hidden_field('search_in_description','1') . tep_draw_input_field('keywords', '', 'size="15" maxlength="30" style="width: ' . (BOX_WIDTH-15) . 'px"') . ' ' . tep_draw_pull_down_menu('categories_id', tep_get_categories(array(array('id' => '', 'text' => BOX_ALL_CATEGORIES)))) . '' . tep_hide_session_id() . tep_image_submit('button_search.gif', IMAGE_BUTTON_SEARCH, 'align="middle"') . tep_draw_hidden_field('inc_subcat', '1', true) . '</form>'; ?></span></td> <td class="headerNavigation" align="right" ><?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></td> <td background="images/header/right.gif"> </td> </tr> <tr> <td align="right" valign="top"><img src="images/header/lower_left.gif" alt="2" width="5" height="5" /></td> <td valign="top" background="images/header/bot.gif"><img src="images/header/bot.gif" alt="3" width="3" height="5" /></td> <td align="left" valign="top"><img src="images/header/lower_right.gif" alt="2" width="6" height="5" /></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(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($HTTP_GET_VARS['info_message']); ?></td> </tr> </table> <?php } ?>
-
Apache/2.2.3 (Debian) PHP/4.4.7 Its weird If I refresh the whos online page constantly occasionally it will show the correct url only if the page is still loading on the clients browser if I refresh again once its finished loading it goes straight back to "/" Any suggestions appreciated cheers
-
not really I have ultimate seo urls installed and a few other mods, the server is running in safe mode
-
only pop up pages or pages Ive added myself such as www.store.com/dynamicsitemap.php or www.store.com/enquire.php are displayed correctly, Store urls are showing only as / ie index.php, product_info.php etc Ive attached a pic I can only see what bots are viewing, I have prevented sessions for bots, any customer using cookies shows only as / Any help would be appreciated, I have been searching for days for a solution?
-
Hi Steve thanks for yoru reply I checked with phpmyadmin and the whos_online table displays / also, If I refresh phpmyadmin while a customer is loading a page it dispays the correct url, once the page has loaded it goes back to / again this only happens if a customer uses cookies. If I disable cookies by deleting define('HTTP_COOKIE_DOMAIN') and define('HTTP_COOKIE_PATH') in my configure.php whos_online LAST URL works fine.
-
EDIT *this only happens if the customer IS using cookies, If they have oscid in their URL it functions fine.... /EDIT
-
Ive installed Who's online enhancement 3.52, for some reason when a customer is using cookies the Last URL only shows as / if I constantly refresh it will show the Last URL only while the page is loading on the clients browser. if the customer is idleand I refresh the admin>whos online page the last url goes back to / this only happens if the customer isnt using cookies, If they have oscid in their URL it functions fine.... any help would be appreciated
-
Hi Jack, As far as I can tell, The PER ITEM option has been removed from PayPal Website Payments Standard (PayPal IPN) due to problems.
-
Id like to know how to do this also, ive made a duplicate of contact_us.php and named it popup_contact_us.php and removed the header, footer, left and right columns. so now when I go to www.domain.com/popup_contact_us.php all I get is a bare email form. Id like to use this with the ask as question mod and also have it as a popup window
-
How to integrate OSC Plus Highslide popup contribution
mathius replied to Morgan^'s topic in General Add-Ons Support
. -
How to integrate OSC Plus Highslide popup contribution
mathius replied to Morgan^'s topic in General Add-Ons Support
Im wanting to use highslide with ultrapics, I am able to use either one or the other, Not both. I think the two together would be the ultimate images mod, Is what Im asking possible? the add-on Im wanting to use is the 2.04 non light box version of ultrapics Ultrapics contribution 2.04 and this Highslide for product_info.php I can get as far as installing Ultrapics, but get stuck trying to add the highslide script into the modified product_info.php here is the code im trying to add 3. remove these lines for the picture (ca line 110): CODE <?php script language="javascript"><!-- document.write('<?php echo '<a href="java script:popupWindow('' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id']) . '')">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>'); //--></script> <noscript> <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . ' " target="_blank">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?> </noscript> replace with: CODE <?php echo '<a id="thumb'.$listing['products_id'].'" class="highslide" onclick="return hs.expand(this);" href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . ' ">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?> The modified section of product_info.php Im wanting to add the highslide code into <!-- // BOF MaxiDVD: Modified For Ultimate Images Pack! //--> <?php if ($product_info['products_image_med']!='') { $new_image = $product_info['products_image_med']; $image_width = MEDIUM_IMAGE_WIDTH; $image_height = MEDIUM_IMAGE_HEIGHT; } else { $new_image = $product_info['products_image']; $image_width = SMALL_IMAGE_WIDTH; $image_height = SMALL_IMAGE_HEIGHT;}?> <script language="javascript"><!-- document.write('<?php echo '<a href="java script:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id'] . 'ℑ=0') . '\\\')">' . tep_image(DIR_WS_IMAGES . $new_image, addslashes($product_info['products_name']), $image_width, $image_height, 'hspace="5" vspace="5"') . '<br>' . tep_image_button('image_enlarge.gif', TEXT_CLICK_TO_ENLARGE) . '</a>'; ?>'); //--></script> <noscript> <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image_med']) . '">' . tep_image(DIR_WS_IMAGES . $new_image . 'ℑ=0', addslashes($product_info['products_name']), $image_width, $image_height, 'hspace="5" vspace="5"') . '<br>' . tep_image_button('image_enlarge.gif', TEXT_CLICK_TO_ENLARGE) . '</a>'; ?> </noscript> <!-- // EOF MaxiDVD: Modified For Ultimate Images Pack! //--> Can anyone please help, Ive been trying for about 4 days now -
Hi I have managed to get graphical borders working on my site, All the infoboxes exept the RSS News addon is displaying the borders correctly heres the code my site is http://members.tronix.co.nz/catalog/index.php any help would be appreciated thanks <?php /* $Id: rss_news.php,v 0.9 2003/02/10 22:31:00 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url] Copyright © 2003 osCommerce Released under the GNU General Public License AZER changé FILENAME_RSS to FILENAME_RSS_NEWS pour compatibilité */ ?> <!-- rss_news //--> <tr> <td> <?php include(DIR_WS_CLASSES . '/' . FILENAME_LAST_RSS); $info_box_contents = array(); $info_box_contents[] = array('text' => BOX_HEADING_RSS_NEWS); new infoBoxHeading($info_box_contents, false, false); $info_box_contents = array(); // Create lastRSS object $rss = new lastRSS; // Set cache dir and cache time limit (minimum 1200 seconds) // (don't forget to chmod cache dir to 777 to allow writing) $rss->cache_dir = './rsscache'; $rss->cache_time = 3600; ?> <table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents"> <tr> <td></td> </tr> <tr> <td class="infoBoxContents"> <marquee direction="up" height="150" scrollAmount="2" onMouseover="scrollAmount=0" onMouseout="scrollAmount=2"> <?php if ($rs = $rss->get(AZER_RSSNEWS_URL)) { // todosih mettre en variable foreach($rs['items'] as $item) { echo "<br><FONT SIZE=1><b><a href=\"$item[link]\" target=\"_blank\" > ".$item['title']."</b> </a><br/>".$item['description']."</br>\n"; } } ?> </marquee> </td> </tr> <tr> <td align="center"><?php echo '<a href="' . tep_href_link(FILENAME_RSS_NEWS) . '">' . tep_image(DIR_WS_IMAGES . 'xml_rss2.png', 'RSS') . '</a>'; ?></td> </tr> </table> </td> </tr> </table> </td> </tr> <!-- rss_news_eof //--> /