Bleistivt
ModeratorBleistivt Moderator
Reactions
-
Re: I Just Noticed a Strange Bug
Yes. All of this logic can basically be copy & pasted from the hints I gave you and the existing plugin. You can remove everything after line 41, the function override is not needed anymore. Once… (View Post)1 -
Re: I Just Noticed a Strange Bug
Yes, by adding a new count field to the user table and having a custom plugin manage that. Basically your plugin would have to: * Add a new field to the user table. * Handle a hook after comment subm… (View Post)1 -
Re: I Just Noticed a Strange Bug
Sorry, I can not reproduce this locally where it already worked. Generally I'd also recommend against having the comment counts show wrong data. If you really need to have "spam" topics, co… (View Post)1 -
Re: I Just Noticed a Strange Bug
Looks like the plugin already handles that event. In that case just change the CommentModel_BeforeNotification_Handler to public function CommentModel_BeforeNotification_Handler($Sender, $Args) { Gdn… (View Post)1 -
Re: I Just Noticed a Strange Bug
You can create a new plugin out of this or just add it to the class.discountdiscussions.plugin.php (inside the class body) (View Post)1