Guest Posted February 21, 2008 Share Posted February 21, 2008 If you guide your customers to sebscribe to the RSS feed from the button in the side box from your site.They will be notified each time you post an article. At the moment the NewsDesk is not connected to the product notifications as yet! Andrew Thanks Andrew for reply I am affraid I could not find this RSS feed, I have installed this version of newsdesk script name: NewsDesk version: 1.48.2 date: 22-06-2004 (dd/mm/yyyy) author: Carsten aka moyashi web site: www..com modified code by: Wolfen aka 241 Where can I add this RSS, can you explain me more clearly sorry to disturb you for such mere things thanks again Quote Link to comment Share on other sites More sharing options...
Guest Posted February 21, 2008 Share Posted February 21, 2008 (edited) Dear Andrew Can i ask one more thing, On the front page of newsdesk, the date is shown like: - Thursday 21 February, 2008, can it be converted to 2008-02-21 10:42:35 like it is shown in newsdesk categories. thanks my site www.gbn.ge Edited February 21, 2008 by fxtrader777 Quote Link to comment Share on other sites More sharing options...
Andyy Posted February 22, 2008 Share Posted February 22, 2008 Thanks Andrew for reply I am affraid I could not find this RSS feed, I have installed this version of newsdesk script name: NewsDesk version: 1.48.2 date: 22-06-2004 (dd/mm/yyyy) author: Carsten aka moyashi web site: www..com modified code by: Wolfen aka 241 Where can I add this RSS, can you explain me more clearly sorry to disturb you for such mere things thanks again Go and get the rss files from here http://addons.oscommerce.com/info/934 Then upload them to your catalog root folder Do not forget to change the URL's to your own in the rss.php file Get the file catalog includes/boxes/newsdesk_latest.php find near the bottom new contentBox($info_box_contents); ADD Below echo '<div align="right"><a href="rss.php" target="_blank"><img src="images/rss.png" alt="RSS Feeds" border="0"></a></div>'; To look like this new contentBox($info_box_contents); echo '<div align="right"><a href="rss.php" target="_blank"><img src="images/rss.png" alt="RSS Feeds" border="0"></a></div>'; And download the image rss from a google image search for "rss" and copy it to your image folder. you are done Regards Andrew Quote Link to comment Share on other sites More sharing options...
Andyy Posted February 22, 2008 Share Posted February 22, 2008 Dear Andrew Can i ask one more thing, On the front page of newsdesk, the date is shown like: - Thursday 21 February, 2008, can it be converted to 2008-02-21 10:42:35 like it is shown in newsdesk categories. thanks my site www.gbn.ge Go here and create yur time and date then replace php time manual Andrew Quote Link to comment Share on other sites More sharing options...
Guest Posted February 22, 2008 Share Posted February 22, 2008 Go and get the rss files from herehttp://addons.oscommerce.com/info/934 Then upload them to your catalog root folder Do not forget to change the URL's to your own in the rss.php file Get the file catalog includes/boxes/newsdesk_latest.php find near the bottom new contentBox($info_box_contents); ADD Below echo '<div align="right"><a href="rss.php" target="_blank"><img src="images/rss.png" alt="RSS Feeds" border="0"></a></div>'; To look like this new contentBox($info_box_contents); echo '<div align="right"><a href="rss.php" target="_blank"><img src="images/rss.png" alt="RSS Feeds" border="0"></a></div>'; And download the image rss from a google image search for "rss" and copy it to your image folder. you are done Regards Andrew I think I am confused What this RSS is? I uploaded rss.php and rss.xml stylesheet files in catalog/ I added that link in newsdesk_latest.php, but when I click RSS feed this appears: http://gbn.ge/rss.php I want my store customer to be notified to his/her e-mail each time as new news item is inserted in store. Does this RSS do this? thanks Quote Link to comment Share on other sites More sharing options...
Andyy Posted February 22, 2008 Share Posted February 22, 2008 I think I am confused What this RSS is? I uploaded rss.php and rss.xml stylesheet files in catalog/ I added that link in newsdesk_latest.php, but when I click RSS feed this appears: http://gbn.ge/rss.php I want my store customer to be notified to his/her e-mail each time as new news item is inserted in store. Does this RSS do this? thanks Try removing the Development testing area content from the top of the rss.php file. It is not posible to subscribe to the rss feed notification within osC at present. The only way for your existing customers to be notified will be to subscribe to the rss feed directly from the rss.php. This is how your rss feed should look RSS. If you view the link in FireFox they have a rss manager built in. Regards Andrew Quote Link to comment Share on other sites More sharing options...
Guest Posted February 22, 2008 Share Posted February 22, 2008 Try removing the Development testing area content from the top of the rss.php file.It is not posible to subscribe to the rss feed notification within osC at present. The only way for your existing customers to be notified will be to subscribe to the rss feed directly from the rss.php. This is how your rss feed should look RSS. If you view the link in FireFox they have a rss manager built in. Regards Andrew Ah I understand, so it is not what I thought :( nevertheless newsdesk is great contribution there is also contribution: catnotification, which notifies client if there is inserted new product in store, I cannot remake this contribution to fit newsdesk, because it is based products categories box, and to remake for newsdesk categories box will be difficult for me if anyone will do will be just great thanks Quote Link to comment Share on other sites More sharing options...
Guest Posted February 26, 2008 Share Posted February 26, 2008 How can it be arranged that when I insert new news item customer will receive notification on his mail? Someone wrote the contribution for categories, Quote Link to comment Share on other sites More sharing options...
nexius2 Posted February 27, 2008 Share Posted February 27, 2008 hello, I have 2 litlle things I would like to do but can't really figure out how to do it... in the admin section, when you try to search a news, it only looks throught the titles... how can I search also in the summary and text section...looks like I have to use newsdesk_article_shorttext but i can't figure it out.... almost the same thing. in catalogue section, when I do a search, it doesn't look out in the news... an idea? Quote Link to comment Share on other sites More sharing options...
Guest Posted February 27, 2008 Share Posted February 27, 2008 I have very simple question again How can I paste banner or any image file in News Categories? I mean above news listing thanks Quote Link to comment Share on other sites More sharing options...
nexius2 Posted February 27, 2008 Share Posted February 27, 2008 If you only want 1 banner on your site, you should put <?php if ($banner = tep_banner_exists('dynamic', '468x50')) { ?> <br> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center"><?php echo tep_display_banner('static', $banner); ?></td> </tr> </table> <?php } ?> were ever you want in your newsdesk section... that would make it useable throught the admin section... Quote Link to comment Share on other sites More sharing options...
Guest Posted February 27, 2008 Share Posted February 27, 2008 Thank you this is for Oscommerce banner and what if I need to paste image not a banner Quote Link to comment Share on other sites More sharing options...
nexius2 Posted February 27, 2008 Share Posted February 27, 2008 if you want to add an image in the news, juste add <IMG SRC="../image.gif" WIDTH="30" HEIGHT="20" BORDER=0 ALT=""> where ever you want in the news text... if you want it above the news...same thing in the code were you want it Quote Link to comment Share on other sites More sharing options...
Guest Posted February 27, 2008 Share Posted February 27, 2008 thanks one more question, how can I delete newses all by one click. Quote Link to comment Share on other sites More sharing options...
nexius2 Posted February 29, 2008 Share Posted February 29, 2008 for the admin search I'm stuck I guess the part that needs to be moded is: $categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.categories_image, c.parent_id, c.sort_order, c.date_added, c.last_modified, c.catagory_status from " . TABLE_NEWSDESK_CATEGORIES . " c, " . TABLE_NEWSDESK_CATEGORIES_DESCRIPTION . " cd where c.categories_id = cd.categories_id and cd.language_id = '" . $languages_id . "' and cd.categories_name like '%" . $HTTP_GET_VARS['search'] . "%' order by c.sort_order, cd.categories_name"); } else { $categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.categories_image, c.parent_id, c.sort_order, c.date_added, c.last_modified, c.catagory_status from " . TABLE_NEWSDESK_CATEGORIES . " c, " . TABLE_NEWSDESK_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '" . $current_category_id . "' and c.categories_id = cd.categories_id and cd.language_id = '" . $languages_id . "' order by c.sort_order, cd.categories_name");} I have tried this: $categories_query = tep_db_query("select c.newsdesk_id, cd.categories_name, c.language_id, c.newsdesk_article_name, c.newsdesk_article_description, c.newsdesk_article_shorttext from " . TABLE_NEWSDESK_CATEGORIES . " c, " . TABLE_NEWSDESK_DESCRIPTION . " cd where cd.language_id = '" . $languages_id . "' and cd.categories_name like '%" . $HTTP_GET_VARS['search'] . "%' or cd.newsdesk_article_name like '%" . $HTTP_GET_VARS['search'] . "%' or cd.newsdesk_article_description like '%" . $HTTP_GET_VARS['search'] . "%' or cd.newsdesk_article_shorttext like '%" . $HTTP_GET_VARS['search'] . "% order by c.sort_order, cd.categories_name"); I'm not far I think but can't get it yet... if anyone has allready worked on it... Quote Link to comment Share on other sites More sharing options...
nexius2 Posted February 29, 2008 Share Posted February 29, 2008 with this code it looks in descritpion and shorttext but will only work if there is 1 word in the text... $categories_query = tep_db_query("select cd.newsdesk_id, cd.language_id, cd.newsdesk_article_name, cd.newsdesk_article_description, cd.newsdesk_article_shorttext from " . TABLE_NEWSDESK_CATEGORIES . " c, " . TABLE_NEWSDESK_DESCRIPTION . " cd where cd.language_id = '" . $languages_id . "' and cd.newsdesk_article_description or cd.newsdesk_article_shorttext like '%" . $HTTP_GET_VARS['search'] . "%' order by cd.newsdesk_article_name"); Quote Link to comment Share on other sites More sharing options...
Guest Posted March 2, 2008 Share Posted March 2, 2008 Hi all how can I change the search options in search box by by newsdesk search functions. I mean my search box searches only in products, I need to search only in newsdesk, newsdesk search does this, but search box not, so I need to add search box that function to search only in newsdkes thank Quote Link to comment Share on other sites More sharing options...
Guest Posted March 2, 2008 Share Posted March 2, 2008 haha I did it very easily change FILENAME_SEARCH_RESULT by FILENAME_NEWSDESK_SEARCH_RESULT Quote Link to comment Share on other sites More sharing options...
Guest Posted March 2, 2008 Share Posted March 2, 2008 also how can I change the time news added I mean the time news is added is GMT and I want to change into GMT +4 how do do this? thanks Quote Link to comment Share on other sites More sharing options...
Guest Posted March 2, 2008 Share Posted March 2, 2008 one more question how can I put banner in specific categories link, I mean if there is newsdesk categories and these categories box include 5 links, I need to paste banner in 1 link and not in all how can I fix this? Quote Link to comment Share on other sites More sharing options...
nexius2 Posted March 4, 2008 Share Posted March 4, 2008 haha I did it very easily change FILENAME_SEARCH_RESULT by FILENAME_NEWSDESK_SEARCH_RESULT hum...could you be a bit clearer, because FILENAME_SEARCH_RESULT and FILENAME_NEWSDESK_SEARCH_RESULT don't exist in oscommerce nor in newsdesk.... but there is a FILENAME_ADVANCED_SEARCH_RESULT ... Quote Link to comment Share on other sites More sharing options...
nexius2 Posted March 5, 2008 Share Posted March 5, 2008 nop, didn't say nothing....juste needed to open up my eyes ! Quote Link to comment Share on other sites More sharing options...
Guest Posted March 5, 2008 Share Posted March 5, 2008 nop, didn't say nothing....juste needed to open up my eyes ! Have no idea how I did it but oscommerce search is converted to newsdesk search :D Nexius can you help me with one issue I am trying to paste banner in one specific category from news desk. see this http://gbn.ge/newsdesk_index.php?newsPath=...amp;language=EN I want to paste banner in BANKS categories only can you advice how to do this thanks Quote Link to comment Share on other sites More sharing options...
nexius2 Posted March 6, 2008 Share Posted March 6, 2008 if you want the news to be only in the bank categorie, I would be looking to do something like this if $categories = 'bank' { require (FILENAME_NEWSDESK); } else { } Quote Link to comment Share on other sites More sharing options...
nexius2 Posted March 6, 2008 Share Posted March 6, 2008 (edited) I seem to have a probleme with the search box... when the news are not in a categorie folder, the search box doesn't look through them. and when I don't type anything in the search box, a blank page whis an error apears. Warning: Cannot modify header information - headers already sent by (output started at c:\easyphp\www\****\includes\languages\french\newsdesk_search_result.php:19) in c:\easyphp\www\****\includes\functions\general.php on line 33 could someone check if it does the same thing on there newsdesk! thanks Edited March 6, 2008 by nexius2 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.