The forum is in read only mode.
Hi I want to create groups with the same name it is possible? what file I have to modify to remove the control?
Hi, please edit: /components/com_community/models/groups.php at line 1199, find this code
public function groupExist($name, $id=0) {
return false;
public function groupExist($name, $id=0) { return false; $db = $this->getDBO(); $strSQL = 'SELECT COUNT(*) FROM '.$db->quoteName('#__community_groups') . ' WHERE '.$db->quoteName('name').'=' . $db->Quote( $name ) . ' AND '.$db->quoteName('id').'!='. $db->Quote( $id ) ; $db->setQuery( $strSQL ); try { $result = $db->loadResult(); } catch (Exception $e) { JFactory::getApplication()->enqueueMessage($e->getMessage(), 'error'); } return $result; }
JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a full -fledged, social networking site
TRY NOW BUY NOW