Jump to content
Latest News: (loading..)


  • Content count

  • Joined

  • Last visited


About Fredi

  • Birthday 03/13/1950

Profile Information

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

Recent Profile Visitors

5,873 profile views
  1. 2.4 Series

    Hello. We expect... Is there hope?
  2. Today, a very fashionable trend is static information pages. Landing pages. This has several advantages. I am sure that the creation of a special module OsCommerce-Landing (statics or dinamic) pages, but tightly connected with the store, will give our software a huge advantage and prospects for a second birth OsCommerce. There are a lot of static templates, but they are all done in HTML format. This is poorly consistent with our OsCommerce, there is no easy editing, no multilanguage support. This need to be corrected and add such opportunities to OsCommerce. Is it necessary to make such pages in the format of php and compatible with OsCommerce? Easy editing in the administration panel and the ability to host several such pages on the site. Harmonized design. Additionally, such pages may include all information content: Information pages Articles (Blogs) Support Pages FAQ Promotional materials News and other informational pages. What do you think of such an addition?
  3. 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.
  4. 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?
  5. 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.
  6. Best way to publish content in store?

    I use the article manager from the very beginning. This is an excellent module of the content and allows you to post many articles. There are more than 100 articles on my site. This exclusive content, which allows you to successfully work the store. This module I think is the main thing in my store and the ability to post information content is a big advantage. Nevertheless, the module is slightly upgraded. Only last summer, an update was made, but it is not complete and is again linked to another module (Header_tags) . Adding a blog is a good option, but articles and blogs are duplicated in the store. This unnecessarily extends the menu. I'm not familiar with the @@burt blog module: and I can not compare these 2 addons. Where can I see the module from @@burt:?
  7. 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.
  8. 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!
  9. 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.
  10. 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 }
  11. 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.
  12. Article Manager v1.0

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

    Thank you Jack! I'll wait for the download and try it on your store.