Doesn't Work With JomSocial

More
11 years 7 months ago - 11 years 7 months ago #161 by joomladds
Replied by joomladds on topic Doesn't Work With JomSocial
We have added custom fields to the Tech Support Ticket and a new Product to be used in situations like this. Please enter appropriate information.

I'd love to change the world... but they won't give me the source code!
Last edit: 11 years 7 months ago by joomladds.

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

More
7 years 2 months ago #388 by ourblok
Replied by ourblok on topic Doesn't Work With JomSocial
Dom2012, did you ever find a solution for this?

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

More
7 years 2 months ago #389 by ourblok
Replied by ourblok on topic Doesn't Work With JomSocial
Here was my solution. A bit of a hack. It works because I'm using two different templates. One is for the members, and another is for the guests. The one for the guests utilizes the t3 framework. For the guests template, I found the head block in the template and I pasted the following under defined('_JEXEC') or die;
<?php
		$app			= JFactory::getApplication();
		$user 			= JFactory::getUser();
		if(!$user->get('guest', 0)){
			$app->redirect(JRoute::_("index.php/my-groups"));
		}
?>

So far it seems to work pretty well.

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

Time to create page: 0.170 seconds