You are not authorised to view this forum

Get help with installation and running phpBB 3.0.x
User avatar
Last Man Standing
administrator
administrator
Posts: 91
Joined: Thu Jul 28, 2022 5:49 am
Real name: Daniel
phpBB version: phpBB 3.0
Location: Romania
Contact:

You are not authorised to view this forum

Post 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!
No PM's
Dimetrodon
Posts: 32
Joined: Tue Aug 02, 2022 6:39 pm
Real name:
phpBB version: unspecified

Re: You are not authorised to view this forum

Post 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.
|\/|ethen

Re: You are not authorised to view this forum

Post by |\/|ethen »

I too would like to do this on my own forum.
User avatar
Last Man Standing
administrator
administrator
Posts: 91
Joined: Thu Jul 28, 2022 5:49 am
Real name: Daniel
phpBB version: phpBB 3.0
Location: Romania
Contact:

Re: You are not authorised to view this forum

Post by Last Man Standing »

Maybe someone could help us. :-?
No PM's
User avatar
_anix_
Posts: 6
Joined: Mon Aug 15, 2022 11:11 am
Real name:
phpBB version: unspecified

Re: You are not authorised to view this forum

Post 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
User avatar
Last Man Standing
administrator
administrator
Posts: 91
Joined: Thu Jul 28, 2022 5:49 am
Real name: Daniel
phpBB version: phpBB 3.0
Location: Romania
Contact:

Re: You are not authorised to view this forum

Post by Last Man Standing »

No!
This is what I'm using: https://www.phpbb.com/customise/db/mod/ ... c_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.
No PM's
User avatar
_anix_
Posts: 6
Joined: Mon Aug 15, 2022 11:11 am
Real name:
phpBB version: unspecified

Re: You are not authorised to view this forum

Post 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 />
User avatar
Last Man Standing
administrator
administrator
Posts: 91
Joined: Thu Jul 28, 2022 5:49 am
Real name: Daniel
phpBB version: phpBB 3.0
Location: Romania
Contact:

Re: You are not authorised to view this forum

Post by Last Man Standing »

It works!
Thank you, my friend. :)]-
No PM's
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest