The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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 |
#2
|
||||
|
||||
Firstly, do you inlcude the 'global.php' script into this external script?
require(global.php); |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|