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 - rocket dock menu on forum:) [ jquery & Css ] support facebook & twitter + work on IE9 (https://vborg.vbsupport.ru/showthread.php?t=261618)

mun3im 04-06-2011 10:00 PM

rocket dock menu on forum:) [ jquery & Css ] support facebook & twitter + work on IE9
 
1 Attachment(s)


hi how are you all
my first post on vbulletin i'm happy to be with you ^^
so to day i have make changes & developments on rocket-dock menu [ jquery & Css ]
to support vb4 ;)
i have added facebook & twitter + support internet explorer 9

see example :
https://vborg.vbsupport.ru/attachmen...1&d=1302210414

demo: click here

install :
======>first:
upload files to [VB] folder on your forum
https://vborg.vbsupport.ru/attachmen...1&d=1302210414

======>second:
you need to change on templates

1- If you want to display the rocket-dock below the header place the code at the end of template [header]
2-If you want to display the rocket-dock only in the home just insert the code at the end of template [forumhome]
3-If you want to display the menu in all pages + like the example,
Place the code after the word
Code:

[ </div><!-- closing div for above_body --> ]
in the [ navbar ] template

code:


Code:

<!--- rocketDock Menu developed and Translated to Arabic By Twi[L]ighT Dz , www.shba7.cc/vb  -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>CSS Mac Dock</title>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/bar.js"></script>

<!--[if lt IE 7]>
 <style type="text/css">
 div, img { behavior: url(iepngfix.htc) }
 </style>
<![endif]-->

<link href="css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="dock" id="dock">
  <div class="dock-container">
  <a class="dock-item" href="your link here"><img src="images/home.png" alt="home" /><span>home</span></a>
  <a class="dock-item" href="your link here"><img src="images/email.png" alt="contact us" /><span>contact us</span></a>
  <a class="dock-item" href="your link here"><img src="images/portfolio.png" alt="usercp" /><span>usercp</span></a>
  <a class="dock-item" href="your link here"><img src="images/fb.png" alt="facebook" /><span>follow as on facebook</span></a>
  <a class="dock-item" href="your link here"><img src="images/tw.png" alt="twitter" /><span>follow as on twitter</span></a>
  <a class="dock-item" href="your link here"><img src="images/history.png" alt="time" /><span>time</span></a>
  <a class="dock-item" href="your link here"><img src="images/calendar.png" alt="calendar" /><span>calendar</span></a>
  <a class="dock-item" href="your link here"><img src="images/rss.png" alt="rss" /><span>RSS</span></a>
</div>
</div>
<script type="text/javascript">
   
    $(document).ready(
        function()
        {
            $('#dock').Fisheye(
                {
                    maxWidth: 50,
                    items: 'a',
                    itemsText: 'span',
                    container: '.dock-container',
                    itemWidth: 40,
                    proximity: 90,
                    halign : 'center'
                }
            )
        }
    );

</script>
</body>
</html>

don't forget to put your links :)

i hope you enjoy this ;) + if you install plz click install
THANKS YOU ^^
---------------------------
By Twi[L]ighT Dz
---------------------------

ProFifaLeagues 04-07-2011 08:41 PM

Great work and simple install thank you :)

mun3im 04-07-2011 09:36 PM

Quote:

Originally Posted by rammieone (Post 2182094)
Great work and simple install thank you :)

your welcome brother always ^^

betts02 04-08-2011 05:57 AM

<a href="http://www.nextgenerationgamers.co.uk" target="_blank">www.nextgenerationgamers.co.uk</a>

I installed this and as you can see its not showing correctly

Uploaded to as stated

forums/vb

Even tried to upload it to forums/ then the files wioutout the VB

But as you can see its not workinjg

ProFifaLeagues 04-08-2011 06:01 AM

Betts open the zip file and extract it then inside this you will have a few items like css folder images folder etc upload these to your ftp inside the main forum folder (the one with your admin cp folder and archive folder is located you should be good to go then mate!

betts02 04-08-2011 06:21 AM

I have done that mate

But all thats coming up is the RSS image and link as you can see

I have tried to view this in crome and IE8 but it just seems as though the JS aint working

If i view page source it has ecerything there that should be, But for some reason its niot working

ProFifaLeagues 04-08-2011 06:30 AM

Yeah something seems to be stopping the Js mate sorry i couldn't be of any help there

mun3im 04-08-2011 09:49 AM

Quote:

Originally Posted by betts02 (Post 2182214)
I have done that mate

But all thats coming up is the RSS image and link as you can see

I have tried to view this in crome and IE8 but it just seems as though the JS aint working

If i view page source it has ecerything there that should be, But for some reason its niot working

brother the folder [vb] = [forums] in you forum so u have to upload the folders into the [VB] in your principal forum folder [forums]
i hope it work for you ;)
if you need help just send msg okey ^^

mun3im 04-08-2011 09:51 AM

Quote:

Originally Posted by rammieone (Post 2182212)
Betts open the zip file and extract it then inside this you will have a few items like css folder images folder etc upload these to your ftp inside the main forum folder (the one with your admin cp folder and archive folder is located you should be good to go then mate!

that's right rammieone thank you a lot for help :)

betts02 04-08-2011 10:33 AM

I uploaded them to /forums the first time

I must state i have vbadvanced as my home page if this makes a difference ?

mun3im 04-08-2011 12:33 PM

do you use other js script on the forum ? because sometimes its don't work

betts02 04-08-2011 04:51 PM

I use many java on my site friend

thr45h3r 04-09-2011 01:11 AM

1 Attachment(s)
Awesome job :)

Easy install and I've even put my own custom .png's to match my board theme and color
Also added some icons for easy navigation for my members :)

Chrome works fine for me

A+++
Installed

betts02 04-09-2011 05:51 AM

would love to get this working

Taurus1 04-09-2011 08:10 AM

I have exactly the same issue as betts02. I hope we can get this to work. Really awesome addition.

mun3im 04-09-2011 08:40 AM


we will find the solutions don't worry brothers :)


mun3im 04-09-2011 08:47 AM

Quote:

Originally Posted by thr45h3r (Post 2182490)
Awesome job :)

Easy install and I've even put my own custom .png's to match my board theme and color
Also added some icons for easy navigation for my members :)

Chrome works fine for me

A+++
Installed

in the future inchallah i will put some new icons match with themes + i will make some changes ^^ ;)

mun3im 04-09-2011 08:28 PM


http://www.nextgenerationgamers.co.uk/forums/
with the power of god i have fix the problems

so for any one who got prob with having to many script jquery on forum he have to use this code :

Code:


<!--- rocketDock Menu developed and Translated to Arabic By Twi[L]ighT Dz , www.shba7.cc/vb  -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>CSS Mac Dock</title>
<script type="text/javascript" src="http://shba7.cc/vb/js/jquery.js"></script>
<script type="text/javascript" src="http://shba7.cc/vb/js/bar.js"></script>

<!--[if lt IE 7]>
 <style type="text/css">
 div, img { behavior: url(http://shba7.cc/vb/iepngfix.htc) }
 </style>
<![endif]-->

<link href="http://shba7.cc/vb/css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="dock" id="dock">
  <div class="dock-container">
  <a class="dock-item" href="your link here"><img src="images/home.png" alt="home" /><span>home</span></a>
  <a class="dock-item" href="your link here"><img src="images/email.png" alt="contact us" /><span>contact us</span></a>
  <a class="dock-item" href="your link here"><img src="images/portfolio.png" alt="usercp" /><span>usercp</span></a>
  <a class="dock-item" href="your link here"><img src="images/fb.png" alt="facebook" /><span>follow as on facebook</span></a>
  <a class="dock-item" href="your link here"><img src="images/tw.png" alt="twitter" /><span>follow as on twitter</span></a>
  <a class="dock-item" href="your link here"><img src="images/history.png" alt="time" /><span>time</span></a>
  <a class="dock-item" href="your link here"><img src="images/calendar.png" alt="calendar" /><span>calendar</span></a>
  <a class="dock-item" href="your link here"><img src="images/rss.png" alt="rss" /><span>RSS</span></a>
</div>
</div>
<script type="text/javascript">
   
    $(document).ready(
        function()
        {
            $('#dock').Fisheye(
                {
                    maxWidth: 50,
                    items: 'a',
                    itemsText: 'span',
                    container: '.dock-container',
                    itemWidth: 40,
                    proximity: 90,
                    halign : 'center'
                }
            )
        }
    );

</script>
</body>
</html>


the deference between the first code and the second is :

first code : you upload script js to host ( if you have too many script it will be a prob because some scripts will stop )

second code : to resolve the issue we call the scripts js from another host so i put from my own website + u can make changes always ;)


i hope that be helpful brother if you need something eals just ask from me

8thos 04-09-2011 10:17 PM

I need thissss

Taurus1 04-09-2011 10:54 PM

Thanks for the fix, but unfortunately it made no difference. It is still the same.

betts02 04-10-2011 05:25 AM

Cheers for the help mate

Still need to try to get this to work on the home page - vbadvanced

Also if for what ever reason something happened with your host, This would not work ?
It really should be calling the script from our own host ?

Cheers for the good work anyway mate and as stated hopefully we can get it to work on vbadvanced, well on my site anyway,lol

8thos 04-11-2011 06:31 AM

The only template that it worked in was at the bottom of headinclude. It doesn't look right at the top of the page though.

I would prefer that it was below the navbar but when I move it there it does not work.

betts02 04-11-2011 07:06 AM

Un-installed due to it not working on my site

mun3im 04-11-2011 12:05 PM

<div align="center">
the rocketdock don't work when there is other jguery script in the same template so try to update the jquery script that you use to the last update and it will help ^^
</div>

betts02 04-11-2011 06:43 PM

Quote:

Originally Posted by mun3im (Post 2183359)

the rocketdock don't work when there is other jguery script in the same template so try to update the jquery script that you use to the last update and it will help ^^

I have looked through my "header" template and can find NO other jquery.js or bar.js

I tried to make my own template and use the code above then add this template to my forumdisplay under my navbar but still no luck

Da-Vinci 04-12-2011 12:42 AM

1 Attachment(s)
Works fine for me but the way I found it best to implement this was to do the following.

In your Header Template add this to the very top.

HTML Code:

<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/bar.js"></script>

<!--[if lt IE 7]>
 <style type="text/css">
 div, img { behavior: url(iepngfix.htc) }
 </style>
<![endif]-->


<link href="css/style.css" rel="stylesheet" type="text/css" />

Then in your Navbar Template add this.

HTML Code:

<div class="dock" id="dock">
  <div class="dock-container">
  <a class="dock-item" href="your link here"><img src="images/home.png" alt="home" /><span>home</span></a>
  <a class="dock-item" href="your link here"><img src="images/email.png" alt="contact us" /><span>contact us</span></a>
  <a class="dock-item" href="your link here"><img src="images/portfolio.png" alt="usercp" /><span>usercp</span></a>
  <a class="dock-item" href="your link here"><img src="images/fb.png" alt="facebook" /><span>follow as on facebook</span></a>
  <a class="dock-item" href="your link here"><img src="images/tw.png" alt="twitter" /><span>follow as on twitter</span></a>
  <a class="dock-item" href="your link here"><img src="images/history.png" alt="time" /><span>time</span></a>
  <a class="dock-item" href="your link here"><img src="images/calendar.png" alt="calendar" /><span>calendar</span></a>
  <a class="dock-item" href="your link here"><img src="images/rss.png" alt="rss" /><span>RSS</span></a>
</div>
</div>
<script type="text/javascript">
   
    $(document).ready(
        function()
        {
            $('#dock').Fisheye(
                {
                    maxWidth: 50,
                    items: 'a',
                    itemsText: 'span',
                    container: '.dock-container',
                    itemWidth: 40,
                    proximity: 90,
                    halign : 'center'
                }
            )
        }
    );

</script>

I've currently got this as tagged, although it works 100% on my forum, it's not doing exactly what I want it to as I want to integrate it with this custom template edit, I've made to my forum.

https://vborg.vbsupport.ru/external/2011/04/42.jpg

The files should be uploaded to your forum root, IE: the location on your FTP where your forum resides. If you can see a folder called Admin CP, then this is where you need to upload the folders that are attached to this mod.

Rated as 5 and Nominated for MOTM.

betts02 04-12-2011 06:01 AM

Quote:

Originally Posted by Da-Vinci (Post 2183637)
Works fine for me but the way I found it best to implement this was to do the following.

In your Header Template add this to the very top.

HTML Code:

<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/bar.js"></script>

<!--[if lt IE 7]>
 <style type="text/css">
 div, img { behavior: url(iepngfix.htc) }
 </style>
<![endif]-->


<link href="css/style.css" rel="stylesheet" type="text/css" />

Then in your Navbar Template add this.

HTML Code:

<div class="dock" id="dock">
  <div class="dock-container">
  <a class="dock-item" href="your link here"><img src="images/home.png" alt="home" /><span>home</span></a>
  <a class="dock-item" href="your link here"><img src="images/email.png" alt="contact us" /><span>contact us</span></a>
  <a class="dock-item" href="your link here"><img src="images/portfolio.png" alt="usercp" /><span>usercp</span></a>
  <a class="dock-item" href="your link here"><img src="images/fb.png" alt="facebook" /><span>follow as on facebook</span></a>
  <a class="dock-item" href="your link here"><img src="images/tw.png" alt="twitter" /><span>follow as on twitter</span></a>
  <a class="dock-item" href="your link here"><img src="images/history.png" alt="time" /><span>time</span></a>
  <a class="dock-item" href="your link here"><img src="images/calendar.png" alt="calendar" /><span>calendar</span></a>
  <a class="dock-item" href="your link here"><img src="images/rss.png" alt="rss" /><span>RSS</span></a>
</div>
</div>
<script type="text/javascript">
   
    $(document).ready(
        function()
        {
            $('#dock').Fisheye(
                {
                    maxWidth: 50,
                    items: 'a',
                    itemsText: 'span',
                    container: '.dock-container',
                    itemWidth: 40,
                    proximity: 90,
                    halign : 'center'
                }
            )
        }
    );

</script>

I've currently got this as tagged, although it works 100% on my forum, it's not doing exactly what I want it to as I want to integrate it with this custom template edit, I've made to my forum.

https://vborg.vbsupport.ru/external/2011/04/42.jpg

The files should be uploaded to your forum root, IE: the location on your FTP where your forum resides. If you can see a folder called Admin CP, then this is where you need to upload the folders that are attached to this mod.

Rated as 5 and Nominated for MOTM.

Still not working on mine, Shame really as i wanted to use this

Da-Vinci 04-12-2011 08:33 AM

Quote:

Originally Posted by betts02 (Post 2183703)
Still not working on mine, Shame really as i wanted to use this

I only have it installed on my default skin at the minute, but as you can see from the image below it's working great.

https://vborg.vbsupport.ru/attachmen...1&d=1302600584

Do you have the files uploaded in your forum root?

What exactly happens when you make the template edits after uploading the files?

These parts of the code need to be right for this to work.

Code:

<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/bar.js"></script>

<!--[if lt IE 7]>
 <style type="text/css">
 div, img { behavior: url(iepngfix.htc) }
 </style>
<![endif]-->

<link href="css/style.css" rel="stylesheet" type="text/css" />

I personally don't have my forum in a folder, mine resides in the Public HTML on my FTP and I also use VB Advanced.

So the structure for mine works out like this.

Code:

www.myforumlink.com/js/jquery.js
www.myforumlink.com/js/bar.js
www.myforumlink.com/css/style.css


betts02 04-12-2011 09:20 AM

I have mine at public_html/forums/

The coder even tried to get this working but can ONLY get it working via the js files being on his host

All i get doing as you said and the original post is a image for RSS and the link, Nothing else works

mun3im 04-12-2011 10:01 AM

Quote:

Originally Posted by Da-Vinci (Post 2183637)
Works fine for me but the way I found it best to implement this was to do the following.

In your Header Template add this to the very top.

HTML Code:

<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/bar.js"></script>

<!--[if lt IE 7]>
 <style type="text/css">
 div, img { behavior: url(iepngfix.htc) }
 </style>
<![endif]-->


<link href="css/style.css" rel="stylesheet" type="text/css" />

Then in your Navbar Template add this.

HTML Code:

<div class="dock" id="dock">
  <div class="dock-container">
  <a class="dock-item" href="your link here"><img src="images/home.png" alt="home" /><span>home</span></a>
  <a class="dock-item" href="your link here"><img src="images/email.png" alt="contact us" /><span>contact us</span></a>
  <a class="dock-item" href="your link here"><img src="images/portfolio.png" alt="usercp" /><span>usercp</span></a>
  <a class="dock-item" href="your link here"><img src="images/fb.png" alt="facebook" /><span>follow as on facebook</span></a>
  <a class="dock-item" href="your link here"><img src="images/tw.png" alt="twitter" /><span>follow as on twitter</span></a>
  <a class="dock-item" href="your link here"><img src="images/history.png" alt="time" /><span>time</span></a>
  <a class="dock-item" href="your link here"><img src="images/calendar.png" alt="calendar" /><span>calendar</span></a>
  <a class="dock-item" href="your link here"><img src="images/rss.png" alt="rss" /><span>RSS</span></a>
</div>
</div>
<script type="text/javascript">
   
    $(document).ready(
        function()
        {
            $('#dock').Fisheye(
                {
                    maxWidth: 50,
                    items: 'a',
                    itemsText: 'span',
                    container: '.dock-container',
                    itemWidth: 40,
                    proximity: 90,
                    halign : 'center'
                }
            )
        }
    );

</script>

I've currently got this as tagged, although it works 100% on my forum, it's not doing exactly what I want it to as I want to integrate it with this custom template edit, I've made to my forum.

https://vborg.vbsupport.ru/attachmen...1&d=1302573086

The files should be uploaded to your forum root, IE: the location on your FTP where your forum resides. If you can see a folder called Admin CP, then this is where you need to upload the folders that are attached to this mod.

Rated as 5 and Nominated for MOTM.




my brother i will make it for you just give some time ^^

Da-Vinci 04-12-2011 11:02 AM

Quote:

Originally Posted by betts02 (Post 2183745)
I have mine at public_html/forums/

The coder even tried to get this working but can ONLY get it working via the js files being on his host

All i get doing as you said and the original post is a image for RSS and the link, Nothing else works

If it works when the files are hosted on another server then it should work on your server, are you uploading the files to public_html/forums ?

Giving you this structure

Code:

www.yourforumlink.com/forums/js/jquery.js
www.yourforumlink.com/forums/js/bar.js
www.yourforumlink.com/forums/css/style.css

Edit:

Just checked http://www.nextgenerationgamers.co.u...s/js/jquery.js and the file is there so you have uploaded it correctly, I'm stumped why it wont work then???

Sorry bud, would have loved to have helped you out.

betts02 04-12-2011 06:31 PM

Well i removed all the files then uploaded them to forums/test
changed the links in the code and placed in in my template and the default template but its not working

betts02 04-13-2011 07:00 AM

Issue Solved

My hosting company supports javascript but NOT javascript applications

Well thats what they said anyway, So my re-newal is due up and looking for another hosting company

mun3im 04-13-2011 06:01 PM

Quote:

Originally Posted by betts02 (Post 2184123)
Issue Solved

My hosting company supports javascript but NOT javascript applications

Well thats what they said anyway, So my re-newal is due up and looking for another hosting company

i hope the best for you brother ^^

RobbieZ 04-13-2011 10:21 PM

I had the same problem as betts02 showing just the rss feed icon to the left.

I then followed your instructions for putting the code at the bottom of FORUMHOME and it works fine and dandy.

Question though, Why have you got a closed </html> tag at the end of your code but no starter for it?

betts02 04-14-2011 06:54 AM

After much looking around i have found its a problem with vbulletin and they way .js conflicts with other.js files on the same site

mun3im 04-14-2011 07:56 AM

Quote:

Originally Posted by RobbieZ (Post 2184392)
I had the same problem as betts02 showing just the rss feed icon to the left.

I then followed your instructions for putting the code at the bottom of FORUMHOME and it works fine and dandy.

Question though, Why have you got a closed </html> tag at the end of your code but no starter for it?

the prob of betts02 that is using too much js script .... but when i installed the mode in the other style its works + try to upload well the js script ^^ because your prob is on the js script okey brother

RobbieZ 04-14-2011 10:37 AM

Quote:

Originally Posted by betts02 (Post 2184474)
After much looking around i have found its a problem with vbulletin and they way .js conflicts with other.js files on the same site

How many have you got running betts02? I have at least 7 I can think of on mine but am still running 4.0.6!

Have you tried moving your code out of header and landing it in FORUMHOME or at least on another skin maybe for working purposes?

mun3im 04-14-2011 12:39 PM

Quote:

Originally Posted by RobbieZ (Post 2184518)
How many have you got running betts02? I have at least 7 I can think of on mine but am still running 4.0.6!

Have you tried moving your code out of header and landing it in FORUMHOME or at least on another skin maybe for working purposes?

i hope that update for 4.2.1 or higher its well +
RobbieZ the menu bar don't work if the script js is not working

mun3im 05-13-2011 10:12 PM

uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuup


All times are GMT. The time now is 06:15 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.01599 seconds
  • Memory Usage 1,924KB
  • 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
  • (6)bbcode_code_printable
  • (6)bbcode_html_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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