[ABD] Recent Posts - Last Active Post Show phpBB3 Mod

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.
magovec
Registered User
Posts: 15
Joined: Wed Mar 24, 2010 7:49 pm

Re: [RC1] Recent Posts - Last Active Post Show phpBB3 Mod

Post by magovec »

Any suggestion how to enable this mod to show up to guest users? The problem is that I have a private forum whre only logged in users are able to see posts. In this case this mod shows nothing when the user is not logged in because guests have no permission to any forum.

What I would like to achieve is to show this mod with recent posts even to guests but when the guest clicks on the topic he is redirected to login page (common behaviour because of permissions).

When I looked into the code of this mod I assume that this line

if ( ($auth->acl_get('f_read', $row['forum_id'])) || ($row['forum_id'] == '0') )

is causing the problem. Function acl_get returns only those topics that actual user has a permission to, which in the case of guest he doesn't have any permission, thus nothing is shown.

I can't figure out how to modify this to act as I want.

Thanks for ideas.
firasbh
Registered User
Posts: 3
Joined: Thu Mar 12, 2009 3:51 pm

Re: [RC1] Recent Posts - Last Active Post Show phpBB3 Mod

Post by firasbh »

Hi,
I'm using this mod on my forum, what I need from this mod to do is determine whether the post is a new topic or a reply to an existing topic.
Case 1) If the post is a new topic then show only Topic Poster once (because it's meaningless to show Topic Poster and Reply Poster at this case where the two infos are the same).
Case 2) If the post is a reply to an existing topic then it should keep displaying infos as it is now.

Also note that by doing this, anyone can distinguish new topic from a reply instantly by sight.

Thanks in advance
Firas
Last edited by firasbh on Wed Apr 21, 2010 4:10 pm, edited 2 times in total.
it.dilip
Registered User
Posts: 7
Joined: Sun Apr 18, 2010 10:31 am

Re: [RC1] Recent Posts - Last Active Post Show phpBB3 Mod

Post by it.dilip »

is there any phpbb king who can tell me that how i can scoll the latest topics
?
firasbh
Registered User
Posts: 3
Joined: Thu Mar 12, 2009 3:51 pm

Re: [RC1] Recent Posts - Last Active Post Show phpBB3 Mod

Post by firasbh »

it.dilip wrote:is there any phpbb king who can tell me that how i can scoll the latest topics
?
Supposing you've installed this mod correctly

Goto ACP >> Upper Tab >> LP_CONFIG >> Set LP_SLIDE to Yes

There you go
inick
Registered User
Posts: 3
Joined: Fri Apr 30, 2010 9:29 am

Re: [RC1] Recent Posts - Last Active Post Show phpBB3 Mod

Post by inick »

hi! i installed ur modd and its awesome but when i put the slide version the forum starts to scroll down and it makes its really huge like it keeps getting backgroun bigger and bigger how can i fix that please, and how can i remove the delay from the slideshow too :)
firasbh
Registered User
Posts: 3
Joined: Thu Mar 12, 2009 3:51 pm

Re: [RC1] Recent Posts - Last Active Post Show phpBB3 Mod

Post by firasbh »

firasbh wrote:Hi,
I'm using this mod on my forum, what I need from this mod to do is determine whether the post is a new topic or a reply to an existing topic.
Case 1) If the post is a new topic then show only Topic Poster once (because it's meaningless to show Topic Poster and Reply Poster at this case where the two infos are the same).
Case 2) If the post is a reply to an existing topic then it should keep displaying infos as it is now.

Also note that by doing this, anyone can distinguish new topic from a reply instantly by sight.

Thanks in advance
Firas
I managed to solve it
Thank you anyway

This is what I've done in the viewlast_post_slide.html
I created a small image called new.png and I've put it in images folder inside theme folder

Code: Select all

<!-- IF latest_topics.LP_T_REPLIES eq 0 -->
	<td class="row1" width="5%" align="center">
        <a title="{latest_topics.LP_FULL_TITLE}" href="{latest_topics.LP_U_VIEW_TOPIC}">
        <img src="{T_THEME_PATH}/images/new.png" /></a></td>
	<td class="row2" width="5%" align="center"></td>
	<td class="row1" width="27%" align="center">
	</td>
								
<!-- ELSE -->
        <td class="row1" width="5%" align="center"><p class="topicdetails">{latest_topics.LP_T_REPLIES}</p></td>
	<td class="row2" width="5%" align="center"><p class="topicdetails">
	<!-- IF latest_topics.LP_TOPIC_POSTER_AVATAR -->{latest_topics.LP_TOPIC_POSTER_AVATAR}
	<!-- ELSE -->
        <img src="{T_THEME_PATH}/images/no_avatar.png" height="40" width="40" alt="" /><!-- ENDIF --></p></td>
        <td class="row1" width="27%" align="center">
	<p class="topicdetails" style="white-space: nowrap;">{latest_topics.LP_TOPIC_LASTPOSTTIME}</p>
	<p class="topicdetails">{latest_topics.LP_TOPIC_LASTPOSTBY}</p>
	</td>
<!-- ENDIF -->
paul088
Registered User
Posts: 2
Joined: Tue Jul 08, 2008 9:25 pm

Making posts sticky in the Last Active Post box?

Post by paul088 »

I am using Last Active Post in my new installation of PhpBB 3.0.7 PL. I like it very much. Thank Timezone very much.

The current sticky posts are displayed within a forum which is at leas one layer under the home page. I would like to have the capability of displaying important posts on the home page.

I wonder if it is possible to make some posts sticky within the LAP box, or other MOD with such capability.

Thank you.
Lucan
Registered User
Posts: 46
Joined: Fri Jun 13, 2008 10:24 pm

Re: [RC1] Recent Posts - Last Active Post Show phpBB3 Mod

Post by Lucan »

How to change the mod, that guests do see every post? also the posts where they do not have enough rights for?

So the last post mod shows ALL posts and won't look for the rights.

So that when guest x tries to open post y with the link at the the last posts mod, he gets asked to log in or register


greetings and thanks.
zion1013
Registered User
Posts: 1
Joined: Sat May 22, 2010 11:05 pm

Re: [RC1] Recent Posts - Last Active Post Show phpBB3 Mod

Post by zion1013 »

WHERE ARE THE INSTALL DIRECTIONS, i downloaded the mod, and there is no install directions in it, Also i use a theme based on subsilver2, called codfaction, will this display correctly on my forum, or will it be all messed up
User avatar
IggyZeph
Registered User
Posts: 77
Joined: Fri Apr 30, 2010 11:20 pm

Re: [RC1] Recent Posts - Last Active Post Show phpBB3 Mod

Post by IggyZeph »

Any way to get this to show on a page that isn't index.php? All the other php files have the

Code: Select all

include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
code, but the mod still doesn't show up correctly on anything but the index. And yes, I am using it on the last line of the overall_header.html file.
evevera
Registered User
Posts: 6
Joined: Fri Mar 19, 2010 11:56 pm
Name: Katie Wang

Re: [RC1] Recent Posts - Last Active Post Show phpBB3 Mod

Post by evevera »

??

So how do you install this exactly? There's no instructions.
User avatar
Derky
Development Team Member
Development Team Member
Posts: 4882
Joined: Sun Apr 10, 2005 9:58 am
Location: Netherlands

Re: [ABD] Recent Posts - Last Active Post Show phpBB3 Mod

Post by Derky »

This topic has been marked as [ABD] - Abandoned as the mod author has not been active recently. If the MOD author wishes to continue development, please PM anyone on the MOD Team to request this topic be unlocked.

Thank you,
The phpBB Modifications Team

Return to “[3.0.x] Abandoned MODs”