View Full Version : User ID in external script
maziggy
01-13-2007, 08:57 AM
Hi All,
is there a way to pass the user ID to an external script which will be displayed via an Iframe in a custom plugin?
Thanks in advance
Martin
maziggy
01-13-2007, 02:09 PM
Sorry for being pushy but i have to finish the website by Monday.
Can anyone please shed some light on how to pass the User ID to the script?
Thanks, Martin
abcohen
01-13-2007, 05:19 PM
to my knowledge the answer is nope.
robert_p_skold
01-13-2007, 08:45 PM
You can pass a value ie. external_script.php?id=your_id
maziggy
01-14-2007, 02:26 PM
You can pass a value ie. external_script.php?id=your_id
Yes of course, but is there a variable with the User ID available when setting up a custom plugin? Not that i'm aware of.
Does someone have a good idea how to modify the code to pass any information to the script so that i can identify the user logged in?
Thanks, Martin
robert_p_skold
01-14-2007, 03:02 PM
No there isn't in the custom plugins. That's not what you asked though. You could try to include the core files into your script.
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.