PDA

View Full Version : BB Code Enhancements - Jigzone.com BB Code - Embed Puzzles in your forums - (BBCode)


BirdOPrey5
08-18-2010, 10:00 PM
Jigzone.com (http://www.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 (http://www.juot.net/forums/showthread.php?p=852997#post852997)

Add a New BB Code

Title: Jigzone Puzzle
BB Code Tag Name: puzzle
Replacement:

<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:5F14EE77238[
Description: Embedded Puzzles powered by www.jigzone.com.
Use Option: No
Button Image: (optional) https://vborg.vbsupport.ru/attachment.php?attachmentid=121036&stc=1&d=1282230253
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:

<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;bord er: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:
5F14EE77238

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 (https://vborg.vbsupport.ru/member.php?u=258922) for other BB Code enhancements. They work on all versions.

Screenshot Attached:
https://vborg.vbsupport.ru/attachment.php?attachmentid=121037&stc=1&d=1282230253
https://vborg.vbsupport.ru/attachment.php?attachmentid=121038&stc=1&d=1282230253

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

COL NIL SATIS
08-19-2010, 02:56 PM
tagged..i like the look of this

basilrath
08-19-2010, 03:01 PM
well i installed it and its actually quite good !

bloody addictive !

BirdOPrey5
08-19-2010, 03:27 PM
They are addictive... I wish jigzone could auto load a photo from photobucket or flickr but maybe one day...

COL NIL SATIS
08-19-2010, 03:58 PM
installed mate ,love it !!!!!!

MausEG365
08-19-2010, 08:47 PM
So i have carefully reviewed each step, and while i will admit to having ADD, i think i followed the instructions...but...

Everytime i post an image, it only shows the 'default' (5F14EE77238) image, or the one that is in the example row when i add a new BB code. Whatever image i put there, like '8514EEA3F52' the default continues to show on each post.

any direction someone can offer?

im sure im looking too deep into this, and its just jumping right at me.

BirdOPrey5
08-19-2010, 08:48 PM
Link to your forum?

ProFifaLeagues
08-19-2010, 08:54 PM
Superb Fun great mod thanks!

BirdOPrey5
08-20-2010, 01:55 AM
I made a small change to the code to take out some useless info- it's not a big deal if you already installed the old version but it has been updated to be a little cleaner.

Also to MausEG365, someone else has the same issue as you though for most it is working- I am trying to figure it out... Knowing what browser and OS you use would help, as would a link to your forum if possible.

BirdOPrey5
08-20-2010, 03:15 AM
So i have carefully reviewed each step, and while i will admit to having ADD, i think i followed the instructions...but...

Everytime i post an image, it only shows the 'default' (5F14EE77238) image, or the one that is in the example row when i add a new BB code. Whatever image i put there, like '8514EEA3F52' the default continues to show on each post.

any direction someone can offer?

im sure im looking too deep into this, and its just jumping right at me.

OK I figured this out for someone else, 99% sure you have the same issue... his forum was auto converting his URLs to all lowercase, he had "Prevent Shouting" enabled... you must disable it-
VBulletin Options -> Message Posting and Editing Options -> Prevent Shouting
You can view source of your forum to confirm if the code is in upper case or not.

MausEG365
08-20-2010, 04:32 AM
OK I figured this out for someone else, 99% sure you have the same issue... his forum was auto converting his URLs to all lowercase, he had "Prevent Shouting" enabled... you must disable it-
VBulletin Options -> Message Posting and Editing Options -> Prevent Shouting
You can view source of your forum to confirm if the code is in upper case or not.

Checking now...sorry for the delay, I just got home from work.

well the thumbnail definitely changed to the image i want to display, but now the main post says "The puzzle is loading" and then times out...referring to loss of internet(not the case) or a java issue(will check that in a minute)

MausEG365
08-20-2010, 04:36 AM
That was it! For the life of me, dont know why JAVA wasnt up to date on my design PC, but its all good.

THanks for the help, and great work on these mods.

I will be following your profile for future ones.

thecelticway
08-20-2010, 07:10 PM
working great~~~~~thanks

would be better it you were able to delete the icon photo making it a good quiz ..... any directions on how to remove the side picture

BirdOPrey5
08-20-2010, 07:41 PM
working great~~~~~thanks


would be better it you were able to delete the icon photo making it a good quiz ..... any directions on how to remove the side picture

Unfortunately that is not an option at the moment, you can only disable the picture if you login and play their 'puzzle of the day' in which case the setting is in your account options.

There is a similar site where you can embed puzzles also called www.jigsawsite.com and they do not provide a sample picture by default (though you can show it if you want.)

If you prefer to use their puzzle then do the following- but they ask you limit yourself to 1 puzzle per forum page to help their bandwidth.

Use the same settings as above but the following replacement:

<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}_4x4s.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}_4x4s.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>


The example code would be:
20090907090552206

To change the default number of pieces change the 2 instances of "4x4" to higher numbers like "5x5" or "6x6".

It's a bit of a pain to find the code you need to use... you need to go to the embed code which looks like:


<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/2009090218222477_4x4s.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/2009090218222477_4x4s.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


You need to look at the line:
<param name="movie" value="http://static.jigsawsite.com/2009090218222477_4x4s.swf">

And take the number before the underscore: 2009090218222477 - that is what you put between the puzzle tags:
2009090218222477

But I would use this puzzle site as a last resort, the original code looks much better IMO.

COL NIL SATIS
08-20-2010, 10:18 PM
cool

kylek
08-21-2010, 03:45 AM
Thanks for this, worked great once I found the shout setting!!!

Where would you find info on the other puzzles you have shown on your site? (Hangman, word search, etc)

BirdOPrey5
08-21-2010, 10:13 AM
If you click on the link to "My Profile" I provided in the mod you will see a BB Code called "ProProfs Games" - that embeds those games.

thecelticway
08-21-2010, 02:05 PM
Unfortunately that is not an option at the moment, you can only disable the picture if you login and play their 'puzzle of the day' in which case the setting is in your account options.

There is a similar site where you can embed puzzles also called www.jigsawsite.com and they do not provide a sample picture by default (though you can show it if you want.)

If you prefer to use their puzzle then do the following- but they ask you limit yourself to 1 puzzle per forum page to help their bandwidth.

Use the same settings as above but the following replacement:

<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}_4x4s.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}_4x4s.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>


The example code would be:
20090907090552206

To change the default number of pieces change the 2 instances of "4x4" to higher numbers like "5x5" or "6x6".

It's a bit of a pain to find the code you need to use... you need to go to the embed code which looks like:


<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/2009090218222477_4x4s.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/2009090218222477_4x4s.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


You need to look at the line:
<param name="movie" value="http://static.jigsawsite.com/2009090218222477_4x4s.swf">

And take the number before the underscore: 2009090218222477 - that is what you put between the puzzle tags:
2009090218222477

But I would use this puzzle site as a last resort, the original code looks much better IMO.



thanks...:up:... that site works just fine and lets us use this as a quiz... but it only makes the lowest amount of piece's despite setting it to 6x6 :erm:

BirdOPrey5
08-21-2010, 03:35 PM
thanks...:up:... that site works just fine and lets us use this as a quiz... but it only makes the lowest amount of piece's despite setting it to 6x6 :erm:

You know there are 2 places you need to change 4x4 to 6x6?

thecelticway
08-21-2010, 08:41 PM
You know there are 2 places you need to change 4x4 to 6x6?

no.... I didn't....... hopefully you will tell me.......:D

BirdOPrey5
08-21-2010, 08:45 PM
From the original instructions:

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" ;)

thecelticway
08-21-2010, 08:54 PM
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~~~~:confused:


yes they are~~~~
:erm:

<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/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>

BirdOPrey5
08-21-2010, 09:00 PM
This is the exact code I use and it works, 6x6:


<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?

thecelticway
08-21-2010, 09:11 PM
This is the exact code I use and it works, 6x6:


<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?

BirdOPrey5
08-21-2010, 09:14 PM
Yes, I just copied it from my bb code manager- that is exactly what I use.

thecelticway
08-21-2010, 09:21 PM
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:

BirdOPrey5
08-21-2010, 09:28 PM
cool. :up:

starman?
11-09-2011, 07:34 AM
How on earth I missed this mod, I have no idea. Cool and thanks.

Nobleman
04-15-2015, 01:05 PM
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.

BirdOPrey5
04-15-2015, 04:05 PM
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

Nobleman
04-27-2015, 12:43 PM
I did send them a message to see if that's what it is........

Thanks man