[DEV] RSS Feed Parser in Conjunction + [RC1]Feeds Everywhere

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Ideas Centre
Locked
barrycarlyon
Registered User
Posts: 851
Joined: Wed Mar 29, 2006 3:46 pm
Location: Manchester
Name: Barry Carlyon
Contact:

Re: [DEV] RSS Feed Parser in Conjunction + [RC1]Feeds Everywhere

Post by barrycarlyon » Tue Jun 10, 2008 10:42 pm

I am proud to release version 1 of feeds everywhere, this is the first step for the whole mod.

Details will follow regarding the feed parser.

Feeds Everywhere:

Feeds Everywhere RC-1 Released: http://files.barrycarlyon.servegame.org/phpbb/
Feeds Everywhere - Current Version; 1.0.0
Its Feeds it adds feeds to your board, adds Feeds to:
Whole Forum - Forums
Whole Forum - Threads
Whole Forum - Posts
Individual Forums (based on forum id)
Individual Theads
Ego Search

Each is individaully controlled.

Have a play

Version 2 Feature Requests Accepted
Barry Carlyon

craven1
Registered User
Posts: 12
Joined: Wed Jun 20, 2007 3:42 pm

Re: [DEV] RSS Feed Parser in Conjunction + [RC1]Feeds Everywhere

Post by craven1 » Wed Jun 11, 2008 5:44 pm

hi barrycarlyon

just tried your mod but already got problems installing

Code: Select all

Open: includes/functions.php
Find
Tip: This may be a partial find and not the whole line.

Code: Select All
		'S_TOPIC_ID'			=> request_var('t',0)
	);
Replace With
Tip: Replace the preceding line(s) to find with the following lines.

Code: Select All
		'S_TOPIC_ID'			=> request_var('t',0),
		'S_ENABLE_FEEDS'		=> ($config['feeds_enable']) ? true : false,
		'S_ENABLE_FEEDS_O_FORUMS'	=> ($config['feeds_overall_forums']) ? true : false,
		'S_ENABLE_FEEDS_O_THREADS'	=> ($config['feeds_overall_threads']) ? true : false,
		'S_ENABLE_FEEDS_O_POSTS'	=> ($config['feeds_overall_posts']) ? true : false,
		'S_ENABLE_FEEDS_EGOSEARCH'	=> ($config['feeds_egosearch']) ? true : false,
		'S_ENABLE_FEEDS_FORUM'		=> ($config['feeds_forum']) ? true : false,
		'S_ENABLE_FEEDS_THREAD'		=> ($config['feeds_thread']) ? true : false)
	);
did a clean phpbb install so cant be that

the first edit doesn't exist if i search the compleet site the word S_TOPIC_ID

only exists in mcp_viewlogs.html

and => request_var('t',0) doesn't exist at all
thx for your time

User avatar
Origin30
Registered User
Posts: 122
Joined: Wed Sep 19, 2007 1:41 pm

Re: [DEV] RSS Feed Parser in Conjunction + [RC1]Feeds Everywhere

Post by Origin30 » Wed Jun 11, 2008 6:05 pm

Does it support images from feeds into posts?

barrycarlyon
Registered User
Posts: 851
Joined: Wed Mar 29, 2006 3:46 pm
Location: Manchester
Name: Barry Carlyon
Contact:

Re: [DEV] RSS Feed Parser in Conjunction + [RC1]Feeds Everywhere

Post by barrycarlyon » Wed Jun 11, 2008 6:19 pm

@craven1 thanks I must of copied the changes from the wrong file :-) I will take a look

@origin30 I havn't tried a post with images in, I do/will fiddle the feeds in the next version to support images better anyway.
Since it is based on the phpbb engine, it should spit out images.
Last edited by barrycarlyon on Wed Jun 11, 2008 6:35 pm, edited 1 time in total.
Barry Carlyon

User avatar
Origin30
Registered User
Posts: 122
Joined: Wed Sep 19, 2007 1:41 pm

Re: [DEV] RSS Feed Parser in Conjunction + [RC1]Feeds Everywhere

Post by Origin30 » Wed Jun 11, 2008 6:25 pm

Thanks, what file was the illusive changes in functions whenever you get chance, be good to test this.

barrycarlyon
Registered User
Posts: 851
Joined: Wed Mar 29, 2006 3:46 pm
Location: Manchester
Name: Barry Carlyon
Contact:

Re: [DEV] RSS Feed Parser in Conjunction + [RC1]Feeds Everywhere

Post by barrycarlyon » Wed Jun 11, 2008 6:34 pm

Assuming that is the only glitch, the fixed package is down ready to download :-)

Here is the correct open dec.

Code: Select all


		<open src="includes/functions.php">
			<edit>
				<find><![CDATA[		'SITE_LOGO_IMG'			=> $user->img('site_logo'))
	);]]></find>
				<action type="replace-with"><![CDATA[		'SITE_LOGO_IMG'			=> $user->img('site_logo'),
		'S_ENABLE_FEEDS'		=> ($config['feeds_enable']) ? true : false,
		'S_ENABLE_FEEDS_O_FORUMS'	=> ($config['feeds_overall_forums']) ? true : false,
		'S_ENABLE_FEEDS_O_THREADS'	=> ($config['feeds_overall_threads']) ? true : false,
		'S_ENABLE_FEEDS_O_POSTS'	=> ($config['feeds_overall_posts']) ? true : false,
		'S_ENABLE_FEEDS_EGOSEARCH'	=> ($config['feeds_egosearch']) ? true : false,
		'S_ENABLE_FEEDS_FORUM'		=> ($config['feeds_forum']) ? true : false,
		'S_ENABLE_FEEDS_THREAD'		=> ($config['feeds_thread']) ? true : false)
	);]]></action>
			</edit>
		</open>


Edit: I have no idea where those _0 came from (they are zeros) but it is irrelvant same in the template edits....
Barry Carlyon

craven1
Registered User
Posts: 12
Joined: Wed Jun 20, 2007 3:42 pm

Re: [DEV] RSS Feed Parser in Conjunction + [RC1]Feeds Everywhere

Post by craven1 » Wed Jun 11, 2008 6:40 pm

thanks apreciated :D

craven1
Registered User
Posts: 12
Joined: Wed Jun 20, 2007 3:42 pm

Re: [DEV] RSS Feed Parser in Conjunction + [RC1]Feeds Everywhere

Post by craven1 » Wed Jun 11, 2008 7:20 pm

hi

after uploading the files

the link
Administration Control Panel under Module management

gives a blank page

without the files uploaded its all fine :roll:

User avatar
Origin30
Registered User
Posts: 122
Joined: Wed Sep 19, 2007 1:41 pm

Re: [DEV] RSS Feed Parser in Conjunction + [RC1]Feeds Everywhere

Post by Origin30 » Wed Jun 11, 2008 7:32 pm

Yep got an error myself trying to add the mod.

barrycarlyon
Registered User
Posts: 851
Joined: Wed Mar 29, 2006 3:46 pm
Location: Manchester
Name: Barry Carlyon
Contact:

Re: [DEV] RSS Feed Parser in Conjunction + [RC1]Feeds Everywhere

Post by barrycarlyon » Wed Jun 11, 2008 8:02 pm

Fix:

Open root/includes/acp/info/acp_rss_feeds.php

Line 23

Remove the second comma

Download pack has been updated :-)

Thanks for testing it guys :-)
Barry Carlyon

User avatar
Origin30
Registered User
Posts: 122
Joined: Wed Sep 19, 2007 1:41 pm

Re: [DEV] RSS Feed Parser in Conjunction + [RC1]Feeds Everywhere

Post by Origin30 » Wed Jun 11, 2008 8:50 pm

Any luck with it craven1?

craven1
Registered User
Posts: 12
Joined: Wed Jun 20, 2007 3:42 pm

Re: [DEV] RSS Feed Parser in Conjunction + [RC1]Feeds Everywhere

Post by craven1 » Wed Jun 11, 2008 9:03 pm

yeah thats fixxed now :)

but now i get an "General Error No mode specified."

when i click on .mods works when i add something else

we getting close :geek:

barrycarlyon
Registered User
Posts: 851
Joined: Wed Mar 29, 2006 3:46 pm
Location: Manchester
Name: Barry Carlyon
Contact:

Re: [DEV] RSS Feed Parser in Conjunction + [RC1]Feeds Everywhere

Post by barrycarlyon » Wed Jun 11, 2008 9:24 pm

I'll take a look.

I never did test it with 3.0.1 lol :-)
Barry Carlyon

barrycarlyon
Registered User
Posts: 851
Joined: Wed Mar 29, 2006 3:46 pm
Location: Manchester
Name: Barry Carlyon
Contact:

Re: [DEV] RSS Feed Parser in Conjunction + [RC1]Feeds Everywhere

Post by barrycarlyon » Wed Jun 11, 2008 9:41 pm

Fixed:

Replacement includes/acp/acp_rss_feeds.php

In the download package :-)

It tripped up because the acp_rss_feeds file is an adapted file as it is supposed to contain controls for the feed parser.....

And since there was only one thing in .mods it auto selected the only module, and told it, no mode, so it tripped up.
So not technically a bug, its an oversight.
Somethign for me to remember next mod.
Barry Carlyon

craven1
Registered User
Posts: 12
Joined: Wed Jun 20, 2007 3:42 pm

Re: [DEV] RSS Feed Parser in Conjunction + [RC1]Feeds Everywhere

Post by craven1 » Wed Jun 11, 2008 10:34 pm

maybe i am a bit stupid here

but how and where do i add the feed

Locked

Return to “[3.0.x] MODs in Development”