PDA

View Full Version : How to add variables to notices?


dreamhost
01-03-2009, 10:26 PM
What files do I need to modify in order to add variables that I can use to the notices manager?

Specifically I am trying to add '$myfeeds', '$myfeeds2', etc...
These are variables created by another plugin for vbulletin that allow me to pull in rss feeds from other websites.

So far I seem to be able to use those variables everywhere in my vb site with the exception of notices which is really starting to drive me nuts....

My idea is simple:
I am trying to pull in rss feeds from specific categories of my wordpress site that directly apply to an individual forum. I have no problem getting the feeds, I just can't get them to display inside the notices box.

Dismounted
01-04-2009, 04:36 AM
PHP variables are not parsed inside of notices. What you can do, however, is extend the replacements available for notices by adding a plugin (look at where notices are processed in global.php).