Jomsocial Issues

More
7 years 10 months ago #384 by ourblok
Jomsocial Issues was created by ourblok
I just want to say that this, at first seemed like a godsend. I was very happy to discover member homepage after years of needing this solution. I've implemented it in my site and all seemed to be going well, but it seems that I've lost some functionality, like the ability to modify the cover of profiles. I see you have ignored urls and ignored options. I'm not crystal clear on how this works. Are there strings that I can add to these textareas to restore the modify cover function, search function, avatar function, etc...

Please Log in or Create an account to join the conversation.

More
7 years 10 months ago #385 by joomladds
Replied by joomladds on topic Jomsocial Issues
First, would you be able to confirm that our extension is the problem? If you disable the "Member Home Page" plugin, do you still have the issue?
I can't guarantee this module is fully compatible with JomSocial.
The ignored URL's would just be the full url of the page you want to ignore the plugin to process on. Copy the URL of the page from your browser bar and paste into the parameter setting. You should be able to separate multiple with a comma.

I'd love to change the world... but they won't give me the source code!
The following user(s) said Thank You: ourblok

Please Log in or Create an account to join the conversation.

More
7 years 10 months ago #386 by ourblok
Replied by ourblok on topic Jomsocial Issues
It's definitely a result of the plugin. I disable it and everything goes back to normal. when I disable the plugin. getting to the pages isn't the problem. Engaging with the page, for example posting to a wall or uploading a photo becomes an issue. I

Please Log in or Create an account to join the conversation.

More
7 years 9 months ago #387 by ourblok
Replied by ourblok on topic Jomsocial Issues
Is there a way we can possibly make this a module that gets placed in the header of a specific page? And, instead of having all the checks about the menu, why not just see if the user is a guest, if not, redirect.

Please Log in or Create an account to join the conversation.

More
7 years 8 months ago #390 by joomladds
Replied by joomladds on topic Jomsocial Issues
My apologies for the late response, your issue obviously got overlooked.
I see that a better way might be possible, however, your solution doesn't really make sense because if you think about the way Joomla works (based on the index.php) page, there must be a way to determine what page you are on and if you actually need to be redirected.
If I understand your solution, based on if(guest), a redirect would happen on every page after you log in (right?)

So, what I propose would be a change to the plugin to determine what is set as the default page (meaning what was chosen in the menu manager as the site home page). Then if the user is logged in, see if they are directed to that default page (if so) redirect to member home page.

How does that sound?

I'd love to change the world... but they won't give me the source code!

Please Log in or Create an account to join the conversation.

More
7 years 8 months ago #391 by ourblok
Replied by ourblok on topic Jomsocial Issues
Thanks for the follow-up. I was able to make my own solution. But, It only works because I happen to have a template exclusive to guest running it. What's cool is that I am able to make it for group-centric redirects based on the assigned user groups.
<?php
$app = JFactory::getApplication();
$user = JFactory::getUser();
$groups = $user->get( 'groups' );
if ( $user->get( 'guest', 0 ) ) {
} 
else if ( in_array( 123, $groups ) )  {
	$app->redirect( JRoute::_( "index.php/my-groups" ) );
}
else if ( in_array( 456, $groups ) ) {
	$app->redirect( JRoute::_( "index.php/groups/viewgroup/co-colorado-springs" ) );
} else if ( in_array( 789, $groups ) ) {
	$app->redirect( JRoute::_( "index.php/groups/viewgroup/co-grand-junction" ) );
} else if ( in_array( 987, $groups ) ) {
	$app->redirect( JRoute::_( "index.php/groups/viewgroup/fl-downtown-ft-lauderdale" ) );
} else if ( in_array( 654, $groups ) ) {
	$app->redirect( JRoute::_( "index.php/groups/viewgroup/sc-capitol-columbia" ) );
} else if ( in_array( 321, $groups ) ) {
	$app->redirect( JRoute::_( "index.php/groups/viewgroup/tx-alvin" ) );
} else if ( in_array( 741, $groups ) ) {
	$app->redirect( JRoute::_( "index.php/groups/viewgroup/tx-bellaire" ) );
} else if ( in_array( 852, $groups ) ) {
	$app->redirect( JRoute::_( "index.php/groups/viewgroup/tx-the-connectors" ) );
} else if ( in_array( 963, $groups ) ) {
	$app->redirect( JRoute::_( "index.php/groups/viewgroup/tx-cypress" ) );
} else if ( in_array( 147, $groups ) ) {
	$app->redirect( JRoute::_( "index.php/groups/viewgroup/tx-energy-corridor" ) );
} else if ( in_array( 258, $groups ) ) {
	$app->redirect( JRoute::_( "index.php/groups/viewgroup/tx-galleria" ) );
} else if ( in_array( 369, $groups ) ) {
	$app->redirect( JRoute::_( "index.php/groups/viewgroup/tx-greater-heights" ) );
} else if ( in_array( 753, $groups ) ) {
	$app->redirect( JRoute::_( "index.php/groups/viewgroup/beehive" ) );
} else if ( in_array( 951, $groups ) ) {
	$app->redirect( JRoute::_( "index.php/groups/viewgroup/tx-katy" ) );
} else if ( in_array( 357, $groups ) ) {
	$app->redirect( JRoute::_( "index.php/groups/viewgroup/tx-la-conexion" ) );
} else if ( in_array( 159, $groups ) ) {
	$app->redirect( JRoute::_( "index.php/groups/viewgroup/tx-northwest-houston" ) );
} else if ( in_array( 751, $groups ) ) {
	$app->redirect( JRoute::_( "index.php/groups/viewgroup/tx-richmond" ) );
} else if ( in_array( 953, $groups ) ) {
	$app->redirect( JRoute::_( "index.php/groups/viewgroup/tx-sienna-plantation" ) );
} else if ( in_array( 157, $groups ) ) {
	$app->redirect( JRoute::_( "index.php/groups/viewgroup/tx-spring" ) );
} else if ( in_array( 359, $groups ) ) {
	$app->redirect( JRoute::_( "index.php/groups/viewgroup/tx-sugar-land" ) );
} else if ( in_array( 153, $groups ) ) {
	$app->redirect( JRoute::_( "index.php/groups/viewgroup/tx-the-woodlands-business-connection" ) );
} else if ( in_array( 759, $groups ) ) {
	$app->redirect( JRoute::_( "index.php/groups/viewgroup/tx-the-woodlands-strategic-partners" ) );
} else if ( in_array( 957, $groups ) ) {
	$app->redirect( JRoute::_( "index.php/groups/viewgroup/tx-the-woodlands-team-builders" ) );
} else if ( in_array( 351, $groups ) ) {
	$app->redirect( JRoute::_( "index.php/groups/viewgroup/tx-west-university" ) );
} else {
	$app->redirect( JRoute::_( "index.php/my-groups" ) );
}
?>

It's a special case, but maybe it can help someone in the same situation in the future.

Please Log in or Create an account to join the conversation.

Time to create page: 0.170 seconds