Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved jQuery Menu + Profile Designs Plugin Conflict
#1
Not Solved
Okay.

For some reason my jQuery Menues turns disabled at the Members Profile when I am using Profile Design Plugins.

I think it might be a jQuery Conflict.

Does anyone have any ideas?

Link: http://www.gamerstick.com/member.php?act...file&uid=1

My Menu is using this:
<script type="text/javascript" src="images/gamerstick/scripts/ddsmoothmenu.js">
/***********************************************
* Smooth Navigational Menu- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
</script>
 <script type="text/javascript">

ddsmoothmenu.init({
	mainmenuid: "smoothmenu1", //menu DIV id
	orientation: 'h', //Horizontal or vertical menu: Set to "h" or "v"
	classname: 'ddsmoothmenu', //class added to menu's outer DIV
	//customtheme: ["#1c5a80", "#18374a"],
	contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
})

ddsmoothmenu.init({
	mainmenuid: "smoothmenu2", //Menu DIV id
	orientation: 'v', //Horizontal or vertical menu: Set to "h" or "v"
	classname: 'ddsmoothmenu-v', //class added to menu's outer DIV
	//customtheme: ["#804000", "#482400"],
	contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
})

</script>

And the Profile Design use this:
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/jquery.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/colorpicker.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/eye.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/utils.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/profiledesign.js"></script>

The menu works again if I remove this:
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/jquery.js"></script>

Hope someone have any ideas how to solve this Big Grin
#2
Not Solved
At the bottom of all the jQuery scripts for profile design add:
<script type="text/javascript">
jQuery.no conflict();
</script>
#3
Not Solved
(2012-06-04, 08:50 AM)Clarkie Wrote: At the bottom of all the jQuery scripts for profile design add:
<script type="text/javascript">
jQuery.no conflict();
</script>

Just like this?

<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/jquery.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/colorpicker.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/eye.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/utils.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/profiledesign.js"></script>

<script type="text/javascript">
jQuery.no conflict();
</script> 
#4
Not Solved
This;
jQuery.no conflict();
should be like this;
jQuery.noConflict();

Notice the removed space between "no" and "conflict".
#5
Not Solved
Thanks for the try.

But it is still making problems.

http://www.gamerstick.com/member.php?act...file&uid=1

My dropdown menu and my profile tabs doesn't work.
#6
Not Solved
bump.


I am willing to pay if someone can fix this issue Big Grin
#7
Not Solved
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/jquery.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/colorpicker.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/eye.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/utils.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/profiledesign.js"></script>

Find:
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/jquery.js"></script>

Add this below:
<script type="text/javascript">jQuery.noConflict();</script>

Your code should now be:

<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/jquery.js"></script>
<script type="text/javascript">jQuery.noConflict();</script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/colorpicker.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/eye.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/utils.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/profiledesign.js"></script>
[Image: information.gif] MyBB Support Technician
Please do not PM me for support.


MyBBatically - A quick and easy way to update your board!
#8
Not Solved
Oops delete this post please, sorry.


Forum Jump:


Users browsing this thread: 1 Guest(s)