The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi,
Do you know how can I limit the number of description words in external.php? Currently all the text body of threads and posts is placed in RSS page. I want to make it limited to 250 words. Thank you. |
#2
|
|||
|
|||
![]()
external.php uses the "Length of Thread Preview Text" option (under Forum Display Options) for the description length, unless the url contains &fulldesc=1. If you don't want to change the thread preview length used in other places, I believe you could create a plugin using hook external_start and set $vbulletin->options['threadpreview'] = 250 there.
|
#3
|
|||
|
|||
![]() Quote:
I made a mistake in describing the problem. My problem is not the description. It is the content. I want the external.php not to show the whole content. Only the description is enough. How can I remove the content from external.php output? Content is placed between <content:encoded> and </content:encoded> on the external.php output page. I want to remove it. Thank you in advance. |
#4
|
|||
|
|||
![]()
There's no setting that I can see, but try a plugin using hook external_start and this code:
Code:
$vbulletin->GPC['nohtml'] = 1; |
#5
|
|||
|
|||
![]() Quote:
--------------- Added [DATE]1339637550[/DATE] at [TIME]1339637550[/TIME] --------------- I have been struggling with this, but no success. Please someone help me with this. Thank you. |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|