Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Better Tooltip - Text Enhancement [BBCode] Details »»
Better Tooltip - Text Enhancement [BBCode]
Version: 1.00, by Cloud_Strife Cloud_Strife is offline
Developer Last Online: Feb 2013 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 4.0.x Rating:
Released: 10-21-2010 Last Update: Never Installs: 21
Template Edits
Code Changes  
No support by the author.

This BBCode allows you to put some extra text in a popup window.

Installation:

Step 1:
Code:
Upload "tTip" folder to your forums root.


Step 2:
In vBulletin Control Panel: Custom BB Codes -> Add New BB Code

Title: Better Tooltip
BB Code Tag Name: tTip
Replacement:
Code:
<a class="tTip" title="{option}">{param}</a>
Example: [tTip=Hello!]Good Morning![/tTip]
Description: This BBCode allows you to put some extra text in a popup window.
Use {option}: Yes
Button Image (Optional): tTip/theme/images/ttip.png

Step 3: Open header template.

Find:
Code:
<div class="above_body"> <!-- closing tag is in template navbar -->
<div id="header" class="floatcontainer doc_header">


Add before:

Code:
<link href="tTip/theme/style.css" rel="stylesheet" type="text/css" media="all" />
<script type="text/javascript" src="tTip/js/jquery-1.3.1.min.js"></script>
<script type="text/javascript" src="tTip/js/jquery.betterTooltip.js"></script>
    <script type="text/javascript">
        $(document).ready(function(){
            $('.tTip').betterTooltip({speed: 150, delay: 300});
        });
    </script>
Screenshots: Attached.

Download Now

File Type: zip tTip.zip (46.9 KB, 103 views)

Screenshots

File Type: png screen2.png (38.9 KB, 0 views)
File Type: png screen3.png (44.1 KB, 0 views)
File Type: png screen4.png (41.2 KB, 0 views)
File Type: jpg screen1.jpg (48.6 KB, 0 views)

Show Your Support

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

Comments
  #2  
Old 10-22-2010, 01:40 PM
sulasno sulasno is offline
 
Join Date: Feb 2010
Posts: 588
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tagged and thanks
Reply With Quote
  #3  
Old 10-22-2010, 02:03 PM
Greight's Avatar
Greight Greight is offline
 
Join Date: Oct 2009
Posts: 170
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When I add the code to header, the whole forum font gets "bold". Please fix it.
Reply With Quote
  #4  
Old 10-22-2010, 02:48 PM
Cloud_Strife Cloud_Strife is offline
 
Join Date: Nov 2008
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Greight View Post
When I add the code to header, the whole forum font gets "bold". Please fix it.
Any screenshot to help you?
Reply With Quote
  #5  
Old 12-30-2010, 09:07 AM
netspy netspy is offline
 
Join Date: Feb 2005
Location: Leipzig, Germany
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does not work! You style.css has many effects to the default style and kills the layout, e.g.:

HTML Code:
#content {
	width: 270px;
	padding: 15px 25px;
	?
Why do you change basic styles like the body element or the wrapper and content IDs?
Reply With Quote
  #6  
Old 12-30-2010, 09:44 AM
netspy netspy is offline
 
Join Date: Feb 2005
Location: Leipzig, Germany
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Now I have removed all unnecessary style declarations and reduced to this code:

Code:
.tTip {cursor: pointer; color: #666; font-weight: bold;}
.tip {color: #333;}	
/*-----------------------------------------------------------------------------------------------*/
/*                                         TOOLTIP STYLES                                        */
/*-----------------------------------------------------------------------------------------------*/

.tip {
	width: 212px;
	padding-top: 37px;
	overflow: hidden;
	display: none;
	position: absolute;
	z-index: 500;
	background: transparent url(images/tipTop.png) no-repeat top;}
	
.tipMid {background: transparent url(images/tipMid.png) repeat-y; padding: 0 25px 20px 25px;}
.tipBtm {background: transparent url(images/tipBtm.png) no-repeat bottom; height: 32px;}
Now it works.
Reply With Quote
  #7  
Old 12-30-2010, 11:03 AM
GamerPerfection's Avatar
GamerPerfection GamerPerfection is offline
 
Join Date: Feb 2006
Posts: 389
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tagged.... Can you place images and hyperlinks in the popup too?
Reply With Quote
  #8  
Old 12-30-2010, 04:01 PM
GamerPerfection's Avatar
GamerPerfection GamerPerfection is offline
 
Join Date: Feb 2006
Posts: 389
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok I tested it, and firstly I had to do what netspy did to fix the layout issue.

Secondly, I tested hyperlinks and images with the thing and it doesn't work with those. I didn't realise that you can't move the cursor over the bubble when it appears as because when you move the cursor away the bubble disappears.

It would be great if you could move the cursor over the bubble and have the ability to have hyperlinks and images in the bubble so that i could click on something in the bubble.
Reply With Quote
  #9  
Old 01-05-2011, 02:33 AM
Dr.osamA's Avatar
Dr.osamA Dr.osamA is offline
 
Join Date: Aug 2004
Location: Syrie
Posts: 979
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you man

installed ander test

brb
Reply With Quote
  #10  
Old 01-05-2011, 06:37 PM
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Posts: 1,196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does not work on 4.1 PL2

Only ended up showing code in my head, above my logo.
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 01:27 PM.


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.05967 seconds
  • Memory Usage 2,326KB
  • Queries Executed 24 (?)
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
  • (5)bbcode_code
  • (1)bbcode_html
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)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
  • (5)postbit_attachment
  • (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_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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete