Previous Thread
Next Thread
Print Thread
Hop To
Joined: Feb 2007
Posts: 678
W
old hand
old hand
W Offline
Joined: Feb 2007
Posts: 678
OK here are our new forums
http://www.snowjapanforums.com/ubbthreads.php?ubb=cfrm

Having 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.cgi

New Link
http://www.snowjapanforums.com/ubbthreads.php?ubb=cfrm

The 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
W
old hand
old hand
W Offline
Joined: Feb 2007
Posts: 678
I'll give it a go!

Joined: Feb 2007
Posts: 678
W
old hand
old hand
W Offline
Joined: Feb 2007
Posts: 678
Unfortunately no.
When I did the above, the pages appeared as before but no image. The URL in the browser also came out as:

http://www.snowjapanforums.com//ubbthreads.php/ubb/cfrm

frown

Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
try

$URL = "..";
And if that fails

$URL = ".";

Stranger things have happened wink


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Feb 2007
Posts: 678
W
old hand
old hand
W Offline
Joined: Feb 2007
Posts: 678
On the case.....

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
W
old hand
old hand
W Offline
Joined: Feb 2007
Posts: 678
$URL = "..";
>>>> no

$URL = ".";
>>>> page not found, worse!

frown

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 frown

Special Note to Gizmo wink

Read from the top of this thread lol

Sorry i cant help any more willling.


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Feb 2007
Posts: 678
W
old hand
old hand
W Offline
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
R
Former Developer
Former Developer
R Offline
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/cfrm

However, if you go to this url it works:

http://www.snowjapanforums.com/ubbthreads.php?ubb=cfrm

The 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
W
old hand
old hand
W Offline
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
W
old hand
old hand
W Offline
Joined: Feb 2007
Posts: 678
Just in time for the Manchester United game.

laugh

Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
Working wink


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Feb 2007
Posts: 678
W
old hand
old hand
W Offline
Joined: Feb 2007
Posts: 678
Sorry I didn't think of that one Mark.

Thanks again for the help.

Time for the match....... smile

Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
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.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
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:


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
PHP 8 bug in membermanage.tmpl
by phoenix011235 - 09/08/2026 7:47 PM
Are any of these legitmate?
by Baldeagle - 09/06/2026 1:37 PM
8.0.1 Patch Changelog Discussion
by isaac - 11/26/2025 1:34 PM
Upgraded to ver8 - now can't login
by phoenix011235 - 10/24/2024 8:50 AM
Who's Online Now
0 members (), 563 guests, and 80 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260527)