vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Change title based on new posts (https://vborg.vbsupport.ru/showthread.php?t=161308)

LittleB@ 10-28-2007 11:53 AM

Change title based on new posts
 
Hello, I am not sure if I posted this in the right place at vbulletin.com so I figured I'd give it a try here as well:

Quote:

To begin with I must admit perhaps turning to a new topic a little too quick before searching this but to be honest I am not really sure of what to search for

any way, as the topic explains I want to change the title of a topic if it contains post which not yet has been read by the logged in user. (the current change is to make the topic bold but I also want to change the colour)

I guess this is done in a template somewhere but as I have little knowledge (or perhaps experience) in template editing I do not know what to look for or where. Could anyone help me with this?

oh, and another thing which I guess also is hidden in a template somewhere how to change the width of the code box? (the box you get wraped around everything when typing "[CODE")

I'd appreciate any help, thnx =)

LittleB@ 11-08-2007 11:04 PM

I did get some help to solve the issue at vb.com but now I have another problem, guess I'm not doing anything wrong by asking here as well:
Quote:

Figured I'd use the same topic as I am now looking for somewhat the same thing. I want my announcements to have the colour Red.

I did like last time but now changing the style at
Code:

<if condition="$show['announcement']">
        <td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]" colspan="2">

only to notice it did not have any affect at all, so I guess I changed the wrong style, any1 able to help me by telling me which style I am to change?
thnx in advance =)

WhaLberg 11-09-2007 12:59 PM

Well, its a better idea to put the codes between <td> and </td>. You can simply use <span style="color: red;"></span>

LittleB@ 11-09-2007 01:08 PM

thnx for the tip but I am still not sure where to put the code, does it have anything to do with <if condition="$show['announcement']"> in the postbit_legacy template or am I in the wrong template?

WhaLberg 11-09-2007 02:03 PM

You must edit threadbit_announcement template.

LittleB@ 11-09-2007 06:26 PM

thnx m8, you really made my day =)


All times are GMT. The time now is 01:10 AM.

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.00980 seconds
  • Memory Usage 1,720KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete