vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Title of Thread[Standing Out in Middle] - May be helpful (https://vborg.vbsupport.ru/showthread.php?t=143734)

raiderlax 03-31-2007 10:00 PM

Title of Thread[Standing Out in Middle] - May be helpful
 
Well I know this is a very small modification and to some it may be really useful, to others it may not.

I'm not sure if this has already been posted, but here it goes.

This template modification makes the title of the thread appear above the reply button in the center in order for members to view what the title of the thread is better.

I'm submitting this because I find that it is really helpful when viewing a thread.

What to do:

Edit the SHOWTHREAD template and put

PHP Code:

<div style="font-size: 150%; text-align: center;">$thread[title]</div

between the $navbar and $poll lines.

It then show this:

https://vborg.vbsupport.ru/attachmen...1&d=1175395203


Just wanted to have this for people who would like to do something like this to make the thread title stand out.

Lord Kirken Mor 04-01-2007 02:07 AM

Simple but cool.

BigJimTheLug 04-01-2007 02:32 AM

Great thanks!

I've already installed this, thanks a lot!

Gizmo5h1t3 04-01-2007 08:01 AM

nice little addition, simple but effective

menababu 04-01-2007 07:16 PM

very nice just installed and happy with result!

rjmjr69 04-02-2007 05:59 AM

WOW thanks VERY nice. I love it. Love it love it....

Gizmo5h1t3 04-02-2007 09:46 AM

bit of a cosmetic addition, but adding <fieldset> to the code looks ok too, saves havin the type just sat there lookin lost....its up to you...

PHP Code:

<fieldset><div style="font-size: 200%; text-align: center;">$thread[title]</div></fieldset


rjmjr69 04-03-2007 12:23 AM

Whats that do now?

tutusinghsohi 04-03-2007 04:19 PM

simple, great and awesome...
installed and applied...

Ronak 04-07-2007 04:54 PM

Awesome hack....installed !! 5 starz..i suppose this helps in SEO of the forum too ?? ;) ?

dbirosel 04-08-2007 07:13 PM

is the title clickable on yours? It seems like its just text on mine.

kaptanblack 04-08-2007 07:46 PM

Good Template Modifications
thanx :)

RFViet 04-10-2007 01:41 PM

Thanks

BadgerDog 04-10-2007 09:49 PM

Quote:

Originally Posted by Gizmo5h1t3 (Post 1218214)
bit of a cosmetic addition, but adding <fieldset> to the code looks ok too, saves havin the type just sat there lookin lost....its up to you...

PHP Code:

<fieldset><div style="font-size: 200%; text-align: center;">$thread[title]</div></fieldset


Installed.... works good... thanks .. :)

How can I add a color to the text?

Regards,
Badger

Dr.NoTime 04-10-2007 10:46 PM

Wow. Really nice. Thanks!

Nathan2006 04-11-2007 04:28 AM

raiderlax & Gizmo5h1t3

For both codes :D

Install

harmor19 04-13-2007 09:50 PM

Thanks.

Also thanks Gizmo5h1t3 for the tip.

harmor19 04-13-2007 10:48 PM

This is what I did. I changed some attributes so you will see a different result.

Add this to your CSS
Code:

.tfieldset { border:1px solid #3e5c92}

.tlegend {
  padding: 0.2em 0.7em;
  border:1px solid #3e5c92;
  color:#3e5c92;
  font-size:120%;
  text-align:right;
  }


Here's the HTML code
HTML Code:

<table width="60%" border="0" align="center">
<tr>
<td>
<fieldset class="tfieldset">
<legend class="tlegend">Title</legend>
<div style="font-size: 200%; text-align: center;">$thread[title]</div> </fieldset>
</td>
</tr>
</table>
<br />

Here it is on my site

rjmjr69 04-14-2007 03:36 AM

Quote:

Originally Posted by harmor19 (Post 1227066)
This is what I did. I changed some attributes so you will see a different result.

Add this to your CSS
Code:

.tfieldset { border:1px solid #3e5c92}

.tlegend {
  padding: 0.2em 0.7em;
  border:1px solid #3e5c92;
  color:#3e5c92;
  font-size:120%;
  text-align:right;
  }


Here's the HTML code
HTML Code:

<table width="60%" border="0" align="center">
<tr>
<td>
<fieldset class="tfieldset">
<legend class="tlegend">Title</legend>
<div style="font-size: 200%; text-align: center;">$thread[title]</div> </fieldset>
</td>
</tr>
</table>
<br />

Here it is on my site


Ok this looks awesome but with those vague directions its going to cause confusion.

If installing NEW
Follow the directions from the original author instead of inserting the code he has insert the above HTML code
then goto your main skin CSS and at the VERY bottom input the CSS code click save.

Very nice I love it. Maybe you should post it as your own template hack.


I took it and added a couple little touch's first is I made the word TITLE bold it was sorta on the light side I know silly but hey.
And the second is a simple Blink added. So now the Word TITLE is BOLD AND BLINKS....lol

Here if you would like to do the same just substitute the above HTML for this

Code:

<table width="60%" border="0" align="center">
<tr>
<td>
<fieldset class="tfieldset">
<legend class="tlegend"><blink><b>Title</b></blink></legend>
<div style="font-size: 200%; text-align: center;">$thread[title]</div> </fieldset>
</td>
</tr>
</table>
<br />


dbirosel 04-14-2007 05:24 AM

Nice addition fellas. Look good. :D


All times are GMT. The time now is 04:28 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.01224 seconds
  • Memory Usage 1,764KB
  • 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
  • (3)bbcode_code_printable
  • (2)bbcode_html_printable
  • (3)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (20)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