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

Reply
 
Thread Tools
Jigzone.com BB Code - Embed Puzzles in your forums - (BBCode) Details »»
Jigzone.com BB Code - Embed Puzzles in your forums - (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-18-2010 Last Update: Never Installs: 19
Re-useable Code Translations  
No support by the author.

Jigzone.com is a free website where you can upload photos and make jigsaw puzzles out of them. These puzzles can then be embedded into your forum using this BB Code, like you would a YouTube video.

Jigzone offers many options in terms of how to embed the puzzle and in how many pieces (and what shaped pieces) your photo should be broken into. For simplicity's sake I have hard coded this BB Code as a traditional 20 piece jigsaw. I will explain what needs to be changed for other options.

After being embedded users will have options to change the shape and number of pieces from the options that will appear to the left of the puzzle.

Live Demo: Here

Add a New BB Code

Title: Jigzone Puzzle
BB Code Tag Name: puzzle
Replacement:
Code:
<script src="http://www.jigzone.com/zes?i={param}&amp;z=6" type="text/javascript"></script><noscript><a href="http://www.jigzone.com/puzzles/{param}">Link to Puzzle</a></noscript>
Example:[puzzle]5F14EE77238[[/puzzle]
Description: Embedded Puzzles powered by www.jigzone.com.
Use Option: No
Button Image: (optional)
Remove Tag If Empty: Yes
All Disable Options: Yes

------
This code makes a 20 piece classic shaped jigsaw puzzle. The part of code that decides this is the part: &amp;z=6

6 = 20 piece classic jigsaw
0 = 48 piece classic jigsaw
5 = 6 piece classic (too easy!)
18 = 41 pieces "Tetris" Blocks
30 = 154 piece classic (Hard!)
34 = 240 piece squares (Weird!)
33 = 247 piece triangles (Crazy!)

For a complete list make a puzzle at Jigzone and play with the options, look at the embed code to see how the number after "z=" changes to see what number corresponds to your preferred puzzle.
------

To make one you need to sign up for an account at www.jigzone.com and upload a photo or image. You will then be given link and embed codes. Go to the first link code it will look something like:
Code:
<a href="http://www.jigzone.com/puzzles/5F14EE77238?z=0&amp;m=AE250BFF3C.930EFB0"><img src="http://www.jigzone.com/im/pCut/0.png" alt="Click to Mix and Solve" style="width:400px;height:300px;margin:4px;padding:0;border:1px solid #999;background:transparent url(http://www.jigzone.com/puz/zemThumb?p.up.M.U5.P0.32u0i:jpg)"/></a>
The number you need is from the line: http://www.jigzone.com/puzzles/5F14EE77238?z=0&amp;m=AE250BFF3C.930EFB0">
All you need is the puzzle code, in this case: 5F14EE77238

You put the "Puzzle Code" in between the "puzzle" tags:
[puzzle]5F14EE77238[/puzzle]

As the embed code uses JavaScript you may need to reload the page after submitting to see the puzzle, and of course you must have JavaScript enabled. If you don't have JS enabled you'll get a link to the puzzle instead.

I have hard coded the initial options as a 20 piece classic jigsaw but before you start the puzzle you can use the options on the left to change the shape and number of pieces to your liking.

-----


Notice: The 'puzzle code' must be entered exactly as it is from the link code provided, including the fact it MUST be in UPPERCASE- CE14EEB7547 for example...
If you have "Prevent Shouting" enabled you will have to disable it-
VBulletin Options -> Message Posting and Editing Options -> Prevent Shouting.

Please mark as installed if you use this.

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

Screenshot Attached:
https://vborg.vbsupport.ru/attachmen...1&d=1282230253
https://vborg.vbsupport.ru/attachmen...1&d=1282230253

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

Download Now

File Type: txt jigzone bbcode.txt (3.4 KB, 57 views)

Screenshots

File Type: jpg ss_puzzlebefore.jpg (141.6 KB, 0 views)
File Type: jpg ss_puzzleafter.jpg (121.4 KB, 0 views)

Show Your Support

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

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

From the original instructions:

Quote:
To change the default number of pieces change the 2 instances of "4x4" to higher numbers like "5x5" or "6x6".
In the replacement code look for 2 instances of "4x4" - you need to change BOTH of them to "6x6"
Reply With Quote
  #23  
Old 08-21-2010, 08:54 PM
thecelticway thecelticway is offline
 
Join Date: Aug 2009
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
From the original instructions:



In the replacement code look for 2 instances of "4x4" - you need to change BOTH of them to "6x6"
I believe that both these are changed~~~~


yes they are~~~~
:erm:

<div style="background-color: #ffffff; border: 1px solid black; height: 350px;">
<object width="100%" height="100%" classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0">
<param name="scale" value="noscale" />
<param name="movie" value="http://static.jigsawsite.com/201008211251596120_5x5s.swf">
<param name="wmode" value="transparent" />
<param name="allowNetworking" value="all" />
<param name="allowScriptAccess" value="always" />
<embed wmode="transparent" scale="noscale" allowScriptAccess="always" allowNetworking="all" src="http://static.jigsawsite.com/201008211251596120_5x5s.swf" width="100%" height="100%" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
</embed>
</object>
</div>
<p><a title="play 1000s of jigsaw puzzles online" href="http://jigsawsite.com/">Online jigsaw puzzles</a> from <a title="create jigsaw puzzles from your photos" href="http://jigsawsite.com/">JigsawSite.com</a></p>
Reply With Quote
  #24  
Old 08-21-2010, 09:00 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is the exact code I use and it works, 6x6:

Code:
<div style="background-color: #ffffff; border: 1px solid black; height: 350px;">
<object width="100%" height="100%" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0">
<param name="scale" value="noscale" />
<param name="movie" value="http://static.jigsawsite.com/{param}_6x6s.swf">
<param name="wmode" value="transparent" />
<param name="allowNetworking" value="all" />
<param name="allowScriptAccess" value="always" />
<embed wmode="transparent" scale="noscale" allowScriptAccess="always" allowNetworking="all" src="http://static.jigsawsite.com/{param}_6x6s.swf" width="100%" height="100%" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
</embed>
</object>
</div>
<p><a title="play 1000s of jigsaw puzzles online" href="http://jigsawsite.com/">Online jigsaw puzzles</a> from <a title="create jigsaw puzzles from your photos" href="http://jigsawsite.com/">JigsawSite.com</a></p>

Can you give a link to a post where it isn't working?
Reply With Quote
  #25  
Old 08-21-2010, 09:11 PM
thecelticway thecelticway is offline
 
Join Date: Aug 2009
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
This is the exact code I use and it works, 6x6:

Code:
<div style="background-color: #ffffff; border: 1px solid black; height: 350px;">
<object width="100%" height="100%" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0">
<param name="scale" value="noscale" />
<param name="movie" value="http://static.jigsawsite.com/{param}_6x6s.swf">
<param name="wmode" value="transparent" />
<param name="allowNetworking" value="all" />
<param name="allowScriptAccess" value="always" />
<embed wmode="transparent" scale="noscale" allowScriptAccess="always" allowNetworking="all" src="http://static.jigsawsite.com/{param}_6x6s.swf" width="100%" height="100%" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
</embed>
</object>
</div>
<p><a title="play 1000s of jigsaw puzzles online" href="http://jigsawsite.com/">Online jigsaw puzzles</a> from <a title="create jigsaw puzzles from your photos" href="http://jigsawsite.com/">JigsawSite.com</a></p>

Can you give a link to a post where it isn't working?

is this your replacement code?
Reply With Quote
  #26  
Old 08-21-2010, 09:14 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, I just copied it from my bb code manager- that is exactly what I use.
Reply With Quote
  #27  
Old 08-21-2010, 09:21 PM
thecelticway thecelticway is offline
 
Join Date: Aug 2009
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
Yes, I just copied it from my bb code manager- that is exactly what I use.


yep~~~~ thats done it 6x6
old code was 4x4..................
many thanks......
btw installed your zippy mp3 that too is working great.....:up:
Reply With Quote
  #28  
Old 08-21-2010, 09:28 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cool. :up:
Reply With Quote
  #29  
Old 11-09-2011, 07:34 AM
starman? starman? is offline
 
Join Date: Apr 2008
Posts: 181
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How on earth I missed this mod, I have no idea. Cool and thanks.
Reply With Quote
Благодарность от:
BirdOPrey5
  #30  
Old 04-15-2015, 01:05 PM
Nobleman Nobleman is offline
 
Join Date: Nov 2014
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice Idea, I have tried this but users come to the site and are asked to log in to the puzzle site first.....not sure if this is something in the setup.
Reply With Quote
  #31  
Old 04-15-2015, 04:05 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It might be something they do for new puzzles. On my site old puzzles still seem to work- http://www.juot.net/forums/showthread.php?t=70406
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 05:38 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.11425 seconds
  • Memory Usage 2,349KB
  • Queries Executed 26 (?)
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
  • (4)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • 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
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete