Page 80 of 96 FirstFirst ... 3070787980818290 ... LastLast
Results 791 to 800 of 955
  1. #791
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: RSS2 Feed Contribution

    Quote Originally Posted by gaffettape View Post
    Hi,

    Does anyone know how to remove/disable a particular feed, so it can no longer be accessed? For instance I want to make the 'best_sellers' RSS feed inaccessible to everyone (search engines, customers, competition! etc.).

    Is their a way to do this?

    Thanks
    Download a copy of /includes/functions/extra_functions/rss_feed.php open it up scroll down line 123 and take out the one you do not want to show.
    PHP Code:
    $feed_array = array('specials''new_products''upcoming''featured''best_sellers'); // 'news' 
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

  2. #792
    Join Date
    Sep 2010
    Location
    Tampa, Fl.
    Posts
    66
    Plugin Contributions
    0

    Default Re: RSS2 Feed Contribution

    Hi
    I am using Zencart 1.39
    I have installed the RSS FEED 2.1.4

    I have just uploaded the RSS FEED after hearing all the good things about it but have a problem. I followed all the instructions but I when I click on my rss button I get page not found. Is there something I am not doing. I add the code to the htnl_header.php file at the end and it took it. I have the rss feed button on my main page.

    I made the configurations in admin/rss feed

    RSS Feed

    Title Value Action
    RSS Title my store
    RSS Description
    RSS Image rss png
    RSS Image Name
    RSS Copyright
    RSS Managing Editor
    RSS Webmaster
    RSS Default Feed new_products
    RSS Home Page Feed new_products
    RSS Author
    Strip tags false Generate Descriptions true
    Descriptions Length 0
    Categories for Products master
    Time to live 1440
    Default Products Limit 100
    Add Product image true
    Add "buy now" button true
    Generate Products Price true
    Generate Products ID true
    Generate Products Weight true
    Generate Products Brand true
    Generate Products Currency true
    Generate Products Quantity true
    Generate Products Model true
    Generate Products Images true
    Generate Products Rating true
    Generate Products Images Size large
    Feed Cache Time 10




    Please can some one help me

  3. #793
    Join Date
    May 2009
    Posts
    413
    Plugin Contributions
    0

    Default Re: RSS2 Feed Contribution

    Quote Originally Posted by countrycharm View Post
    Download a copy of /includes/functions/extra_functions/rss_feed.php open it up scroll down line 123 and take out the one you do not want to show.
    PHP Code:
    $feed_array = array('specials''new_products''upcoming''featured''best_sellers'); // 'news' 
    Hi countrycharm,

    Thanks for your response.

    I have actually tried what you suggested already.. however, unfortunately, it doesn't make the feed inaccessible - it just removes it from the header links (which I don't use anyway). I'm trying to restrict access to that feed altogether.

    Any more ideas?

    Thanks

  4. #794
    Join Date
    Sep 2010
    Location
    Tampa, Fl.
    Posts
    66
    Plugin Contributions
    0

    Default Re: RSS2 Feed Contribution

    I have read the thread and did not find an answer to what I am having. I installed the addon and followed the instructions well I think I diid well and when I click on my feed this is waht I see can some one help please. When I go to firefox it does not work. Can some one take a look and point me in the right direction

    This is the link http://buybackissuesonline.com/index...d=new_products

  5. #795
    Join Date
    Sep 2010
    Location
    Tampa, Fl.
    Posts
    66
    Plugin Contributions
    0

    Default Re: RSS2 Feed Contribution

    Still looking some help with feed

  6. #796
    Join Date
    Feb 2009
    Location
    Melbourne, Australia
    Posts
    85
    Plugin Contributions
    0

    Default Re: RSS2 Feed Contribution

    I have installed everything as directed but still doesnt want to work, so i check cache folder if any errors and yes there was here is what they where.

    PHP Warning: Cannot use a scalar value as an array in store/includes/classes/rss_feed.php on line 150
    PHP Warning: Cannot use a scalar value as an array in store/includes/classes/rss_feed.php on line 151
    PHP Warning: Cannot use a scalar value as an array in store/includes/classes/rss_feed.php on line 152
    Here is what the errors point to

    $this->image['title'] = $title;
    $this->image['link'] = $link;
    $this->image['url'] = $url;
    Which is in this section

    function rss_feed_image($title, $link, $url, $width=0, $height=0, $description=false) {
    $this->image['title'] = $title;
    $this->image['link'] = $link;
    $this->image['url'] = $url;
    $this->width['width'] = $width;
    $this->width['height'] = $height;
    $this->width['description'] = $description;
    Any help is appreciated

    Oh forgot to add i am using 1.3.9f

  7. #797

    Default Re: RSS2 Feed Contribution

    I'm sure I've done something really silly - but I can't figure out what and need some help.

    I recently upgraded from 1.3.8 to 1.3.9f and now my rss images aren't showing up. Everything else is fine but its still trying to pull the images from the subfolder I used to migrate the shop over. I've uninstalled and reinstalled and still no images showing up. Is there a magic spot where I can just tell the happy little code where to look for the product images?

    Thank you for any help.
    Liberty
    Liberty's Yarn
    Just trying to stay sane.

  8. #798
    Join Date
    Oct 2010
    Posts
    11
    Plugin Contributions
    0

    email error Re: RSS2 Feed Contribution

    I'm having a problem with this mod, cuz i think i don't understand this part:
    6. The CSS/XSL files are sent from /includes/templates/YOUR_TEMPLATE/css/ to the browser in this order:
    (and alphabetically within each case of more than one match):
    rss*.css // are always loaded and at least ONE should contain site-wide properties.
    rss*.xsl // are always loaded and at least ONE should contain site-wide properties.

    as i only uploaded one file : rss.css what is the rss.xsl?

    I've installed everything even did the search blank space, but my feed is (logo) wellshown on the footer store but when i click on it i'm rediriged to my store with a blank area in the middle...

    I will really really appreciate any help .. just upgraded my store to zencart 1.3.9H (in case it's important)

    Thanx you!

  9. #799
    Join Date
    Dec 2010
    Posts
    27
    Plugin Contributions
    0

    Default Re: RSS2 Feed Contribution

    Hi all,

    Can anybody help?

    I try to add the:

    4. You can add to html_header.php somewhere beetwen <head> and </head> tags:
    <?php echo rss_feed_link_alternate(); // RSS Feed ?>
    5. You can add to tpl_footer.php or where you want:
    <!--bof RSS Feed -->
    <div id="RSSFeedLink"><?php echo rss_feed_link(RSS_ICON); ?></div>
    <!--eof RSS Feed -->

    But it does not work.
    header file:
    <?php
    /**
    * Common Template
    *
    * outputs the html header. i,e, everything that comes before the \</head\> tag <br />
    *
    * @package templateSystem
    * @copyright Copyright 2003-2010 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * @version $Id: html_header.php 15761 2010-03-31 19:31:27Z drbyte $
    */
    /**
    * load the module for generating page meta-tags
    */
    require(DIR_WS_MODULES . zen_get_module_directory('meta_tags.php'));
    /**
    * output main page HEAD tag and related headers/meta-tags, etc
    */
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" <?php echo HTML_PARAMS; ?>>
    <head>

    <title><?php echo META_TAG_TITLE; ?></title>
    <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>" />
    <meta name="keywords" content="<?php echo META_TAG_KEYWORDS; ?>" />
    <meta name="description" content="<?php echo META_TAG_DESCRIPTION; ?>" />
    <meta http-equiv="imagetoolbar" content="no" />
    <meta name="author" content="The Zen Cart&trade; Team and others" />
    <meta name="generator" content="shopping cart program by Zen Cart&trade;, http://www.zen-cart.com eCommerce" />
    <?php if (defined('ROBOTS_PAGES_TO_SKIP') && in_array($current_page_base,explode(",",constant('ROBOTS_PAGES_TO_SKIP'))) || $current_page_base=='down_for_maintenance' || $robotsNoIndex === true) { ?>
    <meta name="robots" content="noindex, nofollow" />
    <?php } ?>
    <?php if (defined('FAVICON')) { ?>
    <link rel="icon" href="<?php echo FAVICON; ?>" type="image/x-icon" />
    <link rel="shortcut icon" href="<?php echo FAVICON; ?>" type="image/x-icon" />
    <?php } //endif FAVICON ?>


    <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER . DIR_WS_HTTPS_CATALOG : HTTP_SERVER . DIR_WS_CATALOG ); ?>" />
    <?php if (isset($canonicalLink) && $canonicalLink != '') { ?>
    <link rel="canonical" href="<?php echo $canonicalLink; ?>" />
    <?php } ?>

    <?php
    /**
    * load all template-specific stylesheets, named like "style*.css", alphabetically
    */
    $directory_array = $template->get_template_part($template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css'), '/^style/', '.css');
    while(list ($key, $value) = each($directory_array)) {
    echo '<link rel="stylesheet" type="text/css" href="' . $template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css') . '/' . $value . '" />'."\n";
    }
    /**
    * load stylesheets on a per-page/per-language/per-product/per-manufacturer/per-category basis. Concept by Juxi Zoza.
    */
    $manufacturers_id = (isset($_GET['manufacturers_id'])) ? $_GET['manufacturers_id'] : '';
    $tmp_products_id = (isset($_GET['products_id'])) ? (int)$_GET['products_id'] : '';
    $tmp_pagename = ($this_is_home_page) ? 'index_home' : $current_page_base;
    if ($current_page_base == 'page' && isset($ezpage_id)) $tmp_pagename = $current_page_base . (int)$ezpage_id;
    $sheets_array = array('/' . $_SESSION['language'] . '_stylesheet',
    '/' . $tmp_pagename,
    '/' . $_SESSION['language'] . '_' . $tmp_pagename,
    '/c_' . $cPath,
    '/' . $_SESSION['language'] . '_c_' . $cPath,
    '/m_' . $manufacturers_id,
    '/' . $_SESSION['language'] . '_m_' . (int)$manufacturers_id,
    '/p_' . $tmp_products_id,
    '/' . $_SESSION['language'] . '_p_' . $tmp_products_id
    );
    while(list ($key, $value) = each($sheets_array)) {
    //echo "<!--looking for: $value-->\n";
    $perpagefile = $template->get_template_dir('.css', DIR_WS_TEMPLATE, $current_page_base, 'css') . $value . '.css';
    if (file_exists($perpagefile)) echo '<link rel="stylesheet" type="text/css" href="' . $perpagefile .'" />'."\n";
    }

    /**
    * load printer-friendly stylesheets -- named like "print*.css", alphabetically
    */
    $directory_array = $template->get_template_part($template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css'), '/^print/', '.css');
    sort($directory_array);
    while(list ($key, $value) = each($directory_array)) {
    echo '<link rel="stylesheet" type="text/css" media="print" href="' . $template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css') . '/' . $value . '" />'."\n";
    }

    /**
    * load all site-wide jscript_*.js files from includes/templates/YOURTEMPLATE/jscript, alphabetically
    */
    $directory_array = $template->get_template_part($template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'jscript'), '/^jscript_/', '.js');
    while(list ($key, $value) = each($directory_array)) {
    echo '<script type="text/javascript" src="' . $template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/' . $value . '"></script>'."\n";
    }

    /**
    * load all page-specific jscript_*.js files from includes/modules/pages/PAGENAME, alphabetically
    */
    $directory_array = $template->get_template_part($page_directory, '/^jscript_/', '.js');
    while(list ($key, $value) = each($directory_array)) {
    echo '<script type="text/javascript" src="' . $page_directory . '/' . $value . '"></script>' . "\n";
    }

    /**
    * load all site-wide jscript_*.php files from includes/templates/YOURTEMPLATE/jscript, alphabetically
    */
    $directory_array = $template->get_template_part($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'jscript'), '/^jscript_/', '.php');
    while(list ($key, $value) = each($directory_array)) {
    /**
    * include content from all site-wide jscript_*.php files from includes/templates/YOURTEMPLATE/jscript, alphabetically.
    * These .PHP files can be manipulated by PHP when they're called, and are copied in-full to the browser page
    */
    require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/' . $value); echo "\n";
    }
    /**
    * include content from all page-specific jscript_*.php files from includes/modules/pages/PAGENAME, alphabetically.
    */
    $directory_array = $template->get_template_part($page_directory, '/^jscript_/');
    while(list ($key, $value) = each($directory_array)) {
    /**
    * include content from all page-specific jscript_*.php files from includes/modules/pages/PAGENAME, alphabetically.
    * These .PHP files can be manipulated by PHP when they're called, and are copied in-full to the browser page
    */
    require($page_directory . '/' . $value); echo "\n";
    }

    // DEBUG: echo '<!-- I SEE cat: ' . $current_category_id . ' || vs cpath: ' . $cPath . ' || page: ' . $current_page . ' || template: ' . $current_template . ' || main = ' . ($this_is_home_page ? 'YES' : 'NO') . ' -->';


    ?>

    <!--[if IE 6]><link rel="stylesheet" type="text/css" media="screen" href="includes/templates/all_business/css/ie6.css" /><![endif]-->
    <!--[if IE 7]><link rel="stylesheet" type="text/css" media="screen" href="includes/templates/all_business/css/ie7.css" /><![endif]-->
    </head>
    <?php // NOTE: Blank line following is intended: ?>

    footer file:
    <?php
    /**
    * Common Template - tpl_footer.php
    *
    * this file can be copied to /templates/your_template_dir/pagename<br />
    * example: to override the privacy page<br />
    * make a directory /templates/my_template/privacy<br />
    * copy /templates/templates_defaults/common/tpl_footer.php to /templates/my_template/privacy/tpl_footer.php<br />
    * to override the global settings and turn off the footer un-comment the following line:<br />
    * <br />
    * $flag_disable_footer = true;<br />
    *
    * @package templateSystem
    * @copyright Copyright 2003-2005 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * @version $Id: tpl_footer.php 4821 2006-10-23 10:54:15Z drbyte $
    */
    require(DIR_WS_MODULES . zen_get_module_directory('footer.php'));
    ?>

    <?php
    if (!isset($flag_disable_footer) || !$flag_disable_footer) {
    ?>

    <div id="footer">

    <!--bof-navigation display -->
    <div id="navSuppWrapper">
    <!--BOF footer menu display-->

    <?php require($template->get_template_dir('tpl_footer_menu.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_footer_menu.php');?>
    <!--EOF footer menu display-->
    </div>
    <!--eof-navigation display -->
    <!--bof- site copyright display -->
    <div id="siteinfoLegal" class="legalCopyright"><?php echo FOOTER_TEXT_BODY; ?></div>
    <!--eof- site copyright display -->
    </div>

    <!--bof-ip address display -->
    <?php
    if (SHOW_FOOTER_IP == '1') {
    ?>
    <div id="siteinfoIP"><?php echo TEXT_YOUR_IP_ADDRESS . ' ' . $_SERVER['REMOTE_ADDR']; ?></div>
    <?php
    }
    ?>
    <!--eof-ip address display -->

    <!--bof-banner #5 display -->
    <?php
    if (SHOW_BANNERS_GROUP_SET5 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET5)) {
    if ($banner->RecordCount() > 0) {
    ?>
    <div id="bannerFive" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
    <?php
    }
    }
    ?>
    <!--eof-banner #5 display -->

    <?php
    } // flag_disable_footer
    ?>

    Please help me. Thx a lot
    Last edited by anqus11; 16 Dec 2010 at 12:02 PM.

  10. #800
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,378
    Plugin Contributions
    9

    Default Re: RSS2 Feed Contribution

    A couple of years ago I had this mod working just perfectly on my 1.3.7.1 and 1.3.8a installs - no problem whatsoever.

    A few days ago I decided to install the mod on a 1.3.9h store (I may have been bored and needed something to do .... ) just to find that I am encountering all sorts of problems which I won't specify here.

    After analyzing, changing, re-installing etc I have come to the conclusion that this mod is in need of a major revamp to fully comply with the 1.3.9 series.

    Sad but true.

    If anyone has the time and knowledge to take over from Andrew and redevelop the mod then that would be much appreciated.

 

 
Page 80 of 96 FirstFirst ... 3070787980818290 ... LastLast

Similar Threads

  1. Rss2 feed & Ultimate SEO URL
    By Jerry5763837 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 1 Feb 2009, 12:42 PM
  2. RSS2 feed contribution support
    By Woodymon in forum All Other Contributions/Addons
    Replies: 73
    Last Post: 26 Sep 2007, 07:38 AM
  3. How to display Price in Rss2.php ( Rss Feed )
    By anand in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 27 Jan 2007, 10:38 PM
  4. rss2.php rss feed contribution - YAHOO picks up only IMAGE URL?
    By gsh in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 29 Dec 2006, 05:19 AM
  5. Does rss2 mod also do mailing lists?
    By levander in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 3 Sep 2006, 11:15 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR