Troubles having added topic starter column

For support and discussion related to templates, themes, and imagesets in phpBB 3.0.
Suggested Hosts
Locked
User avatar
*Christian*
I've Been Banned!
Posts: 884
Joined: Sat Nov 03, 2007 1:35 pm
Location: Location, Location.

Troubles having added topic starter column

Post by *Christian* » Wed Jul 23, 2008 5:31 pm

Hey everyone, i'm having trouble (again :( )

I have followed this guide,
prototech wrote:subsilver2 already has one... it's the "Author" column.
As for prosilver...in viewforum_body.html, find:

Code: Select all

<dt><!-- IF S_DISPLAY_ACTIVE -->{L_ACTIVE_TOPICS}<!-- ELSEIF topicrow.S_TOPIC_TYPE_SWITCH and topicrow.S_TOPIC_TYPE gt 1 -->{L_ANNOUNCEMENTS}<!-- ELSE -->{L_TOPICS}<!-- ENDIF --></dt>
After, add:

Code: Select all

<dd class="topic-author">Topic Starter</dd>
Find:

Code: Select all

<dd class="posts">{topicrow.REPLIES} <dfn>{L_REPLIES}</dfn></dd>
Before, add:

Code: Select all

<dd class="topic-author">{topicrow.TOPIC_AUTHOR_FULL} <dfn>Topic Starter</dfn></dd>
In content.css, find:

Code: Select all

ul.topiclist dt {
	display: block;
	float: left;
	width: 50%;
	font-size: 1.1em;
	padding-left: 5px;
	padding-right: 5px;
}
Replace with:

Code: Select all

ul.topiclist dt {
	display: block;
	float: left;
	width: 38%;
	font-size: 1.1em;
	padding-left: 5px;
	padding-right: 5px;
}
Find:

Code: Select all

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

Code: Select all

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

Code: Select all

dd.topic-author {
  width: 12%;
}
Then refresh your theme and template - ACP => Styles => Style Components => Templates/Themes.
however my index page now shows some unwelcome padding:

Image

Any ideas?
Proud owner of Bertie 3.0
:: No support via PM or IM ::

User avatar
*Christian*
I've Been Banned!
Posts: 884
Joined: Sat Nov 03, 2007 1:35 pm
Location: Location, Location.

Re: Troubles having added topic starter column

Post by *Christian* » Wed Jul 23, 2008 11:25 pm

Bertie Bump :mrgreen:
Proud owner of Bertie 3.0
:: No support via PM or IM ::

Thatbitextra
Former Team Member
Posts: 7604
Joined: Mon Mar 21, 2005 5:04 am
Location: A place where something is or could be located; a site.
Contact:

Re: Troubles having added topic starter column

Post by Thatbitextra » Wed Jul 23, 2008 11:27 pm

We have a six hour minimum bump rule here, please obey it :twisted:
Styles KB
My MODs: Choose Who to Accept PMs From (Prevents unwanted PMs!) | Warn of Old Topic Before Posting Reply
Style: subBlack (Now updated to phpBB 2.0.22 and 5 new color schemes!)

User avatar
prototech
Former Team Member
Posts: 5406
Joined: Mon Mar 19, 2007 2:04 pm
Location: Southern California

Re: Troubles having added topic starter column

Post by prototech » Thu Jul 24, 2008 12:18 am

Try changing:

Code: Select all

ul.topiclist dt {
   display: block;
   float: left;
   width: 38%;
   font-size: 1.1em;
   padding-left: 5px;
   padding-right: 5px;
}
To:

Code: Select all

ul.topiclist dt {
   display: block;
   float: left;
   width: 42.5%;
   font-size: 1.1em;
   padding-left: 5px;
   padding-right: 5px;
}
Need help with MOD/style installations or other phpBB problems? Contact me for a quote.

User avatar
*Christian*
I've Been Banned!
Posts: 884
Joined: Sat Nov 03, 2007 1:35 pm
Location: Location, Location.

Re: Troubles having added topic starter column

Post by *Christian* » Thu Jul 24, 2008 11:59 am

Unfortunately, whilst that made the column on the index page smaller, it caused big problems on viewforum:
Image

@Thatbitextra: Where's the harm in bumping 6 minutes early? ;)
Proud owner of Bertie 3.0
:: No support via PM or IM ::

User avatar
prototech
Former Team Member
Posts: 5406
Joined: Mon Mar 19, 2007 2:04 pm
Location: Southern California

Re: Troubles having added topic starter column

Post by prototech » Thu Jul 24, 2008 8:44 pm

After:

Code: Select all

ul.topiclist dt {
   display: block;
   float: left;
   width: 42.5%;
   font-size: 1.1em;
   padding-left: 5px;
   padding-right: 5px;
}
Add:

Code: Select all

.forabg ul.topiclist dt {
  width: 50%;
}
*Christian* wrote:it caused big problems on viewforum
Post a link to your board... I'm not experiencing any problems in viewforum.
Need help with MOD/style installations or other phpBB problems? Contact me for a quote.

User avatar
*Christian*
I've Been Banned!
Posts: 884
Joined: Sat Nov 03, 2007 1:35 pm
Location: Location, Location.

Re: Troubles having added topic starter column

Post by *Christian* » Thu Jul 24, 2008 10:11 pm

Would you be cool if i PMed you the link?

Site's not quite ready for public view yet :|
Proud owner of Bertie 3.0
:: No support via PM or IM ::

User avatar
prototech
Former Team Member
Posts: 5406
Joined: Mon Mar 19, 2007 2:04 pm
Location: Southern California

Re: Troubles having added topic starter column

Post by prototech » Thu Jul 24, 2008 10:58 pm

That would be fine. :)
Need help with MOD/style installations or other phpBB problems? Contact me for a quote.

Locked

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