Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • swedeboy Friend
    #154464

    Step 1: Download this module http://extensions.joomla.org/extensions/edition/custom-code-in-modules/1758?qh=YTo3OntpOjA7czozOiJwaHAiO2k6MTtzOjQ6ImNvZGUiO2k6MjtzOjY6ImNvZGluZyI7aTozO3M6NToiY29kZXMiO2k6NDtzOjU6ImNvZGVkIjtpOjU7czo3OiJjb2RlaW5nIjtpOjY7czo4OiJwaHAgY29kZSI7fQ%3D%3D

    Step 2: Add this code to the module
    [PHP]<div id=”community-wrap”>
    <?php
    /**
    * @package JomSocial
    * @subpackage Template
    * @copyright (C) 2008 by Slashes & Dots Sdn Bhd – All rights reserved!
    * @license GNU/GPL, see LICENSE.php
    *
    */
    defined(‘_JEXEC’) or die();
    ?>
    <div class=”greybox”>
    <div>
    <div>
    <table cellpadding=”0″ cellspacing=”0″ border=”0″ width=”100%”>
    <tr>
    <td valign=”top”>
    <div class=”introduction”>
    <h1><?php echo JText::_(‘CC GET CONNECTED TITLE’); ?></h1>
    <ul id=”featurelist”>
    <li class=”icon1 first-item”><span><?php echo JText::_(‘CC CONNECT AND EXPAND’); ?></span></li>
    <li class=”icon2″><span><?php echo JText::_(‘CC VEW PROFILES AND ADD FRIEND’); ?></span></li>
    <li class=”icon3″><span><?php echo JText::_(‘CC SHARE PHOTOS AND VIDEOS’); ?></span></li>
    <li class=”icon4 last-item”><span><?php echo JText::_(‘CC CREATE OWN GROUP OR JOIN’); ?></span></li>
    </ul>
    <div class=”joinbutton”>
    <a id=”joinButton” href=”<?php echo CRoute::_( ‘index.php?option=com_community&view=register’ , false ); ?>” title=”<?php echo JText::_(‘CC JOIN US NOW’); ?>”>
    <?php echo JText::_(‘CC JOIN US NOW’); ?>
    </a>
    </div>
    </div>
    </td>
    <td width=”200″>
    <div class=”loginform”>
    <form action=”<?php echo CRoute::getURI();?>” method=”post” name=”login” id=”form-login” >
    <h2><?php echo JText::_(‘CC MEMBER LOGIN’); ?></h2>
    <label>
    <?php echo JText::_(‘CC USERNAME’); ?>

    <input type=”text” class=”inputbox frontlogin” name=”username” id=”username” />
    </label>

    <label>
    <?php echo JText::_(‘CC PASSWORD’); ?>

    <input type=”password” class=”inputbox frontlogin” name=”passwd” id=”password” />
    </label>

    <?php if(JPluginHelper::isEnabled(‘system’, ‘remember’)) : ?>
    <label for=”remember”>
    <input type=”checkbox” alt=”<?php echo JText::_(‘CC REMEMBER MY DETAILS’); ?>” value=”yes” id=”remember” name=”remember”/>
    <?php echo JText::_(‘CC REMEMBER MY DETAILS’); ?>
    </label>
    <?php endif; ?>

    <div style=”text-align: center; padding: 10px 0 5px;”>
    <input type=”submit” value=”<?php echo JText::_(‘CC BUTTON LOGIN’);?>” name=”submit” id=”submit” class=”button” />
    <input type=”hidden” name=”option” value=”com_user” />
    <input type=”hidden” name=”task” value=”login” />
    <input type=”hidden” name=”return” value=”<?php echo $return; ?>” />
    <?php echo JHTML::_( ‘form.token’ ); ?>
    </div>

    <?php echo $fbHtml;?>

    <span>
    <?php echo JText::_(‘CC FORGOT YOUR’); ?> <a href=”<?php echo CRoute::_( ‘index.php?option=com_user&view=reset’ ); ?>” class=”login-forgot-password”><span><?php echo JText::_(‘CC PASSWORD’); ?></span></a> /
    <a href=”<?php echo CRoute::_( ‘index.php?option=com_user&view=remind’ ); ?>” class=”login-forgot-username”><span><?php echo JText::_(‘CC USERNAME’); ?></span></a>?
    </span>

    <a href=”<?php echo CRoute::_( ‘index.php?option=com_community&view=register&task=activation’ ); ?>” class=”login-forgot-username”>
    <span><?php echo JText::_(‘CC RESEND ACTIVATION CODE’); ?></span>
    </a>
    </form>

    </div>
    </td>
    </tr>
    </table>
    </div>
    </div>
    </div>
    </div>
    [/PHP]

    Step 3: Add this to en-GB.ini

    CC GET CONNECTED TITLE=Get Connected!
    CC USERNAME=Username
    CC PASSWORD=Password
    CC FORGOT YOUR=Forgot your
    CC CONNECT AND EXPAND=Connect and expand your network
    CC VEW PROFILES AND ADD FRIEND=View profiles and add new friends
    CC SHARE PHOTOS AND VIDEOS=Share your photos and videos
    CC CREATE OWN GROUP OR JOIN=Create your own group or join others
    CC JOIN US NOW=JOIN US NOW, IT'S FREE!
    CC MEMBER LOGIN=Members Login
    CC BUTTON LOGIN=Login
    CC REMEMBER MY DETAILS=Remember my details
    CC LOGIN=Login
    CC FORGOT PASSWORD=Forgot your password?
    CC FORGOT USERNAME=Forgot your username?
    CC RESEND ACTIVATION CODE=Resend activation code?

    Step 4: Choose a module position
    I’m using position user1

    Done!

    Hope you found this guide useful 🙂

    You can see the module on my site here: http://www.queermagazineonline.com/index.php?lang=en

    Anders


    1. Get_Connected
    canadareic Friend
    #423726

    Anders Thank you for good tip. After following steps i got default jomsocial login info ( not ja_social) We use only ja_social for jomsocial. IS there a way to get ja_social Get Connected box?

    Thank you

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 2 voices, and was last updated by  canadareic 13 years ago.

We moved to new unified forum. Please post all new support queries in our New Forum