|
|
Joined: Feb 2007
Posts: 678
old hand
|
|
old hand
Joined: Feb 2007
Posts: 678 |
OK here are our new forums http://www.snowjapanforums.com/ubbthreads.php?ubb=cfrmHaving a problem with redirects though I think. Take a look here (a page that we have been redirected to). The images at the top are not appearing. In the redirect files, we have just put http://www.snowjapanforums.com....as the URL Can anyone help? I want those top images to appear! Thanks
Last edited by willing; 04/24/2007 1:20 PM.
|
|
|
|
|
Joined: Jul 2006
Posts: 4,057
|
|
Joined: Jul 2006
Posts: 4,057 |
Ive been working with willing via pm but this one has me stumpt. I think its because the old location and the new location are a directory apart? Old link http://www.snowjapanforums.com/cgi-bin/ultimatebb.cgiNew Link http://www.snowjapanforums.com/ubbthreads.php?ubb=cfrmThe Re-direct has been set up as so.. $URL = "http://www.snowjapanforums.com"; And when ever a user goes via the re-direct the images fail. So in this situation he has droped a level in the path? $URL = "../"; Would that work ???
BOOM !! Version v7.6.1.1 People who inspire me Isaac ME Gizmo
|
|
|
|
|
Joined: Feb 2007
Posts: 678
old hand
|
|
old hand
Joined: Feb 2007
Posts: 678 |
|
|
|
|
|
Joined: Jul 2006
Posts: 4,057
|
|
Joined: Jul 2006
Posts: 4,057 |
try $URL = ".."; And if that fails $URL = "."; Stranger things have happened 
BOOM !! Version v7.6.1.1 People who inspire me Isaac ME Gizmo
|
|
|
|
|
Joined: Feb 2007
Posts: 678
old hand
|
|
old hand
Joined: Feb 2007
Posts: 678 |
|
|
|
|
|
Joined: Jul 2006
Posts: 4,057
|
|
Joined: Jul 2006
Posts: 4,057 |
At this point in a thread Gizmo would post somthing like...
"Good"
i dont see the point really
I'm going to wait for the feedback lol....
BOOM !! Version v7.6.1.1 People who inspire me Isaac ME Gizmo
|
|
|
|
|
Joined: Feb 2007
Posts: 678
old hand
|
|
old hand
Joined: Feb 2007
Posts: 678 |
$URL = ".."; >>>> no $URL = "."; >>>> page not found, worse! 
|
|
|
|
|
Joined: Jul 2006
Posts: 4,057
|
|
Joined: Jul 2006
Posts: 4,057 |
Humm I dont know mate, hopefully gizmo will pop along soon or rick and give you a one line fix  Special Note to Gizmo Read from the top of this thread lolSorry i cant help any more willling.
BOOM !! Version v7.6.1.1 People who inspire me Isaac ME Gizmo
|
|
|
|
|
Joined: Feb 2007
Posts: 678
old hand
|
|
old hand
Joined: Feb 2007
Posts: 678 |
Thanks Mark, really appreciate it. Hope someone can help soon, before all our members wake up (it's 3am here!)
|
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
It looks like search engine friendly URLs are the cuplrit. The redirect points to: http://www.snowjapanforums.com/ubbthreads.php/ubb/cfrmHowever, if you go to this url it works: http://www.snowjapanforums.com/ubbthreads.php?ubb=cfrmThe reason is that all of your image src in the header are like thi <img src="image.gif"> So it's going to look in the current directory (which it thinks is /ubbthreads.php/ubb/cfrm) which obviously doesn't exist. 2 ways to fix this. Change your header include so you include the full relative url, ie <img src="/image.gif"> or <img src="/images/image.gif">. The second is to disable search engine friendly URLs.
|
|
|
|
|
Joined: Feb 2007
Posts: 678
old hand
|
|
old hand
Joined: Feb 2007
Posts: 678 |
Fantastic! That works. Obvious when you say it now, but we sure couldn't come up with that. Thank you so much.
Can you take a look at the redirected URL - does the redirect thing seem to be working as it should be.....?
The new boards are great, I hope our readers give us feedback along those lines.
Thanks again.
|
|
|
|
|
Joined: Feb 2007
Posts: 678
old hand
|
|
old hand
Joined: Feb 2007
Posts: 678 |
Just in time for the Manchester United game. 
|
|
|
|
|
Joined: Jul 2006
Posts: 4,057
|
|
Joined: Jul 2006
Posts: 4,057 |
Working 
BOOM !! Version v7.6.1.1 People who inspire me Isaac ME Gizmo
|
|
|
|
|
Joined: Feb 2007
Posts: 678
old hand
|
|
old hand
Joined: Feb 2007
Posts: 678 |
Sorry I didn't think of that one Mark. Thanks again for the help. Time for the match....... 
|
|
|
|
|
Joined: Jun 2006
Posts: 16,532 Likes: 150
|
|
Joined: Jun 2006
Posts: 16,532 Likes: 150 |
If you're linking to items via ../ or similar, you will have errors with SE friendly URLs (as it creates "virtual" directories in the URL and has PHP parse them)...
You'll want to hardcode links to graphics to get around this.
|
|
|
|
|
Joined: Jun 2006
Posts: 16,532 Likes: 150
|
|
Joined: Jun 2006
Posts: 16,532 Likes: 150 |
again, i need to start reading all posts before replying... if only clicking on the thread title would show "all" from the last unread post :sigh:
|
|
|
|
0 members (),
563
guests, and
80
robots. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
|