PDA

View Full Version : Rss Feed mod external.php


webspider
08-01-2005, 08:19 PM
I'm asking here because this is a code mod.

VB fixed fixed the external.php to correctly format RSS but I'd like to suggest you add the ability to select a usergroup for content filtering. On the old external I modified it to gather data based on a special usergroups I created. It was very effective for only allowing certain data to the feed.

Can this be done to the new external.php?

// set us up as a very limited privileges user
$vboptions['hourdiff'] = (date('Z', TIMENOW) / 3600 - intval($_REQUEST['timeoffset'])) * 3600;
$bbuserinfo = array('usergroupid' => 11);
$usergroupcache = array();
$permissions = cache_permissions($bbuserinfo);