Support

  1. domiart
  2. Bug Report
  3. Monday, November 05 2018, 02:54 AM
Hi,

I think something happend with Tag Plugin for AcyMailing after today upgrades (thats why I choose a "Bug Report" category).
About system: Joomla 3.9, EasyProfile 2.6.1, AcyMailing 5.10.4, newest Tag Plugin 1.2.5.
Problem: any EasyProfile's tag which has language constant, displays a constant NOT translation of it (and yes, all translations are in the appropriate files, both for backend and frontend area).
Example:
1. EasyProfile
- For registerd user (email: [email protected], choosed "a" option on registration).
- Title of field: Firm (id: 111)
- Field type: radio
a|EP_FIRM_BANK
b|EP_FIRM_ADV
c|EP_FIRM_LEGAL
2. Translation in "en-GB.override.ini":
EP_FIRM_BANK="Bank"
EP_FIRM_ADV="Consulting & advising firm"
EP_FIRM_LEGAL="Law firm"
3. AcyMailing newsletter to user:
Kind of firm: {easyprofilefield:111|[email protected]}
4. Result (after send or preview):
Kind of firm: EP_FIRM_BANK
- and it should be (it was before!):
Kind of firm: Bank

Everything works great in old enviroment (Joomla 3.7.4, EasyProfile 2.4.4, AcyMailing 5.8.0, Tag Plugin 1.2.2).
Of course I can use "trans" and "if" in AcyMailing but I have a lot of fields with many conditions and many radio and checkbox lists...

Any advice or maybe I have to write to Acyba too?

Greetings,
Dominik
Accepted Answer
admin Accepted Answer
Admin
Hi,
sorry but our plugin does not seems to do this. The only way is to contact Acyba team.

Alternatively you can fix it by changing code of the Acyba plugin:
- open file /plugins/acymailing/easyprofile/easyprofile.php
- at line 784 replace this:
$selected[$i] = $options[$oneOpt];
with this:
$selected[$i] = JText::_(trim($options[$oneOpt]));

- at line 798 replace this:
$this->tags[$oneTag] = $values[1];
with this:
$this->tags[$oneTag] = JText::_(trim($values[1]));

- at line 823 replace this:
$this->tags[$oneTag] = $values[1];
with this:
$this->tags[$oneTag] = JText::_(trim($values[1]));


NOTE: this code is not tested and not supported
  1. more than a month ago
  2. Bug Report
  3. # Permalink
admin Accepted Answer
Admin
Hi,
you need to contact Acyba team because this seems a bug of the Tag Plugin 1.2.5

If you need to solve it ASAP then you can use our "Acymailing Tag & Filter Plugin", you can find it in our download area.
Of course Acyba plugin is more powerful but for something like this our plugin is enough ;)
  1. more than a month ago
  2. Bug Report
  3. # 1
domiart Accepted Answer
Content Protected
  1. more than a month ago
  2. Bug Report
  3. # 2
domiart Accepted Answer
Thank you very much for the code. This helped me a lot! Everything works great :-)
Greetings,
Dominik
  1. more than a month ago
  2. Bug Report
  3. # 3
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Request Support

Support is currently Offline

Support Availability

Working days: Monday to Friday. The support staff is not available on weekends; in the most of cases tickets will not be answered during that time.

Reply time: Depending on the complexity of your support issue it's usually between a few minutes and 24 hours for paid members and about one week for free members. When we expect longer delays we will notify you.

Guidelines

Before you post: read the documentation and search the forums for an answer to your question.

When you post: include Site Details if you request a support (you can use the form below the reply in Site Details tab).

Auto Solved Question: If after a week the author of the post does not reply to a request by moderator, the question will be marked as resolved.

Language: only English

Search Users

Easy Profile® is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla is Free Software released under the GNU/GPL License.