Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

GLWalker

♥Ambassador
  • Posts

    845
  • Joined

  • Last visited

  • Days Won

    39

Everything posted by GLWalker

  1. You should really think that out.Its a good way to loose customers. I close any webpage when ever I hear anything. And I know that multitudes of other people do as well.
  2. Thats already a built in feature. Heres some info that can be found on this site: http://www.oscommerce.info/docs/english/e_...attributes.html the screenshot will look different, but you should get the hang of it. Look at that whole section of this site and get to know your store.
  3. That was the wrong freaking code! Sorry guys. Heres the working code. Just replace that with this: <?php //ARTICLE MANAGER START echo '<ul class="sitemap">'; echo '<li><a href="' . tep_href_link(FILENAME_ARTICLES, '', 'NONSSL') . '">' . BOX_ALL_ARTICLES . '</a></li>' . ""; $topics_query = tep_db_query("select t.topics_id, td.topics_name, t.parent_id from " . TABLE_TOPICS . " t, " . TABLE_TOPICS_DESCRIPTION . " td where t.parent_id = '" . (int)$topic_links[$i] . "' and t.topics_id = td.topics_id and td.language_id = '" . (int)$languages_id . "' order by sort_order, td.topics_name"); if (tep_db_num_rows($topics_query) > 0) { $row = 0; while ($topics = tep_db_fetch_array($topics_query)) { $row++; echo '<li><a href="' . tep_href_link(FILENAME_ARTICLES, 'tPath=' . $topics['topics_id']) . '">' . $topics['topics_name'] . '</a></li>' . ""; } } echo '</ul>'; //ARTICLE MANAGER END ?>
  4. My Bad Looks like I fudged that. I should have got this up sooner. heres the correct code: <?php //ARTICLE MANAGER START echo '<ul class="sitemap">'; echo '<li><a href="' . tep_href_link(FILENAME_ARTICLES, '', 'NONSSL') . '">' . BOX_ALL_ARTICLES . '</a></li>' . ""; $topics_query = tep_db_query("select t.topics_id, td.topics_name, t.parent_id from " . TABLE_TOPICS . " t, " . TABLE_TOPICS_DESCRIPTION . " td where t.parent_id = '" . (int)$topic_links[$i] . "' and t.topics_id = td.topics_id and td.language_id = '" . (int)$languages_id . "' order by sort_order, td.topics_name"); if (tep_db_num_rows($topics_query) > 0) { $row = 0; while ($topics = tep_db_fetch_array($topics_query)) { $row++; echo '<li><a href="' . tep_href_link(FILENAME_ARTICLES, 'tPath=' . $topics['topics_id']) . '">' . $topics['topics_name'] . '</a></li>' . ""; } } echo '</ul>'; //ARTICLE MANAGER END ?>
  5. Oh I see now. This should do the trick. http://foxtalbot.dmu.ac.uk/resources/wintertree.html :thumbsup:
  6. WTF? What are you asking?
  7. Get a friend to help and add them in 2 at a time, get two friends to help and add them in 3 at a time. But seriously, if youve only got 100 products, easy populate isnt worth the time. I could manually add 100 products with descriptions and several images quicker than getting the file ready for easy populate.
  8. You need to add the table in includes/database.php and admin/includes/database.php
  9. Great News. I had recently rearranged the code that looks in the database in the catalog files, and changed all the style definitions to use standard osc stylesheet. But then somehow it hit my delete folder and is now gone. I'll will wait for your next version and then redo the styles to match. Excellent work so far.
  10. I havent been able to look into it yet, but you would have to remove the code calling to the function in the asnf_viewtopic.php, asnf_index.php, asnf_newtopic.php. Otherwise it will just look for the function.
  11. That seems to happen when you try to add a reply or post without putting in your email.
  12. I just checked on mine, and did not have a problem with loosing the cart. I added product to the cart, then went to the forum, did a forum search, went to the search results, then even did a new search from the results page. The cart never lost its content. What do you have your admin/configuration/sessions set as? I keep everything false except for prevent spider sessions.
  13. A few things Ive done that may help others out. Disable having to login to the forum admin when your already in your admin: Open admin/asnf_admin.php find and comment out on line 28: require_once("asnf_auth.php"); You can then delete asnf_auth.php Thats it! In your catalog files find all instances of asnf_header.php and asnf_footer.php, Comment them out and then delete the asnf_header.php and asnf_footer.php files. Thats it for now. More to come..........
  14. ASN Forum for osCommerce is so far the best "simple" forum addon I have found. Many thanks to the MasterGiGi and all others who have worked on this mod . Hopefully we can advance this script little by little, as it looks to be a very promising piece of code. As time permits I shall be cleaning it up to better match osC code and style. My first step has been to create a customer moderator addon. The contribution may be found here: http://addons.oscommerce.com/info/4832
  15. When installing on MS2.2RC1 look in admin/login.php find: require('includes/functions/password_funcs.php'); and comment it out as it has been added to application top with the install of this contribution. If using an earlier version of osCommerce check the admin/index.php, or do an admin folder search, for the same line.
  16. What file did you have the error in and what version of sCommerce? Ms2.2 orMs2.2 RC1? I was installing on MS2.2RC1 and needed to add a } in catalog\create_account.php after the block of code refered to in step 3-e of the latest install file.
  17. I had the same error. Open admin/polls.php on line 53 find: $pollid=tep_db_insert_id($poll_query); change to : $pollid = tep_db_insert_id(); Worked for me.
  18. Thats odd, except for the first change in admin/information_form.php, The other 2 were already coded as the changes requested.
  19. New code for use with Article_Manager Simply add this to catalog/dynamic_sitemap.php where ever you want it to appear. <?php //ARTICLE MANAGER START echo '<ul class="sitemap">'; echo '<li><a href="' . tep_href_link(FILENAME_ARTICLES, '', 'NONSSL') . '">' . BOX_ALL_ARTICLES . '</a></li>' . ""; $topics_query = tep_db_query("select t.topics_id, td.topics_name, t.parent_id from " . TABLE_TOPICS . " t, " . TABLE_TOPICS_DESCRIPTION . " td where t.parent_id = '" . (int) $topic_links[$i] . "' and t.topics_id = td.topics_id and td.language_id = '" . (int) $languages_id . "' order by sort_order, td.topics_name"); if (tep_db_num_rows($topics_query) > 0) { $row = 0; while ($topics = tep_db_fetch_array($topics_query)) { $row++; echo '<li><a href="' . tep_href_link(FILENAME_ARTICLES, 'topics_id=' . $topics ['topics_id']) . '">' . $topics['topics_name'] . '</a></li>' . ""; } } echo '</ul>'; //ARTICLE MANAGER END ?>
  20. New code for use with dynamic_sitemap.php Simply add this to catalog/dynamic_sitemap.php where ever you want it to appear. <?php //ARTICLE MANAGER START echo '<ul class="sitemap">'; echo '<li><a href="' . tep_href_link(FILENAME_ARTICLES, '', 'NONSSL') . '">' . BOX_ALL_ARTICLES . '</a></li>' . ""; $topics_query = tep_db_query("select t.topics_id, td.topics_name, t.parent_id from " . TABLE_TOPICS . " t, " . TABLE_TOPICS_DESCRIPTION . " td where t.parent_id = '" . (int) $topic_links[$i] . "' and t.topics_id = td.topics_id and td.language_id = '" . (int) $languages_id . "' order by sort_order, td.topics_name"); if (tep_db_num_rows($topics_query) > 0) { $row = 0; while ($topics = tep_db_fetch_array($topics_query)) { $row++; echo '<li><a href="' . tep_href_link(FILENAME_ARTICLES, 'topics_id=' . $topics ['topics_id']) . '">' . $topics['topics_name'] . '</a></li>' . ""; } } echo '</ul>'; //ARTICLE MANAGER END ?>
  21. Excellent. Thanks for all your help here. For those that are using imagemagic just point the code to your existing fonts folder: putenv('GDFONTPATH=' . DIR_FS_CATALOG . 'includes/imagemagic/fonts/'); Works like a champ.
  22. I made a typo define('FILENAME_SPINNER', 'Spinner.php'); // spinner Module should be: define('FILENAME_SPINNER', 'spinner.php'); // spinner Module with a small s letter.
  23. The directory structure is correct. It should be meta.php
×
×
  • Create New...