0
Welcome Guest! Login
0 items Join Now

ROCKETTHEME IS CLOSING ON JUNE 30, 2025. As a thank-you to our community, enjoy 50% off all themes with the promo code THANKYOU before we shut down. Read our Farewell Blog Post for more details.

Hiding User Registration

    • Roger's Avatar
    • Roger
    • Newbie
    • Posts: 9
    • Thanks: 0
    • Network Engineer / Joomla Developer

    Hiding User Registration

    Posted 13 years 5 months ago
    • Maelstrom - 1.5.2
      Gantry - 3.1.18

      I want to hide 'Register' from the login page on my site. I DO NOT want to disable user registration from the Global Config.

      I have a list of 50ish people I want to send a hidden link to so they can register on their own. I do NOT want the general public to be able to register, only the 50 or so people I will be emailing.

      I have yet to find a clear solution to this, ANY help would be GREATLY appreciated.


      -Roger
    • -Strega
    • Adamck's Avatar
    • Adamck
    • Elite Rocketeer
    • Posts: 546
    • Thanks: 2
    • Web Developer, IT Assistant, Graphics design, App Developer

    Re: Hiding User Registration

    Posted 13 years 5 months ago
    • FTP to your site and goto
      modules > mod_login > tmpl >

      EDIT
      Default.php

      Remove or comment out.
       
              <li>
                  <a href="<?php echo JRoute::_('index.php?option=com_users&view=registration'); ?>">
                      <?php echo JText::_('MOD_LOGIN_REGISTER'); ?></a>
              </li>
       

      and it will take the registration URL out of the login box.

      Email the people you want to register a link
       
      http://www.*************.com/index.php?option=com_users&view=registration
      You might want to make sure that admin verifies the registration to activate them so you can keep an eye on the lin being used by only the people you want it used by...

      Adam.
    • Kiss my RSS
    • Steve B's Avatar
    • Steve B
    • Rocketeer
    • Posts: 58
    • Thanks: 0

    Re: Hiding User Registration

    Posted 13 years 5 months ago
    • I commented out the line referenced above in modules > mod_login > tmpl > default.php but I still see the link to Create an Account in my Member Login module: http://dev.hpcrew.com . Cleared cache and tried again but no change. Any idea why?
  • Re: Hiding User Registration

    Posted 13 years 5 months ago
    • try going to:

      joomla root > templates > YOUR_RT_TEMPLATE (e.g. rt_maelstrom_j15) > html > mod_login > tmpl > default.php

      and edit that file :) sometimes rockettheme create custom files so that the modules are compatible with their templates. good luck
    • hunky dory!
    • Roger's Avatar
    • Roger
    • Newbie
    • Posts: 9
    • Thanks: 0
    • Network Engineer / Joomla Developer

    Re: Hiding User Registration

    Posted 13 years 5 months ago
    • I finally figured out my issue based on Adamck's comments above. The dir structure is incorrect for the Maelstrom template which I am using. I am assuming that his directory location works for a non Rockettheme Joomla install.

      He gave me this dir location:
      modules > mod_login > tmpl >

      I made the edits in that location, and saw no change. I knew I was on the right track so I went hunting around.

      For the Maelstrom template, (and any other template) should be:
      public_html/templates/rt_maelstrom_j15/html/com_user/login/default_login.php

      Make the edits there and you will see the change for your specific template.

      That is my observation based on my work the last few days and may or may not be correct. I only have about a year's worth of experience with Joomla/Rockettheme.

      I hope this helps someone else as I about tore my hair out for a few days trying to figure this out :)

      Adamck, thanks for pointing me in the right direction, I appreciate the support.


      *** EDIT ***
      abercrombi beat me to it by 1 minute, thank you as well for your support.
    • -Strega
    • Steve B's Avatar
    • Steve B
    • Rocketeer
    • Posts: 58
    • Thanks: 0

    Re: Hiding User Registration

    Posted 13 years 5 months ago
    • 8) Thanks for the reminder! I had forgotten about html dir under the templates specific dir.
    • Roger's Avatar
    • Roger
    • Newbie
    • Posts: 9
    • Thanks: 0
    • Network Engineer / Joomla Developer

    Re: Hiding User Registration

    Posted 13 years 5 months ago
    • On a side note, I'm also using an extension called JRPassPhrase:
      extensions.joomla.org/extensions/access-...ity/site-access/6660

      That extension allowed me to put a password on registration.

      I created a menu item for "Default User Layout". (User > Default User Layout)

      I have the JRPassPhrase module in SidebarA just to the right, and it has a box to input the passphrase they got in the email.

      See here: elmcreekairpark.com/account/register

      This completely solved my issue from above.

      Thank you all again for your help/support.
    • -Strega

Time to create page: 0.095 seconds