Main menu

Forum


× Help Forum English

[INFO CUSTOM] No authentification for event registration

  • huettenwirt
  • Topic Author
  • New Member
  • New Member
More
11 years 5 months ago - 11 years 5 months ago #4464 by huettenwirt
Hello,

i want to make a service for everbody to register to a event, without login with a joomla account before.

Is it possible to make iCagenda accesable to everybody so that everybody can join a appointment without login to joomla before?

Next thing is that i want a free text field for participant so that they can fill in their names (like the Phone Numer field).
That field should then be used for the participant list you can see in the appointment below. Is something possible?

Many thanks for your support!

Best regards,

Stefan
Last edit: 11 years 5 months ago by Lyr!C. Reason: [INFO CUSTOM]

Please Log in or Create an account to join the conversation.

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
11 years 5 months ago #4467 by Lyr!C
Replied by Lyr!C on topic No authentification for event registration
You can already register to an event, without being login as a joomla user.

And there's already a phone field (you have options for registration in event edit, but too, in Global options of the component)

And later, in one month, i will begin to add other features and options to registration system ;)

Latest version : iCagenda 3.9.8
We recommend every user to keep iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File Attachment:

Please Log in or Create an account to join the conversation.

  • huettenwirt
  • Topic Author
  • New Member
  • New Member
More
11 years 5 months ago #4485 by huettenwirt
Replied by huettenwirt on topic No authentification for event registration
Hello,

Thanks for your response. The I make the registration progress like this?

- The icagenda site should only be visible for registrated joomla user.
- Then after registration a user can see the events and register to them he likes.
- When a user is already registered in joomla the icagenda system takes the informations like User ID, Name and Email from the joomla system over.

Can i disable that the informations where overtaken from the joomla system?

- Further I only want to have 1 free text field for registration so taht a user can write his name and finish the registration progroess.

- That name he put in should then be listed under the participant list.
Is that possible??

Many thanks for your response!

Please Log in or Create an account to join the conversation.

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
11 years 5 months ago #4504 by Lyr!C
Replied by Lyr!C on topic No authentification for event registration
Yes, all this possible by editing registration.php file (where you have the form)

But, as i'm planning to work on more possibilities for registration (maybe developpement in September), many options will be added to registration function, such as personal fields, and options to display or not, use joomla info user or not, and other features...

Is it urgent for you (do you need to do this change, but if so, you will have to edit the file at each udpate of iCagenda) or can you wait before having this options ?

Latest version : iCagenda 3.9.8
We recommend every user to keep iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File Attachment:

Please Log in or Create an account to join the conversation.

  • huettenwirt
  • Topic Author
  • New Member
  • New Member
More
11 years 5 months ago #4509 by huettenwirt
Replied by huettenwirt on topic No authentification for event registration
Hello,

it is importent that the registration form works as i need it in the next week.

so it would be great if you could help me to solve the problem before you can release the next version.

Many thanks!!

Please Log in or Create an account to join the conversation.

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
11 years 5 months ago #4518 by Lyr!C
Replied by Lyr!C on topic No authentification for event registration
You may edit this file : ROOT/components/com_icagenda/views/list/tmpl/registration.php

Remove all lines between <?php if ($u_****){ ?> (Means, $u_id, $u_mail, $u_name...) and next <?php } ?> (that will remove all insertion of joomla user infos, if login)

example, change this :
<div>
				<?php if ($u_id){
					echo '<label>'.JText::_( 'ICAGENDA_REGISTRATION_FORM_USERID' ).'</label>
						  <input type="text" value="'.$u_id.'" disabled="disabled" size="2" />
						  <input type="hidden" name="uid" value="'.$u_id.'" />';
				}else{
					echo '<input type="hidden" name="uid" value="" disabled="disabled" size="2" />';
				}?>
				<?php if ($u_id){ ?>
				<span class="formInfo">
					<a class="ictip"><img src="<?php echo $infoimg; ?>" />
					<span>
						<span class="title"><?php echo JText::_( 'ICAGENDA_REGISTRATION_FORM_USERID' ); ?></span>
						<div class="text"><?php echo JText::_( 'ICAGENDA_REGISTRATION_FORM_USERID_DESC' ); ?></div>
					</span>
					</a>
				</span>
				<?php } ?>
   			</div>

to this :
<div>
					echo '<input type="hidden" name="uid" value="" disabled="disabled" size="2" />';


   			</div>

Don't forget to remove "else" lines coming after, but keeping content between }else{ and }?>
This way, you remove auto-fielding of joomla user infos.

If you want to hid a field (for example email or telephone) just change in input line, type to hidden.

Full Example with Email field :

Replace this :
<div>
			<?php if ($item->emailRequired == '1') { ?>
				<label><?php echo JText::_( 'ICAGENDA_REGISTRATION_FORM_EMAIL' ); ?> *</label>
				<?php if ($u_name){
					echo '<input type="email" value="'.$u_mail.'" disabled="disabled" />
						  <input type="hidden" name="email" value="'.$u_mail.'" />';
				}else{
					echo '<input type="email" name="email" value="" size="30" required="true" class="required validate-email" />';
				}?>
			<?php } else { ?>
				<label><?php echo JText::_( 'ICAGENDA_REGISTRATION_FORM_EMAIL' ); ?></label>
				<?php if ($u_name){
					echo '<input type="email" value="'.$u_mail.'" disabled="disabled" />
						  <input type="hidden" name="email" value="'.$u_mail.'" />';
				}else{
					echo '<input type="email" name="email" value="" size="30" class="required validate-email" />';
				}?>
			<?php } ?>

        		<!--span class="formInfo" ><?php echo JHTML::tooltip(JText::_( 'ICAGENDA_REGISTRATION_FORM_EMAIL_DESC' ), JText::_( 'ICAGENDA_REGISTRATION_FORM_EMAIL' ),
               JURI::root().'components/com_icagenda/themes/packs/'.$theme.'/images/info.png', '', '', false); ?></span-->
				<span class="formInfo">
					<a class="ictip"><img src="<?php echo $infoimg; ?>" />
					<span>
						<span class="title"><?php echo JText::_( 'ICAGENDA_REGISTRATION_FORM_EMAIL' ); ?></span>
						<div class="text"><?php echo JText::_( 'ICAGENDA_REGISTRATION_FORM_EMAIL_DESC' ); ?></div>
					</span>
					</a>
				</span>
			</div>

By this :
<?php if ($item->emailRequired == '1') { ?>
				<label><?php echo JText::_( 'ICAGENDA_REGISTRATION_FORM_EMAIL' ); ?> *</label>
					echo '<input type="hidden" name="email" value="" size="30" required="true" class="required validate-email" />';

			<?php } else { ?>
				<label><?php echo JText::_( 'ICAGENDA_REGISTRATION_FORM_EMAIL' ); ?></label>
					echo '<input type="hidden" name="email" value="" size="30" class="required validate-email" />';

			<?php } ?>

This way, you hide email field, with no registration of email, but you keep the field hidden in the form, to prevent error when validated. B)


Hope this information could be useful.

The best way it to edit this file. All the form field are in, so you can do your own personal form field with this file.

Latest version : iCagenda 3.9.8
We recommend every user to keep iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File Attachment:

Please Log in or Create an account to join the conversation.

Moderators: Lyr!C
Time to create page: 0.090 seconds

 

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new