The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
The form generates a script tag, e.g.:
PHP Code:
I've got all the colors, etc., working, but the forumid part is the most important...and right now, it's just saying "forumid=Array". I'm trying to figure out why. |
#12
|
|||
|
|||
i think thats because both php and javascript take "[" "]" and treat it like its an array... try and remove them from the code
g-force2k2 |
#13
|
|||
|
|||
It wasn't in the code, originally, and it still output the same thing, but hang on, I'll try it again for kicks.
Dangit. I really wish there were a way to just beam code down to Earth. |
#14
|
|||
|
|||
this is the code i get in my test....
Code:
test.php?&forumid=[10,11,12,13,14,15,16,17,18,] [edit] nice job g-force2k2 |
#15
|
|||
|
|||
Figured it out!
I don't know WHY, but for whatever reason, in the second loop (testing whether the POST var is an array, then writing the output), I have to refer to the POST var as $POST_VARS[$key] instead of just $key. Woot! |
#16
|
|||
|
|||
im glad that you figured it out
good luck with the script g-force2k2 |
#17
|
|||
|
|||
Thanks! If I get it working really well, I'll put it in the beta release forum on Monday.
I appreciate all your help. |
#18
|
||||
|
||||
Interesting... You use PHP3's method of looping through an array
|
#19
|
|||
|
|||
Quote:
What syntax would you have used? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|