vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Turning Photograph Puzzle into BBCODE (https://vborg.vbsupport.ru/showthread.php?t=305384)

katie hunter 12-04-2013 10:57 PM

Turning Photograph Puzzle into BBCODE
 
I came across this nice puzzle site which turns any pic you upload into puzzle ex

http://two.flash-gear.com/npuz/puz.p...274&k=85553476

How can i use the code to turn it into a bbcode? I tried to figure it out but i couldn't

This is the main page
http://www.flash-gear.com/puzzle/

tbworld 12-05-2013 05:01 AM

1 Attachment(s)
I had no problems creating a BBCODE for the puzzle. Post your BBCODE information or high resolution 'pic', if you would like help.

katie hunter 12-05-2013 05:52 AM

Hi tbworld, can you share the bbcode you used in your admin cp?

This part --> Replacement

Please be careful to use well formed HTML for your BB Code replacement. Failure to do so, can result in your bbcode being exploited by users. All HTML tag attributes should be enclosed in double quotes. Examples:

<img src="{param}" style="border:1px solid black" />
<a href="{option}" style="border-color:red;border-style: outset;" />{param}</a>

Note that the highlighted attributes are enclosed in double quotes.

tbworld 12-05-2013 05:59 AM

1 Attachment(s)
Quote:

Originally Posted by katie hunter (Post 2465883)
Hi tbworld, can you share the bbcode you used in your admin cp?

Title:
Code:

FlashPuzzle
BB Code Tag Name
Code:

puzzle
Replacement:
Code:

<br><center><a href="http://www.flash-gear.com/index.php?puz"><img src="http://www.flash-gear.com/puz1.gif"></a><br><EMBED allowScriptAccess="always" allowNetworking="all" src="http://two.flash-gear.com/npuz/puz.php?c=f&o=1&id=3128274&k=85553476&s=150&w=600&h=450" quality=high wmode=transparent scale=noscale salign=LT bgcolor="FFFFFF" WIDTH="750" HEIGHT="600" NAME="puz24087" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" /><BR><a href="http://www.flash-gear.com/index.php?puz"><img src="http://www.flash-gear.com/puz2.gif"><br><b><font face="Verdana"></font></b></a><br></center><br>
Example:Description: (Whatever you want).

See K2.jpg attached for Radio button answers.

tbworld 12-05-2013 06:01 AM

One of these days I am going to write a bbcode export/import routine. :)

Digital Jedi 12-05-2013 06:08 AM

Am I overlooking the {param} in there somewhere? :confused:

tbworld 12-05-2013 06:14 AM

Quote:

Originally Posted by Digital Jedi (Post 2465887)
Am I overlooking the {param} in there somewhere? :confused:

No param is needed for her example. As it refers to a single puzzle. I admit it does look funny. :)

katie hunter 12-05-2013 01:09 PM

We don't need a paramater =s ? i mean users upload different pic to turn it into puzzle, so this would work with only one image not any uploaded image.

Can we make it so it works with any uploaded image?

Edit: this wouldn't work :/ this is the part i didn't know which is to make it work with paramater so it can work with any image.
I can't like your post, i have to spread more! x3

tbworld 12-05-2013 01:14 PM

Quote:

Originally Posted by katie hunter (Post 2465934)
We don't need a paramater =s ? i mean users upload different pic to turn it into puzzle, so this would work with only one image not any uploaded image.

Can we make it so it works with any uploaded image?

Edit: this wouldn't work :/ this is the part i didn't know which is to make it work with paramater so it can work with any image.
I can't like your post, i have to spread more! x3

Let me take a look at their code. I thought your question was too simple for your level, unfortunately what you were asking was not that clear to me. :)

katie hunter 12-05-2013 03:12 PM

Quote:

Originally Posted by tbworld (Post 2465935)
Let me take a look at their code. I thought your question was too simple for your level, unfortunately what you were asking was not that clear to me. :)

Sorry :d yap i want to use it as a bbcode and it works with any image uploaded by the user to become any puzzle.


All times are GMT. The time now is 09:13 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.01139 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete