Security

Reply
Super Contributor II
Posts: 368
Registered: ‎09-05-2012

Generated Sponsor Confirmation email - Change the Click here link

Hi,

 

We are using the default options for the sponsor email confirmation.

In the email there is the "Click Here" which brings the sponsor to a page to do the confirmation of the

guest account.

 

The link that is generated is based on the "hostname" of the CPPM. Unfortunately, our commercial cert that is loaded in the Apache of the CPPM is registered with a different domain name so when the link is clicked we get the warning about the cert not being valid.

 

Is there a way that I can modify the auto generated link to use the domain name in our commercial cert and now the hostname of the server?

 

I noticed under the "Sponsorship Confirmation" section there is the "UI Overrides" option. Is this how I would accomplish it?

 

Thank you

Aruba
Posts: 113
Registered: ‎11-21-2011

Re: Generated Sponsor Confirmation email - Change the Click here link

The email that is sent to the sponsor for confirmation is a print template.

 

You can edit this link by going to Configuration » Print Templates » Sponsorship Confirmation » Edit.

 

The default is as follows:

 

<a href="{'guest_register_confirm.php'|NwaGetAppUrl:false:$u.require_auth}?{if $u.source}gsr_id={$u.source|rawurlencode}&{/if}token={$u.register_token|rawurlencode}" target="_blank">click here</a> to confirm or reject the request.

 

You can change the highlighted part to specify a different server name:

 

<a href="https://my-cppm-server.example.com/guest/guest_register_confirm.php?{if $u.source}gsr_id={$u.source|rawurlencode}&{/if}token={$u.register_token|rawurlencode}" target="_blank">click here</a> to confirm or reject the request.

 

 

Super Contributor II
Posts: 368
Registered: ‎09-05-2012

Re: Generated Sponsor Confirmation email - Change the Click here link

@amigodave

Thank you!

This was 100% what I needed.

I didn't realize this was where you went to edit these.

 

This is geat though. It allowed me to edit the URL and it is now pointing to the correct domain.

 

Thank you again!

 

Cheers

Search Airheads
Showing results for 
Search instead for 
Did you mean: