Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Backcountry_Surfer

Members
  • Content count

    29
  • Joined

  • Last visited

2 Followers

Profile Information

  • Real Name
    Danny

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Backcountry_Surfer

    Need Help Installing and Using Easy Populate

    Don't know if anyones following this thread still? Maybe I keep hitting the wrong discussion or I have looked too hard and long and have temporary osc blindness but, if anyone knows if the latest version of this contrib works with v2.2 rc2 I would appreciate the heads up. Thanks
  2. Backcountry_Surfer

    [Contribution] Cross Sell (X-Sell) Admin

    Does this work with v2.2rc2a or does anyone know which version does? Thanks
  3. Backcountry_Surfer

    ULTIMATE Seo Urls 5 - by FWR Media

    Really back-tracked now, found some of the original code from a year ago still embedded from the Chemo version USU v1.0 Must of just left that in there for a laugh? I know you said it shouldn't make a difference but, something is wrong so I have tried flushing out all of that code and I found the seo_cache, install-seo and reset_seo_cache php files still in there! Oh well - gone now. Just the 5 images to delete as well from the image folder to with that contribution. Now, when I look at my admin it still reads: SEO URLs Enable SEO URLs? Choose URL Type Cache Directory Compress SEO Cache File How come this is still there? where would that be to delete? Danny
  4. Backcountry_Surfer

    ULTIMATE Seo Urls 5 - by FWR Media

    Thanks for the lightning response. I think I will have to back track all I have done this time round and double check although I am certain I made no mistakes this time round? I tried as you suggested to close all browsers etc (on 3 different computers) with no luck?! Totally baffled ... Before I start all that, could it be anything else at all that maybe causing some kind of conflict? I know its virtually impossible for you to just pluck out a solution to any and all problems that may occur but, seeing as this should have deleted any old version I just dont know where to start? Thanks Danny
  5. Backcountry_Surfer

    ULTIMATE Seo Urls 5 - by FWR Media

    Right - Here we go ... Finished installation with no errors this time. However when I go into my admin panel my SEO URLs looks different to the operation file included? Mine reads: SEO URLs Enable SEO URLs? Choose URL Type Cache Directory Compress SEO Cache File whereas the instructions show: SEO URLs 5 Enable SEO URLs Enable the cache Enable multi language support Output W3C valid URIs Select your chosen cache system ... etc etc and so on So I cant follow the settings? What am I missing? Whats my name? and where can I procure a new brain to figure this out? or am I being a doofus? (these are all Rhetorical of course) After seeing what I did wrong last time I have to say that although this is not working for me it was such an easy to follow contrib. Now it could be that when I first started this online shop a long long time ago when my coding skills where even less than I know now, I may have tried an old version but couldn't get it to work which was the case so many times back then. So I may have left something from that contrib? Help me FWR Canobi, your my only hope! Thanks in advance for any light you can shed on the matter! Cheers Danny
  6. Backcountry_Surfer

    ULTIMATE Seo Urls 5 - by FWR Media

    Thought this was going to be a breeze by the instructions but got an error during step 4! Typical ... Im on a windows IIS server if that helps. When i looked through the code on my side and compared it to the install instructions i noticed a slight difference my code looks like the following: //// // The HTML href link wrapper function function tep_href_link($page = '', $parameters = '', $connection = 'NONSSL', $add_session_id = true, $search_engine_safe = true) { global $request_type, $session_started, $SID; $seo = ( defined('SEO_URLS') ? SEO_URLS : false ); $seo_rewrite_type = ( defined('SEO_URLS_TYPE') ? SEO_URLS_TYPE : false ); $seo_pages = array('index.php', 'product_info.php'); if ( !in_array($page, $seo_pages) ) $seo = false; if (!tep_not_null($page)) { die('</td></tr></table></td></tr></table><br><br><font color="#ff0000"><b>Error!</b></font><br><br><b>Unable to determine the page link!<br><br>'); } if ($page == '/') $page = ''; if ($connection == 'NONSSL') { $link = HTTP_SERVER . DIR_WS_HTTP_CATALOG; $seo_link = HTTP_SERVER . DIR_WS_HTTP_CATALOG; $seo_rewrite_link = HTTP_SERVER . DIR_WS_HTTP_CATALOG; } elseif ($connection == 'SSL') { if (ENABLE_SSL == true) { $link = HTTPS_SERVER . DIR_WS_HTTPS_CATALOG; $seo_link = HTTPS_SERVER . DIR_WS_HTTPS_CATALOG; $seo_rewrite_link = HTTPS_SERVER . DIR_WS_HTTPS_CATALOG; } else { $link = HTTP_SERVER . DIR_WS_HTTP_CATALOG; $seo_link = HTTP_SERVER . DIR_WS_HTTP_CATALOG; $seo_rewrite_link = HTTP_SERVER . DIR_WS_HTTP_CATALOG; } } else { die('</td></tr></table></td></tr></table><br><br><font color="#ff0000"><b>Error!</b></font><br><br><b>Unable to determine connection method on a link!<br><br>Known methods: NONSSL SSL</b><br><br>'); } if (tep_not_null($parameters)) { $link .= $page . '?' . tep_output_string($parameters); $separator = '&'; # Start exploding the parameters to extract the values # Also, we could use parse_str($parameters) and would probably be more clean if ($seo == 'true'){ $p = explode('&', $parameters); krsort($p); $params = array(); if ( $seo_rewrite_type == 'Rewrite' ){ foreach ($p as $index => $valuepair) { $p2 = explode('=', $valuepair); switch ($p2[0]){ case 'products_id': $rewrite_product = true; if ( defined('PRODUCT_NAME_'.$p2[1]) ){ $rewrite_page_product = constant('PRODUCT_NAME_'.$p2[1]) . '-p-' . $p2[1] . '.html'; } else { $seo = false; } break; case 'cPath': $rewrite_category = true; if ( defined('CATEGORY_NAME_'.$p2[1]) ){ $rewrite_page_category = constant('CATEGORY_NAME_'.$p2[1]) . '-c-' . $p2[1] . '.html'; } else { $seo = false; } break; default: $params[$p2[0]] = $p2[1]; break; } # switch } # end foreach $params_stripped = implode_assoc($params); switch (true){ case ( $rewrite_product && $rewrite_category ): case ( $rewrite_product ): $rewrite_page = $rewrite_page_product; $rewrite_category = false; break; case ( $rewrite_category ): $rewrite_page = $rewrite_page_category; break; default: $seo = false; break; } #end switch true $seo_rewrite_link .= $rewrite_page . ( tep_not_null($params_stripped) ? '?'.tep_output_string($params_stripped) : '' ); $separator = ( tep_not_null($params_stripped) ? '&' : '?' ); } else { foreach ($p as $index => $valuepair) { $p2 = explode('=', $valuepair); switch ($p2[0]){ case 'products_id': if ( defined('PRODUCT_NAME_'.$p2[1]) ){ $params['pName'] = constant('PRODUCT_NAME_'.$p2[1]); } else { $seo = false; } break; case 'cPath': if ( defined('CATEGORY_NAME_'.$p2[1]) ){ $params['cName'] = constant('CATEGORY_NAME_'.$p2[1]); } else { $seo = false; } break; default: $params[$p2[0]] = $p2[1]; break; } # switch } # end foreach $params_stripped = implode_assoc($params); $seo_link .= $page . '?'.tep_output_string($params_stripped); $separator = '&'; } # end if/else } # end if $seo } else { $link .= $page; $separator = '?'; $seo = false; } # end if(tep_not_null($parameters) while ( (substr($link, -1) == '&') || (substr($link, -1) == '?') ) $link = substr($link, 0, -1); // Add the session ID when moving from different HTTP and HTTPS servers, or when SID is defined if ( ($add_session_id == true) && ($session_started == true) && (SESSION_FORCE_COOKIE_USE == 'False') ) { if (tep_not_null($SID)) { $_sid = $SID; } elseif ( ( ($request_type == 'NONSSL') && ($connection == 'SSL') && (ENABLE_SSL == true) ) || ( ($request_type == 'SSL') && ($connection == 'NONSSL') ) ) { if (HTTP_COOKIE_DOMAIN != HTTPS_COOKIE_DOMAIN) { $_sid = tep_session_name() . '=' . tep_session_id(); } } } if ( (SEARCH_ENGINE_FRIENDLY_URLS == 'true') && ($search_engine_safe == true) ) { while (strstr($link, '&&')) $link = str_replace('&&', '&', $link); while (strstr($seo_link, '&&')) $seo_link = str_replace('&&', '&', $seo_link); $link = str_replace('?', '/', $link); $link = str_replace('&', '/', $link); $link = str_replace('=', '/', $link); $seo_link = str_replace('?', '/', $seo_link); $seo_link = str_replace('&', '/', $seo_link); $seo_link = str_replace('=', '/', $seo_link); $seo_rewrite_link = str_replace('?', '/', $seo_rewrite_link); $seo_rewrite_link = str_replace('&', '/', $seo_rewrite_link); $seo_rewrite_link = str_replace('=', '/', $seo_rewrite_link); $separator = '?'; } The difference is at the bottom? How can i get around this ... totally stumped?! I know from a while back i tried the Ultimate_SEO_URLSv22d_10 but couldn't get that to work so, maybe the above code is from that? Help Cheers! Danny
  7. Backcountry_Surfer

    Need Dynamenu Help

    Cheers for the reply but I saw that a while ago and it really doesn't give me a solution (yet). Have been searching the forums and internet for days, still no luck. Danny
  8. Backcountry_Surfer

    Need Dynamenu Help

    Hey All Installed the Dynamenu contrib but, having trouble getting it to work the way i want ... Take a look at the Next website Next which is what i am trying to get my drop down menu to look like? I just cant get my head aroung it - i dont want my subcats to fly out when moving the cursor over the main category. Instead i want the whole menu to drop down with all departments/categories/subcategories showing like on the Next website. Has anyone managed this and if so, a little (lot) of help would be appreciated! (head exploding) ... Cheers Dan
  9. Backcountry_Surfer

    "Dynamenu" for osCommerce

    I have just installed Dynamenu and am trying to get my drop down menu to look like either one of these - http://www.sweetwater.com/ or - http://www.musiciansfriend.com/ but, with limited coding capabilities not sure of what settings to change? I just dont want it to drop down then fly out but, rather drop down with all links visible if that makes sense ... Appreciate any replies Danny
  10. Backcountry_Surfer

    side banners

    Thanks Germ Worked a treat! Keep up the good work .... Danny
  11. Backcountry_Surfer

    side banners

    Hey Guys Can anyone tell me why and how to alter this side banner. What its doing is fine but, it looks a bit ameture in the sense that the whole thing has a blue border hyperlink so, please help if you can. The code for the addon is as follows: ================================================================================== <?php /* $Id: side_banners.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 */ //change only the values of the array, this will help create the desired links to the product (i.e. http://www.example.com/products_info.php?products_id=22 $image = array('image1' => 1, 'image2' => 4, 'image3' => 22, 'image4' => 5, 'image5' => 2, 'image6' => 6, 'image7' => 7, 'image8' => 8, 'image9' => 9, 'image10' => 10, 'image11' => 11, 'image12' => 20, 'image13' => 12, 'image14' => 13, 'image15' => 14, 'image16' => 15, 'image17' => 21, 'image18' => 16, 'image19' => 18, 'image20' => 19, 'image21' => 25); //image dimensions (change this if needed) define('W', 137); define('H', 56); //image format (i.e. .png, .gif, .jpg) $ext = '.jpg'; //none of this should be touched. $info_box_contents = array(); new infoBoxHeading($info_box_contents, false, false); $side_banner_loop = '<table width="30%" cellspacing=0 cellpadding=0 border=0 align="right" />' . "\n"; foreach($image as $side_banner_images => $manufacturers_info_id) { $side_banner_loop .= "<tr>\n<td>" . '<a href="' . '?manufacturers_id=' . $manufacturers_info_id . '"> <img src="' . 'images' . '/' . 'side_banners/' . $side_banner_images . $ext . '" width="' . W . '" height="' . H . '">' . "</img></a><br></td>\n</tr>\n"; } $side_banner_loop .= '</table>'; $info_box_contents = array(); $info_box_contents[] = array('text' => $side_banner_loop); new infoBox($info_box_contents); ?> ========================================================================================== Thanks for all your help in advance! Danny
  12. Hi Everyone Don't know if anyone can give me a heads up on a contribution for a flash banner that looks like the one on www.ebgames.com ? I have tried several in the past and have been looking for a while now but, with no luck! Also, I have installed a side banner contribution quite a while back but, it has a blue frame which i cannot seem to remove so am on the search for a another contribution for that also? I am using v2.2 rc2 if that helps. Thanks guys and girls any help will be appreciated! Danny
  13. Backcountry_Surfer

    SiteMonitor

    Im getting the following error message on my screen:- Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in D:\virtualservers\mystore\mystore.com\wwwroot\admin\includes\functions\sitemonitor_functions.php on line 948 Which is as follows:- mail($to, 'Site Monitor Results', $msg, $from); Slightly different from the above mentioned, and probably not a problem for most but, I am at a loss when it comes to code, any ideas? Cheers Danny
×