R_J
AdminR_J Admin
-
Re: Number of bookmarks (CountBookmarks) in 2.2 set to one or zero?
$whatever = ... is just the php language construct for assigning a string to a variable. There are some conventions in Vanilla that you should follow so that your code stays readable. But you could a… (View Post)2 -
Re: Number of bookmarks (CountBookmarks) in 2.2 set to one or zero?
For sure. You only build a string and that wouldn't have any effect at all. You need to query the db: $result = Gdn::sql()->query($sql); (View Post)2 -
Re: Handle php sessions with memcached?
:surprised: No php sessions? That's why Vanillas session class wasn't helpful to me when I thought about that :dizzy: I'm so glad I began this with telling that I have no clue about se… (View Post)1 -
Re: Number of bookmarks (CountBookmarks) in 2.2 set to one or zero?
The example you have found uses parameters: it is flexible to accept different categories. The update you need does not need any variable parameters. So you do not need to do any search&replace. … (View Post)6 -
Re: Q&A events
Oh yes, I was too hasty... The function that is called is DiscussionController_QnA_Create. It calls $ActivityModel->Save($Activity); and I guess that's what you use. The ActivityModel has a B… (View Post)6
