Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

natewlew

Archived
  • Posts

    440
  • Joined

  • Last visited

Everything posted by natewlew

  1. You could try this contrib: http://www.oscommerce.com/community/contributions,3081 It displays rss news feeds in an info box. You could display your own rss feed. It doesn't add any database tables and I don't believe it will conflict with the news blog.
  2. Did you make any changes to the admin/news.php?
  3. You will find this in the read_me.txt: This should fix your problem.
  4. I am not sure what that is. tep_show_category() is not something I put in the news.php. Did you make any modifications?
  5. This is in the same spot in the read_me.txt.
  6. In the admin you can change the amount of characters that show in each article. The default is 250. You can also change the amount of articles that show in the feed. The default is 10. If that is what you are talking about? No big deal :)
  7. I updated a fix for the invalid rss. I still get a "Problematical RFC 822 date-time value". I do know the time is RFC 822. I think there is a extra space after the day. This is from the php date function. Anyways the feed is now valid.
  8. In the readme.txt it says: This will fix your error. I will be fixing the rss.php so it will validate. Thanks for bringing this to my attention.
  9. Thanks! I will have a new version that does not require manual editing for the multi languages. I also found a problem with the /catalog/rss.php in V 1.2. Find: Replace with:
  10. With some help I have found a problem with the /catalog/news.php. Find: Change it to:
  11. I have added an update for language id's. It has update instructions inside. I accidentally put 1.0 instead of 1.2. My mistake.
  12. There is more you will have to change in the admin/news.php. Look a little lower: See where is says and language_id = '1'"); and and language_id = '2'"); etc... Change those numbers just like you did one the first on. Now go down a little further: You will find this 3 times with the language_id = 1 then 2 then three. Change those to your id's. This is the only file you will have to change. Alternatively you could change the language id's with the instructions below. Open the languages table with phpmyadmin and change the id's on the table. Once your in phpmyadmin click on Languages (on the left). Then click on browse (at the top). You will now see three columns. If you click on the pencil you can edit the language_id to what you what. Change 2 to 4 and 5 to 3.
  13. Open up the /catalog/admin/news.php: You see the 'language_id' => '1'. That is the first box when you create an article. Then the next one 'language_id' => '2'. That is the second box when you create an article. If you are using 1,4 and 5. Change the 2 to a 4 and 3 to a 5. You could also open the languages table with phpmyadmin and change the id's on the table. Sorry I really don't know how to setup the languages. There isn't a manual that I know of? I guess I could add the language id's to the configuration table.
  14. I don't know why you are getting that error. I does seem like it is writing the information to the rss.xml. If you update to 1.2 you will have a dynamic rss that you don't need to create. All you have to do is delete the news and news_replys table and replace the files you have and run the news.sql. You will only loose the two articles that you have.
  15. I have added: Multi-Language support Anti-spam Admin reply approval Reply Notification Admin Configuration I have add the features you requested.
  16. Nice to know that you got it working. I forget to put instructions in the read me about adding a link to your storefront.
  17. Your store isn't in the catalog folder. Open your admin/includes/configure.php. Make sure yours doesn't have catalog in it and the DIR_FS_DOCUMENT_ROOT has the correct path. That is weird that it would create a catalogrss.xml.
  18. That error means there is nothing in the rss.xml. Make sure the rss.xml permissions are writeable by your webserver (chmod 777).
  19. I though some people would have trouble with the create_rss.php. I have a test to see if the rss.xml is writeable and wasn't sure if it would work on all servers. Download this file and replace it with your admin/create_rss.php. shiplinux.com/extra/create_rss.php.txt
  20. I am not sure what the problem is. Maybe is a server issue. I found a post where someone had a problem with wordpress and this was the reply: If you upload the rss.png to images/, it should show up on your storefronts news.php.
  21. Thanks for your replies. No it doesn't but, I do plan to add it. I am not sure how to do that? I will have to see how I could do that. That would take the fun out of it. I could add something like that. The reason I did that is because the tep_db_prepare_input in the store functions replaces < with _. I wanted the comments form to allow <p>. So I took the tep_db_prepare_input form the admin functions. That does make sense. I would also like to add configuration values but I am not sure how. If there is a tutorial somewhere please let me know.
  22. This is the support thread for the News Blog V1.0.
  23. I installed Nimmit Sef's and it seems to work great. I have a link to my forum links that is getting changed to .html and that link is broken. Is there a way to prevent a certain link from being rewrote to html?
  24. I have made a contribution that lets you display Amazon.com products of your choice. I am just a beggining PHP "programmer". I would like an experieced PHP person to have a look at my code before I upload it to contributions. I tryed to stick with the OSC standards as much as possible but I don't understand a lot of the functions. If someone could improve it, that would be great. Amazon Products Infobox Please be nice! I'm not sure if it's a worthy contribution?
  25. For anyone who is confused about what the entire tep_image() function is (me). The code below is the "entire tep_image() function" in the html_output.php. By the way, I love the contribution! :thumbsup:
×
×
  • Create New...