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

Reply
 
Thread Tools
"Thread Information" In A Table On Top Of The Showthread Details »»
"Thread Information" In A Table On Top Of The Showthread
Version: 1.00, by organik81 organik81 is offline
Developer Last Online: Sep 2022 Show Printable Version Email this Page

Version: 3.5.0 RC2 Rating:
Released: 09-04-2005 Last Update: 09-04-2005 Installs: 24
Template Edits
 
No support by the author.

With this small modification, you can add some thread informations (title, vews, replies ...) at top pf the thread page.. I put a screenshot below...

- In SHOWTHREAD template find ;
HTML Code:
$navbar
Add below ;
HTML Code:
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>

<td class="tcat"><span class="smallfont"><b><center>Thread Informations</center></b></span></td></tr>

<tr valign="middle"><td class="alt1">
<br />
<center><h3>$thread[title]</h3>
<h4>$vbphrase[views] : $thread[views]</h2>
<b>$vbphrase[replies] : $thread[replycount]</b><br /><br />
<b>Users Viewing This Thread : $activeusers</b></center>
</td>
</tr>
</table>
<br />
And make these settings below ;

- vBulletin Options >> Server Settings and Optimization Options >> Update Thread Views Immediately >> Yes

- vBulletin Options >> Thread Display Options (showthread) >> Show Users Browsing Threads >> Yes

Show Your Support

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

Comments
  #12  
Old 12-30-2005, 07:47 AM
GuaRRand GuaRRand is offline
 
Join Date: Oct 2005
Posts: 337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

HOw can i change the fontsizes etc??
(sorry, not that big on codig myself :P )
Reply With Quote
  #13  
Old 12-30-2005, 08:38 AM
GuaRRand GuaRRand is offline
 
Join Date: Oct 2005
Posts: 337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nvm, got it...

The <h2> etc.. :P
Reply With Quote
  #14  
Old 12-30-2005, 10:23 AM
firstrebel's Avatar
firstrebel firstrebel is offline
 
Join Date: Dec 2005
Location: West London
Posts: 380
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice *clicks install*

Bob
Reply With Quote
  #15  
Old 02-17-2006, 09:04 PM
sistem73 sistem73 is offline
 
Join Date: Jan 2006
Location: Kurdish Forum's
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks sağol adamım
Reply With Quote
  #16  
Old 03-08-2006, 08:56 PM
Zowners Zowners is offline
 
Join Date: Dec 2005
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To get just a thread title like I did here: http://www.computercreators.com/showthread.php?t=448

Find:
Code:
$navbar
Add After

Code:
<center><h1>$thread[title]</h1></center>
Reply With Quote
  #17  
Old 03-16-2006, 10:19 PM
silurius silurius is offline
 
Join Date: Oct 2004
Posts: 404
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great idea! Can someone help me with the syntax for using an <if> statement to make this only show up for a particular forum?
Reply With Quote
  #18  
Old 03-16-2006, 10:52 PM
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Posts: 1,552
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try something like this:

Code:
<if condition="in_array($forumid, array(x, y, z))">
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>

<td class="tcat"><span class="smallfont"><b><center>Thread Informations</center></b></span></td></tr>

<tr valign="middle"><td class="alt1">
<br />
<center><h3>$thread[title]</h3>
<h4>$vbphrase[views] : $thread[views]</h2>
<b>$vbphrase[replies] : $thread[replycount]</b><br /><br />
<b>Users Viewing This Thread : $activeusers</b></center>
</td>
</tr>
</table>
<br />
</if>
I placed an "array" in case you wanted to add more forums. Where "x", "y" and "z" just replace them with the forumids. See if that works.
Reply With Quote
  #19  
Old 03-16-2006, 11:40 PM
silurius silurius is offline
 
Join Date: Oct 2004
Posts: 404
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works like a charm. Needed that for a few other hacks as well, so thank you very much!
Reply With Quote
  #20  
Old 03-16-2006, 11:54 PM
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Posts: 1,552
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Glad to have helped.
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 02:44 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04507 seconds
  • Memory Usage 2,301KB
  • Queries Executed 26 (?)
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
  • (3)bbcode_code
  • (2)bbcode_html
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete