Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Borgs' [BB Code] Pack For vB 4.0.2+ Details »»
Borgs' [BB Code] Pack For vB 4.0.2+
Version: 1.0.4, by Brew Brew is offline
Developer Last Online: Dec 2012 Show Printable Version Email this Page

Category: BB Code Enhancements - Version: 4.1.0 Rating:
Released: 02-25-2010 Last Update: 03-01-2010 Installs: 185
Template Edits
Additional Files Translations  
No support by the author.

Borgs' [BB Code] Pack For vB 4.0.2+

This is an update to the BB codes mod called Borgs' [BB Code] Pack - Signs, User, Divider, Search Tags, Float Images, which can be found here:

https://vborg.vbsupport.ru/showthread.php?t=103257

Kudos to borgs8472 for the original mod and for his permission to get these updated for vBulletin 4.0.+

I have made tweaks to most of the codes to make them a bit nicer from the originals and I have added a some new ones.

Two codes are not included with this update:
  • The "user" BB Code is not here because vBulletin has made a major change to the URL to member profiles. You can't get to a profile by just using a member's name any longer. I'm currently looking for a work-around for this.
  • The "100" BB Code is no longer needed as vBulletin now has built-in image resizing, with lightbox.
All of the following codes are added in your admincp under:
Custom BB Codes -> BB Code Manager -> Add New BB Code
or
Custom BB Codes -> Add New BB Code

Where you see '-->>' in the instructions, this is to show you an example of the output of using the code. Do not copy that data into your bbcode form. Also, the BB codes holding signs are transparent so they should work with most backgrounds.

I have tested these in Firefox & Internet Explorer and vBulletin version 4.0.2pl1. These should work with earlier version of vBulletin, your mileage may vary.

All images in the images folder in the attached "Borgs BB Codes.zip" file go into /images/borgs_bbcode/ under your Forums root folder.

What BB Codes are included?

The sign tags can also hold other smilies. Just add :name of smiley: (smiley name between colons) in the box when you make your tag in a post.

Sign Tag

A quirky little smiley holding a sign with words you supply.

Example -->>

-------------------------------------------------------------

Devil Sign Tag

A devil smiley holding a sign with your words.

Example -->>

-------------------------------------------------------------

Mouse Sign Tag

A mouse smiley holding a sign with your words.

Example -->

-------------------------------------------------------------

Mad Sign Tag

An angry smiley holding a sign with your words.

Example -->

-------------------------------------------------------------

Banana Sign Tag

A banana smiley holding your sign.

Example -->

-------------------------------------------------------------

Bubble Sign Tag

A speech bubble over your smiley.

Example -->

-------------------------------------------------------------

Strike Through

Strike out text with a line through the middle.

Example -->

-------------------------------------------------------------

Google Tag

A link to Google for the word you select.

Example -->

-------------------------------------------------------------

Wikipedia Tag

A link to Wikipedia for the word you select.

Example -->

-------------------------------------------------------------

Float Left

Float an image to the left of your text and the text wraps around the image.

Example -->

-------------------------------------------------------------

Float Right

Float an image to the right of your text and the text wraps around the image.

Example -->

-------------------------------------------------------------

Ebay

Search eBay for the word you select.

Example -->

-------------------------------------------------------------

Marquee

Make your text scroll across the screen in your post.

-------------------------------------------------------------

Horizontal Dividers

Horizontal dividers from 25% to 100% width

-------------------------------------------------------------

Highlight Text

Choose the color for highlighting your text.

Example -->

-------------------------------------------------------------

Glowing Text

Glowing text that works in both IE and Firefox.

Example -->

-------------------------------------------------------------

Spoiler

Hide text until mouseover.

-------------------------------------------------------------

Drop Caps

Mark the first letter in a paragraph and set it's size and style. Text will flow around it.

Example -->


--------------------------------------------------------------

Version 1.0.4
Added:
  • Drop Cap BB Code.
  • image for Drop Cap in the toolbar in the .zip file.
Version 1.0.3
Added:
  • Spoiler Hidden text BB Code.
  • image for Spoiler BB Code to .zip file.
Version 1.0.2
Added:
  • Added the image for the Glow BB code in the zip.
  • Added new Horizontal rules for varying widths.
  • Created button images for some BB codes.
Updated:
  • Fixed typos found in the instructions. (thanks for the heads-up guys!)
  • Change BB code for Highlight to make it easier to use. (now it's just [hl=color])
Version 1.0.1
Added:
  • Added the "Glow" BB Code. No new images to upload.
  • Include a page for instructions within the .zip file.
Be sure the images extract to forum-root/images/borgs_bbcode/

If you install these tags, please rate it and click install

Download Now

File Type: zip Borgs BB Codes-1.0.4.zip (102.9 KB, 1024 views)

Show Your Support

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

Comments
  #42  
Old 03-05-2010, 02:30 PM
Brew's Avatar
Brew Brew is offline
 
Join Date: Sep 2002
Posts: 359
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by zeroality View Post
Uh, how are we supposed to see how it works? All the example images are broken.
I linked to images on my server.

During an upgrade the whole server tanked.

It should be back up shortly.

Sorry bout that :/
Reply With Quote
  #43  
Old 03-09-2010, 03:27 AM
Jabong82 Jabong82 is offline
 
Join Date: Feb 2010
Posts: 304
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello great mod! Nominated and installed!

Question though. All of these work for me except "Highlight" and "Glow". I'm guessing I have to modify these (ie. color) to get them to work? How do I do this? (sorry Im a computer nerd).

Thanks again this is great.
Reply With Quote
  #44  
Old 03-14-2010, 08:17 PM
Brew's Avatar
Brew Brew is offline
 
Join Date: Sep 2002
Posts: 359
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Use the syntax:

Code:
[hl=yellow]Your Text Here[/hl]

and 

[glow=red]Your Text Here[/glow]
Of course you can pick whatever color you want pretty much.

Or you can click the button on the toolbar and a popup will show where you input your color.
Reply With Quote
  #45  
Old 03-15-2010, 02:12 AM
Jabong82 Jabong82 is offline
 
Join Date: Feb 2010
Posts: 304
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you!
Reply With Quote
  #46  
Old 03-15-2010, 05:37 PM
Trek Trek is offline
 
Join Date: Sep 2003
Posts: 664
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed these, I really like 'em!

One issue I have though is on things where you enter text like Google, Wikipedia or Ebay. You can't enter multiple words. If you do, it only uses the first one.

The way I got around this is by using a %20 for the space, which makes it work, but the text on the page looks crappy because it displays the %20 as literal text (as it should), but the %20 works for a space in URL encoding.

Anyway, not sure how (or if) it's possible to work around it, but I don't know how. =)

otherwise, all good stuff, thank you for sharing!
Reply With Quote
  #47  
Old 03-23-2010, 02:46 PM
Silvio's Avatar
Silvio Silvio is offline
 
Join Date: Nov 2005
Location: Italy
Posts: 140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tagged for future installation.
really nice job ty.

would be very nice to add [you] code
(example : Hi [you], I would like to find you bbcode in this gorgeous compilation!)
something similar to the archived you replace product by Boofo.
Is that possible?
Reply With Quote
  #48  
Old 03-28-2010, 05:46 AM
ARPRDcom ARPRDcom is offline
 
Join Date: Mar 2010
Location: USA
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you add the Table BBCode to be used with Vb ?? This is the actual code for SMF...

Code:
		<operation>
			<search position="replace"><![CDATA[
			'table' => array('code' => 'table', 'before' => '[table]', 'after' => '[/table]', 'description' => $txt[436]),
			'tr' => array('code' => 'td', 'before' => '[tr]', 'after' => '[/tr]', 'description' => $txt[449]),
			'td' => array('code' => 'td', 'before' => '[td]', 'after' => '[/td]', 'description' => $txt[437]),]]></search>
			<add><![CDATA[
			'tabletrtd' => array('code' => 'tabletrtd', 'before' => '[table]\n[tr]\n[td]', 'after' => '[/td]\n[/tr]\n[/table]', 'description' => $txt[436]),
			'tr' => array('code' => 'td', 'before' => '[tr]\n[td]', 'after' => '[/td]\n[/tr]', 'description' => $txt[449]),
			'td' => array('code' => 'td', 'before' => '[td]', 'after' => '[/td]', 'description' => $txt[437]),]]></add>
		</operation>
	</file>

	<file name="$sourcedir/Subs.php">
		<operation>
			<search position="replace"><![CDATA[
				'before' => '<table style="font: inherit; color: inherit;">',]]></search>
			<add><![CDATA[
				'before' => '<table style="font: inherit; color: inherit;" class="table_bbc">',]]></add>
		</operation>
	</file>

	<file name="$themedir/style.css">
		<operation>
			<search position="end" />
				<add><![CDATA[

/* Table Plus BBCodes */
.table_bbc	{ border-spacing: 2px; background: #88A6C0 url(images/catbg.jpg) repeat-x }
.table_bbc td	{ padding: 5px; background: #E9F0F6 url(images/titlebg.jpg) repeat-x 0 -17px }
]]></add>
		</operation>
	</file>

</modification>
Code:
		<operation>
			<search position="replace"><![CDATA[
			'table' => array('code' => 'table', 'before' => '[table]\n[tr]\n[td]', 'after' => '[/td]\n[/tr]\n[/table]', 'description' => $txt['table']),]]></search>
			<add><![CDATA[
			'tabletrtd' => array('code' => 'tabletrtd', 'before' => '[table]\n[tr]\n[td]', 'after' => '[/td]\n[/tr]\n[/table]', 'description' => $txt['table']),
			'tr' => array('code' => 'tr', 'before' => '[tr]\n[td]', 'after' => '[/td]\n[/tr]', 'description' => $txt['table_tr']),
			'td' => array('code' => 'td', 'before' => '[td]', 'after' => '[/td]', 'description' => $txt['table_td']),]]></add>
		</operation>
	</file>

	<file name="$themedir/style.css">
		<operation>
			<search position="end" />
				<add><![CDATA[

/* Table Plus BBCodes */
.bbc_table	{ border-spacing: 2px; background: #88A6C0 url(images/catbg.jpg) repeat-x }
.bbc_table td	{ padding: 5px; background: #E9F0F6 url(images/titlebg.jpg) repeat-x 0 -17px }
]]></add>
		</operation>
	</file>

</modification>
Reply With Quote
  #49  
Old 03-28-2010, 06:10 AM
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Posts: 2,601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ARPRDcom View Post
Can you add the Table BBCode to be used with Vb ??
This one works for vBulletin 4.x (except don't use the sortable.js sorting feature):

https://vborg.vbsupport.ru/showthread.php?t=107985
Reply With Quote
  #50  
Old 04-22-2010, 02:08 AM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tried to use the Highlight today and both Firefox and Chrome ask me "Please enter the option for your [HL] tag:". Okay, but I can't see anywhere to explain to people they're supposed to enter a color here. The flyout just says "Wrap HL tags around selected text".

Does anyone know how I can add an explanation or, barring that, just set it to yellow?
Reply With Quote
  #51  
Old 04-23-2010, 11:55 PM
bpr bpr is offline
 
Join Date: Dec 2009
Location: London
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks saved some work!
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 12:47 AM.


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.05331 seconds
  • Memory Usage 2,349KB
  • Queries Executed 26 (?)
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
  • (3)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete