Skip to Content Skip to Menu

Create Kunena post on new user registration

  • Vorak
  • Vorak
  • ONLINE
  • Posts: 225
  • Thanks: 42
  • Karma: 3
17 hours 5 minutes ago - 14 hours 47 minutes ago #341169 by Vorak
RE:  www.joomlapolis.com/forum/professional-members-support/195395-kunena-action-posting-new-registration-cb-fields

Hello,

I just found this post as I was looking for a solution for the same thing. The screenshot was helpful because the concept of CB Auto Actions is in parts too complex for me to figure out on my own.

I set it up so that when a new user registers, a new topic is created in a particular Kunena category. Unfortunately, I must be doing something wrong because it doesn't work.

When creating a test account, I get the following error after submitting the registration form:

0
Kunena\Forum\Libraries\Forum\Category\KunenaCategory::isAuthorised(): Argument #2 ($user) must be of type ?Kunena\Forum\Libraries\User\KunenaUser, int given, called in [...]/libraries/kunena/src/Forum/Category/KunenaCategory.php on line 567

Despite this error, the account is created. The confirmation email is also sent and clicking the link in that email activates the account normally.
But unfortunately, nothing is posted in the forum designated for this.

Here are a few screenshots of what I have set up. Everything else, not in this screenshot, I left untouched:

 

 

Can you please point out where I did something wrong? Thanks!
Last edit: 14 hours 47 minutes ago by krileon.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 49188
  • Thanks: 8407
  • Karma: 1461
14 hours 46 minutes ago #341171 by krileon
Replied by krileon on topic Create Kunena post on new user registration
Likely a Kunena API change that needs to be accounted for in that auto action type. What version of Kunena are you using and on what version of Joomla?


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum