PDA

View Full Version : Mini Mods - DeviantArt button in postbit


Bratz-Designs
02-07-2007, 10:00 PM
Hey all,

This small modification will add a small button to your postbit. DeviantArt (http://www.deviantart.com) is one of the biggest Art communities. This small modifications will put a button in the postbit to the deviantart page of the user.

Bratzer

1. Make a profile field
Profile field type = Single-line text box
Title: DeviantArt account
Description: Type your deviantArt username.
You can leave the rest to default.

**Note down the number of the field! Example: field16. You need to replace the X in the next code with the number!**


2. Template changes - In postbit_lecacy

Find:
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]

After ad:
<!-- Deviantart start -->
<if condition="$post[fieldX] != ''"><a href="http://$post[fieldX].deviantart.com" alt="View my profile" target="_blank">
<img src="images/misc/DA.gif" border="0"></a>
</if>
<!-- Deviantart end -->

3. Button upload

Rename the button you want to use to: to DA.gif
Upload it in your: images/misc folder!

Bratzer
http://www.bratz-designs.com

BarryoBrien
02-13-2007, 08:37 AM
whats this for?

Bratz-Designs
02-15-2007, 03:57 AM
whats this for?

Deviantart :P

Jason McConnell
02-15-2007, 11:46 AM
Good idea Bratz. Did you know that the link in your sig image brings the browser where your image stored on the server, and not to the portal of your site?

Bratz-Designs
03-14-2007, 05:08 AM
yeah, somehow that dunction doesnt work too well :S

Atakan KOC
03-26-2007, 09:06 AM
Thanks........