lifeisfoo
✭✭✭lifeisfoo ✭✭✭
Reactions
-
Re: Change language dynamically
What about this hook Gdn_Locale_AfterSet_Handler ? (View Post)2 -
Re: [Vanilla 2.1] Fatal Error : Call to undefined method Gdn_Configuration::RemoveFromConfig()*
RemoveFromConfig is a function that can be called directly, since is in the functions.general.php file. Try editing the class.share42.plugin.php files and changing every Gdn::Config()->RemoveFromC… (View Post)2 -
Re: Arrowchat and vanilla integration
function get_user_id() { $Session = Gdn::Session(); if ( $Session->IsValid() ) { return $Session->UserID; }else{ return NULL; } } Keep in mind that this must be executed in a scope where Garden… (View Post)1 -
Re: Arrowchat and vanilla integration
You can get the current vanilla userID using: //return the current session object$Session = Gdn::Session();//return true if this session is not a guest session$Valid = $Session->IsValid();//if you… (View Post)1 -
Re: Redirect if 'not' logged in
Try these plugin http://vanillaforums.org/addon/guestdefaultroute-plugin http://vanillaforums.org/addon/550-force-guest-sign-in Keep in mind that one was update 1 year ago and the other 3 years ago... (View Post)7