![]() |
Truncate $thread_get[title] with ... at end?
How would I truncate the $thread_get[title] to a specific amount of characters and add ... at the end if the title is truncated?
I'm trying to apply it to the modification here -> https://vborg.vbsupport.ru/showthrea...t+posts&page=2 I would really appreciate it! thanks! edit: i tried this https://vborg.vbsupport.ru/showthread.php?t=75418 but the fetch_trimmed_title function seems to be missing? probably dropped in recent versions of VB maybe? |
Quote:
if you make sure that file is included in your script, the function will work. grep is your friend! |
What is grep?
edit - thanks for your help, I have it working as I planned! :) I appreciate it! |
Quote:
I simply went to my public_html/includes directory and typed grep 'function fetch_trimmed" *.php |
Quote:
http://members.vbulletin.com/api/ vBulletin 3.6 Code Documentation :P |
All times are GMT. The time now is 06:21 PM. |
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:
|