Display full URL instead of
What this does:
All this simple change in php file does is displays the complete url throughout your forum instead of truncated url with which is very useful for people who use downloader software to download files so they just can copy directly from the forum instead of clicking on files individually as hyperlinks and then copy . Refer screenshots below its self explanatory Instructions : Find the php file under includes class_bbcode.php Search for function handle_bbcode_url Look for Code:
if (vbstrlen($tmp) > 55 AND $this->is_wysiwyg() == false) { $text = htmlspecialchars_uni(vbchop($tmp, 36) . '...' . substr($tmp, -14)); } Log in ADMINCP --> Maintenance --> Update Counter Explanation : X; 55 = number of characters before it's stripped Y; 36 = number of characters before the (...) Z; 14 = number of characters after the (...) Logic has to be always X = Y + Z to work I used 70 = 50 + 20 you can use any combination for bigger urls ( 90 = 60 + 30 ) etc Note : I am not a coder and this is my first attempt ; I needed this and found out how it works after lot of trial and error process I could not find any thread which had detailed explanation for people like me so created this one ; hope it helps vB Version: Should work for all versions Download No files for download. |