Support

  1. jimbo
  2. Support
  3. Thursday, August 20 2015, 10:32 AM
Hi,

I've been playing with the skeleton plugin.. I've successfully sent mail by following a few of the other forums and have been trying to work out how to make a function appear on the profile page (with an alert when a new user registers). My PHP is a pretty average so it's usually a case of trial and error until something works.

Reading about hidden triggers I came up with this;


public function renderBeforeProfile($isNew){
if($isNew) {
$notification = '<div class="alert alert-info">';
$notification .= '<button type="button" class="close" data-dismiss="alert">×</button>';
$notification .= 'A new user has been created!';
$notification .= '</div>';
echo $notification;
}
}


It works but the message stays permanently. No doubt I'm missing a few arguments or something - any help would be much appreciated?

Also - I read somewhere in the forum that the Pro extension includes the ability to send private messages which would be very handy - is that correct - or just something that depends on Facebook (or whatever platform you log in with)?

Many thanks.
Accepted Answer
admin Accepted Answer
Admin
Hi,
if you want to add notification when user registered you can add simple code in your triggerProfileUpdate function (I suppose you already have if you have write plugin to send email)

$app=JFactory::getApplication();
$app->enqueueMessage( 'HERE YOUR MESSAGE' , 'info' );
  1. more than a month ago
  2. Support
  3. # Permalink
admin Accepted Answer
Admin
Also - I read somewhere in the forum that the Pro extension includes the ability to send private messages which would be very handy - is that correct - or just something that depends on Facebook (or whatever platform you log in with)?
You can have private message system only with our Social Network Plugin (here a demo: http://socialnetwork.easy-profile.com/). This plugin make Easy Profile as Social Network (but you can't add only private message system).

We have also developed a integration with Joomla built-in Contact component, so if you have a Joomla contact linked with some users then you will see a "e-mail" button. This button redirect to correct Joomla contact page. Joomla allow you to create a contact when user is registered, to do this you need to enable plugin "User - Contact Creator".

User - Contact Creator plugin create a contact when user is registered, this is already present in standard Joomla installations.
  1. more than a month ago
  2. Support
  3. # 1
jimbo Accepted Answer
Basic
Hi,

thank you for your reply.

if you want to add notification when user registered you can add simple code in your triggerProfileUpdate function (I suppose you already have if you have write plugin to send email)


I'm not really understanding how I can get the message to appear. I can understand (for example) how the email gets sent but do I need to call the function in the mod_jsnusers/default.php file for the message to appear on a user profile module (for example)?

Thanks.
  1. more than a month ago
  2. Support
  3. # 2
jimbo Accepted Answer
Basic
Content Protected
  1. more than a month ago
  2. Support
  3. # 3
jimbo Accepted Answer
Basic
Upgrade query..

Could you tell me if I have to pay an additional € 29.90 to upgrade from Basic to Pro or is there an option to pay the difference (€ 10)?

Thank you.
  1. more than a month ago
  2. Support
  3. # 4
admin Accepted Answer
Admin
Hi,
It's hard to visualize how it works from the demo but for the very reasonable price I will upgrade and check out what it does. Thanks.
we can send you a demo site with Pro version and Social Network plugin installed to see how to works

Could you tell me if I have to pay an additional € 29.90 to upgrade from Basic to Pro or is there an option to pay the difference (€ 10)?
You can upgrade your subscription (instruction below), the subscription will expire one year from upgrade date and unutilized amount of previous subscription will be discounted.

To upgrade subscription:
- go to Account->Subscription (top right)
- Choose your Basic subs and click on "Upgrade" button
- Choose Pro subscription
  1. more than a month ago
  2. Support
  3. # 5
jimbo Accepted Answer
Basic
Content Protected
  1. more than a month ago
  2. Support
  3. # 6
jimbo Accepted Answer
Basic
Content Protected
  1. more than a month ago
  2. Support
  3. # 7
admin Accepted Answer
Admin
Hi,

Q1 - You can install and use your version of Easy Profile for lifetime, only you can't download updates.

Q2 - We will send you a PM with demo details

Q3 - All Joomla template should have a space for messages (for example: when you enter your login credentials incorrect you find an error message)

With this you should your message after registration (not in profile page), If you want a message on first login of user you can create a Joomla page with message and set in Easy Profile options (components->easy profile->options) to redirect on this page on first login
  1. more than a month ago
  2. Support
  3. # 8
jimbo Accepted Answer
Basic
Thank you for your reply.

Regarding Q3;
I've set up Easy Profile like a company social network so users can compare their skills, etc.. I am trying to create a message that all users can see when a new user joins. I can probably work out a solution using a hidden field and writing to the database but I was hoping their was an easy solution using the system messages. My problem seems to be getting rid of the message once it's been seen. I maybe need to investigate how the data attribute works on the alert messages. I'll figure something out. Thank you for all your help.
  1. more than a month ago
  2. Support
  3. # 9
admin Accepted Answer
Admin
Hi,
I've set up Easy Profile like a company social network so users can compare their skills, etc.. I am trying to create a message that all users can see when a new user joins. I can probably work out a solution using a hidden field and writing to the database but I was hoping their was an easy solution using the system messages. My problem seems to be getting rid of the message once it's been seen. I maybe need to investigate how the data attribute works on the alert messages. I'll figure something out. Thank you for all your help.

This is complex, I recommend you to develop a module to set this message (before check in database latest users and registered date, this with or without Easy Profile) , alternative you may think to create a Users module with lastest registered user (maybe lastest 3 days).
  1. more than a month ago
  2. Support
  3. # 10
jimbo Accepted Answer
Basic
Yes, I need to think about it.The latest registered user might be adapted to suit. Thanks.
  1. more than a month ago
  2. Support
  3. # 11
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.

Request Support

Support is currently Online

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.