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.

Contradicting messages displayed when di user tries to log in

10 years 6 months ago
  • Bunmi's Avatar
    Topic Author
  • Bunmi
  • Offline
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 0
Licenses:
JomSocial Active Socialize Active

ISSUE SUMMARY:If a user whose profile has been disabled or blocked, but the user tries to log in to our website, the user receives the 2 messages in the attached screenshot. The "Login Successful" message is incorrect, how can I remove that.


STEPS TO REPLICATE:
1 Create a profile and log in to the test.migrantnetwork.com site
2 Click on "My Arena", then select "Edit Profile" and then Click on "Delete Profile" to deactivate the profile
3 Log out and try to log in again with the same profile just deleted
4
5
RESULT User receives the 2 messages :"Warning Login denied!. Your account has been either blocked or you have not activated it yet" as well as "Message Login Successful".
EXPECTED RESULT The message : "Warning Login denied!. Your account has been either blocked or you have not activated it yet"
BROWSER Edge, IE, Chrome

Attachments:
10 years 6 months ago
Licenses:

HI, Bunmi.

I assign developer to this thread.


- 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
10 years 6 months ago
Licenses:

Hi,

its a bug. please wait for the fix.
the issue because that user has been blocked from joomla

Regards

The following user(s) said Thank You: Bunmi
10 years 6 months ago
Licenses:

Hi,

here the fix:
edit /plugins/system/jomsocialredirect/jomsocialredirect.php at line 87, change the code from

$mainframe->redirect($link, JText::_($this->params->get('redirect_login_msg', 'LOGIN_SUCCESSFUL')), 'message');
to
if(count($mainframe->getMessageQueue()) == 0){
  $mainframe->redirect($link, JText::_($this->params->get('redirect_login_msg', 'LOGIN_SUCCESSFUL')), 'message');
}

This fixes will be included at jomsocial next release (not 4.1.7 or 4.2 RC1)

Regards

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