Hi!
New RSS FEED Style
New: Support for [Mod] NewsletterFeatures:
.) Four different feeds, Home, - Category, - Details, - News ...
.) in all feeds, the thumbnails displayed ...
.) on the homepage displays all the new images ...
on the categorypage, the images of that category are displayed ...
on the detailpage will display all the Comments to the image ...
.) language english/deutsch ...
Demo Homepage FeedDemo Category FeedDemo Details FeedDemo other feed styleDemo News FeedIn the top of the "rss.php" code you can change the colors...
if in the top of the "rss.php" code no name entered, is automatic the user name in the copyright written...
the "year" in copyright note will be updated automatically...
and for the news feed you can upload an image..
//##################### SETTING ######################
@define('RSS_DEFAULT_ITEMS', 20);
@define('RSS_MAX_ITEMS', 50);
$linkcolor = "004c75";
$bgcolor = "#ffffff";
$tablecolor = "#004C75";
$bgimage = "#e1e1e1";
$row1 ="#e1e1e1";
$row2 ="#efefef";
$fontcolor1 = "#fcdc43";
$fontcolor2 = "#004C75";
$copyright = ""; // is here no name entered, is automatic the user name in the copyright written
$news_img = TEMPLATE_PATH."/images/news_feed.png"; //path to your news feed image
//##################### SETTING ######################
search in lang/english/main.php:
?>insert above:
//-----------------------------------------------------
//--- RSS FEED ----------------------------------------
//-----------------------------------------------------
$lang['note_text'] = "\"{site_name}\" cannot be held responsible for the content of this Message.";
$lang['note'] = "Note:";
$lang['comments2'] = "Comments";
$lang['comment_text'] = "There are no comments to the Image ";
$lang['comment_text2'] = " .";
$lang['comment_title'] = "New comment to the Image: ";
$lang['comment_data_title'] = "New comment on \"{site_name}\" to the image: ";
$lang['cat_title'] = "Categrory ";
$lang['cat_data_title'] = "New image on \"{site_name}\" in category: ";
$lang['img_title'] = "New image - ";
$lang['img_data_title'] = "New image on \"{site_name}\" : " ;
$lang['news_data_title'] = "New Message on \"{site_name}\" " ;
$lang['news_message'] = "Message: ";
$lang['news_title_message'] = "News: ";
search in lang/deutsch/main.php:
?>insert above:
//-----------------------------------------------------
//--- RSS FEED ----------------------------------------
//-----------------------------------------------------
$lang['note_text'] = "Die Betreiber von \"{site_name}\" können keine Verantwortung für den Inhalt dieser Nachricht übernehmen.";
$lang['note'] = "Hinweis:";
$lang['comments2'] = "Kommentare";
$lang['comment_text'] = "Es wurden noch keine Kommentare zu dem Bild ";
$lang['comment_text2'] = " abgegeben.";
$lang['comment_title'] = "Neuer Kommentar zu dem Bild: ";
$lang['comment_data_title'] = "Neuer Kommentar auf \"{site_name}\" zu dem Bild: ";
$lang['cat_title'] = "Kategorie ";
$lang['cat_data_title'] = "Neues Bild auf \"{site_name}\" in der Kategorie: ";
$lang['img_title'] = "Neues Bild - ";
$lang['img_data_title'] = "Neues Bild auf \"{site_name}\" : " ;
$lang['news_data_title'] = "Neue Nachricht auf \"{site_name}\" " ;
$lang['news_message'] = "Nachricht: ";
$lang['news_title_message'] = "News: ";
if the feeds not displayed the pagename, replace in the main.php all:
\"{site_name}\"
with:
\"".$config['site_name']."\"
search in categories.php:
"rss_url" => $script_url."/rss.php?action=images&".URL_CAT_ID."=".$cat_id
and replace:
"rss_url" => $script_url."/rss.php?action=category&".URL_CAT_ID."=".$cat_id
attachment (rss.zip):
the "rss.php" copy in your root folder.
the "rss_item.xml" copy in your templates folder.
mfg Andi
p.s: zu dem style ist mir nicht wirklich etwas besseres eingefallen @mawenzi möge es mir verzeihen
22