Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
vB Hangman 1.2 Details »
vB Hangman 1.2
Mod Version: 1.00, by Erwin (Member) Erwin is offline
Developer Last Online: May 2013 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 2.3.x Rating: (1 vote - 5.00 average) Installs: 100
Released: 24 Oct 2002 Last Update: Never Downloads: 21
Not Supported  

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

(numbers and special characters are fine!)

Then, just go to http://www.yourforums.com/forums/hangman.php to play Hangman!

Enjoy!


Working Demo (courtesy of hellsatan)
--------------------------------------------------

http://www.darkblazes.com/forums/hangman.php


If you like this hack and want updates, please click on the INSTALL link at the bottom of this thread.

Updates
-----------

1.1 - Fixed a bug that prevented you from using more images.
1.2 - Fixed bug that prevented words from being chosen randomly.


Attachments
------------------

Text files of formatted Word Lists for vB Hangman

Attachment: games_list_1.txt (for games oriented sites)
This file courtesy of Ninth Dimension.

Attachment: movielist.txt (for movies)
This file courtesy of Fi_InCogNiTo.

Attachment: artists.txt (for artists and bands)
This file courtesy of trafix.

Lesane Store Hack Integration - you need Store Hack installed!

Attachment: hangman.php (replace the original hangman.php with this one)
This file courtesy of zajako. Bug fixed by lalo landa.

Original vB Hangman (hangman.php, images and installer)

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
vB Hangman for vB3 Erwin vBulletin 3.0 Full Releases 103 19 Mar 2006 06:54

  #76  
Old 30 Oct 2002, 00:49
edwardandtubbs1 edwardandtubbs1 is offline
 
Join Date: Oct 2002
love it Installed in maybe 2 minutes.
Reply With Quote
  #77  
Old 06 Nov 2002, 04:14
lalo landa lalo landa is offline
 
Join Date: Nov 2002
Huge bug..

hangman.php?letters=ABCDEFGHIJKLMNOPQRSTUVWXYZ&n=33

Change the number 33 to another.. and always win ;-(


Or.. go back and try again with another letter ;-(

This two bugs have problems with de STORE HACK.. because the users steal points..

Another thing..

The store hack add on.. is wrong..

Missin' 1 line...

The original says (if lose)


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Add the last line.. to do the query


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

If not.. the user never lose points.


we have not been able to fix this bug that makes all of our users win

Last edited by lalo landa; 06 Nov 2002 at 04:17.
Reply With Quote
  #78  
Old 06 Nov 2002, 05:07
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Originally posted by lalo landa
Huge bug..

hangman.php?letters=ABCDEFGHIJKLMNOPQRSTUVWXYZ&n=33

Change the number 33 to another.. and always win ;-(


Or.. go back and try again with another letter ;-(

It's not a bug, but the way the hack is written. If your members want to cheat like that, go ahead!



This two bugs have problems with de STORE HACK.. because the users steal points..

What


Another thing..

The store hack add on.. is wrong..

Missin' 1 line...

Zajako wrote the Store Hack integration. I don't use the Store Hack so I cannot comment or fix this "bug". This hack was never meant to be integrated with the Store Hack.
Reply With Quote
  #79  
Old 07 Nov 2002, 20:05
lalo landa lalo landa is offline
 
Join Date: Nov 2002
don't get mad erwin.

I write the solution of the store hack problem.

It's not a bug, but the way the hack is written. If your members want to cheat like that, go ahead!
Mmmmmm ok.. what ever.
Reply With Quote
  #80  
Old 07 Nov 2002, 20:30
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Let me repeat - I DID NOT WRITE THE STORE HACK VERSION! My hack was never designed to work with the Store Hack. zajako kindly did one.

If you have a BETTER store hack integration file, please post here or PM it to me, and I will post it in this thread, with all credits given to you.
Reply With Quote
  #81  
Old 08 Nov 2002, 17:55
lalo landa lalo landa is offline
 
Join Date: Nov 2002
Ok.. my limited english make comunications problems..
I know that zajako makes the store hack add on..

And zajako only forget a line, I don't want to have credits for that..

Erwin.. thanks for your hack it's cool any way
Reply With Quote
  #82  
Old 09 Nov 2002, 00:52
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Which line did he forget? Do share it so other users who want to use the Store Hack version can benefit as well.
Reply With Quote
  #83  
Old 09 Nov 2002, 03:47
mewgood mewgood is offline
 
Join Date: Nov 2001
is it possibel to make the words appears in a random order?
Reply With Quote
  #84  
Old 09 Nov 2002, 04:55
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Originally posted by mewgood
is it possibel to make the words appears in a random order?
They do already don't they? I use a random function to randomize the words.
Reply With Quote
  #85  
Old 09 Nov 2002, 21:48
lalo landa lalo landa is offline
 
Join Date: Nov 2002
Originally posted by Erwin
Which line did he forget? Do share it so other users who want to use the Store Hack version can benefit as well.

do u realy read my post? :surprised:

http://www.vbulletin.org/forum/showt...176#post319176

Please, check this out.

EDIT: To do it easily, here's the fixed file.
Attached Files
File Type: php hangman.php (2.7 KB, 198 views)

Last edited by lalo landa; 09 Nov 2002 at 21:59.
Reply With Quote
  #86  
Old 10 Nov 2002, 00:11
kira kira is offline
 
Join Date: Nov 2001
Thanks for yet another fun hack that adds even more "stickiness" to a community! Simple to install, easy to play and modify. Great work!

And now, after the butter, I have three questions.

First, I wanted to raise the number of wrong guesses to 10, and so I created four more images (adding hands and feet, LOL) using the same naming convention (hangman_7.gif, etc.). I uploaded them, and then made the change from 6 to 10 in the vbhangman options in my cpanel. But while the number of guesses was changed, the new images aren't showing up. It just shows the same hangman_6.gif image. Is there something else I need to tweak to get the hack to display the extra four images?

Second: I added the template change to my default style as well as a secondary style. But I can't seem to get the hack to run displaying the secondary style -- I just get a blank page. Is it possible to have hangman.php show up in different styles, and if so, how?

Third: I'd like to use different sets of words, depending on different forum categories. Is it possible to create additional "categories" of word lists? Maybe by uploading/installing additional copies of the hangman.php script (renaming them hangman1.php and hangman2.php?)? I dunno, just hoping.

None of these are HUGE issues, and they sure don't take away from the enjoyment of the hack, which as I said is terrific. Thanks again!
Reply With Quote
  #87  
Old 10 Nov 2002, 04:28
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Originally posted by lalo landa
do u realy read my post? :surprised:

http://www.vbulletin.org/forum/showt...176#post319176
Oops, somehow I missed that post of yours with the fix!

Sorry! I am linking to your fixed store version hangman.php in the first post.

Thanks!
Reply With Quote
  #88  
Old 10 Nov 2002, 04:42
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Originally posted by kira
Thanks for yet another fun hack that adds even more "stickiness" to a community! Simple to install, easy to play and modify. Great work!
Thanks!


And now, after the butter, I have three questions.

First, I wanted to raise the number of wrong guesses to 10, and so I created four more images (adding hands and feet, LOL) using the same naming convention (hangman_7.gif, etc.). I uploaded them, and then made the change from 6 to 10 in the vbhangman options in my cpanel. But while the number of guesses was changed, the new images aren't showing up. It just shows the same hangman_6.gif image. Is there something else I need to tweak to get the hack to display the extra four images?
That's a bug. Darn it, I don't believe I missed it.

I've fixed up the ZIP file. The hack is now up to version 1.1

To fix this manually, read my next post. Sorry!


Second: I added the template change to my default style as well as a secondary style. But I can't seem to get the hack to run displaying the secondary style -- I just get a blank page. Is it possible to have hangman.php show up in different styles, and if so, how?
Make sure you add the "hangman" template to ALL your template styles - not just to your default.



Third: I'd like to use different sets of words, depending on different forum categories. Is it possible to create additional "categories" of word lists? Maybe by uploading/installing additional copies of the hangman.php script (renaming them hangman1.php and hangman2.php?)? I dunno, just hoping.

None of these are HUGE issues, and they sure don't take away from the enjoyment of the hack, which as I said is terrific. Thanks again!
It's not that hard to do.

You will need to add another setting in the Hangman setting section, and call the variable $hangmanwords2.

To do this, just run this query:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Then copy hangman.php and rename the new file hangman2.php

Then in the hangman2.php file, change


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

To


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I haven't tried it but it should work.
Reply With Quote
  #89  
Old 10 Nov 2002, 04:46
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Update Version 1.1

To upgrade from 1.0 to 1.1, replace the old hangman.php with the new one in the new vbhangman11.zip

1) Fixed a bug that does not allow you to increase the number of images when you increase the number of attempts.

To fix this manually, open hangman.php.

Find:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace with:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

2) For people using the Store Version of this hack by zajako, lalo landa has posted a new version with a bug fix so that people will lose points if they get it wrong. I have linked to this new file in my first post.

Sorry for the bugs, and enjoy!
Reply With Quote
  #90  
Old 02 Dec 2002, 02:41
thedude2000 thedude2000 is offline
 
Join Date: Mar 2002
a word for the wise... you can check to see if somebody has already submitted the word. read all the words already listed into an array by lines. then just simply loop thru and check against each word using if ($var = $var2) type stuff. *blinks out*
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 14:12.

Layout Options | Width: Wide Color: