vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Mini Mods - DeviantArt button in postbit (https://vborg.vbsupport.ru/showthread.php?t=138832)

Bratz-Designs 02-07-2007 10:00 PM

DeviantArt button in postbit
 
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]
After ad:
Code:

<!-- 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

Quote:

Originally Posted by BarryoBrien (Post 1181349)
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........


All times are GMT. The time now is 07:35 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01096 seconds
  • Memory Usage 1,717KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete