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.

grid user list

12 years 3 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

Hi alfredo,

Still.. I cant access your website, I think this issue caused by your main domain which my country (Indonesia) already blocked for accessing it, would you mind to verify it please?

also please dont forget to provide me FTP access, it will make the investigation going easier.

thank you

12 years 3 months ago
  • alfredo's Avatar
    Topic Author
  • alfredo
  • Offline
  • Junior Boarder
  • Posts: 278
  • Thank you received: 4
Licenses:
JomSocial Expired Socialize Expired

my hosting has unblocked the indonesian ip, but please hurry up :) i have to communicate when i solved the issue for block again...

12 years 3 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

Hi Alfredo,

I see... you need add this code on your hacked file :

$lang = JFactory::getLanguage();
		$locale = $lang->getLocale();
		$countryCode = $locale[2];
		$countryLangExtension = "";

		$lang->load( 'com_community.country');

thank you

12 years 3 months ago
  • alfredo's Avatar
    Topic Author
  • alfredo
  • Offline
  • Junior Boarder
  • Posts: 278
  • Thank you received: 4
Licenses:
JomSocial Expired Socialize Expired

thanks!!! finally i solved! :D

maybe you can tell me what docs should i read for this kind of this issue? without you i would never get that solution..

12 years 3 months ago
  • alfredo's Avatar
    Topic Author
  • alfredo
  • Offline
  • Junior Boarder
  • Posts: 278
  • Thank you received: 4
Licenses:
JomSocial Expired Socialize Expired

sorry to reopen i'm tryng to do the same with community member module: basically i want to show the country in user tooltip.
this is my frontpage.latestmember.list.php

<?php
/**
* @copyright (C) 2013 iJoomla, Inc. - All rights reserved.
* @license GNU General Public License, version 2 (http://www.gnu.org/licenses/gpl-2.0.html)
* @author iJoomla.com <[email protected]>
* @url https://www.jomsocial.com/license-agreement
* The PHP code portions are distributed under the GPL license. If not otherwise stated, all images, manuals, cascading style sheets, and included JavaScript *are NOT GPL, and are released under the IJOOMLA Proprietary Use License v1.0
* More info at https://www.jomsocial.com/license-agreement
*/
defined('_JEXEC') or die();
$lang = JFactory::getLanguage();
		$locale = $lang->getLocale();
		$countryCode = $locale[2];
		$countryLangExtension = "";
?>
<ul class="cThumbsList cResetList clearfix">
	<?php
	foreach($members as $member) 
	{
	
	?>
	<li>
		<a href="<?php echo CRoute::_('index.php?option=com_community&view=profile&userid='.$member->id );?>">
			<img class="cAvatar jomNameTips" src="<?php echo $member->getAvatar(); ?>" title="<?php echo CTooltip::cAvatarTooltip($member).'';
			if(($career=JText::_($member->getInfo('FIELD_CAREER')))!='') echo '<br>'.$career;
			if(($country=JText::_($member->getInfo('FIELD_COUNTRY')))!='') echo '<br>'.$country; ?>" alt="<?php echo CStringHelper::escape( $member->getDisplayName() ) ?>"/>
		</a>
	</li>
	<?php
	}
	?>
</ul>

12 years 3 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

Hi Alfredo,

Hard for us inspect your issue, if you still keep block your site for my country..

ok, please you add this code for fixing the country field :

$lang = JFactory::getLanguage();
		$locale = $lang->getLocale();
		$countryCode = $locale[2];
		
		$lang->load( 'com_community.country');

i hope it will help now.

thank you

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