Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Show Thread Title On Top of the Page =) Details »»
Show Thread Title On Top of the Page =)
Version: , by Mone' Mone' is offline
Developer Last Online: Jul 2010 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 05-29-2002 Last Update: Never Installs: 0
 
No support by the author.

Show Thread Title On Top of the Page =)


I've been looking around the hack forum for a easy way to show the title of the thread at the top of the page like here at vb.org

Only way that i found was with the forum intro hack wich added more function then i needed so i came out with a template modification that work 100%


1 open showthread template

and look for:

Code:
<!-- spacer -->
<table bgcolor="{pagebgcolor}" width="{tablewidth}" cellpadding="0" cellspacing="0" border="0">
<tr><td width="10"><img width="10" height="1" src="{imagesfolder}/space.gif" alt=""></td><td width="100%">
<!-- /spacer -->
after the code you just found, add:

Code:
<center><normalfont><font SIZE=5><b>$thread[title]</B></font></normalfont><center>

Finish !


Mone'

Download Now

File Type: (21.3 KB, 113 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 05-29-2002, 01:41 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The code you posted was basically the same code I redid from that hack. The only difference is, with the way I did it, if you wanted to change the Title for the thread, you could do it without changing the actual thread title itself. Use it for announcements or whatever. If you wanted the original thread title to show, all you would have to do is erase the thread intro and the title would reappear. It is alot more flexible the way I did it. Plus the code you just did, was already posted in the Thread Intro thread.
Reply With Quote
  #3  
Old 05-29-2002, 01:49 PM
Mone' Mone' is offline
 
Join Date: May 2002
Location: Australia
Posts: 246
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

all I'm saying is for what I wanted there was no need of hacking any .php files
this is a simple template modification
the code is inserted in a different position so it doesn't broke the tables like the Thread Intro hack did

This is just a easy way to achieve the same result as your modification just without hacking

Mone
Reply With Quote
  #4  
Old 05-29-2002, 01:55 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I understand what you are saying here. And, yes, it is a simple modification if all you want is the same thread title to show just in bigger letters in the center. But if you'll look at the file (the part where I modified the code for my site) it doesn't mess with the table like the full thread intro hack would. It does the same thing as the code you posted does but gives you the flexibility to change it if you ever needed or wanted to. I bypassed the box altogether because I wanted what you did here but the ability to modify it too. I am looking for a way to do the same thing with the forum intro, but the table in that is really different and hard to get around.
Reply With Quote
  #5  
Old 05-29-2002, 03:30 PM
DudeSicko DudeSicko is offline
 
Join Date: Apr 2002
Location: Denmark
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thx, sure was a easy way to do it
Reply With Quote
  #6  
Old 05-29-2002, 10:04 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
This is just a easy way to achieve the same result as your modification just without hacking
Mone
Sorry, they are not even close to being the same. Mine can read whatever I want it to and be changed and still leave the thead title in tact. All this does is read the same thread title that you already have.
Reply With Quote
  #7  
Old 06-01-2002, 03:26 PM
Rapdis's Avatar
Rapdis Rapdis is offline
 
Join Date: Mar 2002
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I LOVE THA EASY WAYS... lol

Thanks alot...

it works however i pasted it before the
PHP Code:
!-- spacer -->
<
table bgcolor="#0E3652" width="100%" cellpadding="0" cellspacing="0" border="0">
<
tr><td width="10"><img width="10" height="1" src="https://vborg.vbsupport.ru/images/space.gif" alt=""></td><td width="100%">
<!-- /
spacer --> 
and now it looks perfect!

Thanks
Reply With Quote
  #8  
Old 06-01-2002, 03:52 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have to admit, putting it below the second table does make it looked more evenly spaced. Great suggestion!

Quote:
Originally posted by Rapdis
I LOVE THA EASY WAYS... lol

Thanks alot...

it works however i pasted it before the
PHP Code:
!-- spacer -->
<
table bgcolor="#0E3652" width="100%" cellpadding="0" cellspacing="0" border="0">
<
tr><td width="10"><img width="10" height="1" src="https://vborg.vbsupport.ru/images/space.gif" alt=""></td><td width="100%">
<!-- /
spacer --> 
and now it looks perfect!

Thanks
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:59 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.07537 seconds
  • Memory Usage 2,303KB
  • Queries Executed 22 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (2)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (1)postbit_attachment
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete