Hello everyone,
I found a bug (kind of) in the jomsocial_redirect plugin.
If you select "Show redirect logout message" and provide a text for said message in the "Redirect logout message" field in the plugin backend, it does not work as advertised.
Instead of the message being displayed in the system message box upon logout, no message is displayed instead.
I did some digging around already, and the issue seems to be related to recent changes in the plugin.
In new versions, JFactory::getApplication()->getSession()->destroy() is called upon logout.
According to
stackoverflow.com/questions/21980142/joomla-logout-with-message
, destroying the session will clear the message queue and the redirect message being set by
$mainframe->redirect($link, JText::_($this->params->get('redirect_logout_msg', 'YOU_HAVE_LOGGED_OUT')), 'message');
is not being displayed.
Please investigate this and either fix the behaviour, if possible, or remove the feature to prevent confusion.
Sincerely Yours,
Peter
HI, Peter.
Thank you for contacting us.
I'll pass this to our developer to investigate this further.
I'll be back to you at Monday.
HI, Peter.
Make safe copy of this file:
ROOT/plugins/system/jomsocialredirect/jomsocialredirect.php
Then remove line 118:
JFactory::getApplication()->getSession()->destroy();
HI, Peter.
Ticket is back to developer.
I'll update you ASAP.
Hi, Peter.
Please:
1. Edit your first post.
2. Click switch below main text field:
prntscr.com/fk3hdg
3. Provide your site details: backend URL, admin credentials and FTP:
prntscr.com/fk3hwz
4. Let us know that you provided credentials by posting in the same thread.
Sorry, but I can not do that.
As you might have read in our other support requests, we cannot provide you with access to our systems due to data protection legislation.
I guess that means you can not reproduce the error on your systems then?
HI, Peter.
I can on mine.. so let's wait...
Currently our developer is on holidays... so this may take a while.
But it's on our pending list and I'll share mine FTP with our developer.
Then update you with results.
HI.
This feature was deprecated in latest version as it can't be called in latest version of Joomla!.