Loading...


bookmark - Custom Bbcode Tags In Smf adding extra tags in a Simple Machines Forum

Custom Bbcode Tags In Smf - adding extra tags in a Simple Machines Forum

 
 Discussion by brandice with 0 Replies.
 Last Update: March 11, 2006, 9:02 am
 
bookmark - Custom Bbcode Tags In Smf adding extra tags in a Simple Machines Forum  
Quickly Post to Custom Bbcode Tags In Smf adding extra tags in a Simple Machines Forum w/o signup Share Info about Custom Bbcode Tags In Smf adding extra tags in a Simple Machines Forum using Facebook, Twitter etc. email your friend about Custom Bbcode Tags In Smf adding extra tags in a Simple Machines Forum Print
Reply / Comment New Discussion / Topic Share / Bookmark E-Mail a Friend Print

Adding custom BBCodes to your Simple Machines Forum is really very... simple. First, you will need to download three mods from the package manager. Faster Parsecode, ModSettings Textarea, and of course Custom BB Code.

Once you have those mods set up you will need to go into your admin section and click on your "Edit Features and Options" link. In the Basic Forum Features section you will now find a "Custom BB Code tags" box. This box is where you will put your custom codes. You can add as many as you like, one per line.

Let's break down the bits of a simple tag that will allow users to link to a google image search. This is what you would put in the text box:

CODE

googleimg <a href="http://images.google.com/images?q=$1" target="_blank">$1</a>


The first part is the name of your tag. In this case, users will need to type [googleimg]cowboy monkey[/googleimg] to see a link to pictures of cowboy monkeys.

Next, there is a space and then the html code. The '$1' is the "wildcard" and will be replaced in the final outcome with whatever the user types between the tags.

You can also add css into the mix. Here is a very tacky example:

CODE

hmmmm <span style="text-align: center; background-color: #FA3E00; color: #386AFF; border: dotted 2px #f2f2f2; font-size: 18px;">$1</span>


In this case, anything within the [hmmmm] tags will be in large blue letters with an orange background a dotted border.

   Sat Mar 11, 2006    Reply         

Quickly Post to Custom Bbcode Tags In Smf adding extra tags in a Simple Machines Forum w/o signup Share Info about Custom Bbcode Tags In Smf adding extra tags in a Simple Machines Forum using Facebook, Twitter etc. email your friend about Custom Bbcode Tags In Smf adding extra tags in a Simple Machines Forum Print
Reply / Comment New Discussion / Topic Share / Bookmark E-Mail a Friend Print

Similar Topics:

Creating A Custom Php Login Script

Creating a Custom PHP Login Script I figured I would contribute something to the tutorials from my web programming knowledge. This is how to create a custom login script in PHP. Requirements: Basic Knowled ...more

   03-Feb-2009    Reply         

Creating And Promoting An Online Fo...

This is a long list of things that I have come up with browsing forums for almost 3 years, and running ones for about 2 years. Creating your forum. This is (most of the time) the easiest part of forums. There are various sites that will host your forum for free (with ads, ...more

   17-Feb-2009    Reply         

How To Parse Bbcode/scripts

I am planning to make a parser for BBCode and templating scripts. I am guessing I will be doing this in php as it is the most widely available language available for web right now. I am wondering if anyone has some advice on how I should structure this as to make it easier on myself. The thing is, w ...more

   19-Jun-2009    Reply         

[photoshop] Fire Tutorial Making fire out of filters...   [photoshop] Fire Tutorial Making fire out of filters... (11) (7) Creating A Simple Image Viewer Using Visual Basic 2005 Express Edition  Creating A Simple Image Viewer Using Visual Basic 2005 Express Edition