The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
My Guessing Game Hack...
Ok...
Version 1.2 is working, as far as the php goes... http://www.thelyceum.org/forum/guessword.php There is the problem... I cannot get the input form to appear... I am using the variable $guess to call up the gg_guessword_guess template, which contains : Code:
<form method="POST"> Type your guess here: <br> <input type="text" name="guess" value="$yourguess"> <input type="hidden" name="num_triesgw" value="$num_triesgw"> <input type="submit" value="Submit"> </form> Code:
$guess Satan |
#2
|
||||
|
||||
Since you are trying to finish, I think you would find more help (not to mention it's appropriate for the category) here:
https://vborg.vbsupport.ru/forumdisp...p?s=&forumid=9 |
#3
|
|||
|
|||
hellsatan i don't believe that you can call a template from a variable that you're trying to call yet another variable ;p
g-force2k2 |
#4
|
|||
|
|||
The Coding of the Hack should be kinda like this then you just build on ;p
------------------- guess_guessword template ------------------- <form method="POST"> Type your guess here: <br> <input type="text" name="guess" value="$yourguess"> <input type="hidden" name="num_triesgw" value="$num_triesgw"> <input type="submit" value="Submit"> </form> thats something like the template you want to call now you want to make another template called: ---------------- guess template <--- this template should include the variable you want to call the other template ---------------- <html> <head> <title>[ Title here ]</title> </head> <body> $header <!-- the variable below -- hellsatan being the variable that calls the template --> $guess $footer </body> </html> php file should look like this: ----------------- guess.php file ----------------- PHP Code:
|
#5
|
||||
|
||||
Thats what I had...
It calls a blank screen Satan |
#6
|
|||
|
|||
did you call the main template at the end? if its possible let me see your coding...
g-force2k2 |
#7
|
||||
|
||||
Here is the coding :
PHP Code:
Satan |
#8
|
|||
|
|||
hellsatan which template do you ahve the $guess variable in?
g-force2k2 |
#9
|
||||
|
||||
gg_guessword...
Satan |
#10
|
|||
|
|||
duh *smacks myself... okay i figured it out hellsatan
Just take this coding: PHP Code:
PHP Code:
$guess with: $fguess that should do the trick can't call the same variable if its manipulated as in this code: PHP Code:
thats all though g-force2k2 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|