[RC2]RSS Feed

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!
Suggested Hosts
User avatar
Marcus Wendel
Registered User
Posts: 534
Joined: Sun Mar 10, 2002 5:58 pm
Location: Sweden
Contact:

Re: [RC2]RSS Feed

Post by Marcus Wendel »

joeroberts wrote:
Marcus Wendel wrote:I would like to see it modified to handle large boards as well, one of my forums have 1,2 million posts and there this mod can't be used as the query takes way too long time.
I would need help on this I have tried but with out that many post in my forum I am just shooting in the dark!
Maybe you could modify the code so it is possible to enter the number of days worth of select should get.

/Marcus
User avatar
joeroberts
Registered User
Posts: 272
Joined: Fri Jun 22, 2007 7:19 pm
Contact:

Re: [RC2]RSS Feed

Post by joeroberts »

feedreader uses IE cookies
safari has a feed reader
IE has a feed reader
Firefox has a feed reader
opera has one two
now web based ones well not see private posts at all
User avatar
AllCity
Registered User
Posts: 230
Joined: Sun Jun 22, 2008 6:33 pm
Name: Andrey Shapoval
Contact:

Re: [RC2]RSS Feed

Post by AllCity »

Bug with $last_poster and $row['username']

When write a response there and there is a user name
My mods home page.
User avatar
awiekupos
Registered User
Posts: 41
Joined: Tue Mar 27, 2007 2:23 pm
Location: www.emenang.com
Contact:

Re: [RC2]RSS Feed

Post by awiekupos »

I've created the forumrss.php file and edit the overall header file but now encounter error on the page.

Link:
http://www.emenang.com/v3/forumrss.php

Error Message:
Fatal error: Call to undefined function bbcode_nl2br() in /home/emenang/public_html/v3/forumrss.php on line 101

Any advice?
http://www.emenang.com/v3
Biggest Contest Forum in Malaysia
Got any contest? Feel free to post it here.
User avatar
joeroberts
Registered User
Posts: 272
Joined: Fri Jun 22, 2007 7:19 pm
Contact:

Re: [RC2]RSS Feed

Post by joeroberts »

what version of phpBB are you using?
User avatar
joeroberts
Registered User
Posts: 272
Joined: Fri Jun 22, 2007 7:19 pm
Contact:

Re: [RC2]RSS Feed

Post by joeroberts »

AllCity wrote:Bug with $last_poster and $row['username']

When write a response there and there is a user name
Please what is the bug??
there is supose to be a name there of the last person that posted a responce
User avatar
awiekupos
Registered User
Posts: 41
Joined: Tue Mar 27, 2007 2:23 pm
Location: www.emenang.com
Contact:

Re: [RC2]RSS Feed

Post by awiekupos »

joeroberts wrote:what version of phpBB are you using?
I'm using 3.0.1
http://www.emenang.com/v3
Biggest Contest Forum in Malaysia
Got any contest? Feel free to post it here.
Sigi1991
Registered User
Posts: 15
Joined: Sat Aug 09, 2008 3:22 am

Re: [RC2]RSS Feed

Post by Sigi1991 »

Hi! Just one question.

How can I relink the several links of my Rss-Feeds to the URL root/feed.php (whithout the phpBB3)?
User avatar
joeroberts
Registered User
Posts: 272
Joined: Fri Jun 22, 2007 7:19 pm
Contact:

Re: [RC2]RSS Feed

Post by joeroberts »

Sigi1991 wrote:Hi! Just one question.

How can I relink the several links of my Rss-Feeds to the URL root/feed.php (whithout the phpBB3)?
you feed should be in the forum folder if your forum is your root and not in a folder then you need to go to your admin pannel and edit the forum setting for you root!!
Sigi1991
Registered User
Posts: 15
Joined: Sat Aug 09, 2008 3:22 am

Re: [RC2]RSS Feed

Post by Sigi1991 »

Yeah, i know, but I like to have the RSS-Feed at www.myhomepage.de/rss.php and not www.myhomepage.de/phpBB3/rss.php.

Is this possible?
User avatar
joeroberts
Registered User
Posts: 272
Joined: Fri Jun 22, 2007 7:19 pm
Contact:

Re: [RC2]RSS Feed

Post by joeroberts »

Sigi1991 wrote:Yeah, i know, but I like to have the RSS-Feed at http://www.myhomepage.de/rss.php and not http://www.myhomepage.de/phpBB3/rss.php.

Is this possible?
go to admin pannel/server settings
find
Script path:
The path where phpBB is located relative to the domain name, e.g. /phpBB3.
and set it to the right path
Sigi1991
Registered User
Posts: 15
Joined: Sat Aug 09, 2008 3:22 am

Re: [RC2]RSS Feed

Post by Sigi1991 »

Thank you. Now, I have another question.

The members of my forum can't read the topics without login in and so my RSS-Feed just show the topics, which are readable for guests. Is is possible to integrate an testaccount in the rss-feed, so that everyone, also quests, can subscribe the Feed and see the new topics. Maybe, someone is able to make everything readable just for the RSS-Feed and if someone log in, he sees the topic, what the rss-feed have linked. Do you understand what I mean?
Sigi1991
Registered User
Posts: 15
Joined: Sat Aug 09, 2008 3:22 am

Re: [RC2]RSS Feed

Post by Sigi1991 »

And, sorry, one more question.
Can I set the RSS-Feed so, that every topic arise just one time in the feed, not more.
tlobf
Registered User
Posts: 18
Joined: Thu Aug 21, 2008 1:08 pm

Re: [RC2]RSS Feed

Post by tlobf »

im sorry if this is a stupid question, but i need to enter the code into my overall header.html file but i don't have an <html> tag to place the code...

ive copied the code in below - if someone could tell me where to post it..thanks!

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
<head>

<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="copyright" content="2002-2006 phpBB Group" />
<meta name="keywords" content="" />
<meta name="description" content="" />
{META}
<title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>

<link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" />

<script type="text/javascript">
// <![CDATA[
<!-- IF S_USER_PM_POPUP -->
	if ({S_NEW_PM})
	{
		popup('{UA_POPUP_PM}', 400, 225, '_phpbbprivmsg');
	}
<!-- ENDIF -->

function popup(url, width, height, name)
{
	if (!name)
	{
		name = '_popup';
	}

	window.open(url.replace(/&/g, '&'), name, 'height=' + height + ',resizable=yes,scrollbars=yes,width=' + width);
	return false;
}

function jumpto()
{
	var page = prompt('{LA_JUMP_PAGE}:', '{ON_PAGE}');
	var perpage = '{PER_PAGE}';
	var base_url = '{A_BASE_URL}';

	if (page !== null && !isNaN(page) && page > 0)
	{
		document.location.href = base_url.replace(/&/g, '&') + '&start=' + ((page - 1) * perpage);
	}
}

/**
* Find a member
*/
function find_username(url)
{
	popup(url, 760, 570, '_usersearch');
	return false;
}

/**
* Mark/unmark checklist
* id = ID of parent container, name = name prefix, state = state [true/false]
*/
function marklist(id, name, state)
{
	var parent = document.getElementById(id);
	if (!parent)
	{
		eval('parent = document.' + id);
	}

	if (!parent)
	{
		return;
	}

	var rb = parent.getElementsByTagName('input');
	
	for (var r = 0; r < rb.length; r++)
	{
		if (rb[r].name.substr(0, name.length) == name)
		{
			rb[r].checked = state;
		}
	}
}

<!-- IF ._file -->

	/**
	* Play quicktime file by determining it's width/height
	* from the displayed rectangle area
	*
	* Only defined if there is a file block present.
	*/
	function play_qt_file(obj)
	{
		var rectangle = obj.GetRectangle();

		if (rectangle)
		{
			rectangle = rectangle.split(',')
			var x1 = parseInt(rectangle[0]);
			var x2 = parseInt(rectangle[2]);
			var y1 = parseInt(rectangle[1]);
			var y2 = parseInt(rectangle[3]);

			var width = (x1 < 0) ? (x1 * -1) + x2 : x2 - x1;
			var height = (y1 < 0) ? (y1 * -1) + y2 : y2 - y1;
		}
		else
		{
			var width = 200;
			var height = 0;
		}

		obj.width = width;
		obj.height = height + 16;

		obj.SetControllerVisible(true);

		obj.Play();
	}
<!-- ENDIF -->

// ]]>
</script>
</head>
<body class="{S_CONTENT_DIRECTION}">

<a name="top"></a>
<br />
<div align="center">
<!-- Begin Adify tag for "Forum Leaderboard" Ad Space (728x90) ID #4259807 -->
<script type="text/javascript">
	sr_adspace_id = 4259807;
	sr_adspace_width = 728;
	sr_adspace_height = 90;
	sr_adspace_type = "graphic";
	sr_ad_new_window = true;
	
</script>
<script type="text/javascript" src="http://ad.afy11.net/srad.js?azId=4259807">
</script>
<!-- End Adify tag for "Forum Leaderboard" Ad Space (728x90) ID #4259807 -->
</div>
<br />
<div id="wrapheader">

	<div id="logodesc">
		<table width="100%" cellspacing="0">
		<tr>
			<td></td>
		</tr>
		</table>
	</div>

	<div id="menubar">
		<table width="100%" cellspacing="0">
		<tr>
			<td class="genmed" align="center">
            <a href="http://www.thelineofbestfit.com">BACK TO TLOBF.COM</a>&nbsp; &nbsp;
				<a href="{U_INDEX}"> {L_INDEX}</a>
                <!-- IF not S_USER_LOGGED_IN -->&nbsp; &nbsp;<a href="{U_LOGIN_LOGOUT}"> {L_LOGIN_LOGOUT}</a>&nbsp; &nbsp;<a href="{U_REGISTER}"> {L_REGISTER}</a><!-- ENDIF -->
                &nbsp; &nbsp;<a href="{U_FAQ}"> {L_FAQ}</a>
				<!-- IF S_DISPLAY_SEARCH -->&nbsp; &nbsp;<a href="{U_SEARCH}"> {L_SEARCH}</a><!-- ENDIF -->
				<!-- IF not S_IS_BOT -->
					<!-- IF S_DISPLAY_MEMBERLIST -->&nbsp; &nbsp;<a href="{U_MEMBERLIST}"> {L_MEMBERLIST}</a><!-- ENDIF -->
					<!-- IF S_USER_LOGGED_IN -->&nbsp; &nbsp;<a href="{U_PROFILE}"> {L_PROFILE}</a><!-- ENDIF -->
				<!-- ENDIF -->
			</td>
		</tr>
		</table>
	</div>

	<div id="datebar">
		<table width="100%" cellspacing="0">
		<tr>
            <td class="genmed"></td>
            <td class="genmed" align="right">
				<!-- IF not S_IS_BOT --><a href="{U_LOGIN_LOGOUT}"><img src="{T_THEME_PATH}/images/icon_mini_login.gif" width="16" height="14" alt="*" /> {L_LOGIN_LOGOUT}</a>&nbsp;<!-- ENDIF -->
				<!-- IF U_RESTORE_PERMISSIONS --> &nbsp;<a href="{U_RESTORE_PERMISSIONS}"><img src="{T_THEME_PATH}/images/icon_mini_login.gif" width="16" height="14" alt="*" /> {L_RESTORE_PERMISSIONS}</a><!-- ENDIF -->
				<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN --> &nbsp;<span style="color: red;">{L_BOARD_DISABLED}</span><!-- ENDIF -->
				<!-- IF not S_IS_BOT -->
					<!-- IF S_USER_LOGGED_IN -->
						<!-- IF S_DISPLAY_PM --> &nbsp;<a href="{U_PRIVATEMSGS}"><img src="{T_THEME_PATH}/images/icon_mini_message.gif" width="16" height="14" alt="*" /> {PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --></a><!-- ENDIF -->
					<!-- ELSE --> &nbsp;<a href="{U_REGISTER}"><img src="{T_THEME_PATH}/images/icon_mini_login.gif" width="16" height="14" alt="*" /> {L_REGISTER}</a>
					<!-- ENDIF -->
				<!-- ENDIF -->
			</td>
        </tr>
		</table>
    </div>
        
	<div id="findbar">
		<table width="100%" cellspacing="0">
		<tr>
			<td class="gensmall"><br /><br />{LAST_VISIT_DATE}<br />{CURRENT_TIME}</td>
            <td class="gensmall" align="right"><!-- IF S_DISPLAY_SEARCH -->
            	<a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a><br />
                <a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a><br />
                <!-- IF S_USER_LOGGED_IN --><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a><br />
                <a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a><!-- ENDIF --><!-- ENDIF --></td>
		</tr>
		</table>
    </div>
	
</div>

<div id="wrapcentre">

	<br style="clear: both;" />

	<!-- INCLUDE breadcrumbs.html -->

	<br />
rwap01
Registered User
Posts: 91
Joined: Wed Jun 04, 2008 11:09 am
Contact:

Re: [RC2]RSS Feed

Post by rwap01 »

tlobf wrote:im sorry if this is a stupid question, but i need to enter the code into my overall header.html file but i don't have an <html> tag to place the code...

ive copied the code in below - if someone could tell me where to post it..thanks!
You do have a <html> tag (although slightly altered) - it appears as

Code: Select all

<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
in your listing.
Locked

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