Welcome, Guest. Please Login or Register.
June 26, 2024, 01:17:48 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Development  |  Completed mods  |  [Done 1.5.2] Short URLs 1.3 « previous next »
Pages: 1 2 3 [4] 5 6 Reply Ignore Print
Author Topic: [Done 1.5.2] Short URLs 1.3  (Read 25105 times)
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[Done 1.5.2] Short Urls 1.1
« Reply #45 on: May 08, 2003, 04:03:07 AM »
Reply with quote

Quote from: CokeCan on May 08, 2003, 03:57:10 AM
Hi again,
It has got problems with News.php :-\
I tred to do what do said for SSI.php but it didn't work, I hope you can help me.
Thanks!

If you're using 1.5.2 (which is the version this mod is for!) you won't have those problems.

-[Unknown]
Logged
CokeCan
Full Member
***
Posts: 182


WWW
Re:[Done 1.5.2] Short Urls 1.1
« Reply #46 on: May 08, 2003, 04:24:01 AM »
Reply with quote

I am using it but the links to "comments" and "Write Comment" aren't working :-\
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[Done 1.5.2] Short Urls 1.1
« Reply #47 on: May 08, 2003, 05:31:49 AM »
Reply with quote

If you have the newest version installed, it should work.

I tested it with the URL: (won't work for you...)
http://localhost/tester/index.php?board=1;action=news

And it worked properly.  Make sure you are accessing News.php the correct way.

-[Unknown]
Logged
Egg
Full Member
***
Posts: 139


I'm a llama!

WWW
Re:[Done 1.5.2] Short Urls 1.1
« Reply #48 on: May 08, 2003, 05:32:27 AM »
Reply with quote

I am getting lots of members saying that the cant view attachments as the URL is wrong, and others saying they are constalty getting logged out.. started when I installed the short URL's

http://www.200mph.org.uk

any ideas?

thanks
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[Done 1.5.2] Short Urls 1.1
« Reply #49 on: May 08, 2003, 06:02:42 AM »
Reply with quote

Looks like your attachments URL is wrong.

Ok, I need to clarify something.  If you use two URLs for your site, this mod is NOT for you.  YaBB SE fixes this problem by using full URLs - thus, you get redirected to the correct working one.  This mod uses short URLs.... so it *doesn't* switch the URL.

For example... if I go to your site and log in via:
http://www.200mph.org.uk/index.php?action=login

And then go to this URL:
http://www.200mph.net/yabbse/index.php?board=1

I will NO LONGER be logged in.  This is something MSIE does... nothing I can prevent.  Thus, they will appear not to be logged in.

I recommend you either do not use my mod or you pick one of the URLs and use a simple redirection script for the other...

(Save this as index.php...)
<?php

header
('Location: http://www.200mph.net/yabbse/index.php' . (empty($QUERY_STRING '' '?' $QUERY_STRING)));

?>


This will fix the issue - you will only be able to access the forum from the .net address, where it *seems* to actually be hosted.

Lastly, set your attachments URL to:
http://www.200mph.net/yabbse/attachments

And that will fix the attachments problem.

-[Unknown]
Logged
CokeCan
Full Member
***
Posts: 182


WWW
Re:[Done 1.5.2] Short Urls 1.1
« Reply #50 on: May 08, 2003, 12:46:43 PM »
Reply with quote

Quote from: [Unknown] on May 08, 2003, 05:31:49 AM
If you have the newest version installed, it should work.

I tested it with the URL: (won't work for you...)
http://localhost/tester/index.php?board=1;action=news

And it worked properly.  Make sure you are accessing News.php the correct way.

-[Unknown]
I am calling News.php with this code:
Quote<? include("http://roxette.cs.caltech.edu/runto/forum/index.php?action=news;board=18;limit=10;template=noticias_r2r"); ?>
Isn't that ok? :-\
It makes the links to:
Quotehttp://roxette.cs.caltech.edu/runto/Noticias/index.php
(there's where I am showing the "News")
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[Done 1.5.2] Short Urls 1.1
« Reply #51 on: May 08, 2003, 10:13:27 PM »
Reply with quote

Quote from: CokeCan on May 08, 2003, 12:46:43 PM
Quote from: [Unknown] on May 08, 2003, 05:31:49 AM
If you have the newest version installed, it should work.

I tested it with the URL: (won't work for you...)
http://localhost/tester/index.php?board=1;action=news

And it worked properly.  Make sure you are accessing News.php the correct way.

-[Unknown]
I am calling News.php with this code:
Quote<? include("http://roxette.cs.caltech.edu/runto/forum/index.php?action=news;board=18;limit=10;template=noticias_r2r"); ?>
Isn't that ok? :-\
It makes the links to:
Quotehttp://roxette.cs.caltech.edu/runto/Noticias/index.php
(there's where I am showing the "News")

I suppose it won't work then.  I'll release a new version that doesn't shorten for News or SSI.

-[Unknown]
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[Done 1.5.2] Short Urls 1.2
« Reply #52 on: May 08, 2003, 10:17:25 PM »
Reply with quote

Done.  Uninstall and reinstall.

-[Unknown]
Logged
Egg
Full Member
***
Posts: 139


I'm a llama!

WWW
Re:[Done 1.5.2] Short Urls 1.2
« Reply #53 on: May 09, 2003, 05:52:09 AM »
Reply with quote

thanks Unknown. I understand what you are saying.

so if I set an index.php in the 200mph.net root, and get the 200mph.org.uk redirected to the root, then should work.

have renamed the attachment file a well.

cheers

Egg
Logged
Egg
Full Member
***
Posts: 139


I'm a llama!

WWW
Re:[Done 1.5.2] Short Urls 1.2
« Reply #54 on: May 09, 2003, 06:29:04 AM »
Reply with quote

Parse error: parse error, expecting `')'' in /homepages/29/d66482093/htdocs/redirect/index.php on line 3

:(
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[Done 1.5.2] Short Urls 1.2
« Reply #55 on: May 09, 2003, 08:24:31 AM »
Reply with quote

Typo.

<?php

header
('Location: http://www.200mph.net/yabbse/index.php' . (empty($QUERY_STRING) ? '' '?' $QUERY_STRING));

?>


-[Unknown]
Logged
Egg
Full Member
***
Posts: 139


I'm a llama!

WWW
Re:[Done 1.5.2] Short Urls 1.2
« Reply #56 on: May 09, 2003, 12:19:06 PM »
Reply with quote

excellent!!

that sorted it

Thanks [unknown]
Logged
CokeCan
Full Member
***
Posts: 182


WWW
Re:[Done 1.5.2] Short Urls 1.2
« Reply #57 on: May 11, 2003, 03:16:27 AM »
Reply with quote

Quote from: [Unknown] on May 08, 2003, 10:17:25 PMDone.  Uninstall and reinstall.

-[Unknown]
I keep on having the problem :-\
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[Done 1.5.2] Short Urls 1.2
« Reply #58 on: May 11, 2003, 03:51:15 AM »
Reply with quote

Quote from: CokeCan on May 11, 2003, 03:16:27 AM
Quote from: [Unknown] on May 08, 2003, 10:17:25 PMDone.  Uninstall and reinstall.

-[Unknown]
I keep on having the problem :-\

Did you upgrade?  Make sure this is in index.php:

$scripturl = ($modSettings['enableShortURLs'] && $action != 'news' ? '' : $boardurl . '/') . 'index.php';
$cgi = $scripturl . '?' . ($modSettings['enableShortURLs'] && empty($board) ? '' : 'board=' . $board);


-[Unknown]
Logged
CokeCan
Full Member
***
Posts: 182


WWW
Re:[Done 1.5.2] Short Urls 1.2
« Reply #59 on: May 11, 2003, 04:52:50 AM »
Reply with quote

I uninstall and reinstall it again and it's working great! Thanks Unknown! :)
Logged
Pages: 1 2 3 [4] 5 6 Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [Done 1.5.2] Short URLs 1.3 « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.068 seconds with 20 queries.