x00
MVPx00 MVP
Reactions
-
Re: Custom permissions and custom errors
There is more than one way to shell an egg. You could make it a proper exception, then direct to a custom controller. (View Post)1 -
Re: Custom permissions and custom errors
Yes Gdn::Locale()->SetTranslation('PermissionErrorMessage',T('Your Message')); (View Post)1 -
Re: Custom permissions and custom errors
public function CustomPermission($Permission) { if(Gdn::Session()->CheckPermission($Permission)){ return TRUE; }else{ header("HTTP/1.0 401", TRUE, 401); if ($this->DeliveryMethod() !=… (View Post)3 -
Re: $100 - Helper Class for External Authentication Integration
Given that you didn't successfully implement ProxyConnect, I think it is bit rich lecturing others. I think people have been polite enough to you, considering you know it all. You aren't re… (View Post)2 -
Re: Suggested Hook.
what you want to do is use a hook like this (copied from /applications/vanilla/settings/class.hooks.php) in your plugin public function Gdn_Statistics_Tick_Handler($Sender, $Args) { $Path = GetValue(… (View Post)1
