Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

NewsDesk v1.48 Support


241

Recommended Posts

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

Link to comment
Share on other sites

  • Replies 548
  • Created
  • Last Reply

Top Posters In This Topic

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 by fxtrader777
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

 

 

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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...

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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...

Link to comment
Share on other sites

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");

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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 ...

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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 by nexius2
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...