Removing full posts from feeds
1 Attachment(s)
I had a problem with content theft in the past, so i wanted to limit the content provided by vbulletin's rss feeds.
I didn't want to mess with the templates to avoid manual checks every time vbulletin updates and for the same reason i didn't want to edit php files. So i came up with this (really) tiny plugin which i hope you'll find useful.
- Login to your admin panel
- Expand Plugins & Products block
- Click Add New Plugin
- Product: vBulletin
- Hook Location: external_complete
- Title: (anything you want, i entered Limit Feeds)
- Plugin PHP Code (one line):
PHP Code:
$output = preg_replace('/(\<content\:encoded\>.*\<\/content\:encoded\>)/s', '', $output);
- Plugin is Active: Yes
- Press Save
All done, now you just made content theft a bit more difficult :p
|