Adding a Author Column to your ProSilver theme.

So I have noticed that there was some confusion regarding the lack of an author section in the ProSilver theme. So today I am going to show you how to add this. Now I assume that you know how to edit .css and HTML files from your own installation.

First we are going to get to the files that we need. You can use something such as FileZilla or you can do this via Arvixe’s handy file manager from your cpanel.

So first we are going to need to edit our content.css the path is as follows:

/styles/prosilver/theme/content.css

It looks like this:

author1

Now we are going to find the line that starts with:

dd.lastpost {

It should be around line 147

You are going to replace the whole part of that :

author2

With this:

dd.lastpost {
   width: 15%;
   font-size: 1.1em;
}

Like so:

author3

Then we are going to look for this piece of code in the same file:

dd.posts, dd.topics, dd.views {
width: 8%;
text-align: center;
line-height: 2.2em;
font-size: 1.2em;
}

It’s on or about line 128

Like so:

author4

below it we are going to add the following:

dd.author {
   width: 10%;
   text-align: center;
   line-height: 2.2em;
   font-size: 1.2em;
}

Like so:

author5

Ok now that we have done that save and re-upload and replace it.

Now we are going to add the actual section for the author. So time for some HTML edits we are going to navigate to the path:

/styles/prosilver/template/viewforum_body.html

Open it in your favorite editor and look for the line:

<dd class=”posts”>

Like so:

author6

Now before that line you are going to add the following line:

<dd class="author">{L_AUTHOR}</dd>

Like so:

author7

Next we are going to find the line:

<dd class=”posts”>{topicrow.REPLIES} <dfn>{L_REPLIES}</dfn></dd>

Its around line 149

Like so:

author8

Before that you are going to add the following:

<dd class="author">{topicrow.TOPIC_AUTHOR_FULL}</dd>

Like so:

author9

You will then find the following code:

<!-- IF topicrow.ATTACH_ICON_IMG -->{topicrow.ATTACH_ICON_IMG} <!-- ENDIF -->{L_POST_BY_AUTHOR} {topicrow.TOPIC_AUTHOR_FULL} » {topicrow.FIRST_POST_TIME}

It’s around line 147

Like so:

author10

You will replace that with the following:

<!-- IF topicrow.ATTACH_ICON_IMG -->{topicrow.ATTACH_ICON_IMG} <!-- ENDIF -->{L_POSTED} » {topicrow.FIRST_POST_TIME}

Like so:

author11

Ok now make sure that you save it and upload and overwrite the new one.

Now we have to do a few clean up items. Make sure that you go to themes and refresh the prosilver template like so:

author12

Also go to Templates and refresh prosilver from there as well:

author13

When you are all finished you should see this:

author14

Your all done!

If you have any questions or comments please ask away below!

Looking for quality phpBB Web Hosting? Look no further than Arvixe Web Hosting!

Tags: , , , , , , , | Posted under phpBB | RSS 2.0

Author Spotlight

Keith Pottratz

Hello My Name is Keith Pottratz. I have been working with computers for over a decade. It's my personal hobby something that I love and enjoy doing. I went to school for Computer Science, and have spent many years self teaching my self various things. I have ton's of experience in HTML,CSS, PHPBB,CPanel,CMS software, blogging software and various other systems and enviroments. My favorite thing to do though is backend developing. I find it to be a growing and ever evolving beast and I love learning about it. I look forward to giving as much knowledge as I can and help.

Leave a Reply

Your email address will not be published. Required fields are marked *