The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
$thread[title]
I would like to put a max character cap on $thread[title] for forumdisplay.php.
Here is my idea but it did not work. PHP Code:
|
#2
|
|||
|
|||
Come on, someone help me! :devious:
|
#3
|
||||
|
||||
Is easier then you think, use:
Code:
$trimmed_title = fetch_trimmed_title($thread['threadid'], 45); |
#4
|
||||
|
||||
Isn't that vB3 code you posted, Floren? Will that wrok with vB2?
|
#5
|
|||
|
|||
Where would I put your code TECK?
|
#6
|
||||
|
||||
Sorry, Bob is right, this is for VB3.. I didn't realised we are in VB2 section.
Well, look at this function in vb3 functions.php and use the same approach... |
#7
|
|||
|
|||
None of this has really helped me in anyway, thanks for trying I guess.
|
#8
|
||||
|
||||
Quote:
Let me know if you have any other questions regarding the function. |
#9
|
|||
|
|||
Quote:
|
#10
|
|||
|
|||
PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|