Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

Resend confirmation email doesn't work in Joomla 2.5.11 and CB 1.9

  • galberom
  • galberom
  • OFFLINE
  • Posts: 4
  • Thanks: 0
  • Karma: 0
11 years 2 months ago #231796 by galberom
Hello,
I'm absolutely less than a rookie, both in Joomla and in CB, this is my very first job (amateur job, by the way) with this web content developer environment, so please be patient :)
I think I found a bug, or it may be that my CB installation is misconfigured, or maybe i'm doing something wrong. Let me explain:
I used the "Resend confirmations" button in User management to resend the confirmation mail to a user, and the link sent is:

https://mysite/index.php?option=com_comprofiler&task=confirm&confirmcode=regxxx...xxx&Itemid=201

This "& itemid = 201" means that the user receiving the message, the link does not work and instead it asks the user to login first.

The first confirmation email received by the user when registering works fine, is malfunctioning which is sent by the Resend confirmations button.

I urgently need to find ways to prevent this text is added to the link, in order to resend email confirmations that really work.

Thank you for your attention.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
11 years 2 months ago #231805 by krileon
You need to have a public and published Joomla menu link to CBs profile page. This is mandatory and your documentation explains this step (can download from the Advanced downloads section). The link can be on a menu module that is not displayed though if you don't want it visible. It just needs to exist for its Itemid.


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.

  • galberom
  • galberom
  • OFFLINE
  • Posts: 4
  • Thanks: 0
  • Karma: 0
11 years 2 months ago - 11 years 2 months ago #231814 by galberom
Hi, krileon,
Thanks for your reply.
We have a user profile menu, but it is not of public access, but registered, because we have a public section and a registered section in our web, and we think we need the user's profile to be restricted to registered members.
It would be nice if you can help me to find the solution to this point.
Thanks in advance

Edit:
Following your indications I've found if making public access to the user profile page, the resend confirmation message works.
I have a question: When the user profile page is of registered access, the first email is sent without the document ID. Is it possible to repeat this message when resending confirmations?
By the way, i like much more the warning message when user's profile page is restricted than public.
Last edit: 11 years 2 months ago by galberom. Reason: adding data

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
11 years 2 months ago #231862 by krileon

When the user profile page is of registered access, the first email is sent without the document ID. Is it possible to repeat this message when resending confirmations?

Sorry, I don't understand the question. What document id? Please be more specific.

By the way, i like much more the warning message when user's profile page is restricted than public.

The profile access error is a language string, which you can change to whatever you like. Please see your CB documentation for language string usage information, which you can download from the Advanced downloads section. Please also see the below for more language usage information.

www.joomlapolis.com/cb-solutions/languages

The language string you'll need to alter is as follows.

_UE_REGISTERFORPROFILEVIEW


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.

  • galberom
  • galberom
  • OFFLINE
  • Posts: 4
  • Thanks: 0
  • Karma: 0
11 years 2 months ago #231869 by galberom
I must start by apologizing for my lack of knowledge of the English language, which can hinder the understanding of my expressions.

krileon wrote:

Sorry, I don't understand the question. What document id? Please be more specific


The ID of the user profile menu item in my case is 201. When this menu item is accessible only to registered users, the confirmation message sent when the user fills in the registration form carries the link:
https://mysite/index.php?option=com_comprofiler&task=confirm&confirmcode=reg61eab9fc4dbf9a9a83e704623cea34c507769a85

while the second one (the one which is sent by the "Resend confirmations" button) is:

https://mysite/index.php?option=com_comprofiler&task=confirm&confirmcode=reg61eab9fc4dbf9a9a83e704623cea34c507769a85&Itemid=201

As you can see, the second message appends the menu item ID (201)
This has the "collateral" effect that if the user clicks this link, (and his email is not confirmed yet) it doesn't work but the user receives a message "Please login first". However, if the user copypaste the link AND removes the "&Itemid=201", that is, the link looks like the one of the first email, it works as a confirmation for the email address of the user, as it would be (or almost).

And, when talking about my preference of a message over another, it was not my intention to refer to the content of the message, but its appearance, with a different font and framed between two lines, or the ability to format the message and give a different look to it.

Thank you very much for your attention.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
11 years 2 months ago #231880 by krileon

The ID of the user profile menu item in my case is 201. When this menu item is accessible only to registered users, the confirmation message sent when the user fills in the registration form carries the link:
https://mysite/index.php?option=com_comprofiler&task=confirm&confirmcode=reg61eab9fc4dbf9a9a83e704623cea34c507769a85

while the second one (the one which is sent by the "Resend confirmations" button) is:

https://mysite/index.php?option=com_comprofiler&task=confirm&confirmcode=reg61eab9fc4dbf9a9a83e704623cea34c507769a85&Itemid=201

As you can see, the second message appends the menu item ID (201)
This has the "collateral" effect that if the user clicks this link, (and his email is not confirmed yet) it doesn't work but the user receives a message "Please login first". However, if the user copypaste the link AND removes the "&Itemid=201", that is, the link looks like the one of the first email, it works as a confirmation for the email address of the user, as it would be (or almost).

Ensure you have a Public and Published Joomla menu link to CBs profile page. This menu link is mandatory. CB will use the first profile menu link it finds for its Itemid. If it's still having problems finding your Public menu link then delete your Registered menu link, empty trash, and re-create it so it's ordered after your Public menu link in your database; this way CB will grab the Public one first.

And, when talking about my preference of a message over another, it was not my intention to refer to the content of the message, but its appearance, with a different font and framed between two lines, or the ability to format the message and give a different look to it.

You'll need to edit the message and add some HTML to it if it'll allow it then style your new HTML using CSS. It doesn't have any styling, but instead it just flat out displays the message and nothing else.


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