![]() |
DeviantArt button
Hey all,
This small modification will add a small button to your postbit. DeviantArt 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: Code:
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon] Code:
<!-- Deviantart start --> Rename the button you want to use to: to DA.gif Upload it in your: images/misc folder! Bratzer http://www.bratz-designs.com |
Good idea. I think I'll install this one.
Just a note, for people using the Default Postbit -- you'll want to edit the "postbit" template instead of "postbit_legacy". You could also change: Code:
<if condition="$post[fieldX] != ''"> Code:
<if condition="$post[fieldX]"> |
Quote:
|
I really like this idea but do you think that this can be modded to be an IMDb button as well? Or anything for that matter right?
|
Thanks!
|
Quote:
|
Could you please attach the mod as a txt file for the Installation instructions? Much easier for people to use that way (at least it always is for me). Thank you very much! ;)
|
Quote:
|
Thank you very much!
Installed. ^^ |
Hey, I installed this mod but as an IMDb version. Everything works awesome! The only questions I have are:
1. How can I add alternative text when a user's mouse hovers over the icon? 2. Is it possible for this to appear on the Member List and in a member's public profile just like the icq, aim, msn and yahoo icons? 3. Can you set permissions to where everyone can see it but only paying members are allowed to use this feature? 4. How do I link it back to my site instead of opening up in a new window? Btw, this is a really awesome hack. It can be used to suit whatever site. I think the implications are virtually endless! |
Okay, I found out how to put some alternative text which is pretty easy but how do I get it to specifically display the member's user name?
Original: Code:
<img src="images/misc/DA.gif" border="0"></a> Code:
<img src="images/misc/DA.gif" border="0" alt="View my profile"></a> |
Any way to get this to open in an existing page instead of a new tab?
|
This is a good idea, and a very easy install for any membername website, not just Deviant Art.
You could simplify the whole process even more as well. Instead of entering their DA info as "bratzer.deviantart.com", you could have them simply add their DA username, or just "bratzer". Then, change your template info to: Code:
<!-- Deviantart start --> chkdgate, yes you can easily get it to open in the same window by removing target="_blank" out of the URL in the template addition above. |
Thank you Aken.
|
Quote:
|
All times are GMT. The time now is 05:02 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|