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
Simple Slide-in Custom Board via CSS Details »»
Simple Slide-in Custom Board via CSS
Version: 2.00, by BCP Hung BCP Hung is offline
Developer Last Online: Jan 2019 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.x.x Rating:
Released: 06-15-2011 Last Update: 07-01-2011 Installs: 20
Template Edits
Additional Files Translations  
No support by the author.

About this modification :
This modification allow you make a simple slide-in custom board via CSS. You can create an announcement, warning, advertiment or forum directory (menu).
Browser support (full css properties) :

: margin (with icon), transition, transition-delay.
Install :
  1. Download attachment file, unzip, and upload images folder via FTP.
  2. Insert CSS code to additional.css template :
    AdminCP -> Styles & Templates -> Style Manager -> Edit Templates -> CSS Templates -> additional.css : insert at top or bottom of this template !
    Code:
    /* Slide-in Custom Board - Getamped 1404 */
    #infoPanel  {
        position: fixed;
        background-color: #fff;
        width: 330px;
        height: auto;
        padding: 4px 4px 4px 4px;
        font-size: 12px;
        font-weight: 700;
        color: #000;
        -moz-box-shadow: 0 0 20px #111;
        -webkit-box-shadow: 0 0 20px #111;
        box-shadow: 0 0 20px #111;
        -moz-border-radius: 10px;
        -webkit-border-radius: 10px;
        border-radius: 10px;
        opacity: 0.7;
        -moz-opacity:0.7;
        -khtml-opacity: 0.7;
        filter: alpha(opacity=70);
        -moz-transition: all 4s ease;
        -webkit-transition: all 4s ease;
        -o-transition: all 4s ease;
        transition: all 4s ease;
        -moz-transition-delay: 2s;
        -webkit-transition-delay: 2s;
        -o-transition-delay: 2s;
        transition-delay: 2s;
        left: -300px;
        z-index: 9999;
    }
    #infoPanel:hover {
        -moz-transition: all 0.5s ease;
        -webkit-transition: all 0.5s ease;
        -o-transition: all 0.5s ease;
        transition: all 0.5s ease;
        opacity: 0.9;
        -moz-opacity:0.9;
        -khtml-opacity: 0.9;
        filter: alpha(opacity=90);
        left: 10px;
    }
    img.infoIcon {
        float: right;
        margin: -20px -20px 0px 0px;
    }
  3. Insert HTML code to navbar template :
    ... -> Edit Templates -> Navigation / Breadcrumb Templates -> navbar : insert to bottom of this template !
    HTML Code:
    <div id="infoPanel"> <!-- Slide-in Custom Board - Getamped 1404 -->
        <img src="images/misc/information.png" class="infoIcon" />
        <table width="100%">
            <tr>
                <td width="90%" style="padding-left:50px;">Announcement ! Announcement !<br />Announcement ! Announcement !</br />Announcement ! Announcement !<br />Announcement ! Announcement !</td>
                <td style="text-align:center;" width="10%">A<br>N<br>N<br>O<br>U<br>N<br>C<br>E<br>M<br>E<br>N<br>T</td>
            </tr>
        </table>
    </div>
  4. Custom for yourself !
    Using your CSS knowledge to do ! Quick guide :
    • Change your location
      1. Show at right :
        In CSS code, search for :
        Code:
            left: -300px;
        
        ... and ...
        
            left: 10px;
        change "left" to "right", and custom your pixel !
      2. Show at left corner :
        In CSS code, search for :
        Code:
            left: -300px;
        
        ... and ...
        
            left: 10px;
        add below with each :
        Code:
            bottom: -160px;
        
        ... and ...
        
            bottom: 10px;
      3. Show at right corner : same left corner, change "left" to "right" !
    • Change your icon : I provide 4 icons in .zip packed to upload, see and choose.
      In HTML code, search for :
      HTML Code:
      <img src="images/misc/information.png" class="infoIcon" />
      Change your icon name !
    • Change your delay time : time when mouse un-hover and slide-in board will be collapse.
      In CSS code, search for :
      Code:
          -moz-transition-delay: 2s;
          -webkit-transition-delay: 2s;
          -o-transition-delay: 2s;
          transition-delay: 2s;
      Change your number with "2", unit is second.
    • Change your width & height : size of slide-in custom board, recommends using the default size if you do not add much to the content.
      In CSS code, search for :
      Code:
          width: 330px;
          height: auto;
      Change it for you !
    • Change your background color : change the background color to match your forum style.
      In CSS code, search for :
      Code:
          background-color: #fff;
      Get more color code at here : http://w3schools.com/html/html_colornames.asp
    • Change your transition time : change your time when mouse hover and un-hover.
      In CSS code, search for :
      Code:
          -moz-transition: all 0.5s ease;
          -webkit-transition: all 0.5s ease;
          -o-transition: all 0.5s ease;
          transition: all 0.5s ease;
      and, when mouse un-hover :
      Code:
          -moz-transition: all 4s ease;
          -webkit-transition: all 4s ease;
          -o-transition: all 4s ease;
          transition: all 4s ease;
      change with your number !

Download Now

File Type: zip Slide.in.Custom.Board.via.CSS.v2.00.zip (8.8 KB, 102 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
4 благодарности(ей) от:
eTiKeT?, HMBeaty, lomalove, NTT

Comments
  #32  
Old 08-12-2011, 05:05 AM
victorvu victorvu is offline
 
Join Date: Mar 2011
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi:

I see in your demo page with "bộ g? Việt", please share code and how to set it. C?m ơn nhiều.

Victor:up:
Reply With Quote
Благодарность от:
BCP Hung
  #33  
Old 08-26-2011, 06:47 AM
FReeSTER FReeSTER is offline
 
Join Date: Jun 2006
Location: Rome
Posts: 730
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How to make this left on the middle?

Can you add and option to auto-show the box and add an X to close it down?
Reply With Quote
  #34  
Old 08-26-2011, 01:52 PM
BCP Hung BCP Hung is offline
 
Join Date: May 2011
Location: Vietnam
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FReeSTER View Post
How to make this left on the middle?

Can you add and option to auto-show the box and add an X to close it down?
This modification built with CSS only. With your request, I can think about jQuery plugin for this.
Reply With Quote
  #35  
Old 08-26-2011, 03:36 PM
FReeSTER FReeSTER is offline
 
Join Date: Jun 2006
Location: Rome
Posts: 730
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well for now I think I have something for this one... If you make the other one, well I guess I be jumping into that van wagon. lol

Thanks mate this mod I like
Reply With Quote
  #36  
Old 09-03-2012, 05:09 PM
grey_goose grey_goose is offline
 
Join Date: Jun 2009
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice -- I used several of these with different positions to give quick access to info.
Reply With Quote
  #37  
Old 09-21-2012, 12:15 PM
sivaganeshk sivaganeshk is offline
 
Join Date: Oct 2010
Posts: 250
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No demo or screenshot ??
Strange that no one requested the developer :P
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 08:33 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.04471 seconds
  • Memory Usage 2,311KB
  • 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
  • (9)bbcode_code
  • (2)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
  • (2)pagenav_pagelink
  • (7)post_thanks_box
  • (5)post_thanks_box_bit
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (1)postbit_attachment
  • (7)postbit_onlinestatus
  • (7)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_postinfo_query
  • fetch_postinfo
  • 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