ghanja.be
NederlandsEnglish
Contact Us

Ghanja
Welkom, Gast
Alstublieft Inloggen of Registreren.    Wachtwoord verloren?
Re:Expanding the standard form (1 bezoeker) (1) Gast
Ga naar onderkant Reageer Favoriet: 0
TOPIC: Re:Expanding the standard form
#72
Michael (Gebruiker)
Fresh Boarder
Berichten: 7
graphgraph
Gebruiker offline Klik hier om het gebruikersprofiel van deze gebruiker te zien
Expanding the standard form 1 Jaar, 7 maanden geleden Karma: 0  
Hi
so far so good, I installed via the directory method. After that:
Open the component and clicked on Parameters and select Joomla and CB (or just joomla)
Then simply make a menu link to the component

Question:
How do I add other CB fields to the standard form in Addnewuser?

thank you so much
Michael
 
  De Administrator heeft publieke schrijf toegang geblokkeerd.
#73
Webmaster (Admin)
Administrator
Berichten: 194
graph
Gebruiker offline Klik hier om het gebruikersprofiel van deze gebruiker te zien
Re:Expanding the standard form 1 Jaar, 7 maanden geleden Karma: 1  
Hi,
Well the add user frontend component was made to just add the user and then click the username in the 'created message'. Then you can fill out all fields.

However you can add as many extra fields as you wish in 3 simple steps.


Open the file: components/com_adduserfrontend/views/adduserfrontend/tmpl/default.php




1 - Go to line 284. (Add any type off input fields there in html)

For example:


// Paste this in between line 283 and 284 //
// change yourinput with your fieldname //
<tr>
<td>Fieldtitle: </td>
<td><input type="text" name="yourinput" value="" /></td>
</tr>
// Paste this in between line 283 and 284 //





2 - Go to line 31 (get the post data!)

For example:


// Paste this on line 30 //
// change yourinput with your fieldname //
$yourinput = trim($_POST['yourinput']);
// Paste this on line 30 //






3. Go to line 132 (insert the data in sql table)

For example:


// Paste this on line 132 //
// change yourinput with your fieldname //
// change cb_your_target_field to your cb field name //
`cb_your_target_field` = "' . $yourinput . '",
// Paste this on line 132 //




I hope this helps you
Kim
 
 
Laatste Wijziging: 02/10/2010 01:31 Door Webmaster.
  De Administrator heeft publieke schrijf toegang geblokkeerd.
#74
Michael (Gebruiker)
Fresh Boarder
Berichten: 7
graphgraph
Gebruiker offline Klik hier om het gebruikersprofiel van deze gebruiker te zien
Re:Expanding the standard form 1 Jaar, 7 maanden geleden Karma: 0  
what are you doing up so late? isn't it past midnight in Belgium?
thank you so much for such a super fast answer. I will give it a go.
cheers
Michael
 
 
Laatste Wijziging: 02/10/2010 01:35 Door Michael.
  De Administrator heeft publieke schrijf toegang geblokkeerd.
#75
Michael (Gebruiker)
Fresh Boarder
Berichten: 7
graphgraph
Gebruiker offline Klik hier om het gebruikersprofiel van deze gebruiker te zien
Re:Expanding the standard form 1 Jaar, 7 maanden geleden Karma: 0  
I tried to click on the user name after registration, but it say: This feature is not enabled
I couldn't work out how to enable it?
 
  De Administrator heeft publieke schrijf toegang geblokkeerd.
#76
Webmaster (Admin)
Administrator
Berichten: 194
graph
Gebruiker offline Klik hier om het gebruikersprofiel van deze gebruiker te zien
Re:Expanding the standard form 1 Jaar, 7 maanden geleden Karma: 1  
Hi,
I think this is because of your Community Builder configuration. Try going to the CB configuration page backend. Go to the tabbed pane called moderation.

Find the sentence: Allow Moderators to Edit User Profiles
If you see no, change it to something else like for example: Superadministrator only

Now it will work!

Kim
 
 
Laatste Wijziging: 02/10/2010 15:53 Door Webmaster.
  De Administrator heeft publieke schrijf toegang geblokkeerd.
#77
Michael (Gebruiker)
Fresh Boarder
Berichten: 7
graphgraph
Gebruiker offline Klik hier om het gebruikersprofiel van deze gebruiker te zien
Re:Expanding the standard form 1 Jaar, 7 maanden geleden Karma: 0  
Kim, thank you!
I should have realised this.

"Allow Moderators to Edit User Profiles" under Moderation needs to be set to administrator, superadministrator or CB moderator.

cheers
 
  De Administrator heeft publieke schrijf toegang geblokkeerd.
#78
Michael (Gebruiker)
Fresh Boarder
Berichten: 7
graphgraph
Gebruiker offline Klik hier om het gebruikersprofiel van deze gebruiker te zien
Re:Expanding the standard form 1 Jaar, 7 maanden geleden Karma: 0  
sorry, one more question:
I would like to have the username as the email address and the password automatically generated.
The reason for this is that I want to make it as quick as possible for my staff to enter a new client.

So ideally, for me, the adduserfrontend form has just first name, last name and email.
On submitting, CB generates the username based on the email and creates a password.

I would also like to turn off email notification being sent to the client, but that is obviously a CB issue.

If we got this to work, I think there would be many others interesting in combining your component with CB and AppointmentBooking Pro as they integrate so well.
cheers
Michael
 
  De Administrator heeft publieke schrijf toegang geblokkeerd.
#79
Webmaster (Admin)
Administrator
Berichten: 194
graph
Gebruiker offline Klik hier om het gebruikersprofiel van deze gebruiker te zien
Re:Expanding the standard form 1 Jaar, 7 maanden geleden Karma: 1  
Hi Michael,
Use the "Fast add user form" and not the "default layout" when making a link to add user frontend in a menu.

Go to the file:
components/com_adduserfrontend/views/fastadduser/tmpl/default.php

Paste the script that i provided (see attached file) over the original source code in that file.

Now there are just 2 fields the name field and the emailadress field. The emailadress is also the username and the password is automaticly generated

There is no emailnotification as far s i know.. I did never get any mails when adding a user on the frontend. (Did you?)

So the only problem with this system is that the user you will add will not know its password. He should reset it i guess on the reset password form.

What information would you like to be added to Appointement booking pro component when adding a user?

Kim
Bijlage:
Bestandsnaam: adduserfrontend_email.txt
Bestandsgrootte: 6871
 
 
Laatste Wijziging: 03/10/2010 13:24 Door Webmaster.
  De Administrator heeft publieke schrijf toegang geblokkeerd.
#80
Michael (Gebruiker)
Fresh Boarder
Berichten: 7
graphgraph
Gebruiker offline Klik hier om het gebruikersprofiel van deze gebruiker te zien
Re:Expanding the standard form 1 Jaar, 7 maanden geleden Karma: 0  
Hi Kim
that works really well! thank you

One issue only: The use of middle names.
If I enter a persons first and last name, it correctly places the names in the CB fields.

However, a middle name ends up in front of the last name in stead of its own field.

This would of course be ok with Donald von Duck, but not Anne Marie Duck.
So it should either be fixed so that anything between the first and last names is entered in as a middle name, or simply just have 3 fields in the Fastadduser form.

In terms of what else could be needed for AppBookingPro, I have tested it and it works beautifully.
It works like this:

1. Our receptionist will ask if a client is new, if they answer yes, our staff will click on the menu "Add new client", which brings up the fastadduser form.

2. The form only asks for Name and email.

3. The new user (client) is added to Community Builder and a confirmation window pops up. The receptionist then click on the link to the CB user profile and fills out the rest of the form, eg. address, mobile, and other fields which are created in CB.

4. The receptionist then clicks on the Front Desk menu item to bring up AppointmentBooking Pro to make an appointment. Here it is now possible to select the new user (client) from a drop down menu. On selection, the name, email and mobile fields are automatically filled out. There is alo an opportunity to add a second phone number and make a comment etc.

5. When the client comes back, they are now a registered CB (and Joomla) user, so they can be selected from the drop down menu in AppBooking Pro.

6. At any time the CB profile can be edited when details change.

7. In point 3. we just ignored the user's password. But it could be filled out if one wanted to allow users to edit their own profiles and also make their own bookings in AppBookingPro. In that case it would be handy if an email was then send to the user with their login details. At this stage in AppBookingPro, only the name, email and mobile number is imported. I guess new versions may have an expanded integration, however, it is not really necessary. In must cases we just need to email people or ring them.

thank you
Michael
 
  De Administrator heeft publieke schrijf toegang geblokkeerd.
#82
Michael (Gebruiker)
Fresh Boarder
Berichten: 7
graphgraph
Gebruiker offline Klik hier om het gebruikersprofiel van deze gebruiker te zien
Re:Expanding the standard form 1 Jaar, 7 maanden geleden Karma: 0  
on the form, Emailadress should be changed to Email address
or just
Email
 
  De Administrator heeft publieke schrijf toegang geblokkeerd.
#84
Webmaster (Admin)
Administrator
Berichten: 194
graph
Gebruiker offline Klik hier om het gebruikersprofiel van deze gebruiker te zien
Re:Expanding the standard form 1 Jaar, 7 maanden geleden Karma: 1  
Ill fix this in the next version
 
  De Administrator heeft publieke schrijf toegang geblokkeerd.
#99
Rovizaky (Bezoeker)
Fresh Boarder
Berichten: 1
graphgraph
Gebruiker offline Klik hier om het gebruikersprofiel van deze gebruiker te zien
Re:Expanding the standard form 1 Jaar, 7 maanden geleden Karma: 0  
From Puerto Rico, I signed up just to say thanks, this component saved my life
 
  De Administrator heeft publieke schrijf toegang geblokkeerd.
#100
Webmaster (Admin)
Administrator
Berichten: 194
graph
Gebruiker offline Klik hier om het gebruikersprofiel van deze gebruiker te zien
Re:Expanding the standard form 1 Jaar, 7 maanden geleden Karma: 1  
I am always glad if others can use my work I am a professional webdesigner and this component has been developped to keep clients away from the joomla backend where you see way too many fields and options when you add a user.
 
  De Administrator heeft publieke schrijf toegang geblokkeerd.
Ga naar bovenkant Reageer
Powered by FireBoardbezorg de laatste berichten direct op de desktop
Ghanja Alternatief - Community voor een open wereld!
   
Copyright © 2005 - 2012 Ghanja.be - Sitemap