Show FULL Links

Only way I know of is placing the URL in
Code:
 tags, otherwise it will make it a link and abbreviate long urls with a ... in between.
 
I found the answer here. You change those two numbers in those two spots, I think you have to make sure the difference is by 19 like how the original is 55, 36, and the example the guy gives is 80, 61 - well that worked for me the 19 difference thing, works with any two numbers like this. Check your character counts for testing here.

just in case, here are the instructions:

In includes/class_bbcode.php find this code in 2 different places:

Code:
      if (vbstrlen($tmp) > 55 AND $this->is_wysiwyg() == false)
{
   $text = htmlspecialchars_uni(substr($tmp, 0, 36) . '...' . substr($tmp, -14));
}
Links must be less than 55 characters long. If a link is longer, this code takes the first 36 characters and last 14 characters of the link and replaces the middle part with '...'.

If you wanted to change the number of characters a link may be to 80, you would change the code like this:

Code:
      if (vbstrlen($tmp) > 80 AND $this->is_wysiwyg() == false)
{
   $text = htmlspecialchars_uni(substr($tmp, 0, 61) . '...' . substr($tmp, -14));
}
 
Smeker said:
However, showing only short links can save your ass from leechers.

I started this thread, and I am kicking you in the balls now. :) I didn't ask if you thought it was a good idea or not. You mods can get angry at me, but you all started picking on me because you just don't know me, no other reason.
 
lol no one is angry at you lol ;) thats the nice thing about internet they all have a big mouth behind there pc and outside they are scared like pussy, no one knows who another person is so respect them because were only here to help eachother.
 
xzdQITW3l said:
I started this thread, and I am kicking you in the balls now. :) I didn't ask if you thought it was a good idea or not. You mods can get angry at me, but you all started picking on me because you just don't know me, no other reason.

Smeker isn't picking on you, he's giving you an ADVICE.
 
Back
Top