PDA

View Full Version : BB Code Enhancements - Nice Looking Sotw BBcode


haxcommunity
11-16-2008, 10:00 PM
What this is:
Well, I was looking to spice up my site Sig Of the Week threads a little bit, so I came up with this. Your users can use this bbcode when submitting their work for your competition, and it gives a slightly more "professional" look to it.

Works very nicely if you have an Advanced BBcode Permissions hack installed.

Previews:
Light Skin (http://i327.photobucket.com/albums/k449/Haxcommunity/sotwlightpreview.jpg)

Dark Skin (http://i327.photobucket.com/albums/k449/Haxcommunity/sotwdarkpreview.jpg)

Installation/Setup:

Go to your admincp, find Custom BB codes, and open "Add new BBcode"
For the title, put SOTW entry
For BB code tag name, enter : sotw
Paste this code into the replacement box:<center><table class="tborder" cellpadding="6" cellspacing="1" border="0" width="80%" align="center">

<tr>
<td class="thead"><center>Signature of the Week Entry</center></td>
</tr>
<tr>
<td class="panelsurround" align="center">
<div class="panel">
<div align="center">
<div class="fieldset">
<div style="padding:3px">
<strong>{option}</strong>
</div>
</div>
</td>
</tr>
<tr>

<td class="panelsurround" align="center">
<div class="panel">
<div align="center">
<div class="fieldset">
<div style="padding:3px">
<a href="{param}" border="none"><img src="{param}" alt="{option}" border="none"></a>
</div>
</div>
</td>
</tr>
<tr>
<td class="panelsurround" align="center">
<div class="panel">
<div align="left">
<div class="fieldset">
<div style="padding:3px">
<div class="alt2" style="align:left;">
<b> <center> I have read the rules pertaining to this week's Sig of the Week Competition, and would like to enter my image above. I acknowledge that it I vote for my own work when the poll is posted, I will be disqualified<br> <a href="{param}">[Direct Link To Image]</a>

</div>
</div>
</td>
</tr>
</table></center>
In the Example Box, paste this:http://i327.photobucket.com/albums/k449/Haxcommunity/runic.png

Enter Whatever you like for the description
Set use {option} to YES
There is no button image at this time
Set remove tag if empty to YES
Set Disable BB Code Within This BB Code to yes (This will prevent users from messing up and posting img tags inside the sotw tags, it also will prevent users from putting size bbcodes in the tag.
Set Disable Smilies to Yes
Set Disable Word Wrapping Within This BB Code to NO


Now hit save, and all should work fine! :D

I would now advise making a stickied thread in your Sotw forum, with something like this:


I've added a new mod that will help "spice up" the entries a little, from now on, I'd like to ask that all submissions be made using this new bbcode.

Just So You know what it looks like,
http://i327.photobucket.com/albums/k449/Haxcommunity/runic.png

How to Use:
You need 2 things to submit your image: A name, and a direct link to the image.

For example; If I had named my sig Rune Despair, and the url for the image is http://i327.photobucket.com/albums/k449/Haxcommunity/runic.png , then I would type something like this:

http://i327.photobucket.com/albums/k449/Haxcommunity/runic.pngIts a pretty easy format to figure out.
Do not use this BBCode outside of the SOTW forum, if you are seen doing it, you will receive an infraction for it.

Feel free to replace any of that post with your own writing/images.

Also, one thing to check is if your shoutbox allows other bbcodes to be posted, if so, then you may want to manually disallow it from your shout.

Magnumutz
11-17-2008, 02:00 PM
Pretty nice BBCode :)
Good job dude.

K4GAP
11-17-2008, 05:38 PM
Is it possible to maybe share any known offenders? If you don't want to disclose it maybe you can message me? I job out a lot of my mods and add ons. I don't want to use someone that would do such a thing.

haxcommunity
11-18-2008, 12:53 AM
Is it possible to maybe share any known offenders? If you don't want to disclose it maybe you can message me? I job out a lot of my mods and add ons. I don't want to use someone that would do such a thing.

Hmm? What exactly are you talking about?

TheInsaneManiac
11-18-2008, 02:14 AM
Hmm? What exactly are you talking about?
Wondering the same thing lol.

Anyway great job! Installed!

EDIT: I had to remove the option as if someone does NOT include an option it disables the BBCode. Is there a way so that if there is no option the BBCode still works?

haxcommunity
11-20-2008, 12:27 AM
Wondering the same thing lol.

Anyway great job! Installed!

EDIT: I had to remove the option as if someone does NOT include an option it disables the BBCode. Is there a way so that if there is no option the BBCode still works?

Off the top of my head, no. I'd just tell your users that they HAVE to follow that stucture, Mine never had a problem with it.

I'll see if there some kind of work around...

K4GAP
11-20-2008, 01:28 AM
Wondering the same thing lol.

Anyway great job! Installed!

EDIT: I had to remove the option as if someone does NOT include an option it disables the BBCode. Is there a way so that if there is no option the BBCode still works?

Sorry, I was referring to the message in her sig :confused:

OMGNOWAI
11-22-2008, 10:16 PM
Wow I love this, THANKS MAN! ;D

Dingo14
12-19-2008, 01:49 AM
yep nice one looks great on site thanks

princeedward
07-26-2009, 07:11 AM
nice one....thanks... ;)