Support

Admin Tools

#27396 Acymailing subscription from external domain

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by on Friday, 21 April 2017 17:17 CDT

pinguinone
Good morning,
I have this configuration:

  1. website: https://marketing.fresconaturale.com that has only Joomla + AdminTools + Akeeba backup + Acymailing
    website: https://seosite.fresconaturale.com that has all site (in the next few days will substitute https://www.fresconaturale.com) that has made in pure html+CSS+JS with NO backend at all


Well, I want to put a form in https://seosite.fresconaturale.com and when a user insert his e-mail autosubscribe to our newsletter system (https://marketing.fresconaturale.com) and, then, redirect. I follow this tutorial:

https://www.acyba.com/acymailing/106-acymailing-subscription-url.html

and I create this url:

http://marketing.fresconaturale.com/administrator/index.php?option=com_acymailing&ctrl=sub&task=optin&hiddenlists=1&user[email][email protected]&redirect=https://seosite.fresconaturale.com/email-ok/

I test it but admintools block me. I suppose that is normal because Acymailing try to access to administrator without the admin password...I don't want to insert in clear format the admin password, so how can achieve my purpose?

dlb
You are exactly right, that is not supposed to work.

I don't know anything about Acymailing, but is seems like a user should be able to subscribe from the front end. Is there a front end program you can call from your script to do the same thing? What message are you getting in the Security Exceptions Log?


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

pinguinone
Hi,
I have my IP and after this message:

Admin Query String
http://marketing.fresconaturale.com/administrator/index.php?option=com_acymailing&ctrl=sub&task=optin&hiddenlists=1&user[email][email protected]&redirect=https://seosite.fresconaturale.com/email-ok/

Well it's not possible to put an exception for a particular ip address of this rule? If so I can try to setup and because I use always the same server (that is the same!) from which the form will be send. It should be the same "feature" that should be available from Akeeba backup and backup start from cronjob, shoudn't it?
Regarding your question, I try to find information about program for do it and I find that: https://www.acyba.com/acymailing/64-acymailing-developer-documentation.html#api but this method "think" that the php script reside in the same server and in the same site (Joomla's one) and not in another one....can you help me in some way?

dlb
Akeeba Backup via CRON job doesn't start from the administrator folder. The front end backup is a normal web URL, the command line backup is started from the /cli folder.

We can set up an exemption for Acymailing, but that applies to everyone, it can't be limited to a specific IP address.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

pinguinone
Hi,
thanks for your answer, how can I set up an exemption for Acymailing?

Thanks


Gianluca

dlb
Gianluca,

Under Web Application Firewall, WAF Exceptions, click New. Then put "com_acymailing" in the Component field and "&redirect=https://seosite.fresconaturale.com/email-ok/" in the Query Parameter field. If it still gives you trouble, take out the Query Parameter field. We are trying to make the smallest hole possible in your site's armor.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!