vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Mini Mods - Social tools by Sliding sidebar (https://vborg.vbsupport.ru/showthread.php?t=222932)

Limode 09-10-2009 10:00 PM

Social tools by Sliding sidebar
 
1 Attachment(s)
Add social tools to your site by Sliding sidebar :

Screenshot Preview :



Full demo in Default Style see Screenshot




First download attachments and unzip.
*upload all files in images folder to your images folder.
*upload js folder to your root forums

Second install .
Third design new background,buttons and icons or contact me. I will design for you !


*Tested at IE6+,FF and Opera*

Templates edit :
  1. In Header template find :
    PHP Code:

    $ad_location[ad_header_end

    Add after :
    Code:

    <div id="sideBar">
           
            <a href="#" id="sideBarTab"><img src="images/slide-button.png" alt="sideBar" title="sideBar" /></a>
           
            <div id="sideBarContents" style="width:0px;">
                    <div id="sideBarContentsInner">
                            <h2>Sitename&nbsp;<span>in</span></h2>
                           
                            <ul>
                                    <li><a href="#"><img src="images/32/Blinklist.png" border="0" alt="Blinklist" /></a></li>
                                    <li><a href="#">Link Two</a></li>
                                    <li><a href="#">Link Three</a></li>
                                    <li><a href="#">Link Four</a></li>
                                    <li><a href="#">Link Five</a></li>
                            </ul>
                           
                    </div>
            </div>
           
    </div>

  2. In headinclude template find :
    PHP Code:

    <!-- / CSS Stylesheet --> 

    Add after :
    Code:

    <script type="text/javascript" src="clientscript/mootools.js"></script>
    <script type="text/javascript" src="clientscript/side-bar.js"></script>

  3. In Additional CSS Definitions add :
    Code:

            h2{
                    color:#1b1bc4;
                    font-size:90%;
                    font-family:arial;
                    margin:10px 10px 10px 50px;
                    font-weight:bold;
            }
           
            h2 span{
                    font-size:105%;
                    font-weight:normal;
            }
           
            ul{
                    margin:0px 0px 0px 0px;
                    padding:0px 0px 0px 0px;
            }
           
            li{
                    margin:0px 0px 3px 50px;
                    padding:2px;
                    list-style-type:none;
                    display:block;
                    background-color:#fff;
                    border: 1px solid #D1D1E1;
                    width:140px;
            }
           
            li a{
                    width:100%;
            }
           
            li a:link,
            li a:visited{
                    color:#0a8dc3;
                    font-family:verdana;
                    font-size:70%;
                    text-decoration:none;
                    display:block;
                    margin:0px 0px 0px 0px;
                    padding:0px;
                    width:100%;
            }
           
            li a:hover{
                    color:#36687c;
                    text-decoration:underline;
            }
           
            #sideBar{
                    position: absolute;
                    width: auto;
                    height: 350px;
                    top: 150px;
                    right:10px;
                    background-image:url(images/background.png);
                    background-position:top left;
                    background-repeat:repeat-y;
            }
           
            #sideBarTab{
                    float:left;
                    height:5px;
                    width:36px;
            }
           
            #sideBarTab img{
                    border:0px solid #FFFFFF;
            }
           
            #sideBarContents{
                    overflow:hidden !important;
            }
           
            #sideBarContentsInner{
                    width:200px;
            }


MAD-DOG 09-11-2009 10:52 PM

Freest Post

kmohamed 09-12-2009 01:29 AM

WOW IT LOOKS GREAT
ANY DEMO
TAGGED FOR LATER USED

THANX

vijayninel 09-24-2009 03:48 PM

Any demo anywhere ?

Limode 09-24-2009 05:13 PM

Quote:

Originally Posted by vijayninel (Post 1889996)
Any demo anywhere ?

Try Screenshots

whitetigergrowl 09-28-2009 05:41 PM

Whats this do/for?

Brandon Sheley 09-28-2009 06:02 PM

very cool
can we get a live demo please?

thanks

cuco2000 10-02-2009 03:08 AM

PHP Code:

<script type="text/javascript" src="clientscript/mootools.js"></script>
<
script type="text/javascript" src="clientscript/side-bar.js"></script

you need change "clientscript" to "js"

PHP Code:

<script type="text/javascript" src="js/mootools.js"></script>
<
script type="text/javascript" src="js/side-bar.js"></script

Or upload js content to clientscript :P

(sorry my bad english :P)

SilabGarza 05-02-2010 10:19 PM

where do i add step 3 at?


All times are GMT. The time now is 05:37 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01202 seconds
  • Memory Usage 1,749KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (4)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete