Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 12-04-2013, 10:57 PM
katie hunter's Avatar
katie hunter katie hunter is offline
 
Join Date: May 2007
Posts: 533
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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/
Reply With Quote
  #2  
Old 12-05-2013, 05:01 AM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had no problems creating a BBCODE for the puzzle. Post your BBCODE information or high resolution 'pic', if you would like help.
Attached Images
File Type: jpg k1.jpg (60.6 KB, 0 views)
File Type: jpg k2.jpg (37.7 KB, 0 views)
Reply With Quote
  #3  
Old 12-05-2013, 05:52 AM
katie hunter's Avatar
katie hunter katie hunter is offline
 
Join Date: May 2007
Posts: 533
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 12-05-2013, 05:59 AM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by katie hunter View Post
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>
Exampleescription: (Whatever you want).

See K2.jpg attached for Radio button answers.
Attached Images
File Type: jpg k2.jpg (37.7 KB, 0 views)
Reply With Quote
  #5  
Old 12-05-2013, 06:01 AM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

One of these days I am going to write a bbcode export/import routine.
Reply With Quote
  #6  
Old 12-05-2013, 06:08 AM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Am I overlooking the {param} in there somewhere?
Reply With Quote
Благодарность от:
katie hunter
  #7  
Old 12-05-2013, 06:14 AM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Digital Jedi View Post
Am I overlooking the {param} in there somewhere?
No param is needed for her example. As it refers to a single puzzle. I admit it does look funny.
Reply With Quote
  #8  
Old 12-05-2013, 01:09 PM
katie hunter's Avatar
katie hunter katie hunter is offline
 
Join Date: May 2007
Posts: 533
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #9  
Old 12-05-2013, 01:14 PM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by katie hunter View Post
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.
Reply With Quote
  #10  
Old 12-05-2013, 03:12 PM
katie hunter's Avatar
katie hunter katie hunter is offline
 
Join Date: May 2007
Posts: 533
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tbworld View Post
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.
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 02:11 AM.


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.04283 seconds
  • Memory Usage 2,283KB
  • Queries Executed 12 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (3)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
  • 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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • 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