Thanks for a response,
at any rate, I have an independent script. I just want to pass the USERID to it so that it can print the appropriate thumbnails and call it from within the user's profile template.
the actual url I am including is like:
http://www.ip-sys.com/~bonsai/pictur....php?myuser=XX
I want to pass the user id to it so when you're in Vbulletin user 37's profile it includes
a)
http://www.ip-sys.com/~bonsai/pictur....php?myuser=37
when you're in user 5 it includes
b)
http://www.ip-sys.com/~bonsai/pictur...r.php?myuser=5
Those are live links by the way. I think the actual code is irrelevant to the question. It's a question of how to pass variables from vBulletin to another script, any script.
obviously, I need to append a vBulletin variable in place of the XX in myuser=XX, but no matter which one I include, my script receives the variable NAME not its value.
Getting the generic include to show in the user profile is no problem, I just can't get the userid variable to pass. It keeps getting sent as a variable name and not resolved to a number.
Thanks again,
Matt