![]() |
Colored Thread Title for Moderator Forums
Id like to make it so posts made in my admin/moderator forums come up a different color when "new posts" is clicked - alerting my mods that new message is there for them to read..................
I cant imagine this to be too difficult? But I dont have a clue hoe to do it......... |
well, very easy i think.
open your threadbittemplate then where you can find: HTML Code:
<td class="alt1"> HTML Code:
<td class="alt1" <if condition="$thread[forumid] == xx">style="color: red;"</if>> |
There's 3 of them in there. Would you do it to all of them?
|
well, that's up to you, where exactly you change something, i just posted the how to do to mark them a bit more ;)
|
I tried it on the last one (the title) and it didn't work. I must have messed something up. ;)
|
Quote:
I did this - and nothing happened, at least nothing I was looking for or noticed. When you click "NEW POSTS" you get a listing of the new posts -- what I would like is to change the color of the threads listed there that originate from the moderator forum. :) |
any ideas?
|
try to replace
HTML Code:
$thread[title] HTML Code:
<if condition="$thread[forumid] == xx"><font color="red">$thread[title]</font> |
Would that be $$thread[threadtitle] or $thread[forumtitle]? There is no $thread[title] in the threadbit, not in mine, anyway. ;)
|
threadtitle ;)
excuse me, for not knowing every template out of mind :p |
Quote:
That took the title out entirely of some posts but not only the ones in the forumid specified....... |
read the post above, it's thredttitle, not title..
|
works fine too, thanks
|
Quote:
|
1 Attachment(s)
Quote:
I looked for Code:
$thread[threadtitle] Code:
<if condition="$thread[forumid] == 50"><font color="red">$thread[title]</font> I found two instances of Code:
$thread[threadtitle] |
HTML Code:
<if condition="$thread[forumid] == xx"><font color="red">$thread[threadtitle]</font> |
Quote:
this did nothing either - am I suppose to do this alone or in conjunction with the other??? |
Quote:
1) edit the threadbit template 2)find : Code:
<a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]"><if condition="$show['gotonewpost']"><strong>$thread[threadtitle]</strong><else />$thread[threadtitle]</if></a> Code:
<a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]"><if condition="$show['gotonewpost']"><strong><if condition="$thread[forumid] == xx"><font color="red">$thread[threadtitle]</font> |
where should I start to look to have this hack in 2.2.8?
TIA |
the easiest way would be to install logician's template conditional hack, then this would be possible in quite the same way :)
|
Xenon,
Got idea. Thanks! |
:)
you're welcome |
All times are GMT. The time now is 01:42 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|