Announcement

Collapse
No announcement yet.

RSS Feeds

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • RSS Feeds

    The RSS feeds my forum produces are complete posts. How do I make it so the RSS feeds only produce say the first 200 characters/words or so?

    Can anyone help?

  • #2
    There is no function to do this in vbulletin.

    You will need to create a new plugin.

    Hook: external_query

    Code:
    unset($vbulletin->GPC['fulldesc']);
    $vbulletin->options['threadpreview'] = 200;
    $hook_query_fields .= ",LEFT(post.pagetext,400) AS message";
    This will limit the characters shown to 200.

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...
    X