|
|
|
|
![]() ![]() |
Mar 11 2006, 05:02 PM
Post
#1
|
|
|
ointment! ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 542 Joined: 2-September 04 From: Bat Country Member No.: 980 |
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. |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 25th July 2008 - 09:44 AM |