Page 1 of 1

You are not authorised to view this forum

PostPosted: Wed Aug 03, 2022 2:17 am
by Last Man Standing
Image

I want guests to see last post author and date information. And only when they try to go to last post they must log in. Like in phpBB 3.1. :)
I am not very good with english. I hope it is clear. What I want is not related to permissions in the ACP.
Forum version is 3.0.14.
Thanks!

Re: You are not authorised to view this forum

PostPosted: Thu Aug 04, 2022 12:13 am
by Dimetrodon
I normally wouldn't reply to something like this, but I will just because I'm one of the only members here.

This reads like you'd need custom coding to get the board index to display such information despite your permissions setup. I'm sorry, but I am not a coder, and I don't think anyone else here (at the time of this post) is either.

Re: You are not authorised to view this forum

PostPosted: Thu Aug 04, 2022 12:51 am
by |\/|ethen
I too would like to do this on my own forum.

Re: You are not authorised to view this forum

PostPosted: Sun Aug 07, 2022 1:52 pm
by Last Man Standing
Maybe someone could help us. :-?

Re: You are not authorised to view this forum

PostPosted: Mon Aug 15, 2022 7:32 am
by _anix_
Which mod are you using for that?
If you use https://www.phpbb.com/customise/db/mod/ ... pic_title/
Just replace
Code: Select all
if (!$password_protected && !$permissions_protected)

with
Code: Select all
if (!$password_protected)

In includes/mods/advanced_last_topic_titles.php

Re: You are not authorised to view this forum

PostPosted: Wed Aug 17, 2022 6:28 pm
by Last Man Standing
No!
This is what I'm using: https://www.phpbb.com/customise/db/mod/latest_topic_title_2/

My guess is that this is not related to MODs installed. It should display at least last username and last time. If not last title, also.

Re: You are not authorised to view this forum

PostPosted: Wed Aug 17, 2022 9:12 pm
by _anix_
In styles/prosilver/template/forumlist_body.html
Replace:
Code: Select all
<!-- IF forumrow.S_AUTH_READ --><!-- IF not S_IS_BOT --><!-- IF S_LTT_ICONS && forumrow.TOPIC_ICON_IMG --><img src="{T_ICONS_PATH}{forumrow.TOPIC_ICON_IMG}" width="{forumrow.TOPIC_ICON_IMG_WIDTH}" height="{forumrow.TOPIC_ICON_IMG_HEIGHT}" alt="" /> <!-- ENDIF --><a href="<!-- IF S_LTT == 1 -->{forumrow.U_LAST_POST}<!-- ELSEIF S_LTT == 2 -->{forumrow.U_NEWEST_POST}<!-- ELSE -->{forumrow.U_FIRST_POST}<!-- ENDIF -->" title="{forumrow.LATEST_TOPIC_TITLE_FULL}">{forumrow.LATEST_TOPIC_TITLE_SHORT}</a><!-- ENDIF --><br />

With:
Code: Select all
<!-- IF not S_IS_BOT --><!-- IF S_LTT_ICONS && forumrow.TOPIC_ICON_IMG --><img src="{T_ICONS_PATH}{forumrow.TOPIC_ICON_IMG}" width="{forumrow.TOPIC_ICON_IMG_WIDTH}" height="{forumrow.TOPIC_ICON_IMG_HEIGHT}" alt="" /> <!-- ENDIF --><a href="<!-- IF S_LTT == 1 -->{forumrow.U_LAST_POST}<!-- ELSEIF S_LTT == 2 -->{forumrow.U_NEWEST_POST}<!-- ELSE -->{forumrow.U_FIRST_POST}<!-- ENDIF -->" title="{forumrow.LATEST_TOPIC_TITLE_FULL}">{forumrow.LATEST_TOPIC_TITLE_SHORT}</a><br />

Re: You are not authorised to view this forum

PostPosted: Mon Aug 22, 2022 11:07 pm
by Last Man Standing
It works!
Thank you, my friend. :)]-