inherit
Graphics Ninja
3
0
Nov 19, 2012 12:17:26 GMT -8
Ryan Roos
Wordsmyth
35,133
November 2003
ryan
|
Post by Ryan Roos on Dec 26, 2012 14:44:20 GMT -8
I find that a lot of the time I get distracted while reading a thread and then forget which thread I'm in. This isn't a problem unless I've scrolled down, which is most of the time. So in reality this is usually a problem for me.
I introduce the Thread Title in Action Bar mod.
You'll never guess what it does? It places the thread title into the action bar. Amazing, I know.
I had originally planned to unveil this as part of a plugin we're working on, but I actually think I'll just include a much better version of it when we get around to that. I in no way claim this is the best way to do this, in fact, I'm certain it is not. However you may feel free to modify it as you wish and if you make a better version include it as a response to this.
First modify the line in your Layout Template > Thread
$[pagination]
to be
$[pagination]<div class="thread-title">$[thread.subject]</div>
Then at the bottom of your style sheet for the same theme paste this.
.thread-title { float: right; padding-top:10px; font-size: 14px; font-weight:bold; text-align: center; width: 42%; color:@pagination_text_color; overflow:hidden; }
Feel free to modify that to whatever colors and styles work best for you. You may want to mess with the width depending on your forum, though I found the 42% to work great in most cases I tried.
GLHF
|
|
inherit
177461
0
Apr 21, 2019 7:46:59 GMT -8
Speed33
168
March 2012
speed33
|
Post by Speed33 on Dec 28, 2012 11:24:48 GMT -8
To differentiate the actual thread title in the title bar to the action bar designation I added the word Thread to the script like this:
$[pagination]<div class="thread-title">$[thread.subject] Thread</div>
with a space between the closing bracket and the letter T.
|
|
inherit
\o/ ^o^ /o_ /o\
16464
0
Jul 22, 2024 13:57:10 GMT -8
pawl
29,621
November 2003
pollo
Pink Stars
|
Post by pawl on Dec 29, 2012 12:42:24 GMT -8
|
|
inherit
58740
0
Aug 20, 2024 7:29:21 GMT -8
®i©hie
I'm not very active here anymore thanks to my full-time job. - 12/27/23
14,036
September 2005
soe
|
Post by ®i©hie on Dec 29, 2012 13:58:19 GMT -8
|
|
inherit
First Contributor
66253
0
Mar 18, 2024 11:09:20 GMT -8
aRMY83
2,925
December 2005
army83
|
Post by aRMY83 on Dec 30, 2012 6:46:17 GMT -8
Now this is nice Ryan.
|
|
rallynavigator
New Member
If I knew where I was going I would be there by now
Posts: 51
inherit
186068
0
Jan 3, 2015 18:31:32 GMT -8
rallynavigator
If I knew where I was going I would be there by now
51
November 2012
rallynavigator
|
Post by rallynavigator on Dec 30, 2012 9:55:53 GMT -8
First time at adjusting the template and this appears. Have I put it into the wrong section. Script removed and all ok again.
|
|
inherit
186864
0
Jul 12, 2013 13:07:52 GMT -8
triplew64
78
December 2012
triplew64
|
Post by triplew64 on Jan 21, 2013 13:45:51 GMT -8
Awesome. I was wondering at first what were you talking about. So I just tried it on a theme and wow. Pretty slick and very useful. Thanks for putting this together.
|
|
inherit
120077
0
Mar 22, 2021 9:37:29 GMT -8
My Name is Billy Moonstone
726
February 2008
askandprosper
|
Post by My Name is Billy Moonstone on Jan 22, 2013 1:58:31 GMT -8
Hi Ryan Roos this doesn't appear to work properly when you have a lot of posts/pages in the thread and so the pagination to the left is extended - it pushes the title down onto a second line and to the right - I've attached a pic. It's the same thing in Safari and Firefox so I don't think it's a browser issue On threads where there is only the 1 or 2 pages of posts , it's fine Any idea if it can be fixed so the title stays pretty much central relative to the thread on longer threads? Thanks Attachments:
|
|
inherit
167603
0
Aug 5, 2013 21:55:15 GMT -8
LifeOfWylie
261
June 2011
wylie
|
Post by LifeOfWylie on Feb 5, 2013 6:05:41 GMT -8
Any idea if it can be fixed so the title stays pretty much central relative to the thread on longer threads? Like Ryan Roos said:Feel free to modify that to whatever colors and styles work best for you. You may want to mess with the width depending on your forum, though I found the 42% to work great in most cases I tried. You have to to test the adjustments. Mine did the same on a 10-pager and I set my width at around 30%. Worst case scenario: Shorten your thread titles. If it helps have the thread in question open while editing the width in CSS. Save, then reload the thread to quickly check this.
|
|
inherit
\o/ ^o^ /o_ /o\
16464
0
Jul 22, 2024 13:57:10 GMT -8
pawl
29,621
November 2003
pollo
Pink Stars
|
Post by pawl on Feb 8, 2013 15:57:41 GMT -8
You can also reduce the size of the font in the CSS, to give yourself a little extra room. =]
|
|