PDA

View Full Version : BB Code Enhancements - deviantART bbcode


Rocc
12-13-2008, 10:00 PM
Before we start this was written by my friend Gary Callaghan (http://garycallaghan.info/forum)

Ok, so what this code basically does is creates a bbcode that allows your users to enter there deviantART username between the tags and simply comes up and image and links them to there account.

In the replacement section, replace yoursite.com with the link to the image on your own site.

Step 1- Access your adminCP and go to Custom BB Codes --> Add New BB Code

Step 2-

Title: dA

BB Code Tag Name: dA

Replacement:
<a href="http://{param}.deviantart.com"><img src="http://garycallaghan.info/forum/images/misc/DA2.gif" border="0"></a>

Example: c-gfx

Description: Allows users to insert there deviantArt account username between the dA tags and link other users to there account with a nifty little image.

Use Option: No

Image:http://garycallaghan.info/forum/images/misc/DA2.gif

Remove Tag If Empty: Yes

Disable BB Code Within This BB Code: No

Disable Smilies Within This BB Code: No

Disable Word Wrapping Within This BB Code: No