hgtonight
MVPhgtonight MVP
This is an activity!
Reactions
-
Re: PHP(?) question
Yes, you are using the same object twice. You shouldn't need to use the SQLDriver object unless you are writing a model (or extending it). (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: My Category pages not showing after Vanilla 2.2 Upgrade.
The something has gone wrong page shows up if debugging is not enabled. Make sure $Configuration['Debug'] = true; is in your /conf/config.php file. (View Post)1 -
Re: Integration with YAGA?
It defaults to sorting on the Name field because the points and rankid fields are not in the white list. You will need to add them to the switch case block starting on line 52. (View Post)1 -
Re: Integration with YAGA?
You can access the points from the user object directly ($User->Points in the view file). The rank ID is also stored in the user object, but you will probably want to load the rank names once and … (View Post)1