View Full Version : [fixed?] Forum Jump In User CP And Netscape 6.1
Littlebit
Fri 9th Nov '01, 1:15pm
For some reason, the forum jump in User CP, when on Netscape 6.1 browser, gives this message when a forum is chosen:
Invalid forum specified. If you followed a valid link, please notify the webmaster
However, in AOL browser and in Internet Explorer it works just fine. Is there a quick fix I could do to make forum jump in user cp work on Netscapes browser too? It just seems to be that forum jump only that I can tell so far.
Oh, I'm using 2.20
Steve Machol
Fri 9th Nov '01, 1:21pm
Confirmed. I just tried it with NS 6.1 and got the same results on this forum. Moving to Bugs forum.
Littlebit
Fri 9th Nov '01, 1:23pm
thanks :)
eva2000
Fri 9th Nov '01, 1:56pm
in netscape check the source code for the url for the form action ... what does it look like?
see if you get the problem on my forum at http://animeboards.com/f38/s
Steve Machol
Fri 9th Nov '01, 2:01pm
Not really sure what you're asking here. Also do you have a test account so I can access the user cp?
eva2000
Fri 9th Nov '01, 2:10pm
Originally posted by smachol
Not really sure what you're asking here. Also do you have a test account so I can access the user cp? asking me ??
netscape has a weird habit of how it interprets href and urls in html code
i.e. this code
<form action="forumdisplay.php" method="get">
in IE browsers would be displayed in the html code as
<form action="http://yourdomain.com/forumdisplay.php" method="get">
but in netscape it will be rendered as
<form action="http://forumdisplay.php" method="get">
or something similar
only fix i found while installing the spider friendly url hack is to use forum replacement variables to change and add the back slash /
<form action="forumdisplay.php" method="get">
to
<form action="/forumdisplay.php" method="get">
eva2000
Fri 9th Nov '01, 2:15pm
steve check your pm... i set you up an account :)
eva2000
Fri 9th Nov '01, 2:19pm
doh.. the user cp on mine has the same problem :o
Steve Machol
Fri 9th Nov '01, 2:23pm
I checked it out and the problem is not happening on your forums. I assume this means you have a fix, correct?
eva2000
Fri 9th Nov '01, 2:25pm
Originally posted by smachol
I checked it out and the problem is not happening on your forums. I assume this means you have a fix, correct? that's strange i used netscape 6.01 and i get the problem only in forumjump for user cp but not on other forumjumps since i implemented the above replacement variables for all href and img source urls and added a / before ="filename.php"
Steve Machol
Fri 9th Nov '01, 2:25pm
Hmmm...I'm not able to duplicate the problem on your forums. Which forum are you trying to jump to? (You have so many!)
Steve Machol
Fri 9th Nov '01, 2:26pm
I'm testing it with NS 6.1 and the problem isn't occuring yet. I'll continue to try different forums.
eva2000
Fri 9th Nov '01, 2:31pm
okay i tried this in user cp forumjump
jump to forum home page
the url i get redirected to is
http://animeboards.com/forumdisplay.php?s=&forumid=-1&daysprune=
jump to Introductions forum
url redirect to
http://animeboards.com/forumdisplay.php?s=&forumid=-1&daysprune=
the same url??
which is the
Invalid forum specified. If you followed a valid link, please notify the webmaster
message
Steve Machol
Fri 9th Nov '01, 2:36pm
I noticed you set my account up to not browse with cookies. So far forumjump from user cp is working with NS 6.1. I'll edit my options to use cookies and try again.
eva2000
Fri 9th Nov '01, 2:38pm
Originally posted by smachol
I noticed you set my account up to not browse with cookies. So far forumjump from user cp is working with NS 6.1. I'll edit my options to use cookies and try again. nope i'm sure i set you to use cookies since i disabled sessions altogether - all my members can only use cookies to browse the forum
Steve Machol
Fri 9th Nov '01, 2:43pm
It's confusing then. In your edit option, the 'yes' box is not checked and you have no 'no' box.
I checked 'yes' but I'm still not having the forumjump problem. However I do notice that I'm still getting a session id with certain urls. For instance, this is what I get when I jump to Forum Home from the user cp:
http://animeboards.com/index.php?
eva2000
Fri 9th Nov '01, 2:43pm
same forumjump problem in private message area's forum jump (bottom of page)
eva2000
Fri 9th Nov '01, 2:45pm
Originally posted by smachol
It's confusing then. In your edit option, the 'yes' box is not checked and you have no 'no' box.
I checked 'yes' but I'm still not having the forumjump problem. However I do notice that I'm still getting a session id with certain urls. For instance, this is what I get when I jump to Forum Home from the user cp:
http://animeboards.com/index.php? very strange in NS 6.01 no probs but NS 6.1 there is problems..
in IE browsers and NS 6.01 the USER CP has browse cookies checked to yes and the no box is removed
Steve Machol
Fri 9th Nov '01, 2:45pm
It's still not happening with NS 6.1. :confused:
eva2000
Fri 9th Nov '01, 2:47pm
screen cap of NS 6.01 user cp
eva2000
Fri 9th Nov '01, 2:48pm
ie 5.5 user cp
Steve Machol
Fri 9th Nov '01, 2:51pm
Yes I know. When I first went into edit options, the 'yes' box was not checked. Since then I've checked it. Nonetheless, I'm still not having any forumjump problems with NS 6.1 on your forums.
eva2000
Fri 9th Nov '01, 2:55pm
Originally posted by smachol
Yes I know. When I first went into edit options, the 'yes' box was not checked. Since then I've checked it. Nonetheless, I'm still not having any forumjump problems with NS 6.1 on your forums. my only guess is IE 5.5 and NS 6.01 are more similar than NS 6.1 in some interpretation of the code??
could it be the javascript that is used the on.change part in the code playing havok ?
Steve Machol
Fri 9th Nov '01, 3:12pm
You're guess is better than mine! Whatever it is, it definitely seems to be a problem with NS 6.01. However do you have any idea why forumjump with NS 6.1 works on your forum, but not on this one? Whatever you did seems to have fixed the problem for version 6.1.
eva2000
Fri 9th Nov '01, 3:24pm
Originally posted by smachol
You're guess is better than mine! Whatever it is, it definitely seems to be a problem with NS 6.01. However do you have any idea why forumjump with NS 6.1 works on your forum, but not on this one? Whatever you did seems to have fixed the problem for version 6.1. actually the problem is with NS 6.1 :)
what i did to fix forumjump in the forums was outlined in the this thread further above here http://vbulletin.com/forum/showthread.php?s=&postid=202479#post202479
i did a replacement variable to rewrite all
href="index.php
href="forumdisplay.php
href="member.php
href="postings.php
etc
to
href="/index.php
href="/forumdisplay.php
href="/member.php
href="/postings.php
same goes for javascript replacements for the
on.change('forumdisplay.php
to
on.change('/forumdisplay.php
and form action urls
i stumbled on this problem when adding fastforwards shorter url hack...
Littlebit
Sun 11th Nov '01, 12:28am
I just upgraded Netscape browser (for Mac) to 6.2 and it still gives the same error...I was hoping...
John
Mon 12th Nov '01, 10:22pm
George/Steve,
Any chance of explaining what exactly the problem is and how you fixed it?
John
eva2000
Mon 12th Nov '01, 10:53pm
Originally posted by John
George/Steve,
Any chance of explaining what exactly the problem is and how you fixed it?
John well i'll post some screen caps here in a sec from netscape browser and ie browser outlining what i think is one problem separate from the original problem posted in this thread
strange i'm browsing vBulletin.com forums and my forum in netscape and can't reproduce the error this time??
Kier
Tue 13th Nov '01, 1:42am
Just a word in here...
Let's suppose that your forums are at http://example.com/forums/
Then on somepage.php you have this:<form action="anotherpage.php" method="get">This tells the browser to send its form results using the GET method to http://example.com/forums/anotherpage.php
However, if the same page has this:<form action="/anotherpage.php" method="get">then the browser expects to send its results to http://example.com/anotherpage.php (without the inclusion of the forums/ directory in the path)...
Needless to say, if your forums do not live in the root of your domain, adding a slash to the beginning of the form action pages would have pretty disasterous results...
eva2000
Tue 13th Nov '01, 2:02am
Originally posted by Kier
Just a word in here...
Let's suppose that your forums are at http://example.com/forums/
Then on somepage.php you have this:<form action="anotherpage.php" method="get">This tells the browser to send its form results using the GET method to http://example.com/forums/anotherpage.php
However, if the same page has this:<form action="/anotherpage.php" method="get">then the browser expects to send its results to http://example.com/anotherpage.php (without the inclusion of the forums/ directory in the path)...
Needless to say, if your forums do not live in the root of your domain, adding a slash to the beginning of the form action pages would have pretty disasterous results... doh forgot to mention that part :o
yes what i did above is if the forum is at the root of the domain :)
John
Tue 13th Nov '01, 11:24am
In which case, we could put $bburl/ at the beginning, but that's not a very elegant solution. Is this still an issue on these forums?
John
Kier
Tue 13th Nov '01, 12:56pm
Last time I put $bburl/something/file everyone went bonkers and didn't understand... in fact I still don't think they do.
I use it in the standarderror template for the [v] tick image in the table title...
Steve_S
Tue 13th Nov '01, 7:31pm
Confirmed on my no hack 2.2.0 version using N 6.1
At the top of the CP (the first screen) the jump works fine
In the PM section of the CP it's broken and thats the only one I tested. And that template has never been touched :) by a human or geek hand :)
eva2000
Tue 13th Nov '01, 9:44pm
Originally posted by John
In which case, we could put $bburl/ at the beginning, but that's not a very elegant solution. Is this still an issue on these forums?
John maybe have a new varibale $siteurl
which can be set in edit options
so
$siteurl = "/" for root domain located vB
$siteurl = " " for non root domain located vB
$siteurl = "/forums/"
so ask the question in edit options if vB is installed on /forums enter path /directory = /forums/
if installed on root enter = /
Kier
Wed 14th Nov '01, 5:59am
We already have a '$siteurl' - it's called $homeurl :)
vBulletin® v3.8.0 Beta 4, Copyright ©2000-2008, Jelsoft Enterprises Ltd.