Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • questbg Friend
    #130500

    Hi Everyone

    I want to get rid of ‘Sign Up’ in the header area, and just leave ‘Log In’.

    Does anyone know where I can find this?

    Thanks
    Chris

    Menalto Friend
    #258119

    IF you go to /templates/ja_teline_ii/html/mod_login/default.php and find line 68 and delete everything from line 68 to 173.

    <li>
    <a href="<?php echo JRoute::_("index.php?option=com_user&task=register");?>" onclick="return hs.htmlExpand(this, {contentId: 'id_highslide_signup_1',outlineType:'rounded-white',width:330,height:360,outlineWhileAnimating:true} )" >
    <?php echo JText::_('REGISTER');?>
    </a>
    <!--LOFIN FORM content-->
    <script type="text/javascript" src="<?php echo JURI::base();?>media/system/js/validate.js"></script>
    <div class="highslide-html-content" id="id_highslide_signup_1">
    <div class="highslide-header">
    <ul>
    <li class="highslide-move">
    <a href="#" onclick="return false">Move</a>
    </li>
    <li class="highslide-close">
    <a href="#" onclick="return hs.close(this)">Close</a>
    </li>
    </ul>
    </div>
    <div class="highslide-body">
    <script type="text/javascript">
    <!--
    window.addEvent('load',function(){
    document.formvalidator.setHandler('passverify', function (value) { return ($('password').value == value); } );
    });
    // -->
    </script>

    <?php
    if(isset($this->message)){
    $this->display('message');
    }
    ?>

    <form action="<?php echo JRoute::_( 'index.php?option=com_user' ); ?>" method="post" id="josForm" name="josForm" class="form-validate">

    <div class="componentheading">
    <?php echo JText::_( 'Registration' ); ?>
    </div>

    <table cellpadding="0" cellspacing="0" border="0" width="100%" class="contentpane">
    <tr>
    <td width="30%" height="40">
    <label id="namemsg" for="name">
    <?php echo JText::_( 'Name' ); ?>:
    </label>
    </td>
    <td>
    <input type="text" name="name" id="name" size="40" value="" class="inputbox required" maxlength="50" /> *
    </td>
    </tr>
    <tr>
    <td height="40">
    <label id="usernamemsg" for="username">
    <?php echo JText::_( 'Username' ); ?>:
    </label>
    </td>
    <td>
    <input type="text" id="username" name="username" size="40" value="" class="inputbox required validate-username" maxlength="25" /> *
    </td>
    </tr>
    <tr>
    <td height="40">
    <label id="emailmsg" for="email">
    <?php echo JText::_( 'Email' ); ?>:
    </label>
    </td>
    <td>
    <input type="text" id="email" name="email" size="40" value="" class="inputbox required validate-email" maxlength="100" /> *
    </td>
    </tr>
    <tr>
    <td height="40">
    <label id="pwmsg" for="password">
    <?php echo JText::_( 'Password' ); ?>:
    </label>
    </td>
    <td>
    <input class="inputbox required validate-password" type="password" id="password" name="password" size="40" value="" /> *
    </td>
    </tr>
    <tr>
    <td height="40">
    <label id="pw2msg" for="password2">
    <?php echo JText::_( 'Verify Password' ); ?>:
    </label>
    </td>
    <td>
    <input class="inputbox required validate-passverify" type="password" id="password2" name="password2" size="40" value="" /> *
    </td>
    </tr>
    <tr>
    <td colspan="2" height="40">
    <?php echo JText::_( 'REGISTER_REQUIRED' ); ?>
    </td>
    </tr>
    </table>
    <button class="button validate" type="submit"><?php echo JText::_('Register'); ?></button>
    <input type="hidden" name="task" value="register_save" />
    <input type="hidden" name="id" value="0" />
    <input type="hidden" name="gid" value="0" />
    <?php echo JHTML::_( 'form.token' ); ?>
    </form>

    </div>
    </div>
    </li>
    <!--LOFIN FORM content-->

    ryanlama Friend
    #258120

    go to
    line 69 through 71 comment that out that will do the trick

    ryanlama Friend
    #258121

    Now how would you change the text to say “Register” instead of create an account? Where would this be hiding?

    questbg Friend
    #258122

    <em>@Menalto 64505 wrote:</em><blockquote>IF you go to /templates/ja_teline_ii/html/mod_login/default.php and find line 68 and delete everything from line 68 to 173.
    </blockquote>

    Brilliant! Thanks Menalto, that worked fine! 😎

    <em>@ryanlama 64507 wrote:</em><blockquote>Now how would you change the text to say “Register” instead of create an account? Where would this be hiding?</blockquote>

    Sorry, didn’t see any sign of ‘Sign Up’ in the code? Must be lurking somewhere else! Hopefully, Menalto will be back with the answer!

    Menalto Friend
    #258123

    Original:

    Commented out:

    Deleted:

    Link to registration would be: http://www.yoursite.com/index.php?option=com_user&task=register

    Menalto Friend
    #258124

    <em>@ryanlama 64507 wrote:</em><blockquote>Now how would you change the text to say “Register” instead of create an account? Where would this be hiding?</blockquote>
    Where do you see this text?

    ryanlama Friend
    #258125

    instead of Sign Up mine says “Create an account”

    questbg Friend
    #258126

    <em>@ryanlama 64511 wrote:</em><blockquote>instead of Sign Up mine says “Create an account”</blockquote>

    Quite possibly mine did too … I was working in French at the time! Good job Menalto knew what I was talking about
    😀

    ryanlama Friend
    #258127

    while we are all here, i’d like your inputs on what gallery system to select.
    I need users to be able to submit images for a contest and vote on them

    I tried installing RS2Gallery but i just can’t it times out i have bumped up the run time to 300 sec
    still no go

    every other component and module works fine, oh besided event list

    I’d like to manually install these but don’t know how to go about it.

    Menalto Friend
    #258129

    <em>@ryanlama 64511 wrote:</em><blockquote>instead of Sign Up mine says “Create an account”</blockquote>
    Open the file en-GB.mod_login.ini in the language folder of Joomla and find REGISTER

    REGISTER=Sign up

    There you can change it to what you want.

    cgc0202 Friend
    #258235

    <em>@questbg 64499 wrote:</em><blockquote>Hi Everyone

    I want to get rid of ‘Sign Up’ in the header area, and just leave ‘Log In’.

    Does anyone know where I can find this?

    Thanks
    Chris</blockquote>

    Just curious Chris,

    You will allow people to login without registration? or, you just want to integrate the two functions?

    I get many spam registration with my various photogalleries, and some try to use emails that are not even their own, most likely.

    The default registration-login of Joomla is not very secure. Even the Joomla core team recognize this. There is a white paper on it already about the steps that needed to be done — but they are just talking about it, and it may be one of the features to be included in Joomla 1.6, which may be years aways.

    The problem in any interactive site is the security breach if someone can get in. Last year, Joomla was attacked several times, where the site was out for days. They have these teams of volunteers though who can do the repair remotely(???) — but small site owners like us do not have that luxury.

    It is not foolproof, but the Registration process is one way of screening undesirable elements.

    Cornelio

    questbg Friend
    #258256

    Hi Cornelio

    <em>@cgc0202 64648 wrote:</em><blockquote>Just curious Chris,
    You will allow people to login without registration? </blockquote>

    Nope, only registered members can log-in. However, we will have four years worth of articles on our site which we have reproduced from our printed magazine. We have had to pay a great deal of money for the research or creation of these articles (we pay lawyers, accountants, banks, etc., to write articles, we also pay photographers, journalists, etc.).

    So, the money we have invested over the years is immense. We are now, also paying ‘registered’ translators to ensure that our ‘non-english’ content on the site is 100% correct.

    Therefore, we will be charging a small membership fee (we have a seperate ‘members’ section with discounts, competitions, downloads, legal advice, language lessons, etc.). Some content will be available to non-registered, but most content will only be available to registered members. They pay a few dollars via PayPal for membership, I then send them a username and password to access the member area.

    That’s the theory anyway! 🙂

    It’s a bit like me signing up here for a year to get ‘support’ for my template, if you know what I mean! 😉

    Cheers
    Chris

    cgc0202 Friend
    #258300

    <em>@questbg 64674 wrote:</em><blockquote>Hi Cornelio

    Nope, only registered members can log-in. However, we will have four years worth of articles on our site which we have reproduced from our printed magazine. We have had to pay a great deal of money for the research or creation of these articles (we pay lawyers, accountants, banks, etc., to write articles, we also pay photographers, journalists, etc.).

    So, the money we have invested over the years is immense. We are now, also paying ‘registered’ translators to ensure that our ‘non-english’ content on the site is 100% correct.

    Therefore, we will be charging a small membership fee (we have a seperate ‘members’ section with discounts, competitions, downloads, legal advice, language lessons, etc.). Some content will be available to non-registered, but most content will only be available to registered members. They pay a few dollars via PayPal for membership, I then send them a username and password to access the member area.

    That’s the theory anyway! 🙂

    It’s a bit like me signing up here for a year to get ‘support’ for my template, if you know what I mean! 😉

    Cheers
    Chris</blockquote>

    Chris,

    Yeah, I understand the cost. I did not expect commercial magazines to be free unless it relies heavily on advertising.

    Do you use Paypal now? I heard the service charge is very high. Payment over the phone? That is labor intensive.

    I have not tried it yet but do you have a secure https://questbg.com already?

    Does that mean you will do the “registration” yourself? Sending username and password via email is not very secure, and costly via snail mail. More important, some people may forget the username and password. If they will call you by phone to request password change, it is a very slow process.

    Which reminds me, the Joomla login system is not very secure. You may want to consider other alternatives.

    Cornelio

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

This topic contains 14 replies, has 4 voices, and was last updated by  cgc0202 16 years, 4 months ago.

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