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 - Myspace button in postbit (https://vborg.vbsupport.ru/showthread.php?t=142290)

tigerroar 03-21-2007 01:52 PM

Be my guest :)

tigerroar 03-21-2007 01:54 PM

This is the graphic I use for it...

ZomgStuff 03-21-2007 08:58 PM

You should of at least edited yours so the color would match your background.

danward 03-23-2007 10:25 AM

Nice mod! :) Thanks!

dholt 03-23-2007 11:25 AM

Is there a way to add this to the Instant Messaging field and not the Additional Information field.

danny75 03-23-2007 11:28 AM

^^ yes

imk 03-23-2007 03:09 PM

works dope

www.whoyoureppin.com

perfect for music sites thanks man

dholt 03-24-2007 03:21 PM

Quote:

Originally Posted by dholt (Post 1210265)
Is there a way to add this to the Instant Messaging field and not the Additional Information field.

AdminCP -> Styles & Templates -> Style Manager -> (pick your style) -> Edit Templates -> User Profile Templates -> MEMBERINFO

here is the part of that template that I think were something is suppose to be added

Code:

$vbphrase[private_message]:<br />
                        <a href="private.php?$session[sessionurl]do=newpm&amp;u=$userinfo[userid]" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[send_private_message_to_x]</phrase></a>
                    </td>
                </tr>
                </if>
                </table>
            </div>
           
            <if condition="$show['hasimicons']">
            <fieldset class="fieldset">
                <legend>$vbphrase[instant_messaging]</legend>
                <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                <if condition="$show['textimicons']">
                    <if condition="$userinfo['showicq']">
                    <tr>
                        <td>$vbphrase[icq]</td>
                        <td>$userinfo[icq]</td>
                    </tr>
                    </if>
                    <if condition="$userinfo['showaim']">
                    <tr>
                        <td>$vbphrase[aim]</td>
                        <td>$userinfo[aim]</td>
                    </tr>
                    </if>
                    <if condition="$userinfo['showmsn']">
                    <tr>
                        <td>$vbphrase[msn]</td>
                        <td>$userinfo[msn]</td>
                    </tr>
                    </if>
                    <if condition="$userinfo['showyahoo']">
                    <tr>
                        <td>$vbphrase[yahoo]</td>
                        <td>$userinfo[yahoo]</td>
                    </tr>
                    </if>
                    <if condition="$userinfo['skype']">
                    <tr>
                        <td>$vbphrase[skype]</td>
                        <td>$userinfo[skype]</td>
                    </tr>
                    </if>
                <else />
                    <if condition="$userinfo['showicq']">
                    <tr>
                        <td>$userinfo[icqicon]</td>
                        <td><a href="#" dir="ltr" onclick="imwindow('icq', '$userinfo[userid]', 500, 450); return false;">$userinfo[icq]</a></td>
                    </tr>
                    </if>
                    <if condition="$userinfo['showaim']">
                    <tr>
                        <td>$userinfo[aimicon]</td>
                        <td><a href="#" dir="ltr" onclick="imwindow('aim', '$userinfo[userid]', 400, 200); return false;">$userinfo[aim]</a></td>
                    </tr>
                    </if>
                    <if condition="$userinfo['showmsn']">
                    <tr>
                        <td>$userinfo[msnicon]</td>
                        <td><a href="#" dir="ltr" onclick="imwindow('msn', '$userinfo[userid]', 400, 200); return false;">$userinfo[msn]</a></td>
                    </tr>
                    </if>
                    <if condition="$userinfo['showyahoo']">
                    <tr>
                        <td>$userinfo[yahooicon]</td>
                        <td><a href="#" dir="ltr" onclick="imwindow('yahoo', '$userinfo[userid]', 400, 200); return false;">$userinfo[yahoo]</a></td>
                    </tr>
                    </if>
                    <if condition="$userinfo['showskype']">
                    <tr>
                        <td>$userinfo[skypeicon]</td>
                        <td><a href="#" dir="ltr" onclick="imwindow('skype', '$userinfo[userid]', 400, 285); return false;">$userinfo[skype]</a></td>
                    </tr>
                    </if>
                </if>
                </table>
            </fieldset>
            </if>
           
       
        </div>
    </div>
    </td>
   
</tr>
<tr>

any help with this:eek:

Bratz-Designs 03-25-2007 11:02 AM

Quote:

Originally Posted by dholt (Post 1210265)
Is there a way to add this to the Instant Messaging field and not the Additional Information field.

I am not sure, but ill try to find it. (You mean in edit profile right?)

dholt 03-25-2007 11:36 AM

Yes

User cp/Edit Profile/Optional Information - All information will be viewable by other forum members. scroll down too Instant Messaging and you will see.

You may enter your registered identity for the instant messaging networks if you would like other visitors to be able to contact you using that medium.
ICQ Number
AIM Screen Name
MSN Messenger Handle
Yahoo! Messenger Handle
Skype Name

There is a template called instant messaging template as there are four temlates thast look like this
im_send_aim
im_send_MSN
im_send_Yahoo
im_send_Skype
im_send_myspace maybe add a new template

and add something like this but not sure if I'm on the right path here. also I'm not sure what I need to change for it to show up

Code:

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
        <td class="tcat">
                <span class="smallfont" style="float:$stylevar[right]"><a href="#" onclick="self.close()">$vbphrase[close_this_window]</a></span>
                $vbphrase[aim]
        </td>
</tr>
<tr>
        <td class="panelsurround" align="center">
        <div class="panel">
                <div align="$stylevar[left]">
               
                <div class="fieldset">
                        <img src="$stylevar[imgdir_misc]/im_aim.gif" alt="" />
                        <phrase 1="member.php?$session[sessionurl]u=$userinfo[userid]" 2="$userinfo[username]">$vbphrase[send_message_via_aim_to_x_link]</phrase> (<strong dir="ltr">$userinfo[aim]</strong>)
                </div>
               
                <div class="fieldset"><a href="aim:addbuddy?screenname=$userinfo[aim_link]"><phrase 1="$userinfo[aim]">$vbphrase[add_x_to_your_contact_list]</phrase></a></div>
               
                <div class="fieldset"><a href="aim:goim?screenname=$userinfo[aim_link]&amp;message=$vbphrase[aim_hi_are_you_there]"><phrase 1="$userinfo[aim]">$vbphrase[send_x_a_message]</phrase></a></div>
               
                <div class="fieldset">
                        $vbphrase[these_functions_require_aim]
                </div>
               
                </div>
        </div>
        </td>
</tr>
</table>

Then edit the MEMBERINFO Template and add something after one of these.

Code:

<if condition="$show['hasimicons']">
                        <fieldset class="fieldset">
                                <legend>$vbphrase[instant_messaging]</legend>
                                <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                                <if condition="$show['textimicons']">
                                        <if condition="$userinfo['showicq']">
                                        <tr>
                                                <td>$vbphrase[icq]</td>
                                                <td>$userinfo[icq]</td>
                                        </tr>
                                        </if>
                                        <if condition="$userinfo['showaim']">
                                        <tr>
                                                <td>$vbphrase[aim]</td>
                                                <td>$userinfo[aim]</td>
                                        </tr>
                                        </if>
                                        <if condition="$userinfo['showmsn']">
                                        <tr>
                                                <td>$vbphrase[msn]</td>
                                                <td>$userinfo[msn]</td>
                                        </tr>
                                        </if>
                                        <if condition="$userinfo['showyahoo']">
                                        <tr>
                                                <td>$vbphrase[yahoo]</td>
                                                <td>$userinfo[yahoo]</td>
                                        </tr>
                                        </if>
                                        <if condition="$userinfo['skype']">
                                        <tr>
                                                <td>$vbphrase[skype]</td>
                                                <td>$userinfo[skype]</td>
                                        </tr>
                                        </if>
                                <else />
                                        <if condition="$userinfo['showicq']">
                                        <tr>
                                                <td>$userinfo[icqicon]</td>
                                                <td><a href="#" dir="ltr" onclick="imwindow('icq', '$userinfo[userid]', 500, 450); return false;">$userinfo[icq]</a></td>
                                        </tr>
                                        </if>
                                        <if condition="$userinfo['showaim']">
                                        <tr>
                                                <td>$userinfo[aimicon]</td>
                                                <td><a href="#" dir="ltr" onclick="imwindow('aim', '$userinfo[userid]', 400, 200); return false;">$userinfo[aim]</a></td>
                                        </tr>
                                        </if>
                                        <if condition="$userinfo['showmsn']">
                                        <tr>
                                                <td>$userinfo[msnicon]</td>
                                                <td><a href="#" dir="ltr" onclick="imwindow('msn', '$userinfo[userid]', 400, 200); return false;">$userinfo[msn]</a></td>
                                        </tr>
                                        </if>
                                        <if condition="$userinfo['showyahoo']">
                                        <tr>
                                                <td>$userinfo[yahooicon]</td>
                                                <td><a href="#" dir="ltr" onclick="imwindow('yahoo', '$userinfo[userid]', 400, 200); return false;">$userinfo[yahoo]</a></td>
                                        </tr>
                                        </if>
                                        <if condition="$userinfo['showskype']">
                                        <tr>
                                                <td>$userinfo[skypeicon]</td>
                                                <td><a href="#" dir="ltr" onclick="imwindow('skype', '$userinfo[userid]', 400, 285); return false;">$userinfo[skype]</a></td>
                                        </tr>
                                        </if>
                                </if>
                                </table>
                        </fieldset>
                        </if>
                       
               
                </div>
        </div>
        </td>
       
</tr>
<tr>

Could use some help on this but it just seems like a better way and may look better


All times are GMT. The time now is 03:17 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
  • Page Generation 0.01649 seconds
  • Memory Usage 1,798KB
  • 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
  • (3)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete