[ABD] Smixmods Feed News Center v0.4.0

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
User avatar
Smix
Registered User
Posts: 482
Joined: Mon Sep 11, 2006 1:07 am

[ABD] Smixmods Feed News Center v0.4.0

Post by Smix »

MOD Name: SmiX.MODs Feed News Center
MOD Version: 0.4.0
formerly known as lastRSS agregator & lastRSS autoposting bot .MODs, which were (or will be) merged and reworked
lastRSS parser class is not used anymore
If you need to uninstall lastRSS autoposting bot, you can check the original MODX file there


Image

MOD Description: Creates RSS & ATOM feeds input to your board - posts content into forums, shows news as ticking news block ...

If you like my work and if you want to support the development of this mod, you can do it these ways
Image or Image


Version 0.4.0 update info
If you are using previous version (lower than 0.4.0), remove .MOD from ACP at first, than delete existing files.

Note
Rework of ACP will come soonly, at this moment, when you are setting up the feed, you have to save it without templating and without posting enabled, save, open again and than you´ll have available feed attributes for templating ;-)

Features:
  • Parses:
    • RSS
    • ATOM
    • RDF
  • Automatically posts new items gathered from RSS feed
  • CRON mode
  • ACP
  • Different poster for different feeds
  • Displays news from the feeds in block above forums (NOT FINISHED - will be introduced in next versions)
Requirements:
  • PHP5
  • phpBB v3.0.6+
Works with:
  • Tested
    • 3.0.6+ (required)
Live demo board Bugtracker (please report bugs to bugstracker) Installation Level: Easy
Installation Time: 5 in Minutes
Installation note: It's not intended to be installed with AutoMOD
Format: MODX
Image
Download File:
https://github.com/jirismika/SFNC

You can also follow the development of this mod on: Github | Ohloh | @smixmods

Check out also a sneek&peek from upcoming v0.5.x on http://phpbb3.smika.net/mod/sfnc-development ;-)
Last edited by Smix on Thu Jan 23, 2014 7:44 pm, edited 26 times in total.
User avatar
Smix
Registered User
Posts: 482
Joined: Mon Sep 11, 2006 1:07 am

Re: Smixmods Feed News Center

Post by Smix »

Further informations :
  • If you are using lastRSS agregator modification, please stay and do not uninstall it, agregator & newsticker functions wasn´t implemented yet
General configuration of this mod
index init - if enabled, than index.php will update latest data of the feed ...
index posting - if enabled, while index.php is inited, it will make a post in specified forum ...
cron init - if enabled, no actions wil be performed on index - so enable this only if you'll set up a cron job on your server, initing update_feeds.php
cron posting - if enabled, feed items will be posted into specified forum, if update_feeds.php is inited ...
download function - must be set, to function, which is available on your server, possible values are "simplexml", "curl" and "fopen" ... This mod doesn't work without simplexml library, which is part of PHP5, but simplexml_load_xml might be unavailable, therefore use curl or fopen value.

Recommended settings :
If not using cron job on your server
index init - enabled
index posting - enabled
cron init - disabled
cron posting - disabled
download function - simplexml

Screenshot
http://phpbb3.smika.net/images/acp_gene ... ration.png

Screenshot of settings for feed, which is posted into forum 2, poster is ID 2 ...
http://phpbb3.smika.net/images/yahoo_acp.png

Known bugs :
  • (all versions) read/unread status of forum & posts are not visible as latest in the forum (to check)
  • topics containing an ampersand "&" are not valid and are not correctly parsed
  • Feeds using namespaces are not correctly parsed
Also check out a sneek & peek from version 0.5.0 http://phpbb3.smika.net/mod/sfnc-development ;-)
Last edited by Smix on Wed Mar 27, 2013 12:17 pm, edited 16 times in total.
User avatar
Hippie459MN
Registered User
Posts: 966
Joined: Mon Oct 15, 2007 10:13 pm
Location: Minnesota, USA

Re: [DEV] Smixmods Feed News Center v0.3.0

Post by Hippie459MN »

Very nice work! Will have to check this out today and see how it works out. :D

Thanks for all of your hard work.
User avatar
Nawid
Registered User
Posts: 329
Joined: Sat Jun 27, 2009 4:32 pm

Re: [DEV] Smixmods Feed News Center v0.3.0

Post by Nawid »

Thank you verry much!
Image
Check SuperNova Orange style on:
SchoolLife.nl
phpBB.com
User avatar
Hippie459MN
Registered User
Posts: 966
Joined: Mon Oct 15, 2007 10:13 pm
Location: Minnesota, USA

Re: [DEV] Smixmods Feed News Center v0.3.0

Post by Hippie459MN »

Is there any read mes or anything for setting this up to post feeds? I am kind of lost on what all the setting are for and or do and what is need to make my user create some posts.

Looks great and cant wait for the ticker to be installed on this. :D
User avatar
Smix
Registered User
Posts: 482
Joined: Mon Sep 11, 2006 1:07 am

Re: [DEV] Smixmods Feed News Center v0.3.0

Post by Smix »

Hello,
if you'll set index init to enabled, than index.php will update latest data of the feed ... If you'll also turn index posting to enabled than it will make a post in specified forum ... Making topic replies is not working yet.
If you'll enable cron init - no actions wil be performed on index - so enable this only if you'll set up a cron job on your server, initing update_feeds.php
... If cron posting is enabled, feed items will be posted into specified forum ...

Newsticker will come, when I'll find a cool one ;-)
User avatar
Sajaki
Registered User
Posts: 1390
Joined: Mon Mar 02, 2009 1:41 pm
Location: Amsterdam

Re: [DEV] Smixmods Feed News Center v0.3.0

Post by Sajaki »

Atom integration ? Excellent ;)
User avatar
imkingdavid
Former Team Member
Posts: 2673
Joined: Sun Jul 26, 2009 7:59 pm
Location: EST
Name: David King

Re: [DEV] Smixmods Feed News Center v0.3.0

Post by imkingdavid »

I may be interested. :lol: Good luck with it! :)
Don't forget to smile today. :)
Please do NOT contact for support via PM or email.
User avatar
Mess
Registered User
Posts: 985
Joined: Wed Jul 01, 2009 6:37 am
Name: Kim

Re: [DEV] Smixmods Feed News Center v0.3.0

Post by Mess »

Looking good, I'm gonna follow the development of this. :)
mutank
Registered User
Posts: 158
Joined: Mon Jan 05, 2009 4:47 pm
Location: Toronto, ON
Name: Dominic Struczynski

Re: [DEV] Smixmods Feed News Center v0.3.0

Post by mutank »

I applied the edits and ran the install.php and I got this at the top of my board

"Warning: Call-time pass-by-reference has been deprecated in /home/mutank/testboard/forums/includes/mods/smixmods_feed_news_center.class.php on line 715"

Line 715 is

Code: Select all

	submit_post ('post', $subject, '', POST_NORMAL, &$poll, &$data, true, true);

EDIT: I have submitted a bug report ticket.
User avatar
Smix
Registered User
Posts: 482
Joined: Mon Sep 11, 2006 1:07 am

Re: [DEV] Smixmods Feed News Center v0.3.0

Post by Smix »

Hello,

thank you for bug report! 8-) ... If you are having this issue, please re-download the package (0.3.0a) and copy the files over the old ...

I´m sorry for possible problems ... :oops:
User avatar
rabbmasterflash
Registered User
Posts: 35
Joined: Wed Dec 16, 2009 2:23 pm
Location: Colorado

Re: [DEV] Smixmods Feed News Center v0.3.0a

Post by rabbmasterflash »

well, it seemed to install ok...I am waiting for it to post now...
User avatar
therat
Registered User
Posts: 285
Joined: Sun Apr 07, 2002 6:06 pm

Re: [DEV] Smixmods Feed News Center v0.3.0a

Post by therat »

The find in language/en/acp/common.php is slightly different in mine, all appears to be working so I assume it's the same file.

This is what you say find

Code: Select all

'LOG_ERROR_EMAIL'		=> 'E-mail error» %s',
I have this

Code: Select all

'LOG_ERROR_EMAIL'		=> '<strong>E-mail error</strong><br />» %s',
Theres also an error in the DIY instructions with this line, I assume you should copy this to root

Code: Select all

After editing all templates, copy file contrib/install.php to contrib/install.php.
User avatar
Smix
Registered User
Posts: 482
Joined: Mon Sep 11, 2006 1:07 am

Re: [DEV] Smixmods Feed News Center v0.3.0a

Post by Smix »

@therat
Thanks for informations about bad installation instructions, I´ll check it ...

About the file location, no, it´s correct, copy to contrib/install.php and run the script ...


@rabbmasterflash
... why are you waiting? ... check your settings, after submitting the form, the feed will be checked, parsed and maybe posted ... It depends on the settings you´ve got in the "General Configuration" part of this mod ACP. Defaultly it´s everything disabled
User avatar
rabbmasterflash
Registered User
Posts: 35
Joined: Wed Dec 16, 2009 2:23 pm
Location: Colorado

Re: [DEV] Smixmods Feed News Center v0.3.0a

Post by rabbmasterflash »

I added the feed, and have Index Init and Index Posting enabled, I identified a Forum, User and Topic and haven't seen a post yet

Return to “[3.0.x] Abandoned MODs”