Version: 1.00, by Erwin
Developer Last Online: May 2013
Version: 2.3.x
Rating:
Released: 10-23-2002
Last Update: Never
Installs: 100
No support by the author.
vB Hangman 1.2
---------------------
The classic word game is now integrated into your forums.
Features :
------------
1) Allow/ Disallow guest access to Hangman in Admin CP
2) Set number of attempts in Admin CP
3) Add words in Admin CP
4) Use words of any length
5) Use as many words as you want
6) Put in a SENTENCE, or MULTIPLE WORDS
7) Ability to use NUMBERS and CHARACTERS like ! or ?
8) Totally integrated into your forums, with your forum colors and layout
9) Easy installation file that you run to automatically add database settings
10) Store hack version of the hangman.php courtesy of Zajako
Installation :
---------------
Simple.
1) Upload vbhangman_install.php to your admin directory, and run it, and then follow the instructions (you can run it again to uninstall this hack). This will add settings to your database automatically. Delete this file after you have done this.
2) Upload hangman.php to your forum directory.
3) Make a hangman subdirectory in your images directory. Upload the image files to the images/hangman subdirectory.
4) Make a new template "hangman" and add the contents of the hangman.txt file into this.
5) Go to your Admin CP, then to the vBulletin Options section, and set whether you want guests to have access to Hangman, how many attempts you allow (default is 6, any higher and you will need to add your own custom hangman images), and then add your words. Separate each word or words or each sentence with a comma. For example...
hello,yahoo!,3 blind mice,12 apostles,vbulletin,good morning,good afternoon,this is cool
This is a very nice hack! I've installed it, but haven't released it to my members yet...I'd like to make one little tweak to it first.
My problem is....I have a lot of "stuff" in my board's header so when you click on a hangman letter (and it processes the selection) it pops you back to the top of the board and you have to scroll down a half page to get back to the playing board.
Is there someway to add an anchor/target to the top of the playing board so that it automatically pops to that spot when you're playing the game? It seems like I would need to add something like an <a name="tophangman"> in the hangman template and also something would need to be done to the hangman.php file when it processes the letter selections. I think I could do the template, but the hangman.php file is just greek to me. Can anyone help me and let me know what adjustments to make to achieve this?
ok, I managed to figure this out on my own (probably simple to most of you, but I don't know much about any of this so not-so-simple to me). In case anyone else is wondering too here's how I did it...
In the hangman template I put in an anchor near the top of the playing board <a name="topofboard">your anchor here</a>
you can do the same thing at the "play again" link a little further down as well. It works beautifully and the playing board never "moves" on the player, making it very seamless.