Welcome, Guest. Please Login or Register.
November 29, 2024, 05:51:36 AM
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 ... 6 Reply Ignore Print
Author Topic: [Done 1.5.2] Short URLs 1.3  (Read 26254 times)
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
[Done 1.5.2] Short URLs 1.3
« on: April 23, 2003, 09:42:03 PM »
Reply with quote

Package Server: http://unknown.network32.net
Boardmod: http://unknown.network32.net/better/shorturls.zip

This mod is pretty simple.  It shortens the URLs YaBB SE uses to link around.

For example, instead of...
http://www.myserver.com/myforum/index.php?board=1

It will say...
index.php?board=1

In links.  This can not only save bandwidth, but should also make search engines (ie. Google...) more likely to index your site thoroughly.

Thanks,
-[Unknown]
« Last Edit: June 13, 2003, 05:02:41 AM by [Unknown] » Logged
Gobalopper
Mod Team
YaBB God
*****
Posts: 993


Cookie Monster

WWW
Re:[Beta 1.5.2] Short Urls 1.0
« Reply #1 on: April 23, 2003, 09:51:40 PM »
Reply with quote

Why not go farther and change board= to b=, action= to a=, etc?
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[Beta 1.5.2] Short Urls 1.0
« Reply #2 on: April 23, 2003, 09:58:55 PM »
Reply with quote

Quote from: Gobalopper on April 23, 2003, 09:51:40 PM
Why not go farther and change board= to b=, action= to a=, etc?

I'm not that not-lazy.

Anyway, that's such a huge change that it should wait for my secret project or Trinity.... it's a VERY big change that would affect almost every file.

However, this does save on URLs.

Oh, and I didn't mention:
- additionally, it shortens index.php?board=;action=mlall further to index.php?;action=mlall etc.
- the redirection is still HTTP/1.1 compliant.

-[Unknown]
Logged
adamb10
Noobie
*
Posts: 24


I'm a llama!

Re:[Beta 1.5.2] Short Urls 1.0
« Reply #3 on: April 24, 2003, 01:28:19 AM »
Reply with quote

Ok I downloaded the boardmod file.  What do I do with shorturls.mod.yp and shorturls.php?
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[Beta 1.5.2] Short Urls 1.0
« Reply #4 on: April 24, 2003, 02:24:47 AM »
Reply with quote

Quote from: adamb10 on April 24, 2003, 01:28:19 AM
Ok I downloaded the boardmod file.  What do I do with shorturls.mod.yp and shorturls.php?

As is standard with my mods.... you can either:

1. Upload shorturls.mod.yp to your Packages directory and use the YaBBpak Center to install it.  (if you get errors remember that you need to chmod everything properly....)

2. Use boardmod to apply the shorturls.mod and then, as well, upload shorturls.php to your YaBB SE directory and run it.  (then delete it, just in case.)

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


I'm a llama!

WWW
Re:[Beta 1.5.2] Short Urls 1.0
« Reply #5 on: April 24, 2003, 06:20:48 AM »
Reply with quote

applied it

couldnt get to admin centre or read a thread. (would open individual boards though)

paniced

calmed down

found the correct path to admin packages
/yabbse/index.php?action=packages (if you need it)

uninstalled

everything back as it was

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


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[Beta 1.5.2] Short Urls 1.0
« Reply #6 on: April 24, 2003, 06:27:03 AM »
Reply with quote

Quote from: Egg on April 24, 2003, 06:20:48 AM
applied it

couldnt get to admin centre or read a thread. (would open individual boards though)

paniced

calmed down

found the correct path to admin packages
/yabbse/index.php?action=packages (if you need it)

uninstalled

everything back as it was

phew!


Strange..... what URL was it taking you to?  Do you use redirection or something?

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


I'm a llama!

WWW
Re:[Beta 1.5.2] Short Urls 1.0
« Reply #7 on: April 24, 2003, 06:56:47 AM »
Reply with quote

it was taking me to action=admin

no reirect on board

edit

here, I reapplyed it.

http://www.200mph.net/yabbse/;action=admin

error 404 file not found.

uninstalled it again
« Last Edit: April 24, 2003, 07:04:02 AM by Egg » Logged
zeroweb
Noobie
*
Posts: 6


I'm a llama!

Re:[Beta 1.5.2] Short Urls 1.0
« Reply #8 on: April 24, 2003, 07:33:26 AM »
Reply with quote

Hm

I had the identical error as Egg, the home page worked and so did the catagories, but I couldnt view actual threads.

I like this concept- however - my question is - Why would google index your site more throroughly due to a shorter url?

-mark
Logged
Daniel Hofverberg
YaBB God
*****
Posts: 582


WWW
Re:[Beta 1.5.2] Short Urls 1.0
« Reply #9 on: April 24, 2003, 09:03:19 AM »
Reply with quote

Quote from: zeroweb on April 24, 2003, 07:33:26 AM
I like this concept- however - my question is - Why would google index your site more throroughly due to a shorter url?
The length of the URL doesn't really matter, it's the fact that this mod uses relative URL:s instead of absolute. It shouldn't matter, but it can in some cases as search engines can't be sure that absolute URL:s really point to the same site as before...
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[Beta 1.5.2] Short Urls 1.0
« Reply #10 on: April 24, 2003, 03:01:47 PM »
Reply with quote

There's a big error in the mod :/.

If you apply it manually you will notice I forgot a beginning replace tag.

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


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[Beta 1.5.2] Short Urls 1.0
« Reply #11 on: April 25, 2003, 01:09:21 AM »
Reply with quote

I've uploaded fixed versions.

Now it will work ;).

-[Unknown]
Logged
Anguz
YaBB God
*****
Posts: 641


llama me?!

WWW
Re:[Beta 1.5.2] Short Urls 1.0
« Reply #12 on: April 25, 2003, 01:33:36 AM »
Reply with quote

Quote from: Daniel Hofverberg on April 24, 2003, 09:03:19 AMIt shouldn't matter, but it can in some cases as search engines can't be sure that absolute URL:s really point to the same site as before...

I never thought much about it before, but what you say makes a lot of sense

[Unkown], great idea... is this gonna be part of your Secret Pjt or Trinity too?
Logged

My Mods: Avatar & Sig Size Control, No Show Msg Subject, Msg URL Composer, Built-in Avatar Rand, Built-in Sig Rand, Remove New-lines Excess, Show All Stars, Search Bar, Smart URLs
Webby
Beta Tester
YaBB God
*****
Posts: 829


Some mistakes are too funny to make only once.

ICQ - 9814812webby@salesplaza.nl WWW
Re:[Beta 1.5.2] Short Urls 1.0
« Reply #13 on: April 25, 2003, 06:43:23 AM »
Reply with quote

Quote from: [Unknown] on April 23, 2003, 09:42:03 PM
Please note that I am looking for a dutch, german, and spanish translation of the strings added to the language files.  Please post them here or PM them, if you are willing to translate them.

Just IM me the next time, I just noticed this thread ;)

<edit file>
english.lng
</edit file>

<search for>
if ($MenuType == 1)
</search for>

<replace>
$txt['shorturls'] = 'Ingekorte URLs gebruiken?';

if ($MenuType == 1)
</replace>


<edit file>
helpadmin.help
</edit file>

<search for>
// Mod Settings
</search for>

<replace>
// Mod Settings

$helptxt['m_shorturls'] = 'Verkort de weergave van de URL in links binnen het forum.  Dit kan enigszins het dataverkeer wat beperken.';

</replace>
Logged

Webby of salesplaza.nl
The YaBBSE buttongenerator : Click HERE !
adamb10
Noobie
*
Posts: 24


I'm a llama!

Re:[Beta 1.5.2] Short Urls 1.0
« Reply #14 on: April 26, 2003, 06:15:40 AM »
Reply with quote

When I run shorturls.php I get thius error


Fatal error: Call to undefined function: template_header() in /usr/local/psa/home/vhosts/adamb10.4mtopia.com/httpdocs/yabb1/Sources/Errors.php on line 56
Logged
Pages: [1] 2 3 ... 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.025 seconds with 20 queries.