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.

No info about banned user at his profile page

10 years 3 months ago
Licenses:
JomSocial Active

Hello.

Now in JomSocial 3.1 when I ban user (block in system) I can see the message

User account banned

but when I refresh page - there is no anymore info about this (I logged as superuser ans can't see any message).

I remember, in previous version was some message like "User account banned. Please contact administrator".


Sorry for my English
10 years 3 months ago
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

Hi Slepoy

This message has been removed per request of the community

You can easily bring it back by adding

<?php
$cuser = CFactory::getRequestUser();
if (($cuser->block) && (!COwnerHelper::isCommunityAdmin()) ){
	JFactory::getApplication()->enqueueMessage(JText::_('Message for non-admins.'), 'error');
	return;
} 
if (($cuser->block) && (COwnerHelper::isCommunityAdmin()) ){
	JFactory::getApplication()->enqueueMessage(JText::_('Message for Admin Users'), 'info');
}
?>
into ROOT/components/com_community/templates/default/profile.index.php
immediately after
<script type="text/javascript"> joms.filters.bind();</script>

Cheers


- Don't say feature not working. Instead, explain what you tried and what was the outcome.
- When you think you found the bug, try to replicate it on a fresh Joomla.
- When looking for support always provide temporary Super Administrative access to your site. We will ask for it anyway.
- Help yourself and read documentation which can give you answers to almost all questions you may have
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