| Post |
|
Fernando - Guest
8:13 am - August 17, 2008
|
| |
|
Please replace the ??? with your data!
- Your URL: not in production yet
- The browser used: firefox
- cforms version: the most recent
- Your Wordpress version: 2.5
[desc]: Hi, I would like to use cforms to replace the standard word press registration form.
Can you pleaselet me know if what I am trying to accomplish is possible?
Would you so kind to point me to a tutorial or online resource that explains how to implement it?
I browsed the topics but there are tons of pages and couldn't find anything related.
I apologize If this has already been asked.
Thanks
|
|
|
Oliver
- Admin
12:00 pm - August 17, 2008
posts 3549 |
| |
|
Hi, I would like to use cforms to replace the standard word press registration form.
Mind me asking, why you'd want to do that? What's wrong the current (WP) form?
Can you please let me know if what I am trying to accomplish is possible?
It depends on what exactly you want to achieve.
Would you so kind to point me to a tutorial or online resource that explains how to implement it?
You'd be the first, but a tutorial would be great! :-)
|
|
|
Fernando - Guest
12:07 am - August 18, 2008
|
| |
|
We want to be able to create a fan's zone in our website.
So I customized the signup form present that you included in cforms, I added fields like photo, age, favorite cd, etc
I would like to use the email and password provided by the user to insert a record into the registration tables in Wordpress and insert the rest of the data to a table to show a list of members in a page.
Also we would like to create like private pages that users can access by signing-in
(It is my understanding that by signing up users can access to private pages right?)
I hope I am in the right track
Thanks for taking the time to answer my questions.
Fernando
|
|
|
Oliver
- Admin
10:05 am - August 18, 2008
posts 3549 |
| |
|
I see.
Yes, it sounds like your quite PHP savvy, so I think you can make it work. What you need to do, is to use the action in my-functions.php to run your own PHP/SQL code to generate the user entry in the database. This happens post input validation!
Problem: what if a given user already exists? This exception you need to handle yourself (ie. provide a 'sequential' user login, e.g. 'oliver01') or customize cforms to add your custom validation intelligence (checking for existent user record) to cforms' own validation function (may only work in non-Ajax mode!).
Once the a user record has been written to the WP tables, your free to grant access permissions as you want.
|
|
|
lclarkberg - Guest
6:58 pm - September 18, 2008
|
| |
|
We're working on this very problem--we'll let you know if we come up with a good solution.
|
|
|
Julio - Guest
3:34 pm - September 30, 2008
|
| |
|
I thinked about this possibility, use the cforms for wordpress registration, but I guess that have a good solution just working very well, the plugin Cimy User Extra Fields. I used in a job taht required a more complex user registration, with other fileds than the WP default.
This plugin doesn´t have the same power of forms customization, but gives a good support to handle with the user extra data.
I hope that this tip helps you.
Ah, sorry by the poor english, I´m improving 
|
|