[RC2]Recent Posts Mod for PHPBB3(0.1.2)

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
foxgenco
Registered User
Posts: 4
Joined: Tue Dec 18, 2007 7:38 pm

Re: [RC2]Recent Posts Mod for PHPBB3(0.1.2)

Post by foxgenco »

GOod idea for update the style..

any way. this mod NO show the custom ICON from some topic..

so why?...
User avatar
Hammi24
Registered User
Posts: 25
Joined: Fri Dec 14, 2007 4:28 am

Re: [RC2]Recent Posts Mod for PHPBB3(0.1.2)

Post by Hammi24 »

great MOD. It would be awsome if someone does try and take a wack at it to make it easier to read. No complains from me though.
rob88
Registered User
Posts: 2
Joined: Sun Jan 13, 2008 9:08 pm
Location: Argentina

Re: [RC2]Recent Posts Mod for PHPBB3(0.1.2)

Post by rob88 »

Easy to install. Very nice job.

Only one thing: icons not changing to show new/own/announce, etc. post... Ever stay in "no new post".

Thanks a lot for this MOD.
User avatar
digitalchaos13
Registered User
Posts: 91
Joined: Sun Sep 23, 2007 4:24 pm

Re: [RC2]Recent Posts Mod for PHPBB3(0.1.2)

Post by digitalchaos13 »

Here is my recent.html file
A little change in the looks
Demo: Click to see

Code: Select all

<!-- BEGIN recent -->
	<!-- IF (recent.S_IS_CAT and not recent.S_FIRST_ROW) or recent.S_NO_CAT  -->
			</ul>

			<span class="corners-bottom"><span></span></span></div>
		</div>
	<!-- ENDIF -->

	<!-- IF recent.S_IS_CAT or recent.S_FIRST_ROW  or recent.S_NO_CAT  -->
		<div class="forabg">
			<div class="inner"><span class="corners-top"><span></span></span>
			<ul class="topiclist">
				<li class="header">
					<dl class="icon">
						<dd style="width: 46%">{TITLE}</dd>
						<dd style="width: 15%">Topic</dd>
						<dd class="width: 10%">{L_LAST_POST}</dd>
						<dd style="width: 25%"><span></span></dd>
					</dl>
				</li>
			</ul>
			<ul class="topiclist forums">
	<!-- ENDIF -->

	<!-- IF not recent.S_IS_CAT -->
		<li class="row">
			<dl class="icon" style="background-image: url({recent.TOPIC_FOLDER_IMG_SRC}); background-repeat: no-repeat;">
				<dt style="<!-- IF topicrow.TOPIC_ICON_IMG and S_TOPIC_ICONS -->background-image: url({T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}); background-repeat: no-repeat;<!-- ENDIF -->; width: 40%" title="{topicrow.TOPIC_FOLDER_IMG_ALT}">
					{recent.ATTACH_ICON_IMG} <!-- IF recent.S_HAS_POLL or recent.S_TOPIC_MOVED --><b>{recent.TOPIC_TYPE}</b> <!-- ENDIF --><a title="{L_POSTED}: {recent.FIRST_POST_TIME}" href="{recent.U_VIEW_TOPIC}" class="topictitle">{recent.TOPIC_TITLE}</a>
					<!-- IF recent.S_TOPIC_UNAPPROVED or recent.S_POSTS_UNAPPROVED -->
						<a href="{recent.U_MCP_QUEUE}">{recent.UNAPPROVED_IMG}</a>&nbsp;
					<!-- ENDIF -->
					<!-- IF recent.S_TOPIC_REPORTED -->
						<a href="{recent.U_MCP_REPORT}">{REPORTED_IMG}</a>&nbsp;
					<!-- ENDIF -->
					<!-- IF recent.PAGINATION -->
						<p class="gensmall"> [ {GOTO_PAGE_IMG}{L_GOTO_PAGE}: {recent.PAGINATION} ] </p>
					<!-- ENDIF -->
				</dt>
				<dd style="width: 15%">&nbsp;<a class="forumlink" href="{recent.U_VIEW_FORUM}">{recent.FORUM_NAME}</a></dd>
				<dd class="lastpost">
				  <span>
				    by {recent.LAST_POST_AUTHOR_FULL} <a href="{recent.U_LAST_POST}">{LAST_POST_IMG}</a> <br />on {recent.LAST_POST_TIME}
				  </span>
				</dd>
				<dd style="width: 8%"><span>&nbsp;{L_REPLIES}&nbsp;:{recent.REPLIES}<br />&nbsp;{L_VIEWS}&nbsp;:{recent.VIEWS}</span></dd>
			</dl>
		</li>
	<!-- ENDIF -->

	<!-- IF recent.S_LAST_ROW -->
			</ul>

			<span class="corners-bottom"><span></span></span></div>
		</div>
	<!-- ENDIF -->

<!-- BEGINELSE -->
    	<div class="forabg">
			<div class="inner"><span class="corners-top"><span></span></span>
			<ul class="topiclist">
				<li class="header">
					<dl class="icon">
						<dt>&nbsp;{TITLE}&nbsp;</dt>
					</dl>
				</li>
			</ul>
			<ul class="topiclist forums">
				<li class="row">
				<dl class="icon">
				  <dd style="line-height: 1.2em"><strong><!-- IF not S_SORT_DAYS -->{L_NO_TOPICS}<!-- ELSE -->{L_NO_TOPICS_TIME_FRAME}<!-- ENDIF --></strong></dd>
				</dl>
				</li>
			</ul>
			<span class="corners-bottom"><span></span></span></div>
		</div>
<!-- END recent -->
grover66
Registered User
Posts: 36
Joined: Mon Mar 19, 2007 1:48 pm

Re: [RC2]Recent Posts Mod for PHPBB3(0.1.2)

Post by grover66 »

Thanks for this mod, it is easy to install, works great & useful configuration options.
grover66
Registered User
Posts: 36
Joined: Mon Mar 19, 2007 1:48 pm

Re: [RC2]Recent Posts Mod for PHPBB3(0.1.2)

Post by grover66 »

Noticed one bug, BB code is not displayed properly.
For example, the BBcode for BOLD shows up like this

[b:27x02wh3]this should be bold[/b:27x02wh3]

Regards
Solarcaine
Registered User
Posts: 23
Joined: Thu Jan 31, 2008 1:29 pm

Re: [RC2]Recent Posts Mod for PHPBB3(0.1.2)

Post by Solarcaine »

This is great thanks man! Is there any way I link the title to "view new posts"?
herbie_popnecker
Registered User
Posts: 26
Joined: Sun Dec 11, 2005 5:56 am

Re: [RC2]Recent Posts Mod for PHPBB3(0.1.2)

Post by herbie_popnecker »

I'm getting this error if I call recent.php

Code: Select all

Fatal error: Call to undefined function request_var() in /var/www/forums/recent.php on line 423
Niels83
Registered User
Posts: 49
Joined: Fri Apr 07, 2006 7:41 am
Contact:

Re: [RC2]Recent Posts Mod for PHPBB3(0.1.2)

Post by Niels83 »

herbie_popnecker wrote:I'm getting this error if I call recent.php

Code: Select all

Fatal error: Call to undefined function request_var() in /var/www/forums/recent.php on line 423
Me too, how to fix this?
daniloff
Registered User
Posts: 12
Joined: Wed Aug 09, 2006 1:21 pm
Contact:

Re: [RC2]Recent Posts Mod for PHPBB3(0.1.2)

Post by daniloff »

grover66 wrote:Noticed one bug, BB code is not displayed properly.
For example, the BBcode for BOLD shows up like this

[b:27x02wh3]this should be bold[/b:27x02wh3]

Regards
I´ve the same problem.
keeiL
Registered User
Posts: 7
Joined: Wed Feb 06, 2008 3:03 pm

Re: [RC2]Recent Posts Mod for PHPBB3(0.1.2)

Post by keeiL »

Thanks for a great mod!

PHP Classes for this kind of taks is great, especially when you wan't to do same type of task over again. And that is actually my problem here.
I want to display recent posts from specific forums_id's and from other in two diffrent columns in my custom index page. ie. latest news (from news forum) and latest forum activity (the rest of the forum exept news).
Basicly, I want to execute this class and assign a custom prefix for eatch execute. Maby to think of to next release ?

Thanks!
keeiL
Registered User
Posts: 7
Joined: Wed Feb 06, 2008 3:03 pm

Re: [RC2]Recent Posts Mod for PHPBB3(0.1.2)

Post by keeiL »

herbie_popnecker wrote:I'm getting this error if I call recent.php

Code: Select all

Fatal error: Call to undefined function request_var() in /var/www/forums/recent.php on line 423
Looks like includes/functions_display.php is not included properly in your indexfile or whatever file you're including recent.php
daniloff
Registered User
Posts: 12
Joined: Wed Aug 09, 2006 1:21 pm
Contact:

Re: [RC2]Recent Posts Mod for PHPBB3(0.1.2)

Post by daniloff »

grover66 wrote:Noticed one bug, BB code is not displayed properly.
For example, the BBcode for BOLD shows up like this

[b:27x02wh3]this should be bold[/b:27x02wh3]

Regards
I used eregi_replace to eliminate ":2yaaau4t", ":2i39nnp6", ":1fg8xyik", ... I´d like to find a more elegant solution. Anyone has any idea?
Last edited by daniloff on Sat May 10, 2008 9:34 pm, edited 4 times in total.
jimbuist
Registered User
Posts: 1
Joined: Mon Mar 31, 2008 4:56 pm

Re: [RC2]Recent Posts Mod for PHPBB3(0.1.2)

Post by jimbuist »

I need help with the configuration of the mod. Your instructions indicate:

"for the configuration of this mod, please open recent.php and find them between line 15 and line
84, or open code document/for user/index.html, find "Variables" for more details"

Please forgive my ignorance. I am very new at this. While the rest of your instructions were exceptionally clear to me and easy to follow, I don't understand the configuration instructions. Can you be more specific as to how to open either of these files, where they should be located, and/or what I need to look for on this last step? Is this supposed to be done within the Administration Control Panel or do I do it with a text editor or some other program?

My confusion aside, I love the way this looks. It is GREAT. Nice job. FYI, I chose to move the recent posts to below the forum listings by placing the "<!-- INCLUDE recent.html --> <br clear="all" />" lines BELOW the "<!-- INCLUDE forumlist_body.html -->" line in the index-body.html file.
fremont
Registered User
Posts: 1
Joined: Mon Apr 21, 2008 8:59 pm

Re: [RC2]Recent Posts Mod for PHPBB3(0.1.2)

Post by fremont »

Hi
I followed the instruction provided in the install.txt file. However, after making changes, I still could not see the recent posts in my forum. What might be the issue?

However, when I check your site and read others posts, it seems to be working fine for them.

Thanks
Fre
Locked

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