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)
-   -   Forum Display Enhancements - explanation (https://vborg.vbsupport.ru/showthread.php?t=172532)

Leo? 03-08-2008 10:00 PM

explanation
 
http://img142.imageshack.us/img142/4364/adsztm2.jpg


Open the 'Threadbit ' template


Find
PHP Code:

<a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]id="thread_title_$thread[realthreadid]"<if condition="$show['gotonewpost']"style="font-weight:bold"</if>>$thread[threadtitle]</a

And add after it:
PHP Code:

<a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]class="tooltip">$thread[threadtitle]<em><span></span>$thread[preview]</em></a

Add Additional CSS Definitions
PHP Code:

a.tooltip em {
    
display:none;
}
a.tooltip:hover {
    
border0;
    
positionrelative;
    
z-index500;
    
text-decoration:none;
}
a.tooltip:hover em {
    
font-stylenormal;
    
displayblock;
    
positionabsolute;
    
top20px;
    
left: -10px;
    
padding5px;
    
color#000;
    
border1px solid #bbb;
    
background#ffc;
    
width:170px;
}
a.tooltip:hover em span {
    
positionabsolute;
    
top: -7px;
    
left15px;
    
height7px;
    
width11px;
    
backgroundtransparent url(images/info.gif);
    
margin:0;
    
padding0;
    
border0;


pict. :
http://img253.imageshack.us/img253/9499/infoaz8.gif

lasto 03-09-2008 01:54 PM

what does this do exactly m8 ?

codershark 03-09-2008 02:19 PM

it shows a part of the content from the thread, you see it on the pic

lasto 03-09-2008 06:57 PM

thats just it - i dont see the pic - is just a big white gap

weird in IE i see no pic - i have to use firefox to see the attached pic

shaynehammy 03-11-2008 07:28 PM

I use IE too and cant see any pic. Just big white space.

TCE Killa 03-11-2008 11:47 PM

That's odd, I use IE to and I can see the pic.

xxshatteredsoul 03-11-2008 11:55 PM

Picture shows up fine for me using IE7
here is a direct link to that pic try copy & pasting it into your browser
http://img142.imageshack.us/img142/4364/adsztm2.jpg

mahmuttunc 03-12-2008 07:05 AM

i am using IE7 to and picture is visible

SHANE-D-PAIN 03-12-2008 11:22 PM

Nice little bit of CSS. Used it for the nav on teenageforums.com

xxshatteredsoul 03-19-2008 02:25 AM

Works awesome on IE7.

gibigbig 03-24-2008 11:02 PM

doesnt work in FF
in 3.6.8 level patch 2


All times are GMT. The time now is 03:14 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.02050 seconds
  • Memory Usage 1,746KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (11)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