Skip to Content Skip to Menu

[SOLVED] User Type in url

  • devodave
  • devodave
  • OFFLINE
  • Posts: 68
  • Thanks: 5
  • Karma: 0
9 years 11 months ago #253600 by devodave
Replied by devodave on topic User Type in url
sorry,

unfortunatelly it is not that obvious:

I am putting the following hypertext:

a href="index.php?option=com_comprofiler&task=registers&Itemid=805&type=Prof

and I am getting /registers?type=Prof when I click on the link - So no ampersand sign...and the cbfield is not filled automatically.

I put the following jquery code:
$('#cb_pro').val('[get_type]').trigger('change');

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48481
  • Thanks: 8283
  • Karma: 1443
9 years 11 months ago #253654 by krileon
Replied by krileon on topic User Type in url
The value in the URL needs to match your select field value exactly. If "Prof" isn't an option value then it's not going to do anything. You also need to ensure the auto action is setup for the after registration trigger, public access, and be a code action with jQuery method. Your URL is fine; it's just being converted to SEF, which is fine and does not cause the get value to be lost. Also ensure CB it self and CB Auto Actions are up to date.


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.

  • devodave
  • devodave
  • OFFLINE
  • Posts: 68
  • Thanks: 5
  • Karma: 0
9 years 10 months ago #254685 by devodave
Replied by devodave on topic User Type in url
Hi there,

well did not find the solution.
Actually the targeted field is a query between 3 values... Is the trick still applicable to a query?

Thanks in advance,

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48481
  • Thanks: 8283
  • Karma: 1443
9 years 10 months ago #254730 by krileon
Replied by krileon on topic User Type in url

Actually the targeted field is a query between 3 values... Is the trick still applicable to a query?

A CB Query Field? No. If it's a Query Select then yes it should be fine as it's still just a normal select input. Please PM backend super administrator login credentials and include what field you're wanting to adjust in your PM and will take a look.


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.

  • devodave
  • devodave
  • OFFLINE
  • Posts: 68
  • Thanks: 5
  • Karma: 0
9 years 10 months ago #256437 by devodave
Replied by devodave on topic User Type in url
Hi Krileon,

have PM you login credentials,

thanks for your help

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48481
  • Thanks: 8283
  • Karma: 1443
9 years 10 months ago #256476 by krileon
Replied by krileon on topic User Type in url
I don't have a PM from you. Are you sure it was sent to the correct user? Click the "send me a private message" within my signature to go directly to the PM compose page with my user already filled in.


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