Forum Integrated News Delivery

Author Message
Reply with quote Download Post
Post Forum Integrated News Delivery 
MOD Title: FIND - Forum Integrated News Delivery - Input
MOD Author: Hacksaw <hacksaw@thecomichaven.com> (John MacAuley)
MOD Description: Delivers rss, atom, and xml newsfeeds direct to your forums.
MOD Version: 1.2.0

Instruccions for Install:

  • Run this SQL Querry

    Code: [Download] [Hide] [Select]
    CREATE TABLE phpbb_newsfeeds (
    feed_id smallint(5) unsigned NOT NULL auto_increment,
    forum_id smallint(5) unsigned NOT NULL default '0',
    user_id mediumint(8) NOT NULL default '0',
    news_url varchar(255) NOT NULL default '',
    news_name varchar(60) default NULL,
    news_limit smallint(5) unsigned NOT NULL default '0',
    news_active tinyint(1) unsigned NOT NULL default '1',
    news_encoding varchar(16) binary NOT NULL default 'Detect',
    include_channel tinyint(1) unsigned NOT NULL default '1',
    include_image tinyint(1) unsigned NOT NULL default '1',
    topic_prefix varchar(60) default NULL,
    strip_topic tinyint(1) unsigned NOT NULL default '0',
    single_post tinyint(1) unsigned NOT NULL default '0',
    use_html tinyint(1) unsigned NOT NULL default '0',
    include_icon tinyint(1) unsigned NOT NULL default '1',
    include_title tinyint(1) unsigned NOT NULL default '1',
    include_description tinyint(1) unsigned NOT NULL default '1',
    include_details tinyint(1) unsigned NOT NULL default '1',
    include_content tinyint(1) unsigned NOT NULL default '0',
    include_readmore tinyint(1) unsigned NOT NULL default '1',
    is_podcast tinyint(1) unsigned NOT NULL default '0',
    strip_images tinyint(1) unsigned NOT NULL default '0',
    PRIMARY KEY (feed_id),
    KEY forum_id (forum_id)
    );

  • Edit files

    OPEN

    includes/constants.php

    FIND

    Code: [Download] [Hide] [Select]
    // Do not insert anything but tables below!

    BEFORE, ADD

    Code: [Download] [Hide] [Select]
    // FIND - newsfeeds
    define('NEWSFEEDS_TABLE', $table_prefix . 'newsfeeds');
    define('POST_NEWSFEED_URL', 'n');
    // end FIND - newsfeeds


    OPEN

    language/lang_english/lang_main.php

    FIND

    Code: [Download] [Hide] [Select]
    //
    // That's all, Folks!

    BEFORE, ADD

    Code: [Download] [Hide] [Select]
    // FIND - newsfeeds MOD
    $lang['Check_All'] = 'Check All';
    $lang['UnCheck_All'] = 'UnCheck All';
    $lang['News_Read_More'] = 'Read more...';
    $lang['News_Read_Comments'] = 'Read comments...';
    $lang['News_Category'] = 'Category: ';
    $lang['News_Publish_Date'] = 'Publish Date: ';
    $lang['News_Source'] = 'Source: ';
    $lang['News_Description'] = 'Description: ';
    $lang['News_Summary'] = 'Summary:';
    $lang['News_Author'] = 'Author:';
    $lang['News_Direct_Download'] = 'Direct Download:';
    $lang['News_Duration'] = 'Duration:';
    $lang['News_Bytes'] = 'bytes';

    // Path to RSS icon image displayed in post. Leave empty if icon not needed.
    $lang['News_RSS_Icon'] = 'http://thecomichaven.com/images/rssIcon.gif';

    // Path to Podcast icon image displayed in post. Leave empty if icon not needed.
    $lang['News_Podcast_Icon'] = 'http://thecomichaven.com/images/podcastIcon.gif';

    // end FIND - newsfeeds MOD

  • Upload the package


 



 


Last edited by Zuker on Thu 06 Mar, 2008 18:13; edited 3 times in total 
View user's profile Send private message Visit poster's website
Close Window

Powered by Icy Phoenix based on phpBB
Design by Luca Libralato