Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
ProProfs Brain Games BB Code- embed games in your forum (bbcode) Details »»
ProProfs Brain Games BB Code- embed games in your forum (bbcode)
Version: 1.00, by BirdOPrey5 (Senior Member) BirdOPrey5 is offline
Developer Last Online: Aug 2023 Show Printable Version Email this Page

Category: BB Code Enhancements - Version: 3.8.x Rating:
Released: 08-19-2010 Last Update: 08-20-2010 Installs: 9
Supported
Re-useable Code Translations  

ProProfs Brain Games is a site where you can create several types of games to embed into your forum using standard BB Code.

Live Demo: Here

For all the codes listed here there will be several common settings-
Add a new BB Code
Description: Embedded game from ProProfs.com.
Use Option: No
Remove Tag If Empty: Yes
All Disable Options: Yes

The following are the unique settings for each game...

Title: Crossword Puzzle
BB Code Tag Name: crossword
Replacement:
Code:
<object width='630' height='580'><param name='movie' value='http://www.proprofs.com/games/crossword/swf/crossword_w.swf' /><param name='FlashVars' value='id={param}&level=easy' /> <param name='allowScriptAccess' value='always' /><param name='quality' value='high' /><embed name='proprofs_flashGame' src='http://www.proprofs.com/games/crossword/swf/crossword_w.swf' FlashVars='id={param}&level=easy' width='630' height='580' allowScriptAccess='always' quality='high' type='application/x-shockwave-flash'></embed></object><div style='font-size:10px; font-family:Arial, Helvetica, sans-serif; color:#000;'><a href='http://www.proprofs.com/games/crossword/' title='make crossword puzzle' target='_blank'>make crossword puzzle</a></div>
Example: [crossword]2466[/crossword]

In the embed code look for FlashVars='id=NUMBER and put NUMBER between the [crossword] tags.

---

Title: Word Search
BB Code Tag Name: wordsearch
Replacement:
Code:
<object width='625' height='450'><param name='movie' value='http://www.proprofs.com/games/word-search/swf/wse_w.swf' /><param name='FlashVars' value='id={param}&wordscount=6&gametime=3600' /> <param name='allowScriptAccess' value='always' /><param name='quality' value='high' /><embed name='proprofs_flashGame' src='http://www.proprofs.com/games/word-search/swf/wse_w.swf' FlashVars='id={param}&wordscount=6&gametime=3600' width='625' height='450' allowScriptAccess='always' quality='high' type='application/x-shockwave-flash'></embed></object><div style='font-size:10px; font-family:Arial, Helvetica, sans-serif; color:#000;'><a href='http://www.proprofs.com/games/word-search/' title='free word search' target='_blank'>free word search</a></div>
Example: [wordsearch]84[/wordsearch]

In the embed code look for FlashVars='id=NUMBER and put NUMBER between the [wordsearch] tags.

---

Title: Slide Puzzle
BB Code Tag Name: slide
Replacement:
Code:
<iframe style='width:420px; height:460px; overflow-x:hidden;' frameborder='0' name='proprofs' id='proprofs' src='http://www.proprofs.com/games/puzzle/sliding/widget/?title={param}'></iframe><div style='font-size:10px; font-family:Arial, Helvetica, sans-serif; color:#000;'><a href='http://www.proprofs.com/games/puzzle/sliding/' title='slide puzzle' target='_blank'>slide puzzle</a></div>
Example: [slide]sedona-az[/slide]

From the embed code look for "title=puzzle-title" and put "puzzle-title" between the [slide] tags.

---

Title: Hangman
BB Code Tag Name: hangman
Replacement:
Code:
<object width='625' height='450'><param name='movie' value='http://www.proprofs.com/games/word-games/hangman/swf/hangman_w.swf' /><param name='FlashVars' value='id={param}' /> <param name='allowScriptAccess' value='always' /><param name='quality' value='high' /><embed name='proprofs_flashGame' src='http://www.proprofs.com/games/word-games/hangman/swf/hangman_w.swf' FlashVars='id={param}' width='625' height='450' allowScriptAccess='always' quality='high' type='application/x-shockwave-flash'></embed></object><div style='font-size:10px; font-family:Arial, Helvetica, sans-serif; color:#000;'><a href='http://www.proprofs.com/games/word-games/hangman/' title='hangman game' target='_blank'>hangman game</a></div>
Example: [hangman]1863[/hangman]

In the embed code look for FlashVars='id=NUMBER' and put NUMBER between the [hangman] tags.

---

Title: Word Scramble
BB Code Tag Name: scramble
Replacement:
Code:
<object width='600' height='300'><param name='movie' value='http://www.proprofs.com/games/word-games/word-scramble/swf/wordscramble_w.swf' /><param name='FlashVars' value='id={param}' /> <param name='allowScriptAccess' value='always' /><param name='quality' value='high' /><embed name='proprofs_flashGame' src='http://www.proprofs.com/games/word-games/word-scramble/swf/wordscramble_w.swf' FlashVars='id={param}' width='600' height='300' allowScriptAccess='always' quality='high' type='application/x-shockwave-flash'></embed></object><div style='font-size:10px; font-family:Arial, Helvetica, sans-serif; color:#000;'><a href='http://www.proprofs.com/games/word-games/word-scramble/' title='word scramble game' target='_blank'>word scramble game</a></div>
Example: [scramble]707[/scramble]

In the embed code look for 'FlashVars' value='id=NUMBER' and put NUMBER between the [scramble] tags.

---

Title: Jigsaw Puzzle
BB Code Tag Name: jigsaw
Replacement:
Code:
<object width='625' height='450'><param name='movie' value='http://www.proprofs.com/games/jigsaw/swf/jigsaw_w.swf' /><param name='FlashVars' value='id={param}' /> <param name='allowScriptAccess' value='always' /><param name='quality' value='high' /><embed name='proprofs_flashGame' src='http://www.proprofs.com/games/jigsaw/swf/jigsaw_w.swf' FlashVars='id={param}' width='625' height='450' allowScriptAccess='always' quality='high' type='application/x-shockwave-flash'></embed></object><a href='http://www.proprofs.com/games/jigsaw/' title='jigsaw puzzles' target='_blank'>jigsaw puzzles</a></div>
Example: [jigsaw]4021[/jigsaw]

In the embed code look for 'FlashVars' value='id=NUMBER' and put NUMBER between the [jigsaw] tags.

I will try and attach some editor buttons shortly, they are optional of course.

Please mark as installed if you use this.

Check My Profile for other BB Code enhancements. They work on all versions.

Download the .txt file for a copy of the Install Instructions.

Download Now

File Type: txt proprofs_games_bbcode.txt (5.9 KB, 30 views)

Screenshots

File Type: jpg ss_games_cross.jpg (48.0 KB, 0 views)
File Type: jpg ss_games_ws.jpg (62.0 KB, 0 views)
File Type: jpg ss_games_slidehang.jpg (63.5 KB, 0 views)
File Type: jpg ss_games_scampuzz.jpg (67.4 KB, 0 views)

Show Your Support

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

Comments
  #12  
Old 05-21-2012, 10:12 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You would need to create your own vBulletin pages and put the HTML embed code ProProf's gives you into a custom template.

There is an article in the VB4 Articles section about creating your own vBulletin pages. It takes some doing but if you follow the instructions should not be a problem.
Reply With Quote
  #13  
Old 05-22-2012, 01:32 PM
Dave234 Dave234 is offline
 
Join Date: Mar 2012
Posts: 256
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When I enter the embed code into the "Replacement" section as it appears above, it says:

The following BB Code replacement may not be properly formed. All HTML attributes should be enclosed within double quotes.

•<object width='630' height='580'><param name='movie' value='http://www.proprofs.com/games/crossword/swf/crossword_w.swf' /><param name='FlashVars' value='id={param}&level=easy' /> <param name='allowScriptAccess' value='always' /><param name='quality' value='high' /><embed name='proprofs_flashGame' src='http://www.proprofs.com/games/crossword/swf/crossword_w.swf' FlashVars='id={param}&level=easy' width='630' height='580' allowScriptAccess='always' quality='high' type='application/x-shockwave-flash'></embed></object><div style='font-size:10px; font-family:Arial, Helvetica, sans-serif; color:#000;'><a href='http://www.proprofs.com/games/crossword/' title='make crossword puzzle' target='_blank'>make crossword puzzle</a></div>
Reply With Quote
  #14  
Old 05-22-2012, 02:07 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can safely hit "Continue" it is safe and OK.
Reply With Quote
  #15  
Old 05-22-2012, 05:36 PM
Dave234 Dave234 is offline
 
Join Date: Mar 2012
Posts: 256
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What does this mean:

In the embed code look for FlashVars='id=NUMBER and put NUMBER between the [crossword] tags.

And why is there a 2466 in between [crossword]2466[/crossword]
Reply With Quote
  #16  
Old 05-22-2012, 06:42 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Proprof will give you a long embed URL... look through the URL because all you care about is the number that follows id= in the URL.

You then put that number and only that number between the [crosswords] tags.
Reply With Quote
  #17  
Old 05-22-2012, 09:54 PM
Dave234 Dave234 is offline
 
Join Date: Mar 2012
Posts: 256
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So you have to always put that particular number in it? Isn't that the number that's already in the examples provided?
Reply With Quote
  #18  
Old 05-22-2012, 11:44 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No that number is from the example URL... you take the number that ProProfs gives you on your own crossword puzzle- everyone's will be different.

I just went to ProProfs and made a new crossword- I don't see a link to the crossword given anymore- but there is embed code.

So go to the embed code they give you for example:

Code:
<object width='430' height='300'><param name='movie' value='http://www.proprofs.com/games/crossword/swf/crossword_w.swf' /><param name='FlashVars' value='id=11358&level=easy' /> <param name='allowScriptAccess' value='always' /><param name='quality' value='high' /><embed name='proprofs_flashGame' src='http://www.proprofs.com/games/crossword/swf/crossword_w.swf' FlashVars='id=11358&level=easy' width='430' height='300' allowScriptAccess='always' quality='high' type='application/x-shockwave-flash'></embed></object><div style='font-size:10px; font-family:Arial, Helvetica, sans-serif; color:#000;'><a href='http://www.proprofs.com/games/crossword/vbulletin-test/' target='_blank' title='vBulletin Test crossword puzzle game'>vBulletin Test crossword puzzle game</a> ? <a href='http://www.proprofs.com/games/crossword/' title='make crossword puzzle' target='_blank'>make crossword puzzle</a></div>
You still need the number after id= so in this case (in red) it is: 11358

So the crossword bbcode would be

[crossword]11358[/crossword]
Reply With Quote
  #19  
Old 05-23-2012, 11:08 AM
Dave234 Dave234 is offline
 
Join Date: Mar 2012
Posts: 256
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So I need to go to that website and then make my own puzzles?
Reply With Quote
  #20  
Old 05-23-2012, 06:27 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes, that is the point. To embed puzzles you make on their website.
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 01:43 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06047 seconds
  • Memory Usage 2,338KB
  • 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
  • (7)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (5)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete