Top Hosting Forum

WebHosting Reviews Forum


Budget DirectAdmin hosting and domain names

PHPBB - How to disable shortening of long URL addresses

PHPBB forum script Discussion. PHPBB Questions, Troubleshooting, Errors, Mods and so on..
Hosting Forum Description
PHPBB forum script Discussion. PHPBB Questions, Troubleshooting, Errors, Mods and so on..

PHPBB - How to disable shortening of long URL addresses

Postby hostingforum » Wed Oct 19, 2011 12:42 pm

Hi,

have you been searching for the answer how to disable shortening of long URL addresses in PHPBB forum posts?

Luckily its quite simple.

Find corresponding line in includes/functions_content.php:

$short_url = (strlen($url) > 55) ? substr($url, 0, 39) . ' ... ' . substr($url, -10) : $url;

If you want to completelly disable shortening of PHPBB long URLs, just replace the corresponding line by:

$short_url = $url;

Pls post there how it works for you.



Ad: There You can have your forum site-wide banner/text ad for $99 yearly. Contact admin


Top Hosting Forum - Welcome
Gtalk: mercedesslr1, Skype: suprman41, YM: Brothercz, ONLINE CHAT
User avatar
hostingforum
Site Admin
 
Posts: 656
Joined: Fri May 20, 2011 7:58 pm
Location: Czech Republic

Re: PHPBB - How to disable shortening of long URL addresses

Postby SeLoRe28 » Tue Nov 29, 2011 11:40 pm

edit to 55 e.g. 100..........................


SeLoRe28
 
Posts: 1
Joined: Tue Nov 29, 2011 11:39 pm


Return to PHPBB

Who is online

Users browsing this forum: No registered users and 0 guests

.

cron