SEARCHING FOR MODERATORS

Like us on our official FaceBook page

You are not authorised to view this forum

Get help with installation and running phpBB 3.0.x

You are not authorised to view this forum

Postby Last Man Standing » Wed Aug 03, 2022 6:17 am

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

Re: You are not authorised to view this forum

Postby Dimetrodon » Thu Aug 04, 2022 4:13 am

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.
Dimetrodon
 
Posts: 32
Joined: Tue Aug 02, 2022 6:39 pm
Real name:
phpBB version: unspecified
Reputation point: 0

Re: You are not authorised to view this forum

Postby |\/|ethen » Thu Aug 04, 2022 4:51 am

I too would like to do this on my own forum.
|\/|ethen
 

Re: You are not authorised to view this forum

Postby Last Man Standing » Sun Aug 07, 2022 5:52 pm

Maybe someone could help us. :-?
No PM's
User avatar
Last Man Standing
administrator
administrator
 
Posts: 81
Joined: Thu Jul 28, 2022 5:49 am
Location: Romania
Real name: Daniel
phpBB version: phpBB 3.0
Reputation point: 0

Re: You are not authorised to view this forum

Postby _anix_ » Mon Aug 15, 2022 11:32 am

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
_anix_
 
Posts: 6
Joined: Mon Aug 15, 2022 11:11 am
Real name:
phpBB version: unspecified
Reputation point: 5

Re: You are not authorised to view this forum

Postby Last Man Standing » Wed Aug 17, 2022 10:28 pm

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.
No PM's
User avatar
Last Man Standing
administrator
administrator
 
Posts: 81
Joined: Thu Jul 28, 2022 5:49 am
Location: Romania
Real name: Daniel
phpBB version: phpBB 3.0
Reputation point: 0

Re: You are not authorised to view this forum

Postby _anix_ » Thu Aug 18, 2022 1:12 am

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
_anix_
 
Posts: 6
Joined: Mon Aug 15, 2022 11:11 am
Real name:
phpBB version: unspecified
Reputation point: 5

Re: You are not authorised to view this forum

Postby Last Man Standing » Tue Aug 23, 2022 3:07 am

It works!
Thank you, my friend. :)]-
No PM's
User avatar
Last Man Standing
administrator
administrator
 
Posts: 81
Joined: Thu Jul 28, 2022 5:49 am
Location: Romania
Real name: Daniel
phpBB version: phpBB 3.0
Reputation point: 0

Quick Reply


This question is a means of preventing automated form submissions by spambots.
   
Hide Quick Reply

Return to [3.0.x] Support Forum

Who is online

Users browsing this forum: Ahrefs [Bot] and 1 guest

cron