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
Make vBadvance Widget look like vBulletin CMS Details »»
Make vBadvance Widget look like vBulletin CMS
Version: 1.00, by xxEarluxx xxEarluxx is offline
Developer Last Online: Mar 2015 Show Printable Version Email this Page

Category: vBulletin CMS Widgets - Version: 4.0.x Rating:
Released: 07-04-2010 Last Update: 02-14-2013 Installs: 31
Template Edits
Re-useable Code Code Changes  
No support by the author.

This mod will alter the default look of your vBadvanced Widget and give it a similar look to that of your vBulletin CMS . All colors can be customized trough the CSS code given.
This is my fist mod ,so please feel free to improve upon the code if you wish and give your input .

Support Forums:
http://www.skinion.net/

INSTRUCTIONS

1. Edit template the "adv_portal_module_wrapper" located within your vBadvanced CMPS templates


2. Replace all with the following code:
Code:
{vb:raw mods.formcode}
<div class="adv_portal_widget">
<div class="adv_portal_widget_block">       
    <div class="collapse"  {vb:raw vba_style.portal_vspace}px;">
    <h2> 
        <strong>{vb:raw vba_style.portal_blockbullet} <vb:if condition="$mods['link']"><a href="{vb:raw mods.link}">{vb:raw mods.title}</a><vb:else /> {vb:raw mods.title}  </vb:if></strong >
    <vb:if condition="$vba_style['portal_collapsemods']">
            <a class="collapse" id="collapse_module{vb:raw mods.collapse}" href="{vb:raw relpath}#top" style="top: 0px ;right: 2px "><img src="{vb:stylevar imgdir_button}/collapse{vb:raw mods.collapseimg}.png" alt="" /></a>
        </vb:if>
    </h2>
    <div class="adv_portal_widget_content" id="module{vb:raw mods.collapse}"<vb:if condition="($mods['useshell'] & $vba_shellint['collapse'])"> style="display: none"</vb:if>>
        <vb:if condition="$show['table']">
            <table align="center" border="0" cellpadding="0" cellspacing="0" class="blockbody" width="100%">
                {vb:raw modulehtml}
            </table>
        <vb:elseif condition="$mods['inctype'] == 'bb_code'" />
            <blockquote class="postcontent restore">
                <div class="bbcode_container">
                    {vb:raw modulehtml}
                </div>
            </blockquote>
        <vb:elseif condition="$show['divrow']" />
            <div class="blockrow">
                {vb:raw modulehtml}
            </div>
        <vb:else />
            {vb:raw modulehtml}
        </vb:if>
    </div>

</div>
</div>
</div>

<vb:if condition="$show['endform']"></form></vb:if>


3. Edit template the "additional.css" located in your "CSS Templates" and paste the following code:
Code:
/* VBADVANCED WIDGETS -START */
.adv_portal_widget { 
	_padding:0;
	overflow: hidden;
	display:block;
	width: 100%;
	clear:both;
	background-color:#f1f1f1;
	border:1px solid #C4C4C4;
	-moz-border-radius:5px;
	-webkit-border-radius: 5px;
	-moz-box-shadow:-2px 2px 2px #C8C8C8;
margin-bottom:10px;
font:  bold 13px Tahoma,Calibri,Verdana,Geneva,sans-serif;
color: #000000;	
}
.adv_portal_widget a:hover {color:#417394;}
.adv_portal_widget a {color:#417394; }
.adv_portal_widget_block {
	_margin-bottom:6px;
	padding:6px;
	background:transparent url(images/misc/blog/top-highlight.png) repeat-x left top;
	-moz-border-radius-topleft:5px;
	-moz-border-radius-topright:5px;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;
padding-top:6;
}
.adv_portal_widget_content {
	color: #424242;
	border:1px solid #DADADA;
	border-top:1px solid #FFFFFF;
	-moz-border-radius:5px;
	-webkit-border-radius: 5px;
	background:#FFFFFF url(images/misc/blog/gradient-black-down.png) repeat-x 0 0;
	_background-image: none;
	padding:10px 6px 10px 6px;
font:   13px Tahoma,Calibri,Verdana,Geneva,sans-serif;

}
/* VBADVANCED WIDGETS -END */


PREVIEWS
-----------------------------------------------------------------

-----------------------------------------------------------------

DOWNLOADABLE VERSION

Download Now

File Type: txt Widget like vBulletin CMS.txt (3.3 KB, 9 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
nacaruncr, zascok

Comments
  #12  
Old 04-21-2011, 12:07 AM
Juggernaut Juggernaut is offline
 
Join Date: Dec 2009
Location: California
Posts: 589
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How to make the modules have rounded corners in Explorer 9?
Edit: Nevermind, got it.
Reply With Quote
  #13  
Old 05-05-2011, 12:38 AM
zonaenlinea's Avatar
zonaenlinea zonaenlinea is offline
 
Join Date: Dec 2009
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wow very good
Reply With Quote
  #14  
Old 08-04-2012, 01:34 PM
zascok zascok is offline
 
Join Date: Jul 2010
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works like a charm only the images address

images/gradients

and

Code:
-moz-box-shadow: -2px 2px 2px {vb:stylevar footer_moz_shadow_color};
	-webkit-box-shadow: -2px 2px 2px {vb:stylevar footer_moz_shadow_color};
	box-shadow: -2px 2px 2px {vb:stylevar footer_moz_shadow_color};
Cheerz fot this!!!
Reply With Quote
  #15  
Old 08-06-2012, 04:33 PM
xxEarluxx's Avatar
xxEarluxx xxEarluxx is offline
 
Join Date: Jul 2009
Location: Belize
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks , will try to fix when I get a break
Reply With Quote
  #16  
Old 08-09-2012, 10:16 AM
zascok zascok is offline
 
Join Date: Jul 2010
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

one more for colapsi on 4.2

Code:
<img src="{vb:stylevar imgdir_button}/collapse{vb:raw vbcollapse.collapseimg_info_options}_40b.png" alt="" />
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 09:28 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.04209 seconds
  • Memory Usage 2,285KB
  • Queries Executed 21 (?)
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
  • (4)bbcode_code
  • (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
  • (6)post_thanks_box
  • (2)post_thanks_box_bit
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (1)postbit_attachment
  • (6)postbit_onlinestatus
  • (6)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
  • 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
  • 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