vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Forum Home Enhancements - [CM] Floating Sidebar (Custom + Shine Effect) (https://vborg.vbsupport.ru/showthread.php?t=286400)

ChiNa 08-06-2012 10:00 PM

[CM] Floating Sidebar (Custom + Shine Effect)
 
1 Attachment(s)

This was brought to you by ChiNa-Man


First of all I am a free soul, So if one of you guys decided to post this on another forum or a website, I would be appreciated if you give some CREDITs to the Developer simply typing his name: Credits to: ChiNa-Man, and do not CHANGE or DELETE the ORIGINAL CONTENT! Thank you!

:::::::::::::::::::::::::::::::::::::::::::::

NEW UPDATE
: 11 August 2012

Get this mod for vBulletin 3.x. CLICK HERE!


Hey everyone, This is a great SideBar that I have used while I as using MYBB Board, I have used lots of time to turn this to a vBulletin mod A great mod for you to decide where you want your users to visit, and can be fully customized by yourself!



------------------------------------------
Credits:
Yaldaram.com as Support & Co-Author
------------------------------------------
Only 1 Template Edit!
------------------------------------------

Transparent background added!
Shine Effect by Hovering
(With Drop Shadow / Gradient
Shine)
7 new Codes added in the Background.txt (With and Without Gradient Effect with 7 Different Colors, All codes are ready to COPY & PAST!


There are 2 Different Tutorials and 2 differen styles

A good advice will be "not to just JUMP in it", but look at both of the Tutorials, and If were YOU, I would def go for Tutorial 2 because it has the Shine and Gradient effect.


Tutorial 1: Image "Drop Shadow & Gradient effect!

Example Image

(Shines when hover)


https://vborg.vbsupport.ru/external/2012/09/1.gif



Tutorial 2
NO "Drop Shadow & NO Gradient effect!


Example Image

https://vborg.vbsupport.ru/external/2012/09/2.gif




Also Other Colors Available:



(Purple)


https://vborg.vbsupport.ru/external/2012/09/2.png

(Black)

https://vborg.vbsupport.ru/external/2012/09/3.png

(Red)

https://vborg.vbsupport.ru/external/2012/09/4.png


Tutorial 1 (With Shadow & Shine Effect)

Step 1: Go to your AdminCP, Click on Styles and Templates, then Style Manager, and on your right side in the dropdown sidebar, you choose Edit Templates!

Now you are in the Templates area! You can either add the following code in your "footer" or your "header" template! But start with your header. Click and open your header template, and add the following code below everything else!

Code to add in "header" template:

Code:

<style type="text/css">
#SideBar{
list-style:none;
position:fixed;
z-index:5;
right:0;
top:130px;
width:24px;
padding:8px 5px;
border:2px solid #fff;
border-right:none;
-moz-border-radius:10px 0 0 10px;
-webkit-border-radius:10px 0 0 10px;
border-radius:10px 0 0 10px;
-moz-box-shadow:0 0 7px rgba(0,0,0,.6);
-webkit-box-shadow:0 0 7px rgba(0,0,0,.6);
box-shadow:0 0 7px rgba(0,0,0,.6);
background: rgb(0,0,0);
background:-moz-linear-gradient(top,rgba(255, 255, 255),rgb(0,0,0));
background:-webkit-gradient(linear,left top,left bottom,from(rgba(255, 255, 255)),to(rgb(0,0,0)));
background:linear-gradient(top,rgba(255, 255, 255),rgb(0,0,0))
}
.img:hover {
-webkit-transition: all 250ms ease-in-out;
-moz-transition: all 250ms ease-in-out;
-o-transition: all 250ms ease-in-out;
transition: all 250ms ease-in-out;
-webkit-box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.3);
-moz-box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.3);
box-shadow: 0 0 6px 1px rgb(255-255-255);
}
#SideBar li{
margin:9px 0 0 0;
line-height:0
}
#SideBar li:first-child{
margin-top:0
}
#SideBar a{
display:block;
width:24px;
}
#SideBar a span{
position:absolute;
top:-999em
}
</style>
<ul id="SideBar">
<a href="index.php" title="Home"><div class="img"><img src="images/sidebar/home.png"></a></div></li>
<li><a href="usercp.php" title="UserCP"><div class="img"><img src="images/sidebar/profile.png"></a></div></li><li><a href="search.php" title="Search"><div class="img"><img src="images/sidebar/search.png"></a></div></li>
<li><a href="profile.php?do=editavatar" title="Edit  Avatar"><div class="img"><img src="images/sidebar/avatar.png"></a></div></li>
<li><a href="http://facebook.com" title="Facebook"><div  class="img"><img src="images/sidebar/facebook.png"></a></div></li>
<li><a href="http://twitter.com" title="Twitter"><div class="img"><img src="images/sidebar/twitter.png"></a></div></li>
<li><a href="http://youtube.com" title="Youtube"><div class="img"><img src="images/sidebar/youtube.png"></a></div></li>
</ul>



Click SAVE!
Dont forget to download the SideBar.zip from the attachments. And upload the images folder to your root!


The path should be --> YOURFORUM/images/sidebar

We are now done, with Tutorial 1:


======================================

Notice, the next tutorial has NO shine and NO gradient effect:

Lets Start with Tutorial 2:
(Without Shadow & Shining Effect)

Step 1: Go to your AdminCP, Click on Styles and Templates, then Style Manager, and on your right side in the dropdown sidebar, you choose Edit Templates!

Now you are in the Templates area! You can either add the following code in your "footer" or your "header" template! But start with your header. Click and open your header template, and add the following code below everything else!

Code to Add in "header" Template:
PHP Code:

<style type="text/css">
#SideBar{
list-style:none;
position:fixed;
z-index:5;
right:0;
top:130px;
width:24px;
padding:8px 5px;
border:2px solid #fff;
border-right:none;
-
moz-border-radius:10px 0 0 10px;
-
webkit-border-radius:10px 0 0 10px;
border-radius:10px 0 0 10px;
-
moz-box-shadow:0 0 7px rgba(0,0,0,.6);
-
webkit-box-shadow:0 0 7px rgba(0,0,0,.6);
box-shadow:0 0 7px rgba(0,0,0,.6);
backgroundrgb(0,0,0);
background:-moz-linear-gradient(top,rgba(255255255),rgb(0,0,0));
background:-webkit-gradient(linear,left top,left bottom,from(rgba(255255255)),to(rgb(0,0,0)));
background:linear-gradient(top,rgba(255255255),rgb(0,0,0))
}
#SideBar li{
margin:9px 0 0 0;
line-height:0
}
#SideBar li:first-child{
margin-top:0
}
#SideBar a{
display:block;
width:24px;
}
#SideBar a span{
position:absolute;
top:-999em
}
</
style>
<
ul id="SideBar">
<
a href="index.php" title="Home"><img src="images/sidebar/home.png"></a></li>
<
li><a href="usercp.php" title="UserCP"><img src="images/sidebar/profile.png"></a></li><li><a  href="search.php" title="Search"><img src="images/sidebar/search.png"></a></li>
<
li><a href="profile.php?do=editavatar" title="Edit  Avatar"><img src="images/sidebar/avatar.png"></a></li>
<
li><a href="http://facebook.com" title="Facebook"><img src="images/sidebar/facebook.png"></a></li>
<
li><a href="http://twitter.com" title="Twitter"><img src="images/sidebar/twitter.png"></a></li>
<
li><a href="http://youtube.com" title="Youtube"><img src="images/sidebar/youtube.png"></a></li>
</
ul



Click save, and lets go to the last step.


Step 2: Unzip the SideBar.zip file which is below in the Attachments with the Icons inside! And simply upload the "image" folder to your root!

The path should be --> YOURFORUM/images/sidebar

We are DONE, And your SideBar should be ready! I prefer you use Tutorial 1!

Plz. Click Installed, if you use like or use this mod! Its for later support!

Extra Notice:
There are 14 icons inside the file! We only use 7 for the sidebar, The others are Extra! Make sure to Download the new ones! These fits perfectly for the Gradient & Drop Shadow!
:::::::::::: DONE :::::::::::::

Extra Optional Options

If you wanna change the "Shine Effect Color", Change the line I have marked in red, like the one below, and only change the blue diggit numbers. Go to this site to choose your rgb color: http://www.tayloredmktg.com/rgb/

Code to Change:
Code:

box-shadow: 0 0 6px 1px rgb(255,250,250);


Change only the numbers in "
BLUE COLOR". Which is in RGB COLOR CODE!!


For more, Check the Tutorial below for the RGB colors!



:::::::::::::::: >>>> Optional Info & Color Options <<<< ::::::::::::::::

NEW UPDATE: 09 - 08 - 2012


I have added extra Background codes inside a txt file. Now a new code for TRANSPARENT background added inside the file "Background.txt"! And there are codes ready for 7 different Backgrouds, Like the image below! With and Without Shining effect! All in the Background.txt. Download the file and open it with a NOTEPAD or TEXT EDITOR, and get copy the code from there!

SideBars from Background.txt Example:

https://vborg.vbsupport.ru/external/2012/09/5.png


Choice of a Custom URL Path and Image
If you decided to change the code and Icons and make your own icons, then let me show you how to change the code! Below you will see what every COLOR stands for!

Blue Color = URL to the Exact Page
Red Color = Icon Path and Name
Green = Title when you HOVER over the icon

Short Code Example:
<a href="FULL URL" title="GIVE A TITILE"><img src="ICON PATH"></a></li>


Full code:
Code:

<ul id="SideBar">
<a href="index.php" title="Home"><img src="images/sidebar/home.png"></a></li>
<li><a href="usercp.php" title="UserCP"><img src="images/sidebar/profile.png"></a></li><li><a  href="search.php" title="Search"><img src="images/sidebar/search.png"></a></li>
<li><a href="profile.php?do=editavatar" title="Edit  Avatar"><img src="images/sidebar/avatar.png"></a></li>
<li><a href="http://facebook.com" title="Facebook"><img src="images/sidebar/facebook.png"></a></li>
<li><a href="http://twitter.com" title="Twitter"><img src="images/sidebar/twitter.png"></a></li>
<li><a href="http://youtube.com" title="Youtube"><img src="images/sidebar/youtube.png"></a></li>
</ul>




Custom Choice of Color

(4 LINES with the word Background)

Code:

background:rgb(0,0,0);
background:-moz-linear-gradient(top,rgba(243,52,8,.75),rgb(0,0,0);
background:-webkit-gradient(linear,left top,left,bottom,from(rgba(243,52,8,.75),to(rgb(0,0,0);
background:linear-gradient(top,rgba(243,52,8,.75),rgb(0,0,0);

Only change the RED code at the end --> (0,0,0)
These 3 --> (0,0,0) stands for BLACK (The RGB NR and COLORCODE!)

You can use this color Generator: http://www.colorschemer.com/online.html

Here are some Extra RGB Colors Ready:

Black (0,0,0)
White (255,255,255)
Dark Blue (255,25,255)
Orange (255,102,51)
Dark Green (26,51,0)
Green (0,204,0)
Red (255,0,0)
Aqua (0.255.255)
Light Blue (51,153,255)
Purple (153,0,153)


ProFifaLeagues 08-07-2012 05:28 AM

Nice one mate May be just what we wanted for our members

qpurser 08-07-2012 11:07 AM

Very nice.
Method 1 worked like a charm for me.

Only thing you need to pay attention to:
When following the standard instructions and uploading the "menu" folder to your image folder the path to the images in your installation instructions doesn't match up.
You are linking to "images/test/". You need to remove "/test"

doraj 08-07-2012 12:35 PM

Demo, please?

ChiNa 08-07-2012 02:26 PM

Thank you so much guys, I am very happy for you guys made it work!

Qpurser: Thank you for noticing, I have now changed it to "images/sidebar"!
I was using the test folder in my forum! Thank u sir!

Doraj: Demo HERE

YOODA230 08-07-2012 02:34 PM

working great!! thank you!!
there is a small error in the "header" code
teh name of the image foldor that you bring in menu
in your code you neme it test..

ChiNa 08-07-2012 02:39 PM

Yoda, I have fixed it now! Thank you for noticing !

DeadlyDuckling 08-07-2012 02:57 PM

haha thats crazy ive been looking for one of these for months, then i finally made my own and you come out with one 2 days later lol
nice work

https://vborg.vbsupport.ru/external/2012/08/39.jpg

ForceHSS 08-07-2012 03:01 PM

Quote:

Originally Posted by ChiNa-Man (Post 2355261)
Thank you so much guys, I am very happy for you guys made it work!

Qpurser: Thank you for noticing, I have now changed it to "images/sidebar"!
I was using the test folder in my forum! Thank u sir!

Doraj: Demo HERE

Your demo link will not open

ChiNa 08-07-2012 03:05 PM

Demo Link Fixed Demo HERE


DeadlyDucklink, Looking nice mate!


All times are GMT. The time now is 04:02 PM.

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.01438 seconds
  • Memory Usage 1,861KB
  • 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
  • (4)bbcode_code_printable
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete