PDA

View Full Version : Another Menu Issue


ozwebsites
06-03-2008, 08:31 PM
Appreciate some assistance with this please.
Have done a quick search on the forum, and not seen the same situ replicated.

The template we use, handles site menu in header, no navbar.

so:

/forum/?nojs=1#usercptools

Is appearing like this below in our LINKS pages, which sits in root of domain

/links/index.php?nojs=1#usercptools


Also we have a javascript menu, that I am sure is an absolute url issue.

Happily pm someone the website link, to check. No need to register to inspect menu :)

PhilMcKrackon
06-03-2008, 08:42 PM
I can't help you with the java script issue for the 'Radio and TV' link, but I looked around your site and I don't see the forum/?nojs=1#usercptools

Is appearing like this below in our LINKS pages, which sits in root of domain

/links/index.php?nojs=1#usercptools problem, could you be more specific?

All the menu links (Forum Home, Arcade, Quiz, GMap...) seem to be correct.

Our Sponsors
 

PhilMcKrackon
06-03-2008, 08:49 PM
BTW - I noticed you have VBSeo. If you want to have VBSeo rewrite your link url's there is a custom CRR at http://www.vbseo.com/f23/custom-rewrite-vba-photogallery-links-1011/index5.html#post14173

that works great for VBaLinks.

ozwebsites
06-03-2008, 09:27 PM
Hi Mate.

Thanks for the VBSEO tip ;) will check that out.

the issue is in:

Quicklinks

Radio and Tv

For Quicklinks, all expanded links, are prefixed by links instead of forum

Radio and Tv, opens using javascript from within header of forum template.

Ozzy

Sorry this is for url: yobromofo.com/links

Our Sponsors
 

PhilMcKrackon
06-03-2008, 09:43 PM
the issue is in:

Quicklinks

Radio and Tv

For Quicklinks, all expanded links, are prefixed by links instead of forum

Radio and Tv, opens using javascript from within header of forum template.

Ozzy

Sorry this is for url: yobromofo.com/links
I still get no errors on your site for your menu in the links directory except for 'Radio and TV'.

Check out this screen capture and you will see that as I hover over 'Register' the link is correct (/forums/register.php). Is this what you are talking about?

ozwebsites
06-03-2008, 09:54 PM
Ahhh thanks... lol just realised.

Because you are not a member, you cannot see the other links.

Will set a test account now.

username = YBMFBOT
pass = test

And incidentally, that link to VBSEO you gave, good onya... found another issue, to do with Acronyms and solved it, being doing my head in for a week lol

Ozzy

PhilMcKrackon
06-04-2008, 07:00 AM
I just looked around again and I still don't see what your talking about. I logged in using the user you supplied. I attached another screen shot.

Brian
06-04-2008, 11:38 AM
Have you tried the suggestions from our FAQ?
http://www.vbadvanced.com/forum/faq.php?faq=vba_trouble#faq_vba_trouble_links

ozwebsites
06-04-2008, 07:13 PM
I just looked around again and I still don't see what your talking about. I logged in using the user you supplied. I attached another screen shot.

Its not members list thats the issue.

Its Quick Links, and Radio and Tv

:)

ozwebsites
06-04-2008, 07:22 PM
Have you tried the suggestions from our FAQ?
http://www.vbadvanced.com/forum/faq.php?faq=vba_trouble#faq_vba_trouble_links

That doesnt help Brian.

As you are aware from this forum, Quick Links, ( on VB sits in the navbar )
However on most custom templates it sits in the Header.

In our case it does anyway.

We have forumpath set correctly, we have added respective other urls, as per the docs, and they all work fine.

Login/Logout does not work from cpms/dynamics/links

I must be missing something extremely obvious, however cannot see it.

I trust the issue is the fact, # is used somewhere within those links, and perhaps the urls, arent native to vbadvanced.

Any suggestions, I cannot be the only one running Menu from header not navbar, and would presume those that are, have a similar issue. If they ont, there must be a workaround.

So my issues are:

login/logout although login.php is added in admincp to the list
quick links does not work as noted in post 1 or 3 i think
radio and TV does not work, as it uses javascript, to open a popup


Suggestions please, as albeit im only making a couple of posts here, our members are sending me barrage's of complaints.

Regards Ozzy

Brian
06-06-2008, 04:56 PM
I just registered on your site so I could take a look... FYI, some of your header links get pushed down to the next row and are basically invisible (white text on almost white background) on smaller screen resolutions. I didn't have the window maximized at first and couldn't find the link until I searched the page. Not sure if you're aware of that, but thought I'd let you know. ;)

For your login.php file, the only thing I can suggest would be double check your 'Header Replacements' setting to make sure login.php is listed there, and that there's nothing (not even a space) in front of or behind the filename. It appears to be in your 'header' template and I don't see anything unusual in the code, so there shouldn't be any reason that wouldn't work. If not, it looks like you'll need to replace some code in your header template anyways, so just edit that template and replace the link to "login.php?do=logout..." with "$vboptions[bburl]/login.php?do=logout...".

For the Quick Link pop-ups that are broken, it looks like you'll need to update some code for these as well. I'm assuming this code is in your 'header' template, though if it's not you should be able to find it by searching your templates for "jukebox/index.php". This is the code you will need to find:
<tr><td class="vbmenu_option"><a href="#" onClick="window.open('jukebox/index.php','JukeBox','toolbar=0,location=0,directories=0,status=0,menubar=0,scro llbars=1,resizable=0,width=520,height=600,left=380,top=120');return false;">JukeBox</a></td></tr>
<tr><td class="vbmenu_option"><a href="#" onClick="window.open('chat/index.php','YoBroMoFo','toolbar=0,location=0,directories=0,status=0,menubar=0,sc rollbars=0,resizable=0,width=600,height=488,left=380,top=120');return false;">Chat</a></td></tr>

And you'll need to update the two links there:
<tr><td class="vbmenu_option"><a href="#" onClick="window.open('$vboptions[bburl]/jukebox/index.php','JukeBox','toolbar=0,location=0,directories=0,status=0,menubar=0,scro llbars=1,resizable=0,width=520,height=600,left=380,top=120');return false;">JukeBox</a></td></tr>
<tr><td class="vbmenu_option"><a href="#" onClick="window.open('$vboptions[bburl]/chat/index.php','YoBroMoFo','toolbar=0,location=0,directories=0,status=0,menubar=0,sc rollbars=0,resizable=0,width=600,height=488,left=380,top=120');return false;">Chat</a></td></tr>

Radio & TV:
http://www.vbadvanced.com/forum/showthread.php?t=29593&highlight=radio

ozwebsites
06-06-2008, 10:03 PM
I just registered on your site so I could take a look... FYI, some of your header links get pushed down to the next row and are basically invisible (white text on almost white background) on smaller screen resolutions. I didn't have the window maximized at first and couldn't find the link until I searched the page. Not sure if you're aware of that, but thought I'd let you know. ;)

For your login.php file, the only thing I can suggest would be double check your 'Header Replacements' setting to make sure login.php is listed there, and that there's nothing (not even a space) in front of or behind the filename. It appears to be in your 'header' template and I don't see anything unusual in the code, so there shouldn't be any reason that wouldn't work. If not, it looks like you'll need to replace some code in your header template anyways, so just edit that template and replace the link to "login.php?do=logout..." with "$vboptions[bburl]/login.php?do=logout...".

For the Quick Link pop-ups that are broken, it looks like you'll need to update some code for these as well. I'm assuming this code is in your 'header' template, though if it's not you should be able to find it by searching your templates for "jukebox/index.php". This is the code you will need to find:
<tr><td class="vbmenu_option"><a href="#" onClick="window.open('jukebox/index.php','JukeBox','toolbar=0,location=0,directories=0,status=0,menubar=0,scro llbars=1,resizable=0,width=520,height=600,left=380,top=120');return false;">JukeBox</a></td></tr>
<tr><td class="vbmenu_option"><a href="#" onClick="window.open('chat/index.php','YoBroMoFo','toolbar=0,location=0,directories=0,status=0,menubar=0,sc rollbars=0,resizable=0,width=600,height=488,left=380,top=120');return false;">Chat</a></td></tr>

And you'll need to update the two links there:
<tr><td class="vbmenu_option"><a href="#" onClick="window.open('$vboptions[bburl]/jukebox/index.php','JukeBox','toolbar=0,location=0,directories=0,status=0,menubar=0,scro llbars=1,resizable=0,width=520,height=600,left=380,top=120');return false;">JukeBox</a></td></tr>
<tr><td class="vbmenu_option"><a href="#" onClick="window.open('$vboptions[bburl]/chat/index.php','YoBroMoFo','toolbar=0,location=0,directories=0,status=0,menubar=0,sc rollbars=0,resizable=0,width=600,height=488,left=380,top=120');return false;">Chat</a></td></tr>

Radio & TV:
http://www.vbadvanced.com/forum/showthread.php?t=29593&highlight=radio

Cheers Brian.

They worked a bloody treat, that is. Jukebox/Chat and Radio & Tv

Really appreciate that !!! Top work.

The login part is still getiing me.

I have in header

<!-- login form -->
<form action="login.php?do=login" method="post" onSubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
<script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td class="smallfont"><label for="navbar_username">$vbphrase[username]</label></td>
<td><input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]" onFocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td>
<td class="smallfont" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" checked="checked"/>$vbphrase[remember_me]</label></td>
</tr>
<tr>
<td class="smallfont"><label for="navbar_password">$vbphrase[password]</label></td>
<td><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" tabindex="102" /></td>
<td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td>
</tr>
</table>
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="vb_login_md5password" />
<input type="hidden" name="vb_login_md5password_utf" />
</form>
<!-- / login form -->

Im not sure what part to change.

Any further help greatly appreciated. I think we have login.php?do=login as this checks the remember me checkbox. Not sure now lol

Ozzy

ozwebsites
06-08-2008, 10:14 PM
bump :)

Brian
06-09-2008, 03:35 PM
Change:
<form action="login.php?do=login"

To:
<form action="$vboptions[bburl]/login.php?do=login"

ozwebsites
06-10-2008, 03:33 AM
Change:
<form action="login.php?do=login"

To:
<form action="$vboptions[bburl]/login.php?do=login"

Sorted at long long last, cheers Brian.

:):):)