Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

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
  #72  
Old 10-26-2002, 12:54 AM
Pancreas Paul Pancreas Paul is offline
 
Join Date: Sep 2002
Location: OH
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, got this working. Clicks install
Reply With Quote
  #73  
Old 10-26-2002, 04:17 PM
Matt87 Matt87 is offline
 
Join Date: Mar 2002
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a very good idea. Once again, GREAT job!

http://www.cnchq.com/forum/hangman.php
Reply With Quote
  #74  
Old 10-26-2002, 04:25 PM
Buddha Buddha is offline
 
Join Date: Jan 2002
Posts: 314
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Erwin


What a nice thing to say! Thanks!
i gotta say doc, i wholeheartedly agree.
Reply With Quote
  #75  
Old 10-27-2002, 03:52 PM
Graphics's Avatar
Graphics Graphics is offline
 
Join Date: Mar 2002
Posts: 157
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent work.

* Installed
Reply With Quote
  #76  
Old 10-28-2002, 06:16 AM
Cyberhouse Cyberhouse is offline
 
Join Date: Jun 2002
Location: Sweden
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice work

Installed
Reply With Quote
  #77  
Old 10-29-2002, 10:49 PM
edwardandtubbs1 edwardandtubbs1 is offline
 
Join Date: Oct 2002
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

love it Installed in maybe 2 minutes.
Reply With Quote
  #78  
Old 11-06-2002, 02:14 AM
lalo landa lalo landa is offline
 
Join Date: Nov 2002
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Huge bug..

hangman.php?letters=ABCDEFGHIJKLMNOPQRSTUVWXYZ&n=3 3

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)

PHP Code:
$user $DB_site->query_first("SELECT userid,username,storep,usertitle FROM user WHERE userid=$bbuserinfo[userid]");
$points=$user[storep];
    
$points $points 50; \\Points 
Add the last line.. to do the query

PHP Code:
$user $DB_site->query_first("SELECT userid,username,storep,usertitle FROM user WHERE userid=$bbuserinfo[userid]");
$points=$user[storep];
    
$points $points 50;
    
$DB_site->query("UPDATE user SET storep='$points' WHERE userid=$bbuserinfo[userid]"); 
If not.. the user never lose points.


we have not been able to fix this bug that makes all of our users win
Reply With Quote
  #79  
Old 11-06-2002, 03:07 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by lalo landa
Huge bug..

hangman.php?letters=ABCDEFGHIJKLMNOPQRSTUVWXYZ&n=3 3

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!

Quote:


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
  #80  
Old 11-07-2002, 06:05 PM
lalo landa lalo landa is offline
 
Join Date: Nov 2002
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

don't get mad erwin.

I write the solution of the store hack problem.

Quote:
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
  #81  
Old 11-07-2002, 06:30 PM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply


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 09:05 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.07432 seconds
  • Memory Usage 2,320KB
  • 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
  • (2)bbcode_php
  • (4)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
  • (4)pagenav_pagelink
  • (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