Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Template Modifications
[BB Code] World of Waracrft Blizzard 'blue' quote Details »»
[BB Code] World of Waracrft Blizzard 'blue' quote
Version: 1.00, by Anseur Anseur is offline
Developer Last Online: Jan 2014 Show Printable Version Email this Page

Category: BB Code Enhancements - Version: 3.8.x Rating:
Released: 02-12-2010 Last Update: 02-12-2010 Installs: 12
Translations  
No support by the author.

This is my first ever 'mod' I have posted here, so I hope it's in the correct place!

This BB code allows your forum members to create authentic looking quotes from the World of Warcraft forums from 'blues' (That is to say, blizzard staff that always post in a blue text color)

I see no reason why this BB code would not work in any vb 3.x or 4.x version, but it's only been tested on 3.8.4 by myself.

I got the idea when looking at some other BB Code that let you create 'warnings' that look a bit like vB notices. All it was, was a div box with a border and an icon at the start, and the text the user puts in, so I thought I could do somehing similar to emulate the look of quotes you see posted on various fan sites about world of Warcraft.

Installation:
  • Upload the blizzicon I have created and attached at the bottom to your website with your FTP program of choice.
  • Create a new BB Code: Admin CP > Custom BB Codes > Add New BB Code
  • Add the following info to the new BB Code:

    Title: blizz quote
    BB Code tag name: bz
    Replacement:
    Code:
    <div class="blizzardquote"><div class="blizzquotedby"><img src="/wowicons/blizzicon.gif" alt="blizz quote image" />&nbsp;<span>Quote from: <b>{option}</b></span><b></b></div><div class="blizzardquote">
    {param}
    </div></div>
    Example: [bz=Crygil]Here is some example blue text[/bz]
    Use {option}: Yes
    Button Image (Optional): http://yourwebsite.com/wowicons/blizzicon.gif
    Remove Tag If Empty: Yes
    Disable BB Code Within This BB Code: Yes

    Note: Make sure both the refrences to "/wowicons/blizzicon.gif" are replaced by the location where you have put the blizzicon.gif This same image is used in both the actual quote BB code, and in the post editor.
  • Open up your style manager. Admin CP > Styles & Templates > Style Manager
  • Click on the 'go' button next to each style you have installed. (you must do this seperatly for each style or the quote wont work on that style), and scroll down to the 'additioinal CSS definitions' section.
  • Paste the following CSS in the very bottom, below anything already there:
    Code:
    /** Blizz quote CSS code **/
    .blizzardquote 
    {
    font-size:11px;
    color:#0099FF;
    background-color:#323232;
    margin:11px 22px;
    padding:11px;
    
    -moz-border-radius-bottomleft:9px;
    -moz-border-radius-bottomright:9px;
    -moz-border-radius-topleft:9px;
    -moz-border-radius-topright:9px;
    -webkit-border-top-left-radius: 9px;
    -webkit-border-top-right-radius: 9px;
    -webkit-border-bottom-left-radius: 9px;
    -webkit-border-bottom-right-radius: 9px;
    }
    
    .blizzardquote h1, .blizzquotedby 
    {
    background-color:#323232;
    background-position:left bottom;
    font-size:11px;
    margin:0;
    padding:0 0 6px;
    border:0 none;
    }
  • Press Save

Job done. Should look like the preview I have attached at the bottom.

Your users can now have hours of fun creating fake patch notes for WoW and posting them on your forums to scare others! . Also if you use some kind of CMS that accepts the vB BB Code (e.g vB Advanced), you could now quote blues on your news items.

Footnote:
I'm god aweful at CSS, and the above was put together by looking at various CSS examples and a lot of trial and error. So there is probably a cleaner way of achieveing this that uses better code. If anyone wants to post any improvements, please feel free.

Download Now

File Type: zip blizzicon.zip (611 Bytes, 70 views)

Screenshots

File Type: png bzquote_preview.png (13.5 KB, 0 views)

Show Your Support

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

Comments
  #2  
Old 02-13-2010, 11:30 AM
Anseur's Avatar
Anseur Anseur is offline
 
Join Date: Jun 2004
Location: Nottingham, UK.
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

FAQs

Q: Me, or my users are using internet explorer, and we don't see the 'rounded corners' like in your screenshot?

A: As of writing IE does not support CSS rounded corners. The round corners are made by CSS. Sorry, I can't do anything about this.

Q: I have a WoW fansite, can I just use this to just replace vB's default quote code and use it for all my quotes?

A:Possibly, but I haven't looked into this myself, as I don't want this. I'm not sure I have the know how to do this anyway.

Q: There's already a mod for this here?

A: Yes there is, but that developer looks to of taken the icon from another website to use in their mod and also looks to of used some of thier CSS to make his mod. I don't know if they had permission to do that or not. So I made this icon and CSS myself. Plus, looking at the screenshot, that other mod does not seem to include the text where you see the person who is quoted at the top. I made this myself so I know I'm on legaly firm ground, so I thought I would share it anyway.

Q: How do my users use this BB code?

A: they use it like so:
[bz=Name of one quoted goes here]The 'blue' text goes here[/bz]
Reply With Quote
  #3  
Old 02-15-2010, 07:44 PM
Masked Crusader Masked Crusader is offline
 
Join Date: Oct 2005
Location: Sacramento, CA, USA
Posts: 293
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Perfect. Installing.

Nice job.
Reply With Quote
  #4  
Old 05-07-2010, 09:20 AM
MichaelDance MichaelDance is offline
 
Join Date: Dec 2009
Location: Warwickshire, UK
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

followed instructions but nothing shows up
Reply With Quote
  #5  
Old 06-19-2010, 09:10 AM
Anseur's Avatar
Anseur Anseur is offline
 
Join Date: Jun 2004
Location: Nottingham, UK.
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you using it on vb3 or vb4 like your profile says? There is not the same additional CSS bit for you to add the CSS to in vB4, it would need to go somewhere different. Could you clarify where you put the CSS in vb4?

Also if it's for the website in your signature, it's giving a database error when I try to visit it so I can't see your site.
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 07:50 PM.


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.04729 seconds
  • Memory Usage 2,260KB
  • Queries Executed 19 (?)
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
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (4)postbit
  • (2)postbit_attachment
  • (5)postbit_onlinestatus
  • (5)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete