Forums / Cotonti / Extensions / Password-protect Category [Solved]

tensh
#11668 2009-04-21 22:14
$res = sed_sql_query("SELECT * FROM $db_structure");
	while($row = mysql_fetch_assoc($res))
	if ($c==$row['structure_code'])
	{
		$category_path = $row['structure_path'];
	}

	if($category_path==2)  {   blabla... }

By now I entered just "2", but the plugin is not finished. Gonna add Plugin configuration entries.
Also, RSS feeds are not protected, I'm not sure how to do this. Hack rss.php? :P Or create a plugin for RSS? I will see.