Twitter
F.A.Q. - Registration


Category index

Commerce (3) Resources (21) Membership (8) Touch (3)
Registration (10) Invoice (5) Message (0) Defender (4)
Permission (7) Mass Mail (2) Analytics (1) File Manager (0)
Instructions (6) Miscellaneous (0)    


How to add "Terms and conditions" to registration form?

1. Make uncategorized article in joomla article manager, article should contain list of tems and conditions.

2. Set new terms and conditions article for parameter "Registration Policy" under Registration configuration. See tab Registration Form.


Registration button not working. Possible reasons.

Possible reasons why Registration button does not work are:

1) Your site template. If you're using some custom template, try to switch the template to a standard joomla one and if that helps seek the cause in your custom template.

2) Register button will not work if any of your additional fields’ aliases starts with a digit.

3) If you have any radio button or check box fields, make sure you have entered default values for them.

4) If the language of your site is not English and it has special characters, you have to ‘screen’ them in the language file. For example, if your site is in French, you use Registration Policy page and you have the following line in the fr-FR.com_juser.ini language file:

YOU MUST AGREE WITH REGISTRATION POLICY FOR REGISTRATION.=Vous devez être d'accord avec la politique d'enregistrement pour vous enregistrer!

you need to replace it with:

YOU MUST BE AGREE WITH REGISTRATION POLICY FOR REGISTRATION.=Vous devez être d\'accord avec la politique d\'enregistrement pour vous enregistrer!


'Create an account’ link takes the user to the core joomla registration page. How to fix that?

Note that this article does not explain how to hack core joomla login module and make it so that the 'Create an Account' would lead to Mighty Registration page.  For that refer to How To Hack Joomla Core Login Module

If a non-logged in user tries to access the area allowed to registered users only, they are taken to the core joomla login page where the ‘Create an account’ link leads to core joomla user registration page. If you need the link to lead to Mighty Registration form, do the following:


Open the components/com_user/views/login/tmpl/default_login.php file and correct this piece of code (line 61):

....echo JRoute::_( 'index.php?option=com_user&view=login' );.....

to this one:

....echo JRoute::_( 'index.php?option=com_juser&task=register' );.....


How should I use snippets?

To use snippet a javascript code must be included in any place of the web site. Example:


<script type="text/javascript" src='http://somedomain.com/index2.php?option=com_juser&view=snippet&fields=16,17,18&type=user&user_id=87&noxajax=1'></script>


where fields is a list of id's of the additional fields that will be displayed separated by comma (,)
user_id is the id of the user who's information you wish to show. if user_id is not specified the current logged in user will be taken. It mean if I login then I will see information from my additional fields.
and type must always be user.
additional parameters for the snippets.

* ftitle=0 - will not show field titles only their values.
* avatar=0 - will hide avatar.
* name=0 will hide the name of the user.


Wrong placeholders in non english language files

If you have multi-language or non-english website and after User component update users get emails without nickname, paswords and etc., for instance,

Name: %s
Benutzername: %s
Erweitere Felder: %s

then you you need update non-english langauge files as well. To have correctly translated component, please compare your language file with default en-GB files,
/administrator/language/en-GB/en-GB.com_juser.ini
/language/en-GB/en-GB.com_juser.ini

You will need to change %s to  [NAME], [USERNAME], [SITE], [SITENAME], [SITEURL], [EMAIL], [ADDITIONAL], [PASSWORD],[ACTIVATION] according to the pattern of the English file.

To get translation to module you need  create language file to it, like it is created to core Joomla module login. Basically you can take file:
language/en-GB/en-GB.mod_jslogin.ini

Translate it to your language and place it into appropriate folder, with correctly changes into file name:
language/xx-XX/xx-XX.mod_jslogin.ini

Where xx-XX is name for your language folder


Get start with User component

1. You need change the registration link from core to User component, it could be done follow ways:

   a. replace Joomla registration module to User one from download section,
   b. hack your login module, replace core registration link to User one like it is described here for core login.
   c. you can create registration link in any menu you would like using the menu creation wizard: Joomla backend    admin>Menus>{choose menu where you would like put User registration link}> Click on add new button Choose here .User component and choose here ‘user register form’ layout, fill all the parameters and save link.

2. After registration link are created you need care about change ‘my details’ link, usually this link are located in usermenu. Again you need go to Joomla backend admin>Menus>User Menu> Click on add new button Choose here .User component and choose here ‘my details’ layout, fill all the parameters and save link. Disable core my details and enable new created link

3. The last thing is usually care is disable user registration from core registration form, current version of component has separate settings for allow registration so you just need disable registration for core Joomla and enable them for User component. But basically there is some core links that should be hacked as well, good alternative you can use disable core registration plugin: ADJR - Disable Joomla Registration - Joomla! Extensions Directory http://extensions.joomla.org/extensions/access-&-security/authentication/1236/details


User registration validation

If you wish to allow registration process only for certain users it possible if you will use secret word which one must be entered exactly at registration. What you need to do for it.

  1. Create text filed and name it as 'Secret word', for example.
  2. At setting of text field at parameter 'Validation' enter "/password/" (without quotes) , where "password" is your secret word.
  3. Even if you don't check 'Required' after click to 'Register' button registration form will appears again with notice at your 'Secret word' field. So, if 'Reguired' is Yes, then JS User will ask to fill this field before click to 'Register' button.

No Message about Successful Registration on Frontend?

This problem generally because your template is not completely Joomla 1.5 native. Do not wonder even if you have rocketthemes template. There is new object in Joomla 1.5 template API called 'message'. To enable it you should insert it into index.php of your template in position you would like message appear following.

<jdoc:include type="message" />

now you need to include system styles into template that message would be formatted properly. It is 2 lines

<link rel="stylesheet" href='templates/system/css/system.css' type="text/css"/> and
<link rel="stylesheet" href='templates/system/css/error.css' type="text/css"/>

These lines should be plased in <head></head> section. In my template it lookse like this

<head>
    <jdoc:include type="head" />
    <link rel="stylesheet" href='templates/ir4site2/style.css' type="text/css"/>
    <link rel="stylesheet" href='templates/system/css/system.css' type="text/css"/>
    <link rel="stylesheet" href='templates/system/css/error.css' type="text/css"/>
</head> 
 

 


How to hack Joomla core login module?

  1. Edit file "joomla root/modules/mod_login/tmpl/default.php
  2. Find there lines
    <a href="<?php echo JRoute::_( 'index.php?option=com_user&task=register' ); ?>">
        <?php echo JText::_('REGISTER'); ?>
    </a>
  3. Replace with
    <a href="<?php echo JRoute::_( 'index.php?option=com_juser&task=register' ); ?>">
        <?php echo JText::_('REGISTER'); ?>
    </a>
  4. Save file.
Note, sometimes Joomla 1.5 templates have custom mod_login template. If the example above does not do any change try to hack the same file in /templates/tpl_name/html/mod_login/

What is best way for Download/Installation MightyExtensions?
 


Member Area



Member Activity

We have 1142 guests and 8 members online


MightyTemplate - Professional Joomla Templates