![]() |
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"> Code:
$guess Satan |
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 |
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 |
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:
|
Thats what I had...
It calls a blank screen:confused: Satan |
did you call the main template at the end? if its possible let me see your coding...
g-force2k2 |
Here is the coding :
PHP Code:
Satan |
hellsatan which template do you ahve the $guess variable in?
g-force2k2 |
gg_guessword...
Satan |
duh :p *smacks myself... okay i figured it out hellsatan :D
Just take this coding: PHP Code:
PHP Code:
$guess with: $fguess that should do the trick :D can't call the same variable if its manipulated as in this code: PHP Code:
thats all though :D g-force2k2 |
ah...
Thanks - I'll try it:) Great! It works:) Thanks... Satan |
Ok ive released it!
I gave you thanks for helping me:) Satan |
All times are GMT. The time now is 02:13 AM. |
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:
|