if (!defined('IN_VANILLA')) exit; $Context->Configuration['CM_PERMISSION_CAN_MANAGE_COMMUNITY_MODERATION'] = false; $Context->Configuration['CM_PERMISSION_CAN_MODERATE'] = false; $Context->Configuration['CM_PERMISSION_CAN_META_MODERATE'] = false; $Context->Configuration['CM_PERMISSION_IMMUNE_TO_MODERATION'] = false; $Context->Configuration['CM_PERMISSION_NO_MAXIMUM_POINTS'] = false; $Context->Configuration['CM_PERMISSION_CAN_RE_MODERATE'] = false; $Context->Configuration['CM_PERMISSION_CAN_RE_META_MODERATE'] = false; $Context->Configuration['CM_PERMISSION_UNLIMITED_MODERATION_VOTES'] = false; $Context->Configuration['CM_PERMISSION_CAN_MODERATE_OWN_COMMENTS'] = false; $Context->Configuration['CM_PERMISSION_CAN_MODERATE_OWN_DISCUSSIONS'] = false; $Context->Configuration['CM_PERMISSION_CAN_MODERATE_AND_META_MODERATE_SAME_COMMENT'] = false; $Context->Configuration['CM_PERMISSION_CAN_RE_MODERATE_USERS'] = false; $Context->Configuration['CM_PERMISSION_CAN_VIEW_USER_POINTS'] = false; $Context->Configuration['CM_PERMISSION_CAN_VIEW_OWN_POINTS'] = false; $Context->Configuration['CM_PERMISSION_CAN_VIEW_USER_POINTS_HISTORY'] = false; $Context->Configuration['CM_PERMISSION_CAN_VIEW_OWN_POINTS_HISTORY'] = false; $Context->Configuration['CM_PERMISSION_CAN_SEE_UP_VOTES'] = false; $Context->Configuration['CM_PERMISSION_CAN_SEE_DOWN_VOTES'] = false; function CM_Role_DefineRolePermissions(&$Role) { $Role->AddPermission('CM_PERMISSION_CAN_MANAGE_COMMUNITY_MODERATION'); $Role->AddPermission('CM_PERMISSION_CAN_MODERATE'); $Role->AddPermission('CM_PERMISSION_CAN_META_MODERATE'); $Role->AddPermission('CM_PERMISSION_IMMUNE_TO_MODERATION'); $Role->AddPermission('CM_PERMISSION_NO_MAXIMUM_POINTS'); $Role->AddPermission('CM_PERMISSION_CAN_RE_MODERATE'); $Role->AddPermission('CM_PERMISSION_CAN_RE_META_MODERATE'); $Role->AddPermission('CM_PERMISSION_UNLIMITED_MODERATION_VOTES'); $Role->AddPermission('CM_PERMISSION_CAN_MODERATE_OWN_COMMENTS'); $Role->AddPermission('CM_PERMISSION_CAN_MODERATE_OWN_DISCUSSIONS'); $Role->AddPermission('CM_PERMISSION_CAN_MODERATE_AND_META_MODERATE_SAME_COMMENT'); $Role->AddPermission('CM_PERMISSION_CAN_RE_MODERATE_USERS'); $Role->AddPermission('CM_PERMISSION_CAN_VIEW_USER_POINTS'); $Role->AddPermission('CM_PERMISSION_CAN_VIEW_OWN_POINTS'); $Role->AddPermission('CM_PERMISSION_CAN_VIEW_USER_POINTS_HISTORY'); $Role->AddPermission('CM_PERMISSION_CAN_VIEW_OWN_POINTS_HISTORY'); $Role->AddPermission('CM_PERMISSION_CAN_SEE_UP_VOTES'); $Role->AddPermission('CM_PERMISSION_CAN_SEE_DOWN_VOTES'); } $Context->AddToDelegate('Role', 'DefineRolePermissions', 'CM_Role_DefineRolePermissions'); ?>
Vanilla 1.3.0 is a product of Lussumo. More Information: Documentation, Community Support.
Runamok:The only time writing code from scratch honestly matters is when you're at uni anyway.. lolThis
tuk-tuk:I can see the merit to bothYeah for sure
ChickenPotato:And that's why it's called an opinion.Yeah mate and this is just mine. Sorry if I ranted a little bit, it's something I feel passionately about because I think too many talented programmers waste too much time re-inventing things when they could be contributing - but of course there are others who try to contribute before they know enough to make things better, so there has to be balance.
ChickenPotato:Show us some if your programs :)The most popular by far is probably PS3 Media Server which got voted the best personal media streaming tool on Lifehacker. It's written in Java, which I'm sure you don't like, but it allows us to easily support all major operating systems.
I'm actually interesting in seeing them.
SubJunk:Or if you're someone who learns best with tutorials there are loads of good, free ones online, like the official one hereNeed to remove the " to get the link to work.
mrBob:tee hee hee, PS3 Media Server - just as funny as the Perpetual Motion Squad...Hahaha yeah mate