Back to vBulletin 3.7 Template Modifications

Nice Looking Sotw BBcode
Mod Version: 1.00, by haxcommunity

This modification is in the archives.
vB Version: 3.7.4 Rating: (2 votes - 4.50 average) Installs: 15
Released: 17 Nov 2008 Last Update: Never Downloads: 1
Not Supported Re-usable Code Translations  

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:
http://i327.photobucket.com/albums/k449/Haxcommunity/sotwlightpreview.jpg

http://i327.photobucket.com/albums/k449/Haxcommunity/sotwdarkpreview.jpg

Installation/Setup:
  1. Go to your admincp, find Custom BB codes, and open "Add new BBcode"
  2. For the title, put SOTW entry
  3. For BB code tag name, enter : sotw
  4. Paste this code into the replacement box:
    Code:
    <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>
  5. In the Example Box, paste this:
    Code:
    [sotw="Rune Despair"]http://i327.photobucket.com/albums/k449/Haxcommunity/runic.png[/sotw]
  6. Enter Whatever you like for the description
  7. Set use {option} to YES
  8. There is no button image at this time
  9. Set remove tag if empty to YES
  10. 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.
  11. Set Disable Smilies to Yes
  12. Set Disable Word Wrapping Within This BB Code to NO

Now hit save, and all should work fine!

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,
[sotw="Rune Despair"]http://i327.photobucket.com/albums/k449/Haxcommunity/runic.png[/sotw]

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:

HTML Code:
[sotw="Rune Despair"]http://i327.photobucket.com/albums/k449/Haxcommunity/runic.png[/sotw]
Its 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.

Download

No files for download.


vblts.ru supports vBulletin®, 2022-2024