vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - Floating Side Menu (https://vborg.vbsupport.ru/showthread.php?t=162958)

Saviour 11-16-2007 10:00 PM

Floating Side Menu
 
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.

Subah 11-17-2007 02:40 PM

Thanks a lot :)

Saviour 11-17-2007 02:42 PM

Quote:

Originally Posted by Subah (Post 1384405)
Thanks a lot :)

You're welcome...hope you like it.

puertoblack2003 11-17-2007 03:41 PM

nice hack i have that installed....

from this author: http://dynamicdrive.com/dynamicindex1/davidmenu.htm

Saviour 11-17-2007 03:53 PM

I appreciate the link...however, the origin of the script for this mod is located at the top of this thread. It is also from DynamicDrive.

There are actually three versions...one for the top, one for the left...and one for the right. I decided to create this mod for use on the right. To me...it just seems to be more functional.

There is also a similar mod here at vbulletin.org which has the same menu you have. Here's the link to that mod: https://vborg.vbsupport.ru/showthrea...=floating+menu

I will also be adding a link to the "Properties" page, if anyone wants to add color to the bars and headers.

puertoblack2003 11-17-2007 04:08 PM

Quote:

Originally Posted by Saviour (Post 1384441)
I appreciate the link...however, the origin of the script for this mod is located at the top of this thread. It is also from DynamicDrive.

There are actually three versions...one for the top, one for the left...and one for the right. I decided to create this mod for use on the right. To me...it just seems to be more functional.

There is also a similar mod here at vbulletin.org which has the same menu you have. Here's the link to that mod: https://vborg.vbsupport.ru/showthrea...=floating+menu

I will also be adding a link to the "Properties" page, if anyone wants to add color to the bars and headers.


well i guess the members should have an option which side the menu should be installed.me personally don't like it on the right.Just my .2 cent :)

apiasto 11-17-2007 04:16 PM

very nice i love it.thnx

Saviour 11-17-2007 04:36 PM

I appreciate that...glad ya like it..

kushal 11-17-2007 05:06 PM

How can I make this menu to also appear in VBadvanced pages?

Saviour 11-17-2007 05:17 PM

Quote:

Originally Posted by kushal (Post 1384488)
How can I make this menu to also appear in VBadvanced pages?

Sorry...

I'm not familiar with vbAdvanced...however, I'm sure there is someone here that is...and they can direct you.

I apologize, for not having the answer you need, but as you can see...I don't supply support for this mod...yet, if I do have an answer...I will post back.

kushal 11-17-2007 05:35 PM

thank you for the reply, the mod is well suited for me, thank you. If it is also done so for home page, it would make uniform.

iogames 11-17-2007 05:51 PM

Can I customize the look of it?

Fungsten 11-17-2007 05:57 PM

Cool!! Installed.

Saviour 11-17-2007 06:00 PM

Quote:

Originally Posted by iogames (Post 1384525)
Can I customize the look of it?

You certainly can...

Visit the link I provided at the beginning of this thread...you can make changes to the link text...and other aspects of the menu...

These changes are made in the mmenu.js and the menuItems.js. The Properties page that will provide you with help in customization is located here.

Saviour 11-17-2007 06:01 PM

Quote:

Originally Posted by Fungsten (Post 1384530)
Cool!! Installed.


Thanks...glad ya like it!

Saviour 11-17-2007 06:06 PM

Quote:

Originally Posted by kushal (Post 1384510)
thank you for the reply, the mod is well suited for me, thank you. If it is also done so for home page, it would make uniform.

You're welcome...

The closest I can figure...if vbAdvanced has a header template, that you can edit...you should be able to include this script into it...just like you did within the forum header template.

With that being said...your customization would be complete.

You would follow the same directions that were included for this mod...and just make sure you include the mmenu.js and menuItems.js files into the root directory where vbAdvanced is installed.

Hope this helped...

kushal 11-17-2007 06:25 PM

Yes, that is what I did with CMPS. I thought one edits should make this. However, it is working for me.
Thank you again.

TheBlackPoet 11-17-2007 06:56 PM

Quote:

Originally Posted by kushal (Post 1384488)
How can I make this menu to also appear in VBadvanced pages?

IT WORKS FOR me on every page.. including vb advanced....

sensimilla 11-17-2007 07:13 PM

What makes it different from the previous release here at vb.org ?

Saviour 11-17-2007 07:25 PM

Quote:

Originally Posted by sensimilla (Post 1384563)
What makes it different from the previous release here at vb.org ?

The previous version listed, had the menu on the left. This mod places it on the right and I also included a little more detailed information for those who want to make variable changes. The other mod left that up to you.

I also included a link to the original script at DynamicDrive...for those who may be interested in placing this menu on the left, or the top of their forum pages.

My instructions give you a little more information as well...

If you're asking if there is any significant difference...no there isn't...aside from what I have just told you.

Saviour 11-17-2007 07:30 PM

Quote:

Originally Posted by kushal (Post 1384544)
Yes, that is what I did with CMPS. I thought one edits should make this. However, it is working for me.
Thank you again.

I'm glad you have it working...

In case anyone was having the same problem as you...you may want to post what exactly you did in order for it to work.

It'll help a lot of people from asking the same question...over...and over...and over...

puertoblack2003 11-17-2007 07:47 PM

Quote:

Originally Posted by kushal (Post 1384488)
How can I make this menu to also appear in VBadvanced pages?

make sure that this code is in the header template the first line before <!--logo-->


Quote:

<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>



edited; sorry didn't see he had fixed it ;)


-pb

iogames 11-17-2007 07:49 PM

Can be place it on the bottom???

Saviour 11-17-2007 07:52 PM

Thanks for fielding that one for me, puertoblack2003...

Also...don't forget to change every instance of kbmenu3, in the above code, to whatever you have named your menu.

Saviour 11-17-2007 07:55 PM

Quote:

Originally Posted by iogames (Post 1384583)
Can be place it on the bottom???

The original script from DynamicDrive shows this menu on the left, right and the top...no mention was made for this as a bottom menu.

iogames 11-17-2007 08:07 PM

Great support! :up:

last question... the links can call PopUps as 'Radio' & 'TV's Hacks?

Saviour 11-17-2007 08:17 PM

Quote:

Originally Posted by iogames (Post 1384592)
Great support! :up:

last question... the links can call PopUps as 'Radio' & 'TV's Hacks?

Well, thanks...even though this mod really isn't supported...

I'm not quite sure I understand your question...are you asking if it will pull up a pop-up page, or a video from a link?

If you have a pop-up page already configured...all you would have to do is link to that page. Did I answer your question?

iogames 11-17-2007 08:53 PM

I've 2 Links on NavBar that open PopUps Windows, Like the 'RADIO & TV' hack... so how do you solve the problem?

puertoblack2003 11-17-2007 10:09 PM

Quote:

Originally Posted by iogames (Post 1384610)
I've 2 Links on NavBar that open PopUps Windows, Like the 'RADIO & TV' hack... so how do you solve the problem?

na that won't work i tried that myself.

Saviour 11-17-2007 10:38 PM

Quote:

Originally Posted by iogames (Post 1384610)
I've 2 Links on NavBar that open PopUps Windows, Like the 'RADIO & TV' hack... so how do you solve the problem?

I just scanned that Radio and TV mod...

It would seem you have to choose a player before you can select a station...is this correct? If so, that may be the reason why the pop-up fails...not quite sure. They make make this an automatic function as the mod progresses even further...or maybe it's just a permissions thing?

puertobalck2003...

What problems did you face when you tried to add a link to the pop-up?

yoyoyoyo 11-17-2007 10:40 PM

Quote:

Originally Posted by kushal (Post 1384488)
How can I make this menu to also appear in VBadvanced pages?

I haven't tried it, but this should work...

change:
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">

if your forum is in a different directory, such as "forums," then change the replacement code accordingly.

Please let me know if it works for you.

iogames 11-17-2007 11:46 PM

Hi YOYOYOYO...

Does this Menu works with your TV Hack? :confused:

yoyoyoyo 11-18-2007 12:38 AM

I haven't installed this mod yet

badboyz 11-18-2007 01:22 AM

its a dhtml side menu frm dynamicdrive.com lol

i remember this i used it in my old html site but nice hack though

Saviour 11-18-2007 02:01 AM

Quote:

Originally Posted by badboyz (Post 1384723)
its a dhtml side menu frm dynamicdrive.com lol

i remember this i used it in my old html site but nice hack though

You're good...

Can't sneak nothing past you...:D

Saviour 11-18-2007 03:42 AM

I've added additional snapshots so that you can get an idea of the customization features possible with this mod.

Notice how the menu bar blends seamlessly into the right border of my default theme. This particular menu bar was created using an image as the background for the bar...instead of color text code. I also removed the border within the menu itself so that the parts of the forum page are actually visible in the background of the menu, when it's expanded. It also looks quite nice with the default vbulletin theme.

Even though support is not offered for this mod, I will do the best I can to try and help those looking for customization assistance.

All my best...

-Saviour

redlabour 11-18-2007 10:45 AM

Quote:

Originally Posted by yoyoyoyo (Post 1384649)
I haven't tried it, but this should work...

change:
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">

if your forum is in a different directory, such as "forums," then change the replacement code accordingly.

Please let me know if it works for you.

Works !!! :D

iogames 11-18-2007 11:18 AM

Quote:

Originally Posted by yoyoyoyo (Post 1384708)
I haven't installed this mod yet

Can you please let us know? cause this will solve all the PopUps options that we use on Navbar ;)

Direct Vision 11-18-2007 12:42 PM

For Me It's Not Working Good

The Links Come On Top Left Of The Forum. Before The Logo

What Can I Do?

yoyoyoyo 11-18-2007 12:51 PM

Quote:

Originally Posted by iogames (Post 1384866)
Can you please let us know? cause this will solve all the PopUps options that we use on Navbar ;)

I would imagine that you can add any links to the menu that you want


All times are GMT. The time now is 03:09 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.01450 seconds
  • Memory Usage 1,848KB
  • 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
  • (7)bbcode_code_printable
  • (20)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
  • (40)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