Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Borgs' [BB Code] Pack - Signs, User, Divider, Search Tags, Float Images Details »
Borgs' [BB Code] Pack - Signs, User, Divider, Search Tags, Float Images
Mod Version: 1.1, by Borgs8472 (Member) Borgs8472 is offline
Developer Last Online: Jan 2008 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.2 Rating: (29 votes - 4.72 average) Installs: 507
Released: 19 Dec 2005 Last Update: 27 Dec 2005 Downloads: 1011
Not Supported Template Edits  

Well no one else will start a bbcode archive, so I'll do it myself!

I love bbcodes, bits of HTML joy that are often really lacking a most fora. I have made several in my time, some I have seen mentioned in passing at vb.org but never pinned down so I'm going to do these myself!

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 I have typed '-->>' this is to show you an example of the output of using the code. Do not copy that data into your bbcode form.

All tags are tested in IE and Firefox - none of these 'IE only' rubbish tags

Credit to the following sign tags (well at least the first one) goes out to Hoffi in this thread which appeared ages ago when there was a separate vbtemplates site.
SIGN TAG
Upload attached schildhalter.gif to your images folder or wherever you like
Title: Sign
Tag: s
Replacement:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Example: [ s ]Look at me![/ s ] -->>
Description: Wrap your text with a cynical looking smiley holding a sign.
Use {option}: No
Button Image: /images/s-tag.gif
NB - remove the spaces around the example [ s ], there is a conflict here with vb.org 's' bbcode
DEVIL SIGN TAG

Upload attached devilsign.gif to your images folder or wherever you like
Title: Devil Sign
Tag: evil
Replacement:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Example: [evil]He's so evil![/evil] -->>
Description: Wrap your text with a devil smiley for those evil thoughts.
Use {option}: No
Button Image: /images/evil-tag.gif
The following image was designed by vb.org's very own Boofo and was once his site mascot! We love the mouse!
MOUSE SIGN TAG

Upload attached mouse.png to your images folder or wherever you like
Title: Mouse
Tag: mouse
Replacement:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Example: [mouse]Duh huh![/mouse]-->>
Description: Act like a silly old mouse
Use {option}: No
Button Image: /images/mouse-tag.gif
MAD SIGN TAG

Upload attached mad.gif to your images folder or wherever you like
Title: Mad
Tag: mad
Replacement:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Example: [mad]RABBLE RABBLE RABBLE![/mad]-->>
Description: Rouse the mob!
Use {option}: No
Button Image: /images/mad-tag.gif
BANANA SIGN TAG

Upload attached banana_sign.gif to your images folder or wherever you like
Title: Banana Sign
Tag: banana
Replacement:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Example: [banana]:banana:[/banana]-->>
Description: Bananas holding bananas?
Use {option}: No
Button Image: /images/banana-tag.gif
Someone on vb.org told me this one. Whoever you are, thanks!
USER TAG

Title: User
Tag: user
Replacement:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Example: [user]Borgs8472[/user] -->> Borgs8472
Description: Wrap these tags to make a quick link to a user's profile anywhere at all.
Use {option}: No
Button Image: Not created
If this makes no sense to you, don't worry! It can obviously be customised with images of your choice!. But for those who wish to be enlightened about pie:
http://www.weebl.jolt.co.uk/
PIE TAG

You must upload the attached images under /images/pie/
Title: Pie
Tag: pie
Replacement:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Example: [pie]mmm pie![/pie] -->>


Description: Talk like Weebl and Bob!
Use {option}: No
Button Image: /images/weebltag.gif

STRIKETHROUGH

Title: Strikethrough
Tag: -
Replacement:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Example: [-]censored![/-] -->> censored!
Description: Wrap these tags to used strikethrough text.
Use {option}: No
Button Image (Optional): /images/strikethrough.gif -->>
Ever tire of arguments where the other party say 'what was that'? Every tire of telling to to f'ing google it? Wrap the google tag around keywords in your argument and shut them up!
GOOGLE

Title: Google
Tag: google
Replacement:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Example: [google]torrentforge[/google] -->> torrentforge
Description: Quick Links to google things!
Use {option}: No
Button Image (Optional): /images/google.gif
Again, too lazy to search in another window while you make a post? Just wrap these tags and have others do your research for you!
WIKIPEDIA

Title: Wikipedia
Tag: wiki
Replacement:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Example: [wiki]wikipedia[/wiki] -->> wikipedia
Description: Links to facts and dates without a seperate search!
Use {option}: No
Button Image (Optional): /images/wikipedia.gif
Good for long posts and portals especially, have images that text can wrap around!
FLOAT LEFT

Title: Float Left
Tag: imgl
Replacement:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Example:
Description: Float and image to the left, wrap text around it!
Use {option}: No
Button Image (Optional): /images/imgl.gif
FLOAT RIGHT

Title: Float Right
Tag: imgr
Replacement:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Example:
Description: Float and image to the right, wrap text around it!
Use {option}: No
Button Image (Optional): /images/imgr.gif
EBAY

Title: eBay
Tag: ebay
Replacement:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Example: [ebay]Dodge Charger[/ebay]-->> Dodge Charger
Description: Links to search on eBay with search words or directly to item with item number.
Use {option}: No
Button Image (Optional): /images/ebaytag.gif
MARQUEE

Title: marquee
Tag: marquee
Replacement:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Example: [marquee]Annoying Scrolling text![/marquee]-->> {it's that animated text scrolling by default from right to left}
Description: Highlight annoncements etc with scrolling text!
Use {option}: No
Button Image (Optional): Not yet created
The following code is done by replacement variables. Go to style manager in your admincp, on the drop down box of your parent most style, choose 'Replacement Variables' Select 'Add New Replacement Variable'
HORIZONTAL DIVIDER


Search for Text: ---
Replacement:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Example:


Button Image (Optional): Not yet created (would require a little custom coding too)
This is a very useful tag I made for my forum. What it does it takes a large image, e.g. a wallpaper or screenshot and stretches it to take up 100% of the avalible width. It then makes the image a link to the full version.

This stops the syndrome where you'd have either loads of oversized images, or loads of links. Also since the full version is loaded first time, when you click the link the full image loads instantly

100 TAG
Title: 100
Tag: 100
Replacement:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Example: [100]<path to image here>[/100] here's a thread on my forum where you can see it in action
Description: An image taking up 100% of the width of the page, click for full version
Use {option}: No
Button Image: not created
Only problem with this system as it stands is that it will occasionally make large images larger for people viewing on a very large resolution which can potentially make an image worse to look at. There are no plans to fix this yet as it would a totally different hack otherwise beyond my capabilities.

Another great benefit of this is it eliminates the moderator/administrator effort to police images that are too wide for people's screens, wrap this code and you'll never have that problem.

I might release 'variations' on this theme if people like. For example the hyperlink to full version may prevent other hyperlinks which may be a problem in some cases so you might use a version without the <a href... but I'm sure people can figure this out for yourselves.

You might want to use alternative tags like [largeimage] or [wide] or [fit] or something rather than [100]. I chose [100] because it's short, and it reminds me it fits the image to 100% width whatever happens. See attachment for what this looks like.

Well that's all folks. Get back to me on any mistakes if you want. This post took a long time to prepare as you might imagine!

If you install any of these tags, please click install

*****

Update: 27th December '05 -> Added a lot more button images, as well as fixed some old button images.
Thanks to dodgechargerfan for the ebay tag
Update: 11th March '06 -> Added the maquee tag, I mean why not?
Update: 24th March '06 -> Added the <hr> replacement variable type tag
Updated: 2nd October '6 -> Merged in my oversized image code

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	100.JPG
Views:	3662
Size:	73.7 KB
ID:	54199  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #31  
Old 27 Dec 2005, 01:10
PennylessZ28 PennylessZ28 is offline
 
Join Date: Mar 2002
Real name: Mike
Nice work, thanks
Reply With Quote
  #32  
Old 28 Dec 2005, 16:30
Lottis's Avatar
Lottis Lottis is offline
 
Join Date: Sep 2004
Example: [nazi]http://www.wordforge.net/gallery/files/7-3.gif[/nazi] -->>

Whats the nazishit got with this to do?
Otherwise i liked your stuff, but the nazishit dissapointed. :disappointed:
Get ride of it, pls. Thats affending.

Last edited by Lottis; 28 Dec 2005 at 18:03.
Reply With Quote
  #33  
Old 28 Dec 2005, 17:29
zlos zlos is offline
 
Join Date: May 2005
Regarding google BB Code. I tried this and got some questions regarding {param}, which is not html-parsed.

Example: {param} = "word +word1" produces "word%20word2", where %20 makes space simply...

Any idea how to get param fully html-parsed?
Reply With Quote
  #34  
Old 14 Jan 2006, 01:18
Borgs8472 Borgs8472 is offline
 
Join Date: Apr 2004
^ ^
Searching for "X%20Y" does search on both keywords so does work.

However I might later incorperate Andreas' multiple option bbcode hack for something like that.

You could use

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

For instance maybe in conjunction with more advanced ebay options. But in the mean time, my method keeps things simple and works as far as I can see.
Reply With Quote
  #35  
Old 29 Jan 2006, 02:25
ChuanSE's Avatar
ChuanSE ChuanSE is offline
 
Join Date: Feb 2003
Lovely
Reply With Quote
  #36  
Old 29 Jan 2006, 02:26
ChuanSE's Avatar
ChuanSE ChuanSE is offline
 
Join Date: Feb 2003
Originally Posted by Lottis
Example: [nazi]http://www.wordforge.net/gallery/files/7-3.gif[/nazi] -->>

Whats the nazishit got with this to do?
Otherwise i liked your stuff, but the nazishit dissapointed. :disappointed:
Get ride of it, pls. Thats affending.

political left = NAZI

political right= COMMUNIST

Reply With Quote
  #37  
Old 29 Jan 2006, 04:07
Smiry Kin's's Avatar
Smiry Kin's Smiry Kin's is offline
 
Join Date: Dec 2005
Damn i wish there was a quicker way to install these.. lol
Reply With Quote
  #38  
Old 29 Jan 2006, 05:56
BENSTER BENSTER is offline
 
Join Date: Jul 2005
Thanks a lot...simple to do, and should provide hours of fun!

Good stuff!
Reply With Quote
  #39  
Old 29 Jan 2006, 06:55
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Real name: Brandon
thank you, added a few

/me hit install
__________________

Email me for website help: brandon[at]sheley[dot]org
Reply With Quote
  #40  
Old 29 Jan 2006, 16:18
Lottis's Avatar
Lottis Lottis is offline
 
Join Date: Sep 2004
Originally Posted by ChuanSE
political left = NAZI

political right= COMMUNIST

I think that discusion is over. And i know, the different.
Reply With Quote
  #41  
Old 30 Jan 2006, 21:20
Mikecp421's Avatar
Mikecp421 Mikecp421 is offline
 
Join Date: Sep 2005
nice, gonna try this today! thanks
Reply With Quote
  #42  
Old 01 Feb 2006, 12:08
Darat Darat is offline
 
Join Date: Aug 2004
I use a slight variation on the wiki tag, the replacement I use is:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

That puts the link as a little "w" to the top of the word.

Another variation is to look up a word at www.dictionary.com, the replacement text is:

<a href="http://dictionary.reference.com/search?q={param}">{param}</a><font color=blue size=1><sup>dict</sup></font>

Last edited by Darat; 01 Feb 2006 at 12:16.
Reply With Quote
  #43  
Old 04 Feb 2006, 07:37
mbader71 mbader71 is offline
 
Join Date: Jul 2005
This is cool man!

thanks
Reply With Quote
  #44  
Old 07 Feb 2006, 19:09
portalimiz's Avatar
portalimiz portalimiz is offline
 
Join Date: Oct 2005
Real name: Deniz YAKUT
how can we add more buttons to editor bar for BBCODES?
Reply With Quote
  #45  
Old 07 Feb 2006, 19:16
Borgs8472 Borgs8472 is offline
 
Join Date: Apr 2004
^ ^
When you fill in the 'Button Image' field, they get added automatically.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 08:01.

Layout Options | Width: Wide Color: