PDA

View Full Version : Don't update rss feed after post edit


hulemanden
11-10-2011, 10:01 PM
Hi

How is it possible to disable that every time i edit an article, it pings the rss feed and sends notifikation to the feed readers?

I just want the article to appear in the feed for once, not everytime it gets edited...

any solutions?

I use vbulletin cms 4.17

thanks

kh99
11-11-2011, 03:58 PM
This is just really a stab at it that I haven't tested at all, but you could try creating a plugin using hook location external_start and something like this:

if (!isset($vbulletin->GPC['lastpost']))
$vbulletin->GPC['lastpost'] = true;


That will include things in the RSS feed based on last post time instead of the dateline.

hulemanden
11-11-2011, 09:14 PM
great but how do it do that? Should i create php file with that code?

kh99
11-11-2011, 10:55 PM
In the adminCP go to Plugins & Products -> Add New Plugin. Put the code in the large box and select the hook location from the dropdown menu. Put in a title so that you'll remember what it does later. Then select the "Yes" radio button next to "Plugin is Active", and Save.