How to change unsubscribelink

Phoca Email (Newsletter) - sending emails and managing newsletters in Joomla! CMS
User avatar
f.gruber
Phoca Member
Phoca Member
Posts: 39
Joined: 12 Sep 2012, 11:47

How to change unsubscribelink

Post by f.gruber »

Hi,
how can I change the unsubscribelink from https:// to http:// ?

On my server I have a self signed certificate. I want to prevent users from troubles with browser messages concerning the certificate.

Thank you for help.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48416
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How to change unsubscribelink

Post by Jan »

Hi, if you are using SSL, the link should be set with https. If no, the link is with http. :idea: Phoca Email does not set the "http", this is set by JRoute method in Joomla! and it is set by Joomla! configuration :idea:

Jan
If you find Phoca extensions useful, please support the project
User avatar
f.gruber
Phoca Member
Phoca Member
Posts: 39
Joined: 12 Sep 2012, 11:47

Re: How to change unsubscribelink

Post by f.gruber »

Jan wrote:Hi, if you are using SSL, the link should be set with https. If no, the link is with http. :idea: Phoca Email does not set the "http", this is set by JRoute method in Joomla! and it is set by Joomla! configuration :idea:
Jan
Thank you for this information. What can be done there? Nothing? :(
Ferdinand
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48416
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How to change unsubscribelink

Post by Jan »

Hi, I think, this is the question on your server webhosting provider - to disable the SSL on your site :idea:

Jan
If you find Phoca extensions useful, please support the project
User avatar
f.gruber
Phoca Member
Phoca Member
Posts: 39
Joined: 12 Sep 2012, 11:47

Re: How to change unsubscribelink

Post by f.gruber »

Jan wrote:Hi, I think, this is the question on your server webhosting provider - to disable the SSL on your site :idea:
Jan
It is my own dedicated Root Server. Why should I disable SSL?

Now I found out the following:
If I log in as site Admin at the Joomla Backend via SSL then then the unsubscribe link is set to https://
If I do not log in via SSL, then the unsubscribe link is set to http://

Is there any way to override this?

In Joomla I only found a configuration option to force SSL. I did not set this option.
I only think SSL to be necessary for admin login.

Am I now forced to give up SSL for Backend Login to send a newsletter with PhocaEmail?

Ferdinand
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48416
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How to change unsubscribelink

Post by Jan »

Hi, unfortunately, the http (https) part is not done in Phoca Email, the link is set by Joomla! methods.

The only idea I have is to replace it in code:

$link = str_replace('https', 'http', $link); so you will force the http in every case. :idea:

Jan
If you find Phoca extensions useful, please support the project
Post Reply