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.

redirect plugin question

10 years 9 months ago
Licenses:
JomSocial Expired Socialize Expired

I was reading the post: "Change The Logout Path and followed directions on that post. Went to Jomsocial Plugins, enabled the Redirect plugin, went to Jomsocial dashboard/config and set my redirects. The Dasboard config DOES NOT work. You HAVE to set the settings under the plugin from plugin manager to make site redirect based on login or logout.

FYI: When I enabled the plugin but didn't set the settings there I got errors telling me "this component" is not found, or site redirecting in a way that will never resolve. If I hit back button, it has red box at top that says i have logged in successfully and a much larger box below with 20 failed login messages. Weirdness? Anyways......I did get it set it up so that my users go to the GROUPS page when they login and front page when they logout. However, I now have this red login msg I would rather not display. Can someone explain how to remove this box?


Is it indicative of what you spend your day doing if when you sleep you are dreaming of Components, Modules, Plugins, JomSocial, Joomla, and Users? Yep, think so!
Attachments:
10 years 9 months ago
Licenses:

Hi, Theresa.

Yes, that's correct. When you enable redirect plugin it overrides settings in JomSocial. This is expected as redirection plugin is an extension of JomSocial redirection feature (as JomSocial as component has only limited destinations - and with redirection plugin you can redirect to any menu item).

You can remove notice by editing this file:

ROOT/plugins/system/jomsocialredirect/jomsocialredirect.php

in line 85 change this:

$mainframe->redirect($link, JText::_($this->params->get('redirect_login_msg', 'LOGIN_SUCCESSFUL')), 'message');

to this:
$mainframe->redirect($link);

You can see that I removed nearly all code and left only $link inside (). You can do the same for the rest of notifications in line: 104.

You must be aware that plugins can't use template override feature and your changes will be overwritten during next upgrade... so do a safe copy of customized files so you could restore your changes.


- 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
The following user(s) said Thank You: Theresa
10 years 9 months ago
Licenses:
JomSocial Expired Socialize Expired

Thanks Mical! That worked perfectly!


Is it indicative of what you spend your day doing if when you sleep you are dreaming of Components, Modules, Plugins, JomSocial, Joomla, and Users? Yep, think so!
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