Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

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: 4.0.x Rating:
Released: 08-19-2010 Last Update: 08-20-2010 Installs: 17
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, 76 views)

Screenshots

File Type: jpg ss_games_ws.jpg (62.0 KB, 0 views)
File Type: jpg ss_games_cross.jpg (48.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
  #22  
Old 11-18-2010, 11:18 PM
Bob_R Bob_R is offline
 
Join Date: Jun 2009
Posts: 535
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, I actually got it to work except:

The actual game is not visible (I'm talking the crossword game)
Reply With Quote
  #23  
Old 11-19-2010, 02:20 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bob_R View Post
I got this when trying to add the bb code:

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>
You can safely hit "Continue" and it will work as expected.

Quote:
Originally Posted by Bob_R View Post
OK, I actually got it to work except:

The actual game is not visible (I'm talking the crossword game)

You will need to refresh the page to see the game show up if you add it via quick-reply to an existing thread. (The page needs to reload for it to show). If you've done that and it still isn't showing can you give me a link to a page where it should be working? I'll take a look.
Reply With Quote
  #24  
Old 11-29-2010, 02:35 PM
exportforce exportforce is offline
 
Join Date: Jun 2007
Posts: 157
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Too bad it's just hotlinking other work.
It would be so awesome, if you could have your own words, especially for forums not in english.
Reply With Quote
  #25  
Old 11-29-2010, 02:46 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by exportforce View Post
Too bad it's just hotlinking other work.
It would be so awesome, if you could have your own words, especially for forums not in english.
While it is linking to other work it is totally OK to do so. ProProfs.com encourages users to embed these games in their own sites by providing the embed code like YouTube and many other sites do. They know with each embedding they grow their brand and it's like free advertisements for them. This isn't "stealing" anything, they give it away, I just made it easy for vBulletin admins to use.

As for non-english words you'd have to contact them.
Reply With Quote
  #26  
Old 03-20-2013, 06:35 PM
Bluemax712 Bluemax712 is offline
 
Join Date: Oct 2010
Posts: 186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to limit who can use the BBcode for each game?
Reply With Quote
  #27  
Old 03-21-2013, 12:57 AM
Bluemax712 Bluemax712 is offline
 
Join Date: Oct 2010
Posts: 186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by apsrfvb4 View Post
Is there a way to limit who can use the BBcode for each game?
ahhh - found another one of your mods - Advanced BBCode Permissions
The beta 4.0 version with the post #303 fix seems to work with 4.20

Thanks

https://vborg.vbsupport.ru/showthread.php?p=1159541
Reply With Quote
  #28  
Old 04-09-2013, 12: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

Not my mod but glad the fix works for you. :up:
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 10:41 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.05615 seconds
  • Memory Usage 2,309KB
  • Queries Executed 23 (?)
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
  • (6)bbcode_code
  • (4)bbcode_quote
  • (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
  • (2)pagenav_pagelink
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (5)postbit_attachment
  • (8)postbit_onlinestatus
  • (8)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