Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Override to change wording in Event notification message affects link

12 years 1 month ago
  • Susan's Avatar
    Topic Author
  • Susan
  • Offline
  • Fresh Boarder
  • Posts: 69
  • Thank you received: 20
Licenses:
JomSocial Expired AdAgency Expired iSEO Expired Socialize Expired

Hi

We want to change the wording in the notification message for Events and Discussions. But we have found that if we do this then the site link in the message is no longer a hyperlink.

For instance we changed 'You can view the event here" to "You can RSVP and view the event here" by inserting the two words into the middle of the sentence using an override. The email notification arrives with the wording we want ""You can RSVP and view the event here" but the link isn't a hyperlink.

Please can you help? Thank you very much!

Attachments:
12 years 1 month ago
Licenses:

Hi, Susan.

It's on your live site or dev site?
I can't log in to your live site...


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
12 years 1 month ago
  • Susan's Avatar
    Topic Author
  • Susan
  • Offline
  • Fresh Boarder
  • Posts: 69
  • Thank you received: 20
Licenses:
JomSocial Expired AdAgency Expired iSEO Expired Socialize Expired

Hi, this is on our dev site that we have just tried this (latest version of Jomsocial), but we have also tried it on our live site and it is doing the same

Thanks!

12 years 1 month ago
Licenses:

Hi, Susan.

Ok, this is the constant for it (original):

COM_COMMUNITY_EMAIL_GROUP_EVENT="Hi {target},\n\n%1$s Group just added a new event.\n\nSubject: %2$s\n\nYou can view the event here:\n\n<a href=_QQQ_{url}_QQQ_>{url}</a>\n\nHave a nice day!"

You want to have it like this:

COM_COMMUNITY_EMAIL_GROUP_EVENT="Hi {target},\n\n%1$s Group just added a new event.\n\nSubject: %2$s\n\nYou can RSVP and view the event here:\n\n<a href=_QQQ_{url}_QQQ_>{url}</a>\n\nHave a nice day!"

I added it to your dev site. Could you try it?


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
12 years 1 month ago
  • Susan's Avatar
    Topic Author
  • Susan
  • Offline
  • Fresh Boarder
  • Posts: 69
  • Thank you received: 20
Licenses:
JomSocial Expired AdAgency Expired iSEO Expired Socialize Expired

Hi Michal,

You did exactly what we did, and the hyperlink disappeared just like when we did it! I don't want to post the screenshot with the link publicly, how can I send it to you if you need to see it?

Thanks!

12 years 1 month ago
Licenses:

Hi, Susan.

Upload it using this service: prntscr.com/ and PM me a link.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
12 years 1 month ago
  • Susan's Avatar
    Topic Author
  • Susan
  • Offline
  • Fresh Boarder
  • Posts: 69
  • Thank you received: 20
Licenses:
JomSocial Expired AdAgency Expired iSEO Expired Socialize Expired

I have sent you the link by private message.

Thank you very much

12 years 1 month ago
Licenses:

Hi, Susan.

Ahhh... ok, I know why it's happening... when we create an overide:

COM_COMMUNITY_EMAIL_GROUP_EVENT="Hi {target},\n\n%1$s Group just added a new event.\n\nSubject: %2$s\n\nYou can RSVP and view the event here:\n\n<a href=_QQQ_{url}_QQQ_>{url}</a>\n\nHave a nice day!"

In a href are added " so they are create TWICE once by Joomla! -> " and second by code -> _QQQ_.

Just remove _QQQ_, use this:

COM_COMMUNITY_EMAIL_GROUP_EVENT="Hi {target},\n\n%1$s Group just added a new event.\n\nSubject: %2$s\n\nYou can RSVP and view the event here:\n\n<a href="{url}">{url}</a>\n\nHave a nice day!"


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
The following user(s) said Thank You: Susan
12 years 1 month ago
  • Susan's Avatar
    Topic Author
  • Susan
  • Offline
  • Fresh Boarder
  • Posts: 69
  • Thank you received: 20
Licenses:
JomSocial Expired AdAgency Expired iSEO Expired Socialize Expired

Thank you for this. We have done this fix.

But we also need to edit the text of the email notifying Personal Message, and the email notifying Discussion. The fix you have given us isn't working for these - please can you let us know how to edit those messages too?

Thanks a lot

12 years 1 month ago
Licenses:

Hi, Susan.

Hmmm, they should work exact te same way...

COM_COMMUNITY_EMAIL_GROUP_DISCUSSION = Hi {target},\n\n{actor} has recently posted a new discussion in the group, %1$s. Below is the discussion snippet that has been created.\n\nSubject:\n%2$s\n\nMessage:\n%3$s\n\nTo post a reply, you may visit the site at <a href="{url}">{url}</a>\n\nHave a nice day!

COM_COMMUNITY_EMAIL_GROUP_DISCUSSION_REPLY = Hi {target},\n\n{actor} has recently posted a reply in the discussion, %1$s, to which you were participating.\n\nMessage:\n%2$s\n\nTo post a reply, you may visit the site at <a href="{url}">{url}</a>\n\nHave a nice day!


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
12 years 3 weeks ago
  • Susan's Avatar
    Topic Author
  • Susan
  • Offline
  • Fresh Boarder
  • Posts: 69
  • Thank you received: 20
Licenses:
JomSocial Expired AdAgency Expired iSEO Expired Socialize Expired

We are having the same problem with users replying directly to a private message instead of logging in so we need to change the email_inbox wording. So that we don't lose the link. Please see attachment.

Attachments:
12 years 3 weeks ago
Licenses:

Hi, Susan.

While doing language override use this:

COM_COMMUNITY_EMAIL_INBOX_SENT = Hi {target},\n\n{actor} just sent you a new message.\n\nTitle:\n%1$s\n\n%2$s\n\n\n\nYou can also read your new message on the site here:\n\n<a href="{url}">{url}</a>\n\n\nHave a nice day!

COM_COMMUNITY_EMAIL_INBOX_SENT_TEXT = Hi {target},\n\n{actor} just sent you a new message.\n\nTitle:\n%1$s\n\n%2$s\n\n\n\nYou can also read your new message on the site here:\n\n{url}\n\n\nHave a nice day! no change needed here


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
The following user(s) said Thank You: Susan
12 years 2 weeks ago
  • Susan's Avatar
    Topic Author
  • Susan
  • Offline
  • Fresh Boarder
  • Posts: 69
  • Thank you received: 20
Licenses:
JomSocial Expired AdAgency Expired iSEO Expired Socialize Expired

Hi Michal,

Please could provide me with the language override for the notification email for a Group Announcement, as we have had the same problem that it doesn't work when we try!!

Also, is there a way of adding the text from the Description field into the email notification (like in a discussion, where you see the whole message). It would seem sensible to me if this was a standard part of the notification......

Thanks a lot

12 years 2 weeks ago
Licenses:

Hi, Susan.

Please, paste language constant you want to override.

Adding new variable displayed in message will require core files to hack. Email content is loaded with constant that contains few placeholders for variables. Function related to message loads data to variables. If function doesn load certain variables... then it can't be displayed. Functions and variables are stored in helper files... and, yes, they are core files.

Recently you posted a lot of customization and feature request. We can't implement/customize them all so maybe good idea will be to hire professional developer www.jomsocial.com/jomsocial-developers ?


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW