Help - Search - Members - Calendar
Full Version: abbreviated URL's in forums
The Planet Forums > Control Panels > cPanel/WHM
gertiebeth
This is a silly, newbie question I know, but I just cannot figure it out/remember it!

I need to know the name of the perl module that controls the option to shorten/abbreviate URLs on message boards. Like this forum has set up.
http://forum.rackshack.net/newthread.php?s...read&forumid=45
instead of
http//forum.rackshack.net/newthread.php?s=&action=newthread&forumid=45

I can't remember what it is called so I can acctivate it!

Much thanks.
gertiebeth
OK, I THINK the word I am looking for is "truncated" but a Goggle search didn't help me.

Can anyone take pity on my poor soul and throw me a bone? icon_sad.gif
LighthousePoint
It depends on the forum you use. RS uses vBulletin -- which isn't even Perl, it's PHP.
gertiebeth
QUOTE
Originally posted by LighthousePoint
It depends on the forum you use.  RS uses vBulletin -- which isn't even Perl, it's PHP.


I use phpBB. I searched their forums too. No luck.

Aren't truncated URL's possible because of an added module to your server? Apache module?

I'm confused.
Erwin
QUOTE
Originally posted by gertiebeth
I use phpBB.  I searched their forums too. No luck.

Aren't truncated URL's possible because of an added module to your server? Apache module?

I'm confused.


In vB 2.3.0, it's this function in the admin/functions.php file that does it:

[php]
// ###################### Start checkurl #######################

[chunk of code removed for copyright reasons]

$hyperlink = iif(trim($hyperlink)=="" or $hyperlink==$url, iif(strlen($url)>55,substr($url,0,35)."...".substr($url,-15),$url) ,$hyperlink);

[more code removed]

}
[/php]

It's PHP, and it's forum specific. No server-wide module needed.
LighthousePoint
There is no apache module... If it is done by a module, it would have to be a plugin for your particular forum package.
gertiebeth
"I see!" said the blind man! No wonder I was having trouble finding this module. icon_wink.gif

Thanks for your help guys! Much appreciated.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.