![]() |
Second try: How to pass a vbulletin parameter to remote script
I have asked this before a few months ago and got no response, so I am trying again
I would like to know how I can pass a vbulletin variable (any variable or parameter by variable name) to an external script. Every time I do this from a template the remote script receives the variable name, not its contents. One application, for example, is that I have an external script that generates a random gallery thumbnail from photopost. I want to put that into the vB user's profile. The script works perfectly from the command line, but when I try it call it from a template it sends the text e.g. "userid" and not the content of the variable e.g. "5" Regards, Matt |
Firstly, do you inlcude the 'global.php' script into this external script?
require(global.php); |
All times are GMT. The time now is 02:20 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|