Support

  1. peacetree
  2. Support
  3. Saturday, April 06 2019, 01:53 PM
  4.  Subscribe via email
Is there a way to let the users decide whether they would like to have their profile visible?

Thank you
Accepted Answer
admin Accepted Answer
Admin
Hi,
sorry for late reply, it was a weekend :D

This is not possible without Social Network plugin, anyway this is easily manageable with a very simple plugin:
- Create a Usergroup called "Private Group" (child of Public usergroup)
- Create a field called "Profile Type" of type Radio with 2 options
1|Public
2|Private
- Add condition to the new field like: If equal to custom value 2 then add to usergroup "Private Group" (Inverse: Yes)
- Download and install attached plugin
- Go to Extensions->Plugins and search for "Private Profile" plugin
- Enable the plugin and check options to set the private usergroup to "Private Group"
Attachments (1)
  1. more than a month ago
  2. Support
  3. # Permalink
peacetree Accepted Answer
Pro
Awsome thank you!

btw: do you offer custom developments?
  1. more than a month ago
  2. Support
  3. # 1
peacetree Accepted Answer
Pro
Is it possible to redirect to a specific user page?
At the moment its a 403 page not found.

This feature could be well used for premium members or to teaser site visitors to sign up with easy profile.

You could add an option to the plugin:

redirect to registration page (include error message above form)?
redirect to specified url or content item?
  1. more than a month ago
  2. Support
  3. # 2
admin Accepted Answer
Admin
Hi,
do you offer custom developments?
No sorry, but if it's a simple request then we always try to point our customers to the best solutions.

Is it possible to redirect to a specific user page?
This is easy:
- Open file at /plugins/jsn/privateprofile/privateprofile.php
- At line 30 replace this code:
JError::raiseError(403, JText::_('JERROR_ALERTNOAUTHOR'));
with this
$app = JFactory::getApplication();
if( $visitor->id > 0 ) { /* Registered User */
$app->enqueueMessage('Here the error message','error'); /* Message */
$app->redirect(JRoute::_('index.php?Itemid=123',false)); /* Redirect to menu item with id 123 */
}
else { /* Guest User */
$app->enqueueMessage('Here the error message','error'); /* Message */
$app->redirect(JRoute::_('index.php?option=com_users&view=registration',false)); /* Redirect to registration page */
}
  1. more than a month ago
  2. Support
  3. # 3
peacetree Accepted Answer
Pro
Best dude ever : )

Thank you!
  1. more than a month ago
  2. Support
  3. # 4
  • 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.