MyBB Central

Full Version: Help Please :|
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
First of all thankyou for taking the time to view this.

I recently added dynamic drives drop down menu from Here. It's all working fine but i have one problem. When i added the dropdown menu i had to add this code

Code:
<!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" lang="en" xml:lang="en">

<link rel="stylesheet" type="text/css" href="ddsmoothmenu.css" />
<link rel="stylesheet" type="text/css" href="ddsmoothmenu-v.css" />

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>
<script type="text/javascript" src="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>

Into my <HEAD> section. I did this in my index template under <head> and i also added it in my Header template. Everything woks fine as you can see

http://www.profifaleagues.net/portal.php

BUT!

I also have a custom pages mod installed from Mybbsource and when i visit one of these custom pages under /pages/NAME it comes up unformatted as seen here

http://www.profifaleagues.net/pages/premiership/

How do i get this to function correctly?

Also just a quick query aswell. How do i center the header DD menu? I tried adding <center> tags around the <div> thats around the header code but it didnt work.

Also i have a wierd problem with my shoutbox. Since i added the DD menu it just displays "Loading" and when i attempt to shout it refreshes the page.

Login to my site with these details

Username: Tester
Password: 123456
Hm. Do you mean you added it in headerinclude?
(Dec 15, 2009, 11:22 AM)euantor Wrote: [ -> ]Hm. Do you mean you added it in headerinclude?

No i mean i added it Header templates - Header
Ok, try adding it in the headerinclde template (found in the ungrouped templates category)
(Dec 15, 2009, 01:48 PM)euantor Wrote: [ -> ]Ok, try adding it in the headerinclde template (found in the ungrouped templates category)

Tried this and it's still not working. Also i have just realised who you are :O. I have to say the theme to your website is THE most perfect theme i have ever seen. Is there a mybb version i could get hold of? I know its originated from the greennight theme but that sucks compared to the X3S one you have created.
(Dec 15, 2009, 02:59 PM)grim line Wrote: [ -> ]
(Dec 15, 2009, 01:48 PM)euantor Wrote: [ -> ]Ok, try adding it in the headerinclde template (found in the ungrouped templates category)

Tried this and it's still not working. Also i have just realised who you are :O. I have to say the theme to your website is THE most perfect theme i have ever seen. Is there a mybb version i could get hold of? I know its originated from the greennight theme but that sucks compared to the X3S one you have created.

He's using vBulletin, it's not MyBB.
(Dec 15, 2009, 03:05 PM)Arqui Wrote: [ -> ]
(Dec 15, 2009, 02:59 PM)grim line Wrote: [ -> ]
(Dec 15, 2009, 01:48 PM)euantor Wrote: [ -> ]Ok, try adding it in the headerinclde template (found in the ungrouped templates category)

Tried this and it's still not working. Also i have just realised who you are :O. I have to say the theme to your website is THE most perfect theme i have ever seen. Is there a mybb version i could get hold of? I know its originated from the greennight theme but that sucks compared to the X3S one you have created.

He's using vBulletin, it's not MyBB.

I know that but he started on mybb as well as Greenight is a mybb theme Smile.
ummmm if you want to add pages to your menu list your going to have to add them to the main css where all your menu options are located. so like to add it, it would be quite simple....just do this....

Code:
<a href="www.yourdomain.com/subpage.php">Name of page here</a>

I hope this is what you mean, that is all i can understand from what your talking about.
Ok i have had help fixing the custom pages not displaying right but my shoutbox still displays "Loading..." and never loads.