Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Floating Side Menu Details »»
Floating Side Menu
Version: 1.00, by Saviour Saviour is offline
Developer Last Online: Jun 2013 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.6.8 Rating:
Released: 11-16-2007 Last Update: Never Installs: 70
Template Edits
Additional Files  
No support by the author.

Floating Side Menu

This mod is no longer supported...

Origin: DynamicDrive.com
Original Script: Omni Slide Menu
? John Davenport Scheuer
* Adapted from Dynamic-FX Slide-In Menu (v 6.5) script
by maXimus
Supported Browsers: FF1+ IE5+ Opr7+

This mod has been tested and works on vbulletin version 3.6.8 PL2.
This is a DHTML script for general forum use. Do not ask if it can be used for certain User Groups or given Permissions.

Features:

This mod places a floating menu on the right, or left of all of your forum pages. To place it on the left, edit the following code in menuItems.js:

Find...
Code:
menupos:'right',
Replace with...
Code:
menupos:'left',

Edits:
  • Edit menuItems.js for links and colors
  • Edit mmenu.js for bar, headers and other variables
  • Edit forum header template(s)
  • Instructions included within attached .zip file

Customization:
  • menuItems.js: use this file to name your menu and create your links
  • mmenu.js: use this file to customize the look of your menu
  • Refer to the "Properties" page for variable descriptions
  • Refer to the code below to adjust your link attributes within the menu (i.e., link text color, hover, visited). The code below is what you will be putting at the top of your forum's header template. Items in red are editable:

Code:
<style type="text/css">
                            /*Menu Links*/

/*NOTE: anything not specified for the #(menu id's) a selector and its pseudo classes
may be inherited in some browsers from other 'a' element styles (if any) on the page*/

#kbmenu3 a { /*Menu3 Links*/
color:black;
background-color:white;
text-decoration:none;
text-indent:1ex;
}
#kbmenu3 a:hover {
color:black;background-color:#FFFF99;
}
#kbmenu3 a:active	{color:black;text-decoration:none;}
#kbmenu3 a:visited	{color:black;text-decoration:none;}


                           /*End Menu Links*/
</style>
<script src="mmenu.js" type="text/javascript"></script>
<script src="menuItems.js" type="text/javascript">

/***********************************************
* Omni Slide Menu script - ? John Davenport Scheuer: http://home.comcast.net/~jscheuer1/
* very freely adapted from Dynamic-FX Slide-In Menu (v 6.5) script- by maXimus
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full original source code
***********************************************/

</script>

Live Demo: Demo

Hope you like this simple little mod...if so, please, don't forget to rate it.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 11-18-2007, 05:27 PM
Saviour's Avatar
Saviour Saviour is offline
 
Join Date: Apr 2007
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fungsten...

Change the code back and let me know if the menu now appears in your forum.

Also...are you trying to get the menu to appear within a CMS...like vbAdvanced?
Reply With Quote
  #53  
Old 11-18-2007, 05:34 PM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

many people have blogs, project tools, vba links, photopost, vba gallery, etc. posted outside the forum directory, or at the root level. I think it is best to change the code from:
Code:
<script src="mmenu.js" type="text/javascript"></script>
<script src="menuItems.js" type="text/javascript">
to:
Code:
<script src="$vboptions[bburl]/forum/mmenu.js" type="text/javascript"></script>
<script src="$vboptions[bburl]/forum/menuItems.js" type="text/javascript">
to avoid any problems like that, and to have the floating side menu appear in every part of your forum. If you do not want the floating sidebar to appear in those places, and only in your forum directory, then do not make that change.
Reply With Quote
  #54  
Old 11-18-2007, 05:39 PM
Saviour's Avatar
Saviour Saviour is offline
 
Join Date: Apr 2007
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

And a big "Thank You" goes out to yoyoyoyo for making that post.
Reply With Quote
  #55  
Old 11-18-2007, 05:40 PM
Fungsten's Avatar
Fungsten Fungsten is offline
 
Join Date: Jul 2006
Posts: 1,131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Saviour View Post
Fungsten...

Change the code back and let me know if the menu now appears in your forum.

Also...are you trying to get the menu to appear within a CMS...like vbAdvanced?
  1. I changed it back and it worked.
  2. Whatever the code does.
Reply With Quote
  #56  
Old 11-18-2007, 09:20 PM
MR.BOSS MR.BOSS is offline
 
Join Date: Sep 2007
Posts: 131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for this hack, but where should i upload the 2 files exactly?
Reply With Quote
  #57  
Old 11-18-2007, 11:45 PM
stationar stationar is offline
 
Join Date: May 2007
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
How can I make this menu to also appear in VBadvanced pages?
In "Head" template replace relative links with constant ones:

(Add your address in places, marked red)

src="http://www.yoursite.com/forum/mmenu.js"
src="http://www.yoursite.com/forum/menuItems.js"
Reply With Quote
  #58  
Old 11-18-2007, 11:52 PM
Saviour's Avatar
Saviour Saviour is offline
 
Join Date: Apr 2007
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MR.BOSS View Post
thanks for this hack, but where should i upload the 2 files exactly?

If you are uploading them for use on just your forum...upload them to the root of your forum directory.

Are you going to be using the menu anywhere else? Do you use vbAdvanced or any other CMS hack? If so...read the post just before this one.

Did you read the directions provided in the text file included in the zipped attachment?
Reply With Quote
  #59  
Old 11-19-2007, 01:53 AM
Saviour's Avatar
Saviour Saviour is offline
 
Join Date: Apr 2007
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

FLOATING SIDE MENU TIP


This tip is for those who are already using this mod, but have different skins within their forum.

Hopefully, everyone who has downloaded and installed this mod is getting used to the variable changes and adapting the menu to whatever theme they have installed within their forum.

Not to confuse anyone, but did you know you can rename the two javascript files included in this mod and then use them to customize a separate menu for another theme being used within the same forum?

1. Simply rename the two javascript files within the zipped folder of this mod...and edit them by changing any of the related variables to match the style of your other theme.

2. Upload the renamed javascript files to your forum's root directory. You now have 2 sets of the same javascript...both with different names...and both edited to match the other skin you may be using on your forum.

3. Edit the script you will be placing in your skin's header template(s) to point to the new scripts. No need to change the name of the menu within that script.

4. Now copy the script to the beginning of the skin's header template...save your template changes...and, Voila! You have a new menu that matches the look of another skin.

If you'd like a live example, visit the Saviour PC Forum. Do you see the menu for my default skin?

Go to the bottom of the page and choose vbulletin's default skin...notice the new menu?

Pretty cool, huh?

Enjoy!
Reply With Quote
  #60  
Old 11-19-2007, 03:59 PM
firstrebel's Avatar
firstrebel firstrebel is offline
 
Join Date: Dec 2005
Location: West London
Posts: 380
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can I make the menu tab thinner please. Great work, thanks.

Bob
Reply With Quote
  #61  
Old 11-19-2007, 04:34 PM
Saviour's Avatar
Saviour Saviour is offline
 
Join Date: Apr 2007
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by firstrebel View Post
How can I make the menu tab thinner please. Great work, thanks.

Bob
Bob...

Look for this code in the menu.js file:
Code:
if(!o.barwidth) {o.barwidth=22};
Change the number to the width you desire...
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 05:08 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.06118 seconds
  • Memory Usage 2,320KB
  • Queries Executed 25 (?)
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
  • (6)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete