• REGISTRATION REQUIREMENTS:

    Your username here MUST MATCH your XenForo username (connected to your XF license).

    Once you have registered here, then you need to start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Fixed Converting blog entry to thread does not update user message count

Kirby

Member
AMS Premium
CAS Premium
IMS Premium
LD Premium
RMS Premium
SC Premium
UBS Premium
UBS Version
2.3.8
XenForo Version
2.3.6
PHP Version
8.3.20
Database & Version
MariaDB 10.11.11
Are there any errors being throw?
No
When a blog entry is converted to a thread the service does not update the user message count.
 
That should be handled when the Blog Entry itself is deleted (the post delete function of the blog entry entity) AFTER a successful convert to a thread.

Also handles cleaning up of sub blog entry content, updating the category record (blog_entry_count) etc.

Are you saying NONE of that is happening?
 
I was referring to xf_user.message_count, not xf_user.xa_ubs_blog_entry_count
 
I was referring to xf_user.message_count, not xf_user.xa_ubs_blog_entry_count
Ah, gotcha...

I can easily handle that in the afterNewThreadCreated() function in the convert service if the XF Create Thread service isn't properly handling that ;)

Something like this should do the trick (borrowed from post merge service)...

Selection_957.png
 
Back
Top