Add an "Author" column to Prosilver

For support and discussion related to templates, themes, and imagesets in phpBB 3.2.
Post Reply
User avatar
remboserver
Registered User
Posts: 4
Joined: Mon Feb 06, 2017 8:33 am
Name: Rembo Server
Contact:

Add an "Author" column to Prosilver

Post by remboserver » Mon Feb 06, 2017 9:20 am

Hi!
I read article:
Add an "Author" column to Prosilver
Wery nice!
But how make this in new version phpBB 3.2 ?..
Thnx!
Last edited by JimA on Fri Feb 10, 2017 11:20 am, edited 1 time in total.
Reason: Moved to 3.2 Styles Support & Discussion

User avatar
Neculai Anisor
Registered User
Posts: 172
Joined: Tue Jan 08, 2013 9:36 pm
Location: Renfrew, Renfrewshire, Scotland
Name: Neculai Anișor
Contact:

Re: Add an "Author" column to Prosilver

Post by Neculai Anisor » Fri Feb 10, 2017 11:56 am

Open styles/prosilver/template/viewforum_body.html
Find:
<dd class="posts">{L_REPLIES}</dd>
Before, Add:
<dd class="p_author">{L_AUTHOR}</dd>

Find:
<dd class="posts">{topicrow.REPLIES} <dfn>{L_REPLIES}</dfn></dd>
Before, Add:
<dd class="p_author">{topicrow.TOPIC_AUTHOR_FULL} <dfn>{L_AUTHOR}</dfn></dd>

Open styles/prosilver/theme/content.css
Find:
dd.posts, dd.topics, dd.views, dd.extra, dd.mark {
Replace with:
dd.posts, dd.topics, dd.views, dd.extra, dd.mark, dd.p_author {

Find:

Code: Select all

dd.posts, dd.topics, dd.views {
	width: 95px;
}
Replace with:

Code: Select all

dd.posts, dd.topics, dd.views {
	width: 55px;
}
After, Add :

Code: Select all

dd.p_author {
	width: 120px;
}
Find:
dd.lastpost, dd.redirect, dd.moderation, dd.time, dd.info {
Replace with:
dd.redirect, dd.moderation, dd.time, dd.info {

Before, Add:

Code: Select all

dd.lastpost {
	width: 160px;
	font-size: 1.1em;
}
Result:
Image
Image | Romanian Support Team | Animo @ phpBB.ro - Administrator

Post Reply

Return to “[3.2.x] Styles Support & Discussion”