Ning Developer Docs

need to be able to link to an external URL and pass a GET variable. The variable value will depend on the current ning user, should be stored in ning and be accessible via ning API.

========
Example:

A tab would link to
www.some-external-website.com?user=billy52353255A

billy52353255A is a unique user identifier stored in ning.

Views: 0

Replies to This Discussion

if you have code access :

<?php
$userSN = XN_Profile::current()->screenName;
echo "$userSN"
?>

that code will output the userID of who is logged in at that time, not everyone, but just the user looking at that page.

meaning if that user clicked your link it would be that user's id input into your GET function

-F-B-

RSS

© 2026   Created by Ning Developer Admin.   Powered by

Badges  |  Report an Issue  |  Terms of Service