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.

Put banner ads in notification messages

7 years 11 months 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

ISSUE SUMMARY: Hi, I would like to put banner ads in my notification emails. I previously asked how to do this, but didn't implement it. Now I can't access the support ticket (it was a very long time ago so might be out of date!). It was www.jomsocial.com/forum/design-and-custo...otification-messages

Please can you give me the exact code to insert the banners and the following wording into Discussion notifications and Event notifications? We have had trouble when we have edited notification messages before using language overrides!

For email notification message we want less words as well, as when viewed on a phonescreen there are too many extra words! The Text we want is below:

Discussion email notification
INSERT BANNER IMAGE
User X has started a discussion in {Group name}
Subject:
Message:

To reply (emailed only to others posting replies), visit {URL}
INSERT BANNER IMAGE


please REMOVE 'Hi Username' and any other words apart from those above!


Event email notification

INSERT BANNER IMAGE
User X has invited you to join an event 'Event Title'.
Event Description: Coffee at Summertown Wine Cafe,

For event details & RSVPs visit {URL}
INSERT BANNER IMAGE

Thanks a lot

7 years 11 months ago
Licenses:

Hi, Susan.

I remember your request. So First I copy what I wrote:

Hi, Susan.

Each email have own template:

ROOT/components/com_community/templates/default/email.album.like.html.php
ROOT/components/com_community/templates/default/email.album.wall.html.php
ROOT/components/com_community/templates/default/email.album.wallreply.html.php
ROOT/components/com_community/templates/default/email.events.invitation.approved.html.php
ROOT/components/com_community/templates/default/email.events.invite.html.php
ROOT/components/com_community/templates/default/email.events.joinrequest.html.php
ROOT/components/com_community/templates/default/email.events.notifyadmin.html.php
ROOT/components/com_community/templates/default/email.events.notifycreator.html.php
ROOT/components/com_community/templates/default/email.events.sendmail.html.php
ROOT/components/com_community/templates/default/email.events.wallcomment.html.php
ROOT/components/com_community/templates/default/email.friends.approve.html.php
ROOT/components/com_community/templates/default/email.friends.invite.html.php
ROOT/components/com_community/templates/default/email.friends.request.html.php
ROOT/components/com_community/templates/default/email.groups.album.html.php
ROOT/components/com_community/templates/default/email.groups.bulletin.html.php
ROOT/components/com_community/templates/default/email.groups.discussion.html.php
ROOT/components/com_community/templates/default/email.groups.discussion.newfile.html.php
ROOT/components/com_community/templates/default/email.groups.discussion.reply.html.php
ROOT/components/com_community/templates/default/email.groups.event.html.php
ROOT/components/com_community/templates/default/email.groups.invite.html.php
ROOT/components/com_community/templates/default/email.groups.memberapproved.html.php
ROOT/components/com_community/templates/default/email.groups.memberjoin.html.php
ROOT/components/com_community/templates/default/email.groups.notifyadmin.html.php
ROOT/components/com_community/templates/default/email.groups.notifycreator.html.php
ROOT/components/com_community/templates/default/email.groups.post.html.php
ROOT/components/com_community/templates/default/email.groups.sendmail.html.php
ROOT/components/com_community/templates/default/email.groups.video.html.php
ROOT/components/com_community/templates/default/email.groups.wallcomment.html.php
ROOT/components/com_community/templates/default/email.groups.wall.html.php
ROOT/components/com_community/templates/default/email.photos.like.html.php
ROOT/components/com_community/templates/default/email.photos.tagging.html.php
ROOT/components/com_community/templates/default/email.photos.wall.html.php
ROOT/components/com_community/templates/default/email.photos.wallreply.html.php
ROOT/components/com_community/templates/default/email.profile.activitycomment.html.php
ROOT/components/com_community/templates/default/email.profile.activityreply.html.php
ROOT/components/com_community/templates/default/email.profile.like.html.php
ROOT/components/com_community/templates/default/email.profile.stream.like.html.php
ROOT/components/com_community/templates/default/email.profile.wallcomment.html.php
ROOT/components/com_community/templates/default/email.profile.wall.html.php
ROOT/components/com_community/templates/default/email.user.deleted.html.php
ROOT/components/com_community/templates/default/email.videos.convert.success.html.php
ROOT/components/com_community/templates/default/email.videos.like.html.php
ROOT/components/com_community/templates/default/email.videos.tagging.html.php
ROOT/components/com_community/templates/default/email.videos.wall.html.php
ROOT/components/com_community/templates/default/email.videos.wallreply.html.php
ROOT/components/com_community/templates/default/email.wall.post.html.php

But email template is nested in parent template:

ROOT/components/com_community/templates/default/email.html.php

So do a override of the parent template and add your advertisement and text there.


We can't give you banner code as... it depends what banner you want to add. I guess that iframes won't be accepted by some email clients. Also js scripts... so no Google Ads.

It should be rather just an image, then just <img src="absolute/path/to/image" alt="image name">

You need to decide if you want it in specific emails - then edit certain email template. Or you want to add the same banner to all emails - then edit email.html.php

You may change any text using language override: documentation.jomsocial.com/wiki/Changin...gle_Sentence_or_Word
but you know that... so I'm not sure what you request 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
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