Skip to Content Skip to Menu

[SOLVED] Kunena Forum auto post from registration

  • jminer
  • jminer
  • OFFLINE
  • Posts: 18
  • Thanks: 1
  • Karma: 0
10 years 9 months ago - 10 years 9 months ago #243395 by jminer
Hello Community,

I have latest version of CB and kunena installed.

My site answers college related queries that a user might have.

They come to the site and I present them with a text box in which they can type their question and when they press submit they are asked to register to site, on successful registration, I want that question to be posted into the forum so that college advisors can answer them.

I have integrated CB and kunena but currently stuck with this workflow.

Any suggestion as how to achieve this? Any help is highly appreciated.

Thanks,
J
Last edit: 10 years 9 months ago by nant.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48674
  • Thanks: 8313
  • Karma: 1446
10 years 9 months ago #243403 by krileon
Replied by krileon on topic Kunena Forum auto post from registration
You could use an extension like RSForms then on the submit handling just do a database insert query to insert the post into Kunena. You can basically do the same using CB Auto Actions on after registration trigger if your text box is actually on CBs registration page.

If you want the text box on a separate page that when submit sends to registration then after registration it saves you need to pass it between page loads and best way to do that is store it to the users Joomla session so it can persist between pages. You'd then use a Code action with PHP to pull it from the session and push to Kunena on after registration trigger.


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.

  • jminer
  • jminer
  • OFFLINE
  • Posts: 18
  • Thanks: 1
  • Karma: 0
10 years 9 months ago #243532 by jminer
Replied by jminer on topic Kunena Forum auto post from registration
Thanks, I have followed your direction and it works perfectly fine.
The following user(s) said Thank You: nant

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

Moderators: beatnantkrileon
Powered by Kunena Forum