Doesn't Work With JomSocial

More
8 years 8 months ago - 8 years 8 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: 8 years 8 months ago by joomladds.

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

More
4 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
4 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.112 seconds

Sign up to stay in touch!  * Required

Thanks for your interest in joining our mailing list. Please complete the information below and click Sign Up.

By submitting this form, you are granting: JoomLadds @ River Media, USA, https://www.joomladds.com/ permission to email you. You can revoke permission to mail to your email address at any time using the SafeUnsubscribe® link, found at the bottom of every email. We take your privacy seriously (to see for yourself, please read Constant Contact's Email Privacy Policy). Emails are serviced by Constant Contact.