[ABD]RSS Feed Poster

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
thelinx
Registered User
Posts: 230
Joined: Sat May 26, 2007 9:17 am
Name: Linus

Re: [DEV]RSS Feed Poster

Post by thelinx »

Here's a suggestion:
You should make the first post customizable!

First, you should have an text field which sets the thread title, which can look something like this:

Code: Select all

News item: {BLOG_ITEM_TITLE}
Also, have a text area, which specifies the content of the first post where you can write something like this:

Code: Select all

A new item has been retreived from the {BLOG_NAME} news blog!
Date retreived: {BLOG_ITEM_DATE}
______________________________

{BLOG_ITEM_CONTENT}
Link: [url]{BLOG_ITEM_LINK}[/url]
And both text boxes should have quick links above/next to them which inserts a value. Example:

Code: Select all

First post contents:
_______________________________________
| TEXT AREA                            | Insert the Blog items title ({BLOG_ITEM_TITLE})
| Blah                                 | Insert the Blog items date ({BLOG_ITEM_DATE})
| Yawn                                 | Insert the Blog items link ({BLOG_ITEM_LINK})
| Some more text                       |
| And some more...                     |
| And stop.                            |
_______________________________________
Of course the {BLOG_***} strings should be replaced with the applicable text.
BBCode and smilies should be parsed too.

________________________________________________________

Tell me if you like this idea, i think it would be great!
User avatar
MasterZ
Registered User
Posts: 712
Joined: Wed Sep 24, 2003 5:33 am
Contact:

Re: [DEV]RSS Feed Poster

Post by MasterZ »

I think that would be a great idea, but I don't know how to do most of that. First I will make a default that will be used, in a future release I will make it customizable.

Right now I'm just trying to get a menu to work in the ACP :)

Progress is slow, but I am learning a lot about coding Olympus.

:: Edit ::
I am installing a copy of RC2 now to work on with this mod. Then I get lunch, then I get the ACP showing up. If someone wants to help me, please do :) You can IM me or visit either of the websites in my signature and get my attention on the chat box.

I am looking forward to getting this done.
craven1
Registered User
Posts: 12
Joined: Wed Jun 20, 2007 3:42 pm

Re: [DEV]RSS Feed Poster

Post by craven1 »

thanks for trying to make this mod realy apreciated :mrgreen:
User avatar
MasterZ
Registered User
Posts: 712
Joined: Wed Sep 24, 2003 5:33 am
Contact:

Re: [DEV]RSS Feed Poster

Post by MasterZ »

no problem. I'm stuck against a wall right now though, asking for more information on the mod help forums but not getting anywhere :(
User avatar
MasterZ
Registered User
Posts: 712
Joined: Wed Sep 24, 2003 5:33 am
Contact:

Re: [DEV]RSS Feed Poster

Post by MasterZ »

I got through the beginning stage of just having files that are recognized, now I am working at programming the ACP page.

Currently this mod can:
be added via module system in ACP
create the table for the feeds (in mysql only for now)

Currently working on:
creating form that adds a new feed
saving the feed to the DB

Next thing to work on:
Display list of all feeds
Edit feeds and save new info to DB
User avatar
thelinx
Registered User
Posts: 230
Joined: Sat May 26, 2007 9:17 am
Name: Linus

Re: [DEV]RSS Feed Poster

Post by thelinx »

Great!
Can´t wait 'til this is done!
TyGuy
Registered User
Posts: 42
Joined: Fri Aug 05, 2005 9:59 pm
Location: POSTS_TABLE

Re: [DEV]RSS Feed Poster

Post by TyGuy »

Looking forward to this. Keep up the good work
User avatar
MasterZ
Registered User
Posts: 712
Joined: Wed Sep 24, 2003 5:33 am
Contact:

Re: [DEV]RSS Feed Poster

Post by MasterZ »

I have not been able to do anything with this since my last post, but tomorrow is my day off and I will be working on it as much as I can.
Anti.Social
Registered User
Posts: 51
Joined: Wed Dec 13, 2006 6:12 pm
Location: 6' Under with no marker
Contact:

Re: [DEV]RSS Feed Poster

Post by Anti.Social »

A nice idea, I had the same about 3 months ago but haven't had the time to sit down and actually start on it. Although I do have a placeholder for it on my mod dev/demo board and have since the middle of June lol.
KidneyBoy
Registered User
Posts: 81
Joined: Thu Jan 22, 2004 1:04 am

Re: [DEV]RSS Feed Poster

Post by KidneyBoy »

Looking very forward to this one! I use "FIND" on phpBB2, and will NOT convert over to 3.0 until something like this comes along. It's just too important for my site! I'm very greatful that you are taking on this task, and look very forward to following its progress!

Thanks again!
KidneyBoy
User avatar
thelinx
Registered User
Posts: 230
Joined: Sat May 26, 2007 9:17 am
Name: Linus

Re: [DEV]RSS Feed Poster

Post by thelinx »

I´m having my forum on hold, until olympus is a real release, and many mods are real releases too.
Like this mod.
So, i will practically build on my forum for like...what can it be? Couple of months, until i will really leave it to the public.
User avatar
MasterZ
Registered User
Posts: 712
Joined: Wed Sep 24, 2003 5:33 am
Contact:

Re: [DEV]RSS Feed Poster

Post by MasterZ »

In about an hour (after I eat lunch) I'm going to do more work on this. It has been slow, but I am getting it some.

Things I hope to have completed today (and please help me with these!!):
1) Accept input from already submited form
2) Save input to DB
3) Read and display info from DB

I hope to get this much done today at least, and by the end of the week I want to have this mod create the users that will be listed as the posters. Then I can start working on grabbing the feeds. That will be a tough part I think.

For this being my first mod I may have jumped in a little over my head, but I will get it. It will just take time.

I appreciate those who are waiting for this MOD, it really helps me to stay motivated knowing that my work will be used and is not going to be a waist of time.
User avatar
thelinx
Registered User
Posts: 230
Joined: Sat May 26, 2007 9:17 am
Name: Linus

Re: [DEV]RSS Feed Poster

Post by thelinx »

User avatar
MasterZ
Registered User
Posts: 712
Joined: Wed Sep 24, 2003 5:33 am
Contact:

Re: [DEV]RSS Feed Poster

Post by MasterZ »

thelinx wrote:Heres a RSS reading tutorial: http://www.phpbuilder.com/columns/ian_g ... 61212.php3
;)
Thanks for the help, it looks like that is what I will need when I get to building the feed reader.

I wish the phpBB manual said more on inserting and updating data than just this
3.3.4. Inserting Data

3.3.5. Updating Data

3.3.6. Removing Data
:)

Oh well, I will get it figured out.
User avatar
MasterZ
Registered User
Posts: 712
Joined: Wed Sep 24, 2003 5:33 am
Contact:

Re: [DEV]RSS Feed Poster

Post by MasterZ »

Am I doing something wrong here for inserting data into the DB? I keep getting an error that says:
Parse error: parse error, unexpected $ n /homepages/18/d195457837/htdocs/development/phpBB3/includes/acp/acp_feed_poster.php on line 99
SQL Insert code

Code: Select all

						$sql = "INSERT INTO ' . feed_poster_feeds . $db->sql_build_array('INSERT', array(
							'feed_url'	=> $new_url,
							'forum_id'	=> $new_forum,
							'feed_type'	=> $new_type));
						$db->sql_query($sql);
Locked

Return to “[3.0.x] Abandoned MODs”