![]() |
Cut long urls EVERYWHERE
Ok. .I've made a static board.. blame me.. but I can't just made it 100% wide now (Too lazy to do so..).. so I need help.
At some pages (mostly on online.php) I get very, VERY long urls that really mess up my forum. I need to make it so thatif it's more than x characters long, it'll be cutted and added a ... on it.. so it changes this: Code:
<a href="http://domain.com/forum/longurl/verylongurl/messinglayout.htm">http://domain.com/forum/longurl/verylongurl/messinglayout.htm</a> Code:
<a href="http://domain.com/forum/longurl/verylongurl/messinglayout.htm">http://domain.com/forum/...out.htm</a> Code:
$maxchars=20; |
You would need to hack the handle_bbcode_url() function to include that element onthe $text variable in there...
|
hmm... that sounds kinda.. hard.. and I'm very new at this... I think I'll set it up only for the online.php urls... since that's the place that's messing the layout the most... thnx for the reply natch!
|
All times are GMT. The time now is 10:10 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|