Ning Developer Network

Sathya C

Getting Member Name

Hi Team,

I want to take the Ning member name and email_id and send that information to my external application (via URL). Please help me how to take the member name and email_id. Is it possible to reterive this information using Javascript.

Here is what I am trying. I want to add a new tab which points to my external application. Once user clicks the tab, I want to send the user's name and email to my external application URL.

Please help me how to do this. I have access to my source, even if it is not possible with JavaScript, I can do some PHP coding.

Thanks in advance.
--Sathya

Tags: email, id, javascript, member, name, new, tab

Reply to This

Replies to This Discussion

To get the full name of the visitor in javascript you can do something similar:
<<br /> document.write("Your name is: "+ning.CurrentProfile.fullName+"<\/b>");


I've not found a way to get the email in Javascript but you can do it in PHP:

I have an example set here:

http://bitterbyte.ning.com/page/page/show?id=2021429%3APage%3A241

that shows how to send an email to the logged in users.

Reply to This

Hello RemoD,
Thanks for your help. I could get the logged in user's name.
Thanks,
Sathya

Reply to This

RSS

Documentation & Tips

© 2008   Created by Ning Developer Admin

Badges  |  Report an Issue  |  Privacy  |  Terms of Service