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
  #2  
Old 07-05-2010, 03:37 PM
ALBCODERS ALBCODERS is offline
 
Join Date: Apr 2009
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great ! Thanks .
Reply With Quote
  #3  
Old 07-05-2010, 07:48 PM
Daniel_HBK Daniel_HBK is offline
 
Join Date: Feb 2006
Location: Egypt
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

WoW !! very nice , thanks ,
5 stars + Installed
Reply With Quote
  #4  
Old 07-05-2010, 07:52 PM
Daniel_HBK Daniel_HBK is offline
 
Join Date: Feb 2006
Location: Egypt
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

uninstalled , please fix it ,

before :- http://img819.imageshack.us/img819/5061/beforeb.jpg

After :- http://img819.imageshack.us/img819/5797/13383029.jpg

lost fonts colors & headlines back ground
Reply With Quote
  #5  
Old 07-05-2010, 09:46 PM
xxEarluxx's Avatar
xxEarluxx xxEarluxx is offline
 
Join Date: Jul 2009
Location: Belize
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Daniel_HBK View Post
uninstalled , please fix it ,

before :- http://img819.imageshack.us/img819/5061/beforeb.jpg

After :- http://img819.imageshack.us/img819/5797/13383029.jpg

lost fonts colors & headlines back ground
All colors will have to be manually edited in the codes giving here:
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 */
I'm working on next version which should fix the problem of having to edit manually
Reply With Quote
  #6  
Old 01-11-2011, 12:55 PM
Webrunner Webrunner is offline
 
Join Date: Aug 2004
Location: Netherlands
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does this work with vba dynamics?
Reply With Quote
  #7  
Old 01-11-2011, 05:48 PM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd really love a vb3.8 version.
Reply With Quote
  #8  
Old 02-04-2011, 05:35 PM
Da-Vinci Da-Vinci is offline
 
Join Date: Mar 2010
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks like this may be slightly outdated with the new version of VBA released in January.
Reply With Quote
  #9  
Old 02-07-2011, 01:12 AM
Teascu Dorin Teascu Dorin is offline
 
Join Date: Nov 2009
Location: Sibiu, Romania
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This could be made to work with any style not only the default, I believe...
Reply With Quote
  #10  
Old 02-22-2011, 05:32 AM
digitaldome digitaldome is offline
 
Join Date: Jan 2009
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how to make block title in bold type and make it center like vb block. thanks
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 04:01 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.05767 seconds
  • Memory Usage 2,332KB
  • 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
  • (3)bbcode_code
  • (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
  • (2)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (1)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
  • 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