PDA

View Full Version : Miscellaneous Hacks - Removing full posts from feeds


dlan
01-14-2010, 10:00 PM
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): $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

yahooooh
01-16-2010, 05:27 AM
i test ot on 3.8.4
not work

dlan
01-16-2010, 06:17 AM
vB Version: 4.0.1

starman?
03-15-2010, 03:06 PM
Nice work - tagged.

alessai
03-15-2010, 08:26 PM
nothing happened used it and tried google reader and it gets the full thing..... ??!

4.0.2

Marco van Herwaarden
03-16-2010, 08:44 AM
Please export the plugin and attach as file to this the first post. Modifications must always be uploaded as a file.

ChopSuey
05-24-2010, 07:57 AM
Here it is, good luck! Install as PLUGIN

InfoAddict
05-29-2010, 12:16 AM
Could you post an example of what it does to the feed?

evildon
05-29-2010, 03:10 AM
Same problem.. Nothing happended..Still getting the full FEEDS

ChopSuey
05-29-2010, 04:12 AM
NO people who feed from YOUR forum, don't get full feeds. Atleast thats what it says.

howard007
06-10-2010, 04:32 AM
How can you make it so that specific forums don't feed?

ChopSuey
06-10-2010, 11:18 AM
I have no idea, you would need to edit the external.php i guess.

sam.hackint0sh
11-28-2011, 09:14 AM
If it doesnt work for you, you need to truncate the externalcache table via execute query to see an effect. "TRUNCATE externalcache" does the trick. After that, every new query cached will no longer have the full content.

sticky
11-29-2011, 10:49 AM
Can this mod be edited to provide the correct image in a feed? I have my feeds go directly into facebook but the wrong preview image is always selected. I would like for it to use the same image I use on the CMS preview.

Naijasite
08-13-2012, 06:55 PM
Is not working on 4.2.0