wrong path in button "Go Up"&"Go Down"
Welcome, Guest . Please login or register .
January 07, 2009, 09:18:12 PM
Pages: [1 ] 2
Author
Topic: wrong path in button "Go Up"&"Go Down" (Read 10570 times)
Sid Vishez
Newbie
Karma: +0/-0
Offline
Posts: 6
« Last Edit: June 20, 2005, 01:05:25 PM by Sid Vishez »
Logged
Sid Vishez
Newbie
Karma: +0/-0
Offline
Posts: 6
The same is true for new version 1.3.1.3
Logged
cowboy
Sid, I can't access your site. EDIT: I guess what you just need to do is edit your SMF theme file and remove the extra "/site" on the link.
« Last Edit: June 20, 2005, 01:37:33 PM by cowboy »
Logged
Sid Vishez
Newbie
Karma: +0/-0
Offline
Posts: 6
I can't access your site.
Unfortunately, hosting of my site open only for intranet.
I guess what you just need to do is edit your SMF theme file and remove the extra "/site" on the link
But when I use url "
http://uc.zra.ru/site/forum " to go at forum, then buttons "Go Down" & "Go Up" has right path
http://uc.zra.ru/site/forum/index.php?topic=71.0#bot (theme is good) ...
I think, it is wrong solution. May be third level domain with subfolder guilty. Has anybody such configuration, which works?
Logged
cowboy
But does your other button links work?
Logged
Sid Vishez
Newbie
Karma: +0/-0
Offline
Posts: 6
Yes, it is. Only "Go Up" & "Go Down" does not work.
Logged
cowboy
I believe you can edit the theme via the SMF admin. If you really cannot edit it, my suggestion is to disable that button for now.
Logged
Sid Vishez
Newbie
Karma: +0/-0
Offline
Posts: 6
« Last Edit: June 22, 2005, 10:57:01 AM by Sid Vishez »
Logged
cowboy
what SMF theme are you using? Can you try the default theme first. I'm suspecting it's a theme issue.
Logged
Sid Vishez
Newbie
Karma: +0/-0
Offline
Posts: 6
I am using default theme with russian pictures, but I try using original default theme from smf_1-0-4_install.zip (i fully replaced theme folder). wrong links kept.
Firefox JavaScript console display errors on some pages:
Logged
kdizzle
Newbie
Karma: +1/-0
Offline
Posts: 7
I have the exact same go up and go down button problem with mmy mambo install. My forum is in the SMF directory under Mambo so it repeats: /mysite/Mambo/Mambo/index.php?option=com_smf&Itemid=33&expv=0&topic=3.new#top I have tried it with the Rangnarok and the Default theme. Thank you
Logged
Kabir
Newbie
Karma: +1/-0
Offline
Posts: 3
The same problem exists among the links of instant messages in the inbox. In addition, deleting instant message doesn't work, either.
Logged
Kabir
Newbie
Karma: +1/-0
Offline
Posts: 3
In administrator/components/com_smf/functions.smf.php, find the following code in function fixMamboUrl(), comment out what is in the if statement block. else if (substr($nonsefurl,0,1)=='#') { $oldurl[] = "/href=\"".$nonsefurl."/s"; $sefurl = substr($_SERVER['REQUEST_URI'], 1, strlen($_SERVER['REQUEST_URI'])); $nonsefurl = "href=\"".sefRelToAbs($sefurl.$nonsefurl); $newurl[] = (substr($nonsefurl,strlen($nonsefurl)-1) == "/" ? substr($nonsefurl,0,strlen($nonsefurl)-1) : $nonsefurl); } When a URL starts with "#", I think it can be left as it is. No need to fix it. After this hack, both "Go up", "Go down" & instant message links work again.
Logged
kdizzle
Newbie
Karma: +1/-0
Offline
Posts: 7
Awesom job Kabir! That fixed it right away. You must know you stuff. Thanks again.
Logged
Kabir
Newbie
Karma: +1/-0
Offline
Posts: 3
In addition, deleting instant message doesn't work, either.
By the way, deleting IMs works. The problem I encountered was due to a hack done by myself.
Logged
Pages: [1 ] 2