PDA

View Full Version : RSS Feeds


kraqh3d
2004-08-20, 02:15
any chance of adding an option to completely disable rss feeds without the need to remove them from a skin xml file?

**edit**

i was looking over the source and sorta figured it could be done in the guicontrolfactoy.cpp by having cguicontrol* cguicontrolfactory::create return null within the rss creation block if some global boolean setting is true. this would stop all rss controls from being built.

something like this:

if (strtype=="rss")
{
*if (g_stsettings.m_bdisablerss)
*{
* *return null;
*}

*// else create the cguirsscontrol* pcontrol as normal
}

the problem is that i'm not sure how to implement a new settings variable and make it a checkmark control type. *i guess an option like this would be configuratble thru guiwindowsettingsuserinterface.cpp.

kraqh3d
2004-08-21, 21:53
i got this implemented as a new save-able setting. see patch 1013484 on sourceforge. (you need to restart after disabling rss feeds because this actually stops the creation of those controls when the system loads the skin.)