vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   BB Code Enhancements - Jeopardy(TM) Style BB Code (https://vborg.vbsupport.ru/showthread.php?t=242662)

BirdOPrey5 05-15-2010 10:00 PM

Jeopardy(TM) Style BB Code
 
1 Attachment(s)
I wasn't going to post this on the fact that it's kind of lame but after viewing all the other bb code hacks out there this is downright average.

This BB Code puts an 'answer' in a blue box with white text. The title of the box is how much the 'answer' is worth. The amount is the option of the tag, for example:

[JEOPARDY ="$1000"]This is the most kick-butt bulletin board software on the 'net.[/JEOPARDY]

See the screen shot attached for a working example or visit this thread for a live example, no registration necessary: (3rd post)
http://www.juot.net/forums/showthread.php?t=20432

1. In the Admin CP go to Custom BB Codes
2. Add New BB Code
3. Add the following to the fields:
a. Title: Jeopardy
b. BB Code Tag Name: JEOPARDY
c. Replacement:
Code:

<div align="center">
        <table border="1" width="50%" id="table1" bordercolorlight="#000080" bordercolordark="#6699FF" bgcolor="#0000FF" style="border-collapse: collapse">
                <tr>
                        <td>
                        <p align="center"><font color="#FFFFFF" size="2">Jeopardy {option}
                        Answer</font></p>
                        <p align="center"><font size="5" color="#FFFFFF">{param}</font></p>
                        <p align="center">&nbsp;</td>
                </tr>
        </table>
</div>

d. Example: [JEOPARDY="$200"]ANSWER GOES HERE[/JEOPARDY]
e. Description: Makes a Jeopardy styled box with answer and cash value.
f. Use Option: Yes (important)
g. Button Image: Optional - use attached if you want.
h. Remove Tag If Empty: Yes
i. Disable BB Code Within This BB Code: Yes (recommended.)
j. Disable Smilies Within This BB Code : Yes (recommended.)
k. Disable Word Wrapping Within This BB Code: No

Please click Installed if you use this, I think it makes me cool(er).

Jeopardy is a trademark of Sony Pictures Studios and is in no way responsible for this mod.

BirdOPrey5 05-16-2010 09:25 PM

Please everyone don't go voting for this as 'mod of the month' at once, you might break the internet.

BirdOPrey5 05-16-2010 09:35 PM

To add the "J" button to your editor save this gif file to your computer: https://vborg.vbsupport.ru/attachmen...1&d=1274048136

Then FTP it up to your forum, preferably the images/editor sub-directory.

When adding the BB Code on the line:
g. Button Image: <enter> images/editor/jeopardy.gif
(or whatever the file path is to the image)

New Joe 05-05-2012 01:59 PM

If only this would be for vb4 I might have to try it :p

BirdOPrey5 05-05-2012 02:04 PM

BB Codes work with all versions. ;)

Athena1984 06-18-2012 06:53 AM

lol, I like this.


All times are GMT. The time now is 04:49 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.01103 seconds
  • Memory Usage 1,724KB
  • 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
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete