osieorb18
Active member
Ban in topic would be very much appropriated.
Reply bans are already a thing? I suppose a thread owner reply ban could be made an option, though.
Ban in topic would be very much appropriated.
Notable changes:
- Fixed owner can delete first post
- Fixed self author notify option when edit self-post
Server error log
ErrorException: [E_WARNING] Attempt to read property "reply_count" on null src/addons/DigitalPoint/Cloudflare/XF/Entity/Post.php:24
Generated by: Unknown account Jun 3, 2023 at 9:29 PM
Stack trace
#0 src/addons/DigitalPoint/Cloudflare/XF/Entity/Post.php(24): XF::handlePhpError(2, '[E_WARNING] Att...', '/var/www/...', 24)
#1 src/addons/DigitalPoint/Cloudflare/XF/Entity/Post.php(10): DigitalPoint\Cloudflare\XF\Entity\Post->purgeCloudflareCache()
#2 src/XF/Mvc/Entity/Entity.php(1277): DigitalPoint\Cloudflare\XF\Entity\Post->_postSave()
#3 src/XF/Warning/Post.php(49): XF\Mvc\Entity\Entity->save()
#4 src/XF/Entity/Warning.php(160): XF\Warning\Post->onWarningRemoval(Object(Truonglv\ThreadOwnerPerms\XF\Entity\Post), Object(M2N\TrophyEssentials\XF\Entity\Warning))
#5 src/XF/Mvc/Entity/Entity.php(1659): XF\Entity\Warning->_postDelete()
#6 del_warn.php(18): XF\Mvc\Entity\Entity->delete()
#7 {main}
Request state
array(1) {
["cli"] => string(12) "custom.php"
}
It seems relate to DigitalPoint add-on.I have a custom script coded by Xon, while running the script via CLI, I encounter this error.
PHP:Server error log ErrorException: [E_WARNING] Attempt to read property "reply_count" on null src/addons/DigitalPoint/Cloudflare/XF/Entity/Post.php:24 Generated by: Unknown account Jun 3, 2023 at 9:29 PM Stack trace #0 src/addons/DigitalPoint/Cloudflare/XF/Entity/Post.php(24): XF::handlePhpError(2, '[E_WARNING] Att...', '/var/www/...', 24) #1 src/addons/DigitalPoint/Cloudflare/XF/Entity/Post.php(10): DigitalPoint\Cloudflare\XF\Entity\Post->purgeCloudflareCache() #2 src/XF/Mvc/Entity/Entity.php(1277): DigitalPoint\Cloudflare\XF\Entity\Post->_postSave() #3 src/XF/Warning/Post.php(49): XF\Mvc\Entity\Entity->save() #4 src/XF/Entity/Warning.php(160): XF\Warning\Post->onWarningRemoval(Object(Truonglv\ThreadOwnerPerms\XF\Entity\Post), Object(M2N\TrophyEssentials\XF\Entity\Warning)) #5 src/XF/Mvc/Entity/Entity.php(1659): XF\Entity\Warning->_postDelete() #6 del_warn.php(18): XF\Mvc\Entity\Entity->delete() #7 {main} Request state array(1) { ["cli"] => string(12) "custom.php" }
There seems to be a bug in this addon?
Ya... the addon was assuming that a post is part of a thread that exists (normally the case). Last update checks to make sure the thread that the post belongs to actually exists (no exception will be thrown if a post is orphaned/doesn't belong to any thread).It seems relate to DigitalPoint add-on.
Notable changes:
- Support XenForo 2.3.x
Yes. It's possibles.@truonglv , would it be possible to implement the permission for thread starters to delete polls?
At the moment, users can start polls, edit the polls, but they can't delete the polls. It would be pretty amazing if I can offer this option to thread starters so they don't have to keep reaching out to the moderation team to request for admin help to delete the polls.
Thanks again for the fantastic build!
truonglv updated Thread owner (starter) permissions with a new update entry:
2.0.0
Read the rest of this update entry...
Hi is this working on 2.3?
Notable changes:
- Support XenForo 2.3.x
We use essential cookies to make this site work, and optional cookies to enhance your experience.