vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Colored Thread Title for Moderator Forums (https://vborg.vbsupport.ru/showthread.php?t=65027)

joeychgo 05-12-2004 11:23 AM

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.........

Xenon 05-12-2004 11:30 AM

well, very easy i think.

open your threadbittemplate

then where you can find:
HTML Code:

<td class="alt1">
add something like
HTML Code:

<td class="alt1" <if condition="$thread[forumid] == xx">style="color: red;"</if>>
something like that should do the trick :)

Boofo 05-12-2004 11:46 AM

There's 3 of them in there. Would you do it to all of them?

Xenon 05-12-2004 11:49 AM

well, that's up to you, where exactly you change something, i just posted the how to do to mark them a bit more ;)

Boofo 05-12-2004 11:51 AM

I tried it on the last one (the title) and it didn't work. I must have messed something up. ;)

joeychgo 05-12-2004 07:58 PM

Quote:

Originally Posted by Xenon
well, very easy i think.

open your threadbittemplate

then where you can find:
HTML Code:

<td class="alt1">
add something like
HTML Code:

<td class="alt1" <if condition="$thread[forumid] == xx">style="color: red;"</if>>
something like that should do the trick :)



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.

:)

joeychgo 05-13-2004 04:56 PM

any ideas?

Xenon 05-13-2004 05:04 PM

try to replace

HTML Code:

$thread[title]
with
HTML Code:

<if condition="$thread[forumid] == xx"><font color="red">$thread[title]</font>
<else />$thread[title]</if>


Boofo 05-13-2004 05:43 PM

Would that be $$thread[threadtitle] or $thread[forumtitle]? There is no $thread[title] in the threadbit, not in mine, anyway. ;)

Xenon 05-13-2004 05:52 PM

threadtitle ;)

excuse me, for not knowing every template out of mind :p


All times are GMT. The time now is 07:58 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
  • Page Generation 0.01180 seconds
  • Memory Usage 1,737KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete