PDA

View Full Version : Mini Mods - DeviantArt button in postbit


Bratz-Designs
08 Feb 2007, 18:56
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
13 Feb 2007, 09:37
whats this for?

Bratz-Designs
15 Feb 2007, 04:57
whats this for?

Deviantart :P

Jason McConnell
15 Feb 2007, 12:46
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
14 Mar 2007, 06:08
yeah, somehow that dunction doesnt work too well :S

Atakan KOC
26 Mar 2007, 10:06
Thanks........