hgtonight
MVPhgtonight MVP
This is an activity!
Reactions
-
Re: how to disable "User send a message" in the Notification popup in MeMenu
You could hook into the activity model, look for the sent message activity type, and "handle" the activity by throwing a validation error. public function activityModel_beforeSave_handler($… (View Post)2 -
Re: How to retrieve the currently defined column names in a garden table
In 2.1, the Gdn_Model::DefineSchema method doesn't return the schema object. You will have to grab it after the definition: $model = new DiscussionModel();$model->DefineSchema();$schema = model-&g… (View Post)1 -
Re: PHP(?) question
$UserModel = Gdn::UserModel() is calling a static method of the Gdn class. It always returns the same instance of the UserModel. $UserModel = new UserModel() is calling the constructor of the UserMod… (View Post)3 -
Re: DiscussionController->$Name not found. [RESOLVED]
@nonce Talk is cheap; do something about it. https://vanillaforums.org/discussion/comment/233034#Comment_233034 Please stop appending your necro-on discussion to non-related posts. And before you say… (View Post)2 -
Re: How to make the postitbit in the left?
This can be done via a CSS change. Create a custom theme. Add the example code. Tweak to your liking. .Discussion .Item-Header,.Comment .Item-Header { display: inline-block; vertical-align: top; widt… (View Post)2
