The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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? |
#2
|
||||
|
||||
Quote:
if you make sure that file is included in your script, the function will work. grep is your friend! |
#3
|
|||
|
|||
What is grep?
edit - thanks for your help, I have it working as I planned! I appreciate it! |
#4
|
||||
|
||||
Quote:
I simply went to my public_html/includes directory and typed grep 'function fetch_trimmed" *.php |
#5
|
|||
|
|||
Quote:
http://members.vbulletin.com/api/ vBulletin 3.6 Code Documentation :P |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|