Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
vB Hangman 1.2 Details »»
vB Hangman 1.2
Version: 1.00, by Erwin Erwin is offline
Developer Last Online: May 2013 Show Printable Version Email this Page

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

(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)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 10-24-2002, 03:59 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not at all

I was thinking of something that would be really cool, if you plan on a Version 2.0...

A "User Submit & Moderation" bit to the hangman file...

So that users can submit words, therefore meaning that people like myself dont always get 100% correct because I knew what words I put it

Satan
Reply With Quote
  #13  
Old 10-24-2002, 04:00 PM
zajako's Avatar
zajako zajako is offline
 
Join Date: Jan 2002
Location: a place not to far away
Posts: 633
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Erwin this rocks very smoothe of you.

:]
Reply With Quote
  #14  
Old 10-24-2002, 04:03 PM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by hellsatan
So that users can submit words, therefore meaning that people like myself dont always get 100% correct because I knew what words I put it
Thanks!

The problem with that idea is that if you allow users to submit words, you must moderate all the words (otherwise some rude or nonsensical words may be submitted) - either way you will see all the words used. Mind you, if you have enough words for Hangman, you will still have trouble remembering which 5-letter word you have entered.
Reply With Quote
  #15  
Old 10-24-2002, 04:20 PM
Buddha Buddha is offline
 
Join Date: Jan 2002
Posts: 314
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed it and it works beautifully... of course.
cool work doc.
Reply With Quote
  #16  
Old 10-24-2002, 04:32 PM
zajako's Avatar
zajako zajako is offline
 
Join Date: Jan 2002
Location: a place not to far away
Posts: 633
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Lesane store version of hack

it pays 100 points to winner or takes 50 if they lose.

just use the included hangman.php instead :]

[updated this version to 1.2 with random bug fix. ]
Reply With Quote
  #17  
Old 10-24-2002, 04:40 PM
Buddha Buddha is offline
 
Join Date: Jan 2002
Posts: 314
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

a suggestion would be to include a field for "theme" and display that on the hangman page. i did it through replacements... as i'm practically useless when it comes to php.

Reply With Quote
  #18  
Old 10-24-2002, 05:25 PM
Ninth Dimension's Avatar
Ninth Dimension Ninth Dimension is offline
 
Join Date: Oct 2001
Location: London, England.
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool hack, I've just installed it and messed about with the templates to make it part of the arcade.

http://savepoint.co.uk/arcade.php
&
http://savepoint.co.uk/hangman.php
Reply With Quote
  #19  
Old 10-24-2002, 05:34 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool

@Erwin - Yeh...Thats my hope

If enough are submitted, it is purely guesswork then

Satan
Reply With Quote
  #20  
Old 10-24-2002, 05:34 PM
Ninth Dimension's Avatar
Ninth Dimension Ninth Dimension is offline
 
Join Date: Oct 2001
Location: London, England.
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

some suggestions for you, if you want to make them that is

1, Although a lot more hard work, maybe you can allow words with descriptions and spaces, numbers, etc...

2, although cheating (by pressing the back button) is not really a major problem (after all, the only person they are cheating is themselves), maybe this can be prevented?

3, something that I would like to see is some type of intregration with the arcade so users can play and will get a score based on the number of correct words guessed (but maybe this could wait for a more advanced verson of the script)

if I think of anymore, i'll let you know
Reply With Quote
  #21  
Old 10-24-2002, 05:39 PM
xware's Avatar
xware xware is offline
 
Join Date: Nov 2001
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice hack! Installed.
but if a user press the back button he could paly again and guess all words.
Reply With Quote
Reply

Thread Tools

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

Forum Jump


All times are GMT. The time now is 04:49 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06862 seconds
  • Memory Usage 2,307KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete