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

Reply
 
Thread Tools
SCANU - Forum description on title mouseover [as Xenforo] Details »»
SCANU - Forum description on title mouseover [as Xenforo]
Version: 2.00, by Scanu Scanu is offline
Developer Last Online: Apr 2022 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 4.x.x Rating:
Released: 12-12-2011 Last Update: Never Installs: 37
Template Edits
Code Changes Translations  
No support by the author.

Description

This modification show an elegant forum description when moving mouse over the forum title. Look at the screenshots for more! This is mod is temporary template modification of the future product that i'm working on. I've just released this "beta" for who wants to use this now.

Installation
Go in "Adimncp/Styles and Templates/Your style - Edit Templates/Forum Home Templates/forumhome_forumbit_level2_post/" and replace this code
PHP Code:
<h2 class="forumtitle"><a href="{vb:link forum, {vb:raw forum}}">{vb:raw forum.title}</a></h2
With this
PHP Code:
<vb:comment><h2 class="forumtitle"><a href="{vb:link forum, {vb:raw forum}}">{vb:raw forum.title}</a></h2></vb:comment
        <
h2 class="forumtitle"><div id="scanudesc">
<
<vb:if condition="$show['forumdescription']">
title='<div id="container"><div id="scanu">{vb:raw forum.description}</div><span class="arrow"></span></div>'</vb:if> href="{vb:link forum, {vb:raw forum}}">{vb:raw forum.title}</a></div></h2>

<
script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>    
<
script src="http://cdn.jquerytools.org/1.2.6/all/jquery.tools.min.js"></script>   
<
script>   
$(
"#scanudesc a[title]").tooltip({   
position"bottom right",   
effect"slide"   
});   
</
script
<
style>
/*styling and positioning of the arrow*/
 
.arrow {
    
border-right5px solid black;
    
border-top5px solid transparent;
    
border-left1px none black;
    
border-bottom5px solid transparent;
    
positionabsolute;
    
top7px;
    
line-height0px;
    
width0px;
    
height0px;
    
left: -5px;
    
filter:alpha(opacity=68);
    -
moz-opacity:.68;
    
opacity:.68;
    
_displaynone;
}  
#scanu { 
    /*styling of the box */
    
background:black;   
    
color:white;   
    
padding5px 10px;   
    -
moz-border-radius8px;   
    -
webkit-border-radius8px;   
    
filter:alpha(opacity=68);  
    -
moz-opacity:.68;  
    
opacity:.68;   
}   
#container {
    /*positioning of the arrow and the box*/
    
positionrelative;
    
top: -10px;
    
left10px;
    
max-width440px;
}
</
style
Then replace this code
PHP Code:
<vb:if condition="$show['forumdescription']"><class="forumdescription">{vb:raw forum.description}</p></vb:if> 
with this
PHP Code:
<vb:comment><vb:if condition="$show['forumdescription']"><class="forumdescription">{vb:raw forum.description}</p></vb:if></vb:comment
Enjoy and wait for the product with many features and options!

PLEASE VOTE THIS MOD FOR MOTM: CLICK HERE, AND CLICK MARK AS INSTALLED

To get support:
  1. Mark this mod as Installed
  2. Copy/Pasted errors or screenshots
  3. URL/link to site

Many thanks to haincha for the idea.

If you like italian G-funk/rap please try out this music or this music
If you like italian rap try out this music

Screenshots

File Type: png preview.png (15.9 KB, 0 views)

Show Your Support

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

Comments
  #32  
Old 12-18-2011, 07:08 AM
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Posts: 1,196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sadiq6210 View Post
Same
+1
Aren't you happy I kept a copy of the original code? LOL



Thanks for confirming.
Reply With Quote
Благодарность от:
sadiq6210
  #33  
Old 12-18-2011, 09:04 AM
sadiq6210 sadiq6210 is offline
 
Join Date: Sep 2005
Posts: 684
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by OldSchoolDSL View Post
Aren't you happy I kept a copy of the original code? LOL



Thanks for confirming.
Absolutely hah
Reply With Quote
  #34  
Old 12-18-2011, 09:06 AM
Scanu's Avatar
Scanu Scanu is offline
 
Join Date: Nov 2010
Posts: 829
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok so nothing to do I can't re-code the mod without testing board please wait for a fix for those problems. I revert the original code in the mod
Reply With Quote
  #35  
Old 12-18-2011, 10:47 AM
Kiran-E-Sehar Kiran-E-Sehar is offline
 
Join Date: Jan 2011
Posts: 139
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i edited templaye as u said /....

but nothing happened :-s
Reply With Quote
  #36  
Old 12-18-2011, 11:34 AM
Scanu's Avatar
Scanu Scanu is offline
 
Join Date: Nov 2010
Posts: 829
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you sure to edit the right template?
forumhome_forumbit_level2_post
Reply With Quote
  #37  
Old 12-18-2011, 06:09 PM
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Posts: 1,196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We have a winner.

Thank you Scanu

This one will work

Code:
		<h2 class="forumtitle"><div id="test"><a <vb:if condition="$show['forumdescription']">title="<scanu>{vb:raw forum.description}</scanu>"</vb:if> href="{vb:link forum, {vb:raw forum}}">{vb:raw forum.title}</a></div></h2>  
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script> 
<script src="http://cdn.jquerytools.org/1.2.6/all/jquery.tools.min.js"></script>
<script>
$("#test a[title]").tooltip({  
position: 'center right',  
effect: 'slide'  
});
</script>
<style>
scanu {  
background:black;
color:white;
padding: 5px 10px;
-moz-border-radius: 8px; 
-webkit-border-radius: 8px;
filter:alpha(opacity=68);
-moz-opacity:.68;
opacity:.68;
}  
</style>
Be sure to include that large space in the 1st line when you copy & paste.

You don't need to space after the end of the code. For some reason vBulletin.org adds it. Just copy all the way until you hit </style> at the end.

Installed and working

4.1.9
Reply With Quote
  #38  
Old 12-18-2011, 06:32 PM
Scanu's Avatar
Scanu Scanu is offline
 
Join Date: Nov 2010
Posts: 829
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks everybody now i've updated the code in the first topic
Reply With Quote
  #39  
Old 12-18-2011, 06:45 PM
Scanu's Avatar
Scanu Scanu is offline
 
Join Date: Nov 2010
Posts: 829
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sadiq6210, regarding your error i'm working to solve it but i think that is impossible. I know the reason of that error so i think i can't help you :S
Reply With Quote
  #40  
Old 12-18-2011, 06:49 PM
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Posts: 1,196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Scanu View Post
sadiq6210, regarding your error i'm working to solve it but i think that is impossible. I know the reason of that error so i think i can't help you :S
I had his / hers spacing error originally. So I think this code should resolve it.

But I suspect the colored description in his / her forum maybe the cause.
Reply With Quote
  #41  
Old 12-18-2011, 07:14 PM
Scanu's Avatar
Scanu Scanu is offline
 
Join Date: Nov 2010
Posts: 829
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Lol what am i saying try with the new code i fix this error too
Reply With Quote
2 благодарности(ей) от:
OldSchoolDSL, sadiq6210
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 11:17 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.11183 seconds
  • Memory Usage 2,374KB
  • 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
  • (1)bbcode_code
  • (4)bbcode_php
  • (3)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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (3)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • 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
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete