Ash

Unregistered less info
25 reputation
14
bio website
location
age
visits member for 3 years, 3 months
seen May 8 '11 at 7:46

Jun
9
awarded  Notable Question
Sep
25
awarded  Popular Question
May
5
awarded  Scholar
May
5
accepted Is it possible to use WordPress functions in a page template?
May
5
accepted Separate registration and login for different roles
May
4
awarded  Commentator
May
4
awarded  Student
May
4
comment Is it possible to use WordPress functions in a page template?
Thanks to all you guys! That's helpful.
May
4
comment Is it possible to use WordPress functions in a page template?
Thanks, Geert. Does this mean I can use all WP API elements (functions, hooks, filters) in a template?
May
4
asked Is it possible to use WordPress functions in a page template?
May
2
comment Separate registration and login for different roles
@Bainternet: OK. The registration issue is understood. Highly appreciated! Can you please refer to the login issue? I know it's not the usual WordPress behavior but this is how I need my site to function. Just to be more clear this is the behavior I need - if a visitor has logged in as a buyer and then goes to the sellers login page he should see himself as not logged in as a seller. Then, if he logs in as a seller he will be automatically logged out as a buyer. Else, if he goes back to the buyers page, he will see himself still logged in as a buyer. Thanks again.
May
2
comment Separate registration and login for different roles
@Bainternet: Sorry for the newbie question but that's what I am :-) - is this code only usable in a plugin or can it also be used in a php file which is a template for a page?
May
2
comment Separate registration and login for different roles
@Bainternet, Thanks a lot for the additional code!
May
1
comment Separate registration and login for different roles
Thank you Bainternet & Milo! Yes, I mean the visitor will register twice - once as a seller and another as a buyer, with different emails. But I do need two separate registration forms since each of them will contain different fields. For example: the seller's reg form will include the fields - "business name" and "business address" while the buyer's reg form will include the field "buyer name". So, Bainternet, I'm not sure I can use your code as it is (but thanks a lot for the effort) since it points to the same page only with different parameters. How can I do it with two separate forms?
Apr
29
asked Separate registration and login for different roles