Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
0 registered members (), 109 guests, and 206 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
Posts: 2,656
Joined: January 2004
Show All Member Profiles 
Top Posters(30 Days)
Gizmo 27
isaac 21
Ruben 20
Morgan 6
Alento 4
M4TT 2
Latest Photos
Test
Testing to drag photos
Comfortable Cats
Test
BSA photos
Previous Thread
Next Thread
Print Thread
Turn Off Feature that Automatically Shorten Links? #239804
10/03/10 08:03 PM
10/03/10 08:03 PM
M
mmem700  Offline OP
newbie
Joined: Jun 2008
Posts: 36
I'm using UBB Threads 7.3.1

Is it possible to turn off the feature that automatically shortens links?

Attached Files ubb threads capture.jpg

Today they call you "crazy".
Tomorrow they call you "ahead of your time".

OrbisVitae.com
GlobalSkywatch.com
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
Re: Turn Off Feature that Automatically Shorten Links? [Re: mmem700] #239813
10/04/10 11:58 AM
10/04/10 11:58 AM
SD  Offline
Former Developer
Joined: Apr 2007
Posts: 4,313
SoCal, USA
yep

libs/bbcode.inc.php

look for "Handle url shortening"

either remove (comment out) those 4 lines of code.

you can also adjust for the if to always fail too. ie:

PHP Code
if (false && strlen($body) > 100 && !preg_match("#(<img src|<span)#",$body)) { 


adds immediate fail to the if..



Shout Box
Today's Birthdays
No Birthdays
Recent Topics
"UBB 10 years" image/button question
by Morgan. 10/22/18 09:35 AM
image test
by JPG. 10/21/18 10:06 AM
Upgrade from a really really old version
by Alento. 10/18/18 06:16 PM
Subscription Feature
by M4TT. 10/16/18 09:34 PM
PHP 7.2 compatibility
by Pak. 10/16/18 06:00 PM
Forum Statistics
Forums36
Topics35,153
Posts191,544
Members12,110
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.2