Jump to content
Latest News: (loading..)


  • Content count

  • Joined

  • Last visited

  • Days Won


Fredi last won the day on January 26

Fredi had the most liked content!


About Fredi

  • Birthday 03/13/1950

Profile Information

  • Real Name
  • Gender
  • Location
  • Interests
    osCommerce ru language support
  • Website
  • Skype

Recent Profile Visitors

6,446 profile views
  1. 2.4 Series

    Hello. We expect... Is there hope?
  2. Store Search Bar (BS)

    Thank You, Malcolm! I spent some time to adjust the search, which will search among the goods and articles. I used a recommendation from Frank and tried to slightly adjust the old article search module to work with the BS I'm not an encoder, so I may have mistakes ... My store has version 2.3.4 (BS) and I'm experimenting with different modules and extensions. The store has two options for searching. Modules: 1. Search Link In Navbar http://addons.oscommerce.com/info/9563 2. Store Search with Image (BS) http://addons.oscommerce.com/info/9504 The first module began to do a general search after correction of the file advanced_search_result.php Add after line 319 $listing_sql = $select_str . $from_str . $where_str . $order_str; require('includes/modules/product_listing.php'); ?> // BOF Article search <div class="h1"><br><?php echo HEADING_TITLE_3; ?></div> <?php if ($keywords == ""){ ?> <div class="main"><?php echo ERROR_INPUT; ?></div> <?php } else { if (isset($_GET['description'])) { $search_query = tep_db_query("select ad.articles_name, a.articles_id, ad.articles_description from " . TABLE_ARTICLES_DESCRIPTION . " ad inner join " . TABLE_ARTICLES . " a on ad.articles_id = a.articles_id where a.articles_status = '1' and ad.language_id = '" . (int)$languages_id . "' and (ad.articles_name like '%" . $keywords . "%' or ad.articles_description like '%" . $keywords . "%' or ad.articles_head_desc_tag like '%" . $keywords . "%' or ad.articles_head_keywords_tag like '%" . $keywords . "%' or ad.articles_head_title_tag like '%" . $keywords . "%') order by ad.articles_name ASC"); } else { $search_query = tep_db_query("select ad.articles_name, a.articles_id, ad.articles_description, ad.articles_head_desc_tag from " . TABLE_ARTICLES_DESCRIPTION . " ad inner join " . TABLE_ARTICLES . " a on ad.articles_id = a.articles_id where a.articles_status='1' and ad.language_id = '" . (int)$languages_id . "' and (ad.articles_name like '%" . $keywords . "%' or ad.articles_head_desc_tag like '%" . $keywords . "%' or ad.articles_head_keywords_tag like '%" . $keywords . "%' or ad.articles_head_title_tag like '%" . $keywords . "%') order by ad.articles_name ASC"); } $count=0; ?> <?php while($results = tep_db_fetch_array($search_query)){ $article_ex = substr($results['articles_head_desc_tag'], 0, 300); ?> <div><hr color="#2E3E67" size="1"></div> <div class="main" valign="top" align="left"><a href="<?php echo 'article_info.php'; ?>?articles_id=<?php echo $results['articles_id'] ?>"><b><u><?php echo $results['articles_name'] ?></b></u></a></div> <div class="smallText" valign="top" align="left"><?php echo $article_ex; ?> ...</div> <?php $count++; } if ($count == 0){ ?> <p><hr color="#2E3E67" size="1"></p> <div><?php echo NO_ARTICLES ?></div> <?php } } ?> For the second module - a small adjustment, I tried adding one line to the code and after that, unstable, but this search module produces results for both goods and articles. in file modules/content/header/cm_header_store_search.php after line 94 add 'MODULE_CONTENT_HEADER_STORE_SEARCH_ARTICLES', after line 112 add 'articles.php', 'article_blog.php', For the first module it is desirable except for the list of blogs, to make a visible picture that relates to the article. The second module works, but not very well. I think we can work together to make this work well. Dear Malcolm, I will try and your recommendations.
  3. Store Search Bar (BS)

    I installed your thise great module. In my site >100 articles. How to add the ability to search in articles and information pages? Is there a simple option for this?
  4. Thank You, Frank! The adjustment works well. There is a question: how to add the ability to search in articles and information pages? Is there a simple option for this? Thank you.
  5. 2.4 Series

    I want to congratulate the a New Year 2017 all community osCommerce. Many people are still using osCommerce, but we all hope and anticipation of what awaits us this year? We expect a revolution for osCommerc or slow death? Harald, really want to finally hear you. Is our community a real hope to receive version 2.4 which we have a long wait, or that there is no hope? Have your say in this new revolutionary year. We are waiting. Please. I tested other competing software. It seems that they have similar development problems. I think, for today there is the promising time for osCommerce for a quick and active regeneration. This is our chance. We need to combine our efforts and give rebirth osCommerce. Now a good time to do so.
  6. Article Manager v1.0

    Hello TITO4, I spent a lot of time searching for this error. I found where the error occurred. File \includes\modules\boxes\bm_articles.php /********************* ADD A SEARCH FUNCTION ********************/ if (ARTICLE_BOX_DISPLAY_SEARCH_ARTICLES_SECTION == 'true') { $articlesArray['search']['sort_order'] = ARTICLE_BOX_DISPLAY_SEARCH_ARTICLES_SECTION_SORT_ORDER; $articlesArray['search']['string'] = '<div class="articleSearch">' . TEXT_ARTICLE_SEARCH . tep_draw_form('article_search', tep_href_link('article_manager_search_result.php', '', 'NONSSL', false), 'get') . '<input type="text" name="article_keywords" value="' . TEXT_ARTICLE_SEARCH_STRING . '" onFocus="form.article_keywords.value=\'\';" style="width: 90%" maxlength="35" ><br />'. tep_hide_session_id() . tep_draw_button(IMAGE_BUTTON_SEARCH, 'fa fa-search', '', '','submit') . '</form></div>'; } /********************* ADD BLOG TOPICS ********************/ How to fix the error, I do not know. On your site I blocked this code and disabled the search. Articles module started working and there are no more mistakes!
  7. Article Manager v1.0

    This I had done on the old site and I moved to a new. The image corresponds to the number of the article. The image file for the title of the article is formed from the prefix (my prefix FFR) and ID of the article. To me it is convenient to work with. Additional images for articles as needed. I'm thinking how to make a unified design for the content of articles. It is important for my site, because there are more than 100 articles. Now it needs to be done in the format of BS. Format Articles should be compatible with Responsive budstrap flexible format that would be available on mobile devices, and that would be the format of all articles on the site has been unified.
  8. Article Manager v1.0

    Thanks Jack ! I'm just testing this module. I have not had any problems. I tried a little to modify the file - includes/modules/article_listing.php which would add to the list of articles images. It has turned out, but I think that's something I do not quite correct. It should look like a cute... <?php /* $Id: article_listing.php, v1.0 2003/12/04 12:00:00 ra Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com[attachment=4682:2016-07-20_213809.jpg] Copyright (c) 2003 osCommerce Released under the GNU General Public License */ $listing_split = new splitPageResults($listing_sql, MAX_ARTICLES_PER_PAGE); if ($listing_split->number_of_rows > 0) { $articles_listing_query = tep_db_query($listing_split->sql_query); ?> <div class="productHolder h4"><?php echo TEXT_ARTICLES; ?></div> <?php while ($articles_listing = tep_db_fetch_array($articles_listing_query)) { ?> <div valign="productHolder" class="main" width="75%" style="padding-bottom:10px"> <?php echo '<a href="' . tep_href_link(FILENAME_ARTICLE_INFO, 'articles_id=' . $articles_listing['articles_id']); ?>"><div class="IMG.iL"> <img src="/images/FFR-<?php echo $articles_listing['articles_id']; ?>.jpg" alt="<?php echo $articles_listing['articles_name']; ?>"> </a></div><br /> <?php echo '<a class="main" href="' . tep_href_link(FILENAME_ARTICLE_INFO, 'articles_id=' . $articles_listing['articles_id']) . '"><b>' . $articles_listing['articles_name'] . '</b></a> '; if (DISPLAY_AUTHOR_ARTICLE_LISTING == 'true' && tep_not_null($articles_listing['authors_name'])) { echo TEXT_BY . ' ' . '<a href="' . tep_href_link(FILENAME_ARTICLES, 'authors_id=' . $articles_listing['authors_id']) . '"> ' . $articles_listing['authors_name'] . '</a>'; } ?> </div> <?php if (DISPLAY_TOPIC_ARTICLE_LISTING == 'true' && tep_not_null($articles_listing['topics_name'])) { ?> <div valign="top" class="main" width="25%" nowrap><?php echo TEXT_TOPIC . ' <a href="' . tep_href_link(FILENAME_ARTICLES, 'tPath=' . $articles_listing['topics_id']) . '">' . $articles_listing['topics_name'] . '</a>'; ?></div> <?php } ?> <?php if (DISPLAY_ABSTRACT_ARTICLE_LISTING == 'true') { ?> <div class="main" style="padding-left:15px"><?php echo clean_html_comments(substr($articles_listing['articles_head_desc_tag'],0, MAX_ARTICLE_ABSTRACT_LENGTH)) . ((strlen($articles_listing['articles_head_desc_tag']) >= MAX_ARTICLE_ABSTRACT_LENGTH) ? '...' : ''); ?></div> <?php } if (DISPLAY_DATE_ADDED_ARTICLE_LISTING == 'true') { ?> <div class="smallText" style="padding-left:15px"><?php echo TEXT_DATE_ADDED . ' ' . tep_date_long($articles_listing['articles_date_added']); ?></div><br /><br /><br /> <?php } } // End of listing loop } else { ?> <div class="main"> <?php if ($listing_no_article<>'') { echo $listing_no_article; } elseif ($topic_depth == 'articles') { echo TEXT_NO_ARTICLES; } elseif (isset($_GET['authors_id'])) { echo TEXT_NO_ARTICLES2; } else { echo TEXT_NO_ARTICLES_BLOG; } ?> </div> <?php } ?> <?php if (($listing_split->number_of_rows > 0) && ((ARTICLE_PREV_NEXT_BAR_LOCATION == 'bottom') || (ARTICLE_PREV_NEXT_BAR_LOCATION == 'both'))) { ?> <div class="row"> <div class="col-sm-6 pagenumber hidden-xs"> <?php echo $listing_split->display_count(TEXT_DISPLAY_NUMBER_OF_ARTICLES); ?> </div> <div class="col-sm-6"> <div class="pull-right pagenav"><ul class="pagination"><?php echo $listing_split->display_links(MAX_DISPLAY_PAGE_LINKS, tep_get_all_get_params(array('page', 'info', 'x', 'y'))); ?></ul></div> <span class="pull-right"><?php echo TEXT_RESULT_PAGE; ?></span> </div> </div> <?php }
  9. Article Manager v1.0

    Thank You Jack. I set up a script on your site and it will be tested. I'll let you know the results.
  10. Article Manager v1.0

    Hi Jack, any news?
  11. Article Manager v1.0

    Thank you Jack! I'll wait for the download and try it on your store.
  12. Article Manager v1.0

    Blog looks good. I think it is possible to modify the article in blogs. It is also an option. + Feedback. Jack, you have a module for testing?
  13. Article Manager v1.0

    Hello everybody! Article Manager - it's a great module that I use for more than 12 years in his old shop. This module does a great job of promoting your products, if you have exclusive content in your articles. I almost did not use various SEO modules. My great site indexed in the different search engines through articles. Who do I upgrade my very old shop, and try to upgrade it to 2.3.4 BS. I'm not a programmer. I ran into a lot of trouble for this module. If this module is necessary and important for others, maybe we can repair it jointly?