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 & FaceBook buttons in member profile and postbit (https://vborg.vbsupport.ru/showthread.php?t=160232)

Wheezy 04-01-2008 11:56 PM

Works great, thanks for sharing!

ChU v2 04-02-2008 03:10 AM

I've added more and updated this here: https://vborg.vbsupport.ru/showthread.php?t=174863

Jenkins 04-09-2008 01:10 AM

cool I'll be installing this soon.

EuroPk 04-11-2008 04:06 PM

you should make this for 3.7 vbulletin

ChU v2 04-11-2008 07:30 PM

Quote:

Originally Posted by EuroPk (Post 1488363)
you should make this for 3.7 vbulletin

I don't have a board for 3.7 nor do I really care to test it out yet. The code should work the same, you'd just have to find where to put it.

sava700 05-01-2008 01:21 PM

Quote:

Originally Posted by ChU v2 (Post 1488534)
I don't have a board for 3.7 nor do I really care to test it out yet. The code should work the same, you'd just have to find where to put it.

This line does not exist in 3.7 which is why it won't work as you say it will...

Code:

<if condition="$show['hasimicons']">

Here is what my postbit looks like that i'm trying to get it to work in.

Code:

<br />
 <!-- top category table setup -->
<table width="100%" class="tcat" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="88" height="26" align="left" valign="top"><img src="$stylevar[imgdir_misc]/tren_z_front_top_table_ls.gif" width="88" height="26" alt=" " border="0" /></td>
    <td width="100%" valign="middle"><div class="smallfont" align="center">$post[icon] <strong>$post[title]</strong></div></td>
    <td width="88" height="26" align="right" valign="top"><img src="$stylevar[imgdir_misc]/tren_z_front_top_table_rs.gif" width="88" height="26" alt=" " border="0" /></td>
  </tr>
</table>
        <!-- End top category table setup -->


$template_hook[postbit_start]
<table class="tborder" id="post$post[postid]" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
        <td class="thead" $post[scrolltothis]>
                <div class="normal" style="float:$stylevar[right]">
                        &nbsp;
                        <if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a> &nbsp;</if>
                        <if condition="$show['reputationlink']">
                                <span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span>
                                <if condition="$show['popups']"><script type="text/javascript"> vbrep_register("$post[postid]")</script></if>&nbsp;
                        </if>
                        <if condition="$show['infractionlink']"><a href="infraction.php?$session[sessionurl]do=report&amp;p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/infraction.gif" alt="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" border="0" /></a> &nbsp;</if>
                        <if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a> &nbsp;</if>
                        $post[iplogged]
                        <if condition="$show['inlinemod']">
                        <input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" />
                        </if>
                </div>

                <div class="normal">
                        <!-- status icon and date -->
                        <a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a>
                        <if condition="!$show['announcement']">
                                $post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
                        <else />
                                <phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
                        </if>
                        $post[firstnewinsert]
                        <!-- / status icon and date -->
                </div>
        </td>
</tr>
<tr>
        <td class="alt2" style="padding:0px">
                <!-- user info -->
                <table cellpadding="0" cellspacing="$stylevar[cellpadding]" border="0" width="100%">
                <tr>
                        <if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if>
                        <td nowrap="nowrap">

                                <div id="postmenu_$post[postid]">
                                        <if condition="$show['profile']">
                                        <a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
                                        $post[onlinestatus]
                                        <script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
                                        <else />
                                        $post[musername]
                                        </if>
                                </div>

                                <if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
                                <if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
                                $template_hook[postbit_userinfo_left]

                        </td>
                        <td width="100%">&nbsp;</td>
                        <td valign="top" nowrap="nowrap">

                                <div class="smallfont">
                                        <if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
                                        <if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
                                        <if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
                                        <div>
                                                $vbphrase[posts]: $post[posts]
                                        </div>
                                        $template_hook[postbit_userinfo_right_after_posts]
                                        <if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
                                        <if condition="$show['reputation']"><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><div><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
                                        $template_hook[postbit_userinfo_right]
                                        <div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]<if condition="$show['steam']"> $post[steamicon]</if></div>

<!-- Chu's MySpace & FaceBook Icon's -->
<if condition="$post[field15]">
<a href ="http://www.myspace.com/$post[field15]"target="_blank"><img src ="http://www.gamerscrib.net/forums/images/misc/myspace.gif"border="0"alt="View Member's Myspace Profile"></a>
</if>
<if condition="$post[field16]">
<a href ="http://www.facebook.com/profile.php?id=$post[field16]"target="_blank"><img src ="http://www.gamerscrib.net/forums/images/misc/facebook.gif"border="0"alt="View Member's FaceBook Profile"></a></if>
<!-- Chu's End MySpace & FaceBook Icon's -->
 


<!-- XFire Hack -->
<if condition="$post['field5']"><a href=http://profile.xfire.com/$post[field5]><img src=http://miniprofile.xfire.com/bg/$post[field6]/type/3/$post[field5].png width=149 height=29 border=0></a>
<br>
<a href="xfire:add_friend?user=$post[field5]" rel="nofollow">Add to xFire Friends List</a>
</if>
<!-- / End XFire Hack -->


</div>
                                </div>

                        </td>
                </tr>
                </table>
                <!-- / user info -->
        </td>
</tr>
<tr>
        <if condition="$show['moderated']">
        <td class="alt2" id="td_post_$post[postid]">
        <else />
        <td class="alt1" id="td_post_$post[postid]">
        </if>       
        <!-- message, attachments, sig -->

                $template_hook[postbit_messagearea_start]

                <if condition="$show['messageicon'] OR $post['title']">
                        <!-- icon and title -->
                        <div class="smallfont">
                                <if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
                                <if condition="$post['title']"><strong>$post[title]</strong></if>
                        </div>
                        <hr size="1" style="color:$stylevar[tborder_bgcolor]; background-color:$stylevar[tborder_bgcolor]" />
                        <!-- / icon and title -->
                </if>

                <!-- message -->
                <div id="post_message_$post[postid]">$post[message]</div>
                <!-- / message -->

                <if condition="$show['attachments']">
                <!-- attachments -->
                        <div style="padding:$stylevar[cellpadding]px">

                        <if condition="$show['thumbnailattachment']">
                                <fieldset class="fieldset">
                                        <legend>$vbphrase[attached_thumbnails]</legend>
                                        <div style="padding:$stylevar[formspacer]px">
                                        $post[thumbnailattachments]
                                        </div>
                                </fieldset>
                        </if>

                        <if condition="$show['imageattachment']">
                                <fieldset class="fieldset">
                                        <legend>$vbphrase[attached_images]</legend>
                                        <div style="padding:$stylevar[formspacer]px">
                                        $post[imageattachments]
                                        </div>
                                </fieldset>
                        </if>

                        <if condition="$show['imageattachmentlink']">
                                <fieldset class="fieldset">
                                        <legend>$vbphrase[attached_images]</legend>
                                        <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                                        $post[imageattachmentlinks]
                                        </table>
                                        </fieldset>
                        </if>

                        <if condition="$show['otherattachment']">
                                <fieldset class="fieldset">
                                        <legend>$vbphrase[attached_files]</legend>
                                        <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                                        $post[otherattachments]
                                        </table>
                                </fieldset>
                        </if>

                        <if condition="$show['moderatedattachment']">
                                <fieldset class="fieldset">
                                        <legend>$vbphrase[attachments_pending_approval]</legend>
                                        <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                                        $post[moderatedattachments]
                                        </table>
                                </fieldset>
                        </if>

                        </div>
                <!-- / attachments -->
                </if>

                $template_hook[postbit_signature_start]

                <if condition="$post['signature']">
                <!-- sig -->
                        <div>
                                __________________<br />
                                $post[signature]
                        </div>
                <!-- / sig -->
                </if>

                $template_hook[postbit_signature_end]

                <if condition="$show['postedited']">
                <!-- edit note -->
                        <div class="smallfont">
                                <hr size="1" style="color:$stylevar[tborder_bgcolor]; background-color:$stylevar[tborder_bgcolor]" />
                                <em>
                                        <if condition="$show['postedithistory']">
                                                <phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]" 4="posthistory.php?$session[sessionurl]p=$post[postid]">$vbphrase[last_edited_link_by_x_on_y_at_z_postid]</phrase>.
                                        <else />
                                                <phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
                                        </if>
                                        <if condition="$post['edit_reason']">
                                                $vbphrase[reason]: $post[edit_reason]
                                        </if>
                                </em>
                        </div>
                <!-- / edit note -->
                </if>

                <div style="margin-top: 10px" align="$stylevar[right]">
                        <!-- controls -->
                        <if condition="$post['editlink']">
                                <img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />
                                <a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
                        </if>
                        <if condition="$post['forwardlink']">
                                <a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
                        </if>
                        <if condition="$post['replylink']">
                                <a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
                        </if>
                        <if condition="$show['multiquote_post']">
                                <a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a>
                        </if>
                        <if condition="$show['quickreply'] AND !$show['threadedmode']">
                                <a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
                        </if>
                        <if condition="$show['moderated']">
                                <img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />
                        </if>
                        <if condition="$show['spam']">
                                <img src="$stylevar[imgdir_misc]/spam_detected.png" alt="$vbphrase[spam_post]" border="0" />
                        </if>
                        <if condition="$show['deletedpost']">
                                <if condition="$show['managepost']">
                                        <a href="postings.php?$session[sessionurl]do=managepost&amp;p=$post[postid]"><img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[manage]" border="0" /></a>
                                <else />
                                <img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />
                        </if>
                        </if>
                        <if condition="$show['redcard']">
                                <a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a>
                        <else />
                                <if condition="$show['yellowcard']">
                                        <a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a>
                                </if>
                        </if>
                        $template_hook[postbit_controls]
                        <!-- / controls -->
                </div>

        <!-- message, attachments, sig -->

        </td>
</tr>
</table>
$template_hook[postbit_end]

<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none;">
        <table cellpadding="4" cellspacing="1" border="0">
        <tr>
                <td class="thead">$post[username]</td>
        </tr>
        <if condition="$show['profile']">
                <tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
        </if>
        <if condition="$show['pmlink']">
                <tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
        </if>
        <if condition="$show['emaillink']">
                <tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
        </if>
        <if condition="$show['homepage']">
                <tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
        </if>
        <if condition="$show['search']">
                <tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_all_posts_by_x]</phrase></a></td></tr>
        </if>
        <if condition="$post['userid'] AND $show['member']">
        <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_contacts]</phrase></a></td></tr>
        </if>
        $template_hook[postbit_user_popup]
        </table>
</div>
<!-- / post $post[postid] popup menu -->


 
  <!-- bottom table setup -->
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="60" align="left" valign="top"><img src="$stylevar[imgdir_misc]/tren_z_front_btm_table_ls.gif" width="60" height="14" alt=" " border="0" /></td>
        <td  width="100%" style="background-image:url($stylevar[imgdir_misc]/tren_z_front_btm_table_back.gif)"><img src="$stylevar[imgdir_misc]/clear.gif" width="100%" height="14" alt=" " border="0" /></td>
        <td width="60" align="right" valign="top"><img src="$stylevar[imgdir_misc]/tren_z_front_btm_table_rs.gif" width="60" height="14" alt=" " border="0" /></td>
      </tr>
    </table>
  <!-- End bottom table setup -->

suggestions?

ChU v2 05-02-2008 09:49 AM

Quote:

Originally Posted by sava700 (Post 1504525)
This line does not exist in 3.7 which is why it won't work as you say it will...

Code:

<if condition="$show['hasimicons']">

Here is what my postbit looks like that i'm trying to get it to work in.

Code:

<br />
 <!-- top category table setup -->
<table width="100%" class="tcat" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="88" height="26" align="left" valign="top"><img src="$stylevar[imgdir_misc]/tren_z_front_top_table_ls.gif" width="88" height="26" alt=" " border="0" /></td>
    <td width="100%" valign="middle"><div class="smallfont" align="center">$post[icon] <strong>$post[title]</strong></div></td>
    <td width="88" height="26" align="right" valign="top"><img src="$stylevar[imgdir_misc]/tren_z_front_top_table_rs.gif" width="88" height="26" alt=" " border="0" /></td>
  </tr>
</table>
        <!-- End top category table setup -->


$template_hook[postbit_start]
<table class="tborder" id="post$post[postid]" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
        <td class="thead" $post[scrolltothis]>
                <div class="normal" style="float:$stylevar[right]">
                        &nbsp;
                        <if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a> &nbsp;</if>
                        <if condition="$show['reputationlink']">
                                <span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span>
                                <if condition="$show['popups']"><script type="text/javascript"> vbrep_register("$post[postid]")</script></if>&nbsp;
                        </if>
                        <if condition="$show['infractionlink']"><a href="infraction.php?$session[sessionurl]do=report&amp;p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/infraction.gif" alt="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" border="0" /></a> &nbsp;</if>
                        <if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a> &nbsp;</if>
                        $post[iplogged]
                        <if condition="$show['inlinemod']">
                        <input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" />
                        </if>
                </div>

                <div class="normal">
                        <!-- status icon and date -->
                        <a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a>
                        <if condition="!$show['announcement']">
                                $post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
                        <else />
                                <phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
                        </if>
                        $post[firstnewinsert]
                        <!-- / status icon and date -->
                </div>
        </td>
</tr>
<tr>
        <td class="alt2" style="padding:0px">
                <!-- user info -->
                <table cellpadding="0" cellspacing="$stylevar[cellpadding]" border="0" width="100%">
                <tr>
                        <if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if>
                        <td nowrap="nowrap">

                                <div id="postmenu_$post[postid]">
                                        <if condition="$show['profile']">
                                        <a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
                                        $post[onlinestatus]
                                        <script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
                                        <else />
                                        $post[musername]
                                        </if>
                                </div>

                                <if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
                                <if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
                                $template_hook[postbit_userinfo_left]

                        </td>
                        <td width="100%">&nbsp;</td>
                        <td valign="top" nowrap="nowrap">

                                <div class="smallfont">
                                        <if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
                                        <if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
                                        <if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
                                        <div>
                                                $vbphrase[posts]: $post[posts]
                                        </div>
                                        $template_hook[postbit_userinfo_right_after_posts]
                                        <if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
                                        <if condition="$show['reputation']"><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><div><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
                                        $template_hook[postbit_userinfo_right]
                                        <div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]<if condition="$show['steam']"> $post[steamicon]</if></div>

<!-- Chu's MySpace & FaceBook Icon's -->
<if condition="$post[field15]">
<a href ="http://www.myspace.com/$post[field15]"target="_blank"><img src ="http://www.gamerscrib.net/forums/images/misc/myspace.gif"border="0"alt="View Member's Myspace Profile"></a>
</if>
<if condition="$post[field16]">
<a href ="http://www.facebook.com/profile.php?id=$post[field16]"target="_blank"><img src ="http://www.gamerscrib.net/forums/images/misc/facebook.gif"border="0"alt="View Member's FaceBook Profile"></a></if>
<!-- Chu's End MySpace & FaceBook Icon's -->
 


<!-- XFire Hack -->
<if condition="$post['field5']"><a href=http://profile.xfire.com/$post[field5]><img src=http://miniprofile.xfire.com/bg/$post[field6]/type/3/$post[field5].png width=149 height=29 border=0></a>
<br>
<a href="xfire:add_friend?user=$post[field5]" rel="nofollow">Add to xFire Friends List</a>
</if>
<!-- / End XFire Hack -->


</div>
                                </div>

                        </td>
                </tr>
                </table>
                <!-- / user info -->
        </td>
</tr>
<tr>
        <if condition="$show['moderated']">
        <td class="alt2" id="td_post_$post[postid]">
        <else />
        <td class="alt1" id="td_post_$post[postid]">
        </if>       
        <!-- message, attachments, sig -->

                $template_hook[postbit_messagearea_start]

                <if condition="$show['messageicon'] OR $post['title']">
                        <!-- icon and title -->
                        <div class="smallfont">
                                <if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
                                <if condition="$post['title']"><strong>$post[title]</strong></if>
                        </div>
                        <hr size="1" style="color:$stylevar[tborder_bgcolor]; background-color:$stylevar[tborder_bgcolor]" />
                        <!-- / icon and title -->
                </if>

                <!-- message -->
                <div id="post_message_$post[postid]">$post[message]</div>
                <!-- / message -->

                <if condition="$show['attachments']">
                <!-- attachments -->
                        <div style="padding:$stylevar[cellpadding]px">

                        <if condition="$show['thumbnailattachment']">
                                <fieldset class="fieldset">
                                        <legend>$vbphrase[attached_thumbnails]</legend>
                                        <div style="padding:$stylevar[formspacer]px">
                                        $post[thumbnailattachments]
                                        </div>
                                </fieldset>
                        </if>

                        <if condition="$show['imageattachment']">
                                <fieldset class="fieldset">
                                        <legend>$vbphrase[attached_images]</legend>
                                        <div style="padding:$stylevar[formspacer]px">
                                        $post[imageattachments]
                                        </div>
                                </fieldset>
                        </if>

                        <if condition="$show['imageattachmentlink']">
                                <fieldset class="fieldset">
                                        <legend>$vbphrase[attached_images]</legend>
                                        <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                                        $post[imageattachmentlinks]
                                        </table>
                                        </fieldset>
                        </if>

                        <if condition="$show['otherattachment']">
                                <fieldset class="fieldset">
                                        <legend>$vbphrase[attached_files]</legend>
                                        <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                                        $post[otherattachments]
                                        </table>
                                </fieldset>
                        </if>

                        <if condition="$show['moderatedattachment']">
                                <fieldset class="fieldset">
                                        <legend>$vbphrase[attachments_pending_approval]</legend>
                                        <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                                        $post[moderatedattachments]
                                        </table>
                                </fieldset>
                        </if>

                        </div>
                <!-- / attachments -->
                </if>

                $template_hook[postbit_signature_start]

                <if condition="$post['signature']">
                <!-- sig -->
                        <div>
                                __________________<br />
                                $post[signature]
                        </div>
                <!-- / sig -->
                </if>

                $template_hook[postbit_signature_end]

                <if condition="$show['postedited']">
                <!-- edit note -->
                        <div class="smallfont">
                                <hr size="1" style="color:$stylevar[tborder_bgcolor]; background-color:$stylevar[tborder_bgcolor]" />
                                <em>
                                        <if condition="$show['postedithistory']">
                                                <phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]" 4="posthistory.php?$session[sessionurl]p=$post[postid]">$vbphrase[last_edited_link_by_x_on_y_at_z_postid]</phrase>.
                                        <else />
                                                <phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
                                        </if>
                                        <if condition="$post['edit_reason']">
                                                $vbphrase[reason]: $post[edit_reason]
                                        </if>
                                </em>
                        </div>
                <!-- / edit note -->
                </if>

                <div style="margin-top: 10px" align="$stylevar[right]">
                        <!-- controls -->
                        <if condition="$post['editlink']">
                                <img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />
                                <a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
                        </if>
                        <if condition="$post['forwardlink']">
                                <a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
                        </if>
                        <if condition="$post['replylink']">
                                <a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
                        </if>
                        <if condition="$show['multiquote_post']">
                                <a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a>
                        </if>
                        <if condition="$show['quickreply'] AND !$show['threadedmode']">
                                <a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
                        </if>
                        <if condition="$show['moderated']">
                                <img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />
                        </if>
                        <if condition="$show['spam']">
                                <img src="$stylevar[imgdir_misc]/spam_detected.png" alt="$vbphrase[spam_post]" border="0" />
                        </if>
                        <if condition="$show['deletedpost']">
                                <if condition="$show['managepost']">
                                        <a href="postings.php?$session[sessionurl]do=managepost&amp;p=$post[postid]"><img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[manage]" border="0" /></a>
                                <else />
                                <img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />
                        </if>
                        </if>
                        <if condition="$show['redcard']">
                                <a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a>
                        <else />
                                <if condition="$show['yellowcard']">
                                        <a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a>
                                </if>
                        </if>
                        $template_hook[postbit_controls]
                        <!-- / controls -->
                </div>

        <!-- message, attachments, sig -->

        </td>
</tr>
</table>
$template_hook[postbit_end]

<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none;">
        <table cellpadding="4" cellspacing="1" border="0">
        <tr>
                <td class="thead">$post[username]</td>
        </tr>
        <if condition="$show['profile']">
                <tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
        </if>
        <if condition="$show['pmlink']">
                <tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
        </if>
        <if condition="$show['emaillink']">
                <tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
        </if>
        <if condition="$show['homepage']">
                <tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
        </if>
        <if condition="$show['search']">
                <tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_all_posts_by_x]</phrase></a></td></tr>
        </if>
        <if condition="$post['userid'] AND $show['member']">
        <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_contacts]</phrase></a></td></tr>
        </if>
        $template_hook[postbit_user_popup]
        </table>
</div>
<!-- / post $post[postid] popup menu -->


 
  <!-- bottom table setup -->
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="60" align="left" valign="top"><img src="$stylevar[imgdir_misc]/tren_z_front_btm_table_ls.gif" width="60" height="14" alt=" " border="0" /></td>
        <td  width="100%" style="background-image:url($stylevar[imgdir_misc]/tren_z_front_btm_table_back.gif)"><img src="$stylevar[imgdir_misc]/clear.gif" width="100%" height="14" alt=" " border="0" /></td>
        <td width="60" align="right" valign="top"><img src="$stylevar[imgdir_misc]/tren_z_front_btm_table_rs.gif" width="60" height="14" alt=" " border="0" /></td>
      </tr>
    </table>
  <!-- End bottom table setup -->

suggestions?

for 3.7? No, I don't use 3.7 so I wouldn't have anyway of testing it. I didn't say it would work, I said it could work with some code tweaking in the 3.7 templates.

sava700 05-02-2008 11:39 AM

Quote:

Originally Posted by ChU v2 (Post 1505588)
for 3.7? No, I don't use 3.7 so I wouldn't have anyway of testing it. I didn't say it would work, I said it could work with some code tweaking in the 3.7 templates.

So you don't have any suggestions looking at that code to tweak it to work?


Cause you have this in the text to find in the memberinfo template:
-------
=FIND:=
-------

<legend>$vbphrase[instant_messaging]</legend>


---------------
=Replace With:=
---------------

<legend>Contact</legend>

But the line to find doesn't exist anymore on 3.7's memberinfo..here is a copy of mine:

Code:

$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude

$usercss
$memberinfo_css
<style type="text/css" id="vbulletin_tabctrl_css">
@import url("clientscript/vbulletin_tabctrl.css?v=$vboptions[simpleversion]");
<if condition="$show['rtl']">@import url("clientscript/vbulletin_tabctrl_rtl.css?v=$vboptions[simpleversion]");</if>
</style>

<script type="text/javascript" src="clientscript/vbulletin_tabctrl.js?v=$vboptions[simpleversion]"></script>

<title>$vboptions[bbtitle] - $vbphrase[view_profile]: $userinfo[username]</title>

<if condition="$userinfo['userid'] == $bbuserinfo['userid']">
<script type="text/javascript" src="clientscript/vbulletin_profilefield_edit.js?v=$vboptions[simpleversion]"></script>
</if>
<script type="text/javascript">
<!--
vbphrase['server_failed_respond_try_again'] = "$vbphrase[server_failed_respond_try_again]";
vbphrase['edit_value'] = "$vbphrase[edit_value_js]";

<if condition="$show['post_visitor_message']">
function goto_post_pm()
{
        vB_TabCtrls['profile_tabs'].switch_tab('visitor_messaging');
        fetch_object('visitor_messaging').scrollIntoView();

        var textarea = fetch_object('visitor_message_form_textarea');
        if (textarea)
        {
                textarea.focus();
                textarea.select();
        }
}
</if>
-->
</script>

</head>
<body>

$header
$navbar


<!-- begin user css -->
<div id="usercss" class="floatcontainer">

<div id="content_container">
        <div id="content">

                <div id="main_userinfo" class="floatcontainer">
                        <table cellpadding="0" cellspacing="0" border="0" width="100%">
                        <tr>
                                <if condition="$prepared['profilepicurl']">
                                        <td id="profilepic_cell" class="tborder alt2"><img src="$prepared[profilepicurl]" $prepared[profilepicsize] alt="<phrase 1="$prepared[username]">$vbphrase[xs_picture]</phrase>" /></td>
                                </if>
                                <td valign="top" width="100%" id="username_box"<if condition="$prepared['profilepicurl']"> class="profilepic_adjacent"</if>>
                                        <if condition="$prepared['rank'] OR $prepared['reputationdisplay']">
                                                <div id="reputation_rank">
                                                        <if condition="$prepared['reputationdisplay']">
                                                                <div id="reputation">$prepared[reputationdisplay]</div>
                                                        </if>
                                                        <if condition="$prepared['rank']">
                                                                <div id="rank">$prepared[rank]</div>
                                                        </if>
                                                </div>
                                        </if>
                                        <h1>$prepared[musername] $prepared[onlinestatus]</h1>
                                        <if condition="$prepared['usertitle']">
                                                <h2>$prepared[usertitle]</h2>
                                        </if>
                                </td>
                        </tr>
                        </table>

                        <!-- link bar -->
                        <div class="tborder content_block" id="link_bar">
                                <ul class="thead block_row block_title list_no_decoration floatcontainer">
                                        <if condition="$prepared['myprofile']">
                                                <if condition="$show['can_customize_profile']">
                                                        <li class="thead" id="usercss_switch_link"><a href="profile.php?$session[sessionurl]do=customize">$vbphrase[customize_profile]</a></li>
                                                </if>
                                        <else />
                                                <if condition="$show['usercss_switch']">
                                                        <li class="thead" id="usercss_switch_link"><a href="profile.php?$session[sessionurl]do=switchusercss&amp;hash=$bbuserinfo[logouthash]&amp;u=$prepared[userid]">$usercss_switch_phrase</a></li>
                                                </if>
                                        </if>

                                        <if condition="$show['contactlinks']">
                                                <li class="thead" id="minicontact"><a href="#contactinfo">$vbphrase[send_message]</a> <script type="text/javascript">vBmenu.register("minicontact");</script></li>
                                        </if>

                                        <if condition="$show['userlists']">
                                                <li class="thead" id="userlists"><a href="profile.php?$session[sessionurl]do=buddylist&amp;nojs=1">$vbphrase[user_lists]</a> <script type="text/javascript">vBmenu.register("userlists");</script></li>
                                        </if>

                                        <if condition="$show['usernotes']">
                                                <li class="thead"><a href="usernote.php?$session[sessionurl]u=$prepared[userid]">$vbphrase[user_notes] ($prepared[usernotecount])</a></li>
                                        </if>

                                        <if condition="can_moderate()">
                                                <li class="thead"><a href="moderator.php?$session[sessionurl]do=useroptions&amp;u=$userinfo[userid]">$vbphrase[edit_user_profile]</a></li>
                                        </if>
                                </ul>

                                <!-- current activity -->
                                <if condition="$prepared['lastactivitydate'] OR $prepared['action']">
                                        <div class="alt2 smallfont block_row" id="activity_info">
                                                <if condition="$prepared['lastactivitydate']">
                                                        <div id="last_online">
                                                                <span class="shade">$vbphrase[last_activity]:</span> $prepared[lastactivitydate]<if condition="!$show['detailedtime']"> <span class="time">$prepared[lastactivitytime]</span></if>
                                                        </div>
                                                </if>
                                                <if condition="$prepared['action']">
                                                        <span class="shade">$vbphrase[current_activity]:</span> $prepared[action] $prepared[where]
                                                </if>
                                        </div>
                                </if>
                                <!-- / current activity -->

                        </div>
                        <!-- / link bar -->

                        <!-- user list menu -->
                        <ul id="userlists_menu" class="vbmenu_popup list_no_decoration" style="display: none">
                                <li class="thead first"><phrase 1="$prepared[username]">$vbphrase[user_lists]</phrase></li>
                                <if condition="$prepared['canbefriend']">
                                        <li class="vbmenu_option">
                                                <a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=friend&amp;u=$prepared[userid]"><if condition="$prepared['requestedfriend']">$vbphrase[confirm_friendship_request]<else />$vbphrase[add_to_friends_list]</if></a>
                                        </li>
                                </if>
                                <if condition="$prepared['isfriend']">
                                        <li class="vbmenu_option">
                                                <a href="profile.php?$session[sessionurl]do=removelist&amp;userlist=friend&amp;u=$prepared[userid]">$vbphrase[remove_from_friends_list]</a>
                                        </li>
                                </if>
                                <if condition="$show['addbuddylist']">
                                        <li class="vbmenu_option">
                                                <a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$prepared[userid]">$vbphrase[add_to_contacts]</a>
                                        </li>
                                </if>
                                <if condition="$show['removebuddylist']">
                                        <li class="vbmenu_option">
                                                <a href="profile.php?$session[sessionurl]do=removelist&amp;userlist=buddy&amp;u=$prepared[userid]">$vbphrase[remove_from_contacts]</a>
                                        </li>
                                </if>
                                <if condition="$show['addignorelist']">
                                        <li class="vbmenu_option">
                                                <a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=ignore&amp;u=$prepared[userid]">$vbphrase[add_to_ignore_list]</a>
                                        </li>
                                </if>
                                <if condition="$show['removeignorelist']">
                                        <li class="vbmenu_option">
                                                <a href="profile.php?$session[sessionurl]do=removelist&amp;userlist=ignore&amp;u=$prepared[userid]">$vbphrase[remove_from_ignore_list]</a>
                                        </li>
                                </if>
                        </ul>

                        <!-- contact popup menu -->
                        <ul id="minicontact_menu" class="vbmenu_popup list_no_decoration" style="display:none">
                                <if condition="$show['post_visitor_message'] OR $show['pm'] OR $show['email']">
                                        <li class="thead first"><phrase 1="$prepared[username]">$vbphrase[send_message_to_x]</phrase></li>
                                </if>
                                <if condition="$show['post_visitor_message']"><li class="vbmenu_option"><img src="$stylevar[imgdir_button]/sendtofriend.gif" alt="" class="alt2 inlineimg" /> <a href="visitormessage.php?$session[sessionurl]do=message&amp;u=$prepared[userid]" onclick="return goto_post_pm();"><phrase 1="$prepared[username]">$vbphrase[post_a_visitor_message_for_x]</phrase></a></li></if>
                                <if condition="$show['pm']">
                                        <li class="vbmenu_option"><img src="$stylevar[imgdir_button]/sendtofriend.gif" alt="" class="alt2 inlineimg" /> <a href="private.php?$session[sessionurl]do=newpm&amp;u=$prepared[userid]" rel="nofollow"><phrase 1="$prepared[username]">$vbphrase[send_private_message_to_x]</phrase></a></li>
                                </if>
                                <if condition="$show['email']"><li class="vbmenu_option"><img src="$stylevar[imgdir_button]/sendtofriend.gif" alt="" class="alt2 inlineimg" /> <a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$prepared[userid]" rel="nofollow"><phrase 1="$prepared[username]">$vbphrase[send_message_via_email_to_x]</phrase></a></li></if>
                                <if condition="$prepared['hasimdetails']">
                                        <li class="thead<if condition="!$show['post_visitor_message'] AND !$show['pm'] AND !$show['email']"> first</if>">Contact</li>
                                        <if condition="$prepared['icq']">
                                                <li class="vbmenu_option"><img class="alt2 inlineimg" alt="" src="$stylevar[imgdir_misc]/im_icq.gif" />  <a href="#" dir="ltr" onclick="imwindow('icq', '$prepared[userid]', 500, 450); return false;"><phrase 1="$prepared[username]">$vbphrase[send_icq_message_to_x]</phrase></a></li>
                                        </if>
                                        <if condition="$prepared['aim']">
                                                <li class="vbmenu_option"><img class="alt2 inlineimg" alt="" src="$stylevar[imgdir_misc]/im_aim.gif" /> <a href="#" dir="ltr" onclick="imwindow('aim', '$prepared[userid]', 400, 200); return false;"><phrase 1="$prepared[username]">$vbphrase[send_aim_message_to_x]</phrase></a></li>
                                        </if>
                                        <if condition="$prepared['msn']">
                                                <li class="vbmenu_option"><img class="alt2 inlineimg" alt="" src="$stylevar[imgdir_misc]/im_msn.gif" /> <a href="#" dir="ltr" onclick="imwindow('msn', '$prepared[userid]', 400, 200); return false;"><phrase 1="$prepared[username]">$vbphrase[send_msn_message_to_x]</phrase></a></li>
                                        </if>
                                        <if condition="$prepared['yahoo']">
                                                <li class="vbmenu_option"><img src="$stylevar[imgdir_misc]/im_yahoo.gif" alt="" class="alt2 inlineimg" /> <a href="#" dir="ltr" onclick="imwindow('yahoo', '$prepared[userid]', 400, 200); return false;"><phrase 1="$prepared[username]">$vbphrase[send_yahoo_message_to_x]</phrase></a></li>
                                        </if>
                                        <if condition="$prepared['skype']">
                                                <li class="vbmenu_option"><img src="$stylevar[imgdir_misc]/im_skype.gif" alt="" class="alt2 inlineimg" /> <a href="#" dir="ltr" onclick="imwindow('skype', '$prepared[userid]', 400, 285); return false;"><phrase 1="$prepared[username]">$vbphrase[send_skype_message_to_x]</phrase></a></li>
                                        </if>
                        <if condition="$prepared['steam']">
                                                <li class="vbmenu_option"><img src="$stylevar[imgdir_misc]/im_steam.gif" alt="" class="alt2 inlineimg" /> <a href="#" dir="ltr" onclick="imwindow('steam', '$prepared[userid]', 400, 285); return false;"><phrase 1="$prepared[username]">$vbphrase[send_steam_message_to_x]</phrase></a></li>
                                        </if>       

</if>

<!-- Chu's MySpace & FaceBook Icon's -->
<if condition="$userinfo['field15']">
                                        <tr>
                                                <td><a href="http://www.myspace.com/$userinfo[field15]"target="_blank"><img src="http://www.gamerscrib.net/forums/images/misc/myspace.gif"border="0"alt="View Member's Myspace Profile"></td></a>
                                                <td><a href="http://www.myspace.com/$userinfo[field15]"target="_blank">http://www.myspace.com/$userinfo[field15]</a></td>
                                        </tr>
                                        </if>
<if condition="$userinfo['field16']">
                                        <tr>
                                                <td><a href="http://www.facebook.com/$userinfo[field16]"target="_blank"><img src="http://www.gamerscrib.net/forums/images/misc/facebook.gif"border="0"alt="View Member's FaceBook Profile"></td></a>
                                                <td><a href="http://www.facebook.com/user/profile.php?id=$userinfo[field16]"target="_blank">http://www.facebook.com/profile.php?id=$userinfo[field16]</a></td>
                                        </tr>
                                        </if>
<!-- Chu's End MySpace & FaceBook Icon's -->

                        </ul>
                        <!-- / contact popup menu -->
        </div>



        <div id="profile_tabs">
                $template_hook[profile_left_first]
                $blocks[visitor_messaging]
                $blocks[aboutme]
                $blocks[stats]
                $blocks[friends]
                $blocks[infractions]
                $blocks[contactinfo]
                $template_hook[profile_left_last]
        </div>


        <script type="text/javascript">
        <!--
        vBulletin.register_control("vB_TabCtrl", "profile_tabs", "$selected_tab", "&raquo;", "profile.php?u=2&do=loadtab&tabid={1:tabid}");
        //-->
        </script>

</div>
</div>

<div id="sidebar_container">
        <!-- sidebar -->
        $template_hook[profile_right_first]
        $blocks[stats_mini]
        $template_hook[profile_right_mini]
        $blocks[friends_mini]
        $blocks[albums]
        $template_hook[profile_right_album]
        $blocks[groups]
        $blocks[visitors]
        $template_hook[profile_right_last]
        <!-- / sidebar -->
</div>

<!-- end usercss -->
</div>

$footer

</body>
</html>


TriMe 06-01-2008 11:31 AM

Quote:

Originally Posted by sava700 (Post 1505677)
So you don't have any suggestions looking at that code to tweak it to work?


Cause you have this in the text to find in the memberinfo template:
-------
=FIND:=
-------

<legend>$vbphrase[instant_messaging]</legend>


---------------
=Replace With:=
---------------

<legend>Contact</legend>

But the line to find doesn't exist anymore on 3.7's memberinfo..here is a copy of mine:

Code:

$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude

$usercss
$memberinfo_css
<style type="text/css" id="vbulletin_tabctrl_css">
@import url("clientscript/vbulletin_tabctrl.css?v=$vboptions[simpleversion]");
<if condition="$show['rtl']">@import url("clientscript/vbulletin_tabctrl_rtl.css?v=$vboptions[simpleversion]");</if>
</style>

<script type="text/javascript" src="clientscript/vbulletin_tabctrl.js?v=$vboptions[simpleversion]"></script>

<title>$vboptions[bbtitle] - $vbphrase[view_profile]: $userinfo[username]</title>

<if condition="$userinfo['userid'] == $bbuserinfo['userid']">
<script type="text/javascript" src="clientscript/vbulletin_profilefield_edit.js?v=$vboptions[simpleversion]"></script>
</if>
<script type="text/javascript">
<!--
vbphrase['server_failed_respond_try_again'] = "$vbphrase[server_failed_respond_try_again]";
vbphrase['edit_value'] = "$vbphrase[edit_value_js]";

<if condition="$show['post_visitor_message']">
function goto_post_pm()
{
        vB_TabCtrls['profile_tabs'].switch_tab('visitor_messaging');
        fetch_object('visitor_messaging').scrollIntoView();

        var textarea = fetch_object('visitor_message_form_textarea');
        if (textarea)
        {
                textarea.focus();
                textarea.select();
        }
}
</if>
-->
</script>

</head>
<body>

$header
$navbar


<!-- begin user css -->
<div id="usercss" class="floatcontainer">

<div id="content_container">
        <div id="content">

                <div id="main_userinfo" class="floatcontainer">
                        <table cellpadding="0" cellspacing="0" border="0" width="100%">
                        <tr>
                                <if condition="$prepared['profilepicurl']">
                                        <td id="profilepic_cell" class="tborder alt2"><img src="$prepared[profilepicurl]" $prepared[profilepicsize] alt="<phrase 1="$prepared[username]">$vbphrase[xs_picture]</phrase>" /></td>
                                </if>
                                <td valign="top" width="100%" id="username_box"<if condition="$prepared['profilepicurl']"> class="profilepic_adjacent"</if>>
                                        <if condition="$prepared['rank'] OR $prepared['reputationdisplay']">
                                                <div id="reputation_rank">
                                                        <if condition="$prepared['reputationdisplay']">
                                                                <div id="reputation">$prepared[reputationdisplay]</div>
                                                        </if>
                                                        <if condition="$prepared['rank']">
                                                                <div id="rank">$prepared[rank]</div>
                                                        </if>
                                                </div>
                                        </if>
                                        <h1>$prepared[musername] $prepared[onlinestatus]</h1>
                                        <if condition="$prepared['usertitle']">
                                                <h2>$prepared[usertitle]</h2>
                                        </if>
                                </td>
                        </tr>
                        </table>

                        <!-- link bar -->
                        <div class="tborder content_block" id="link_bar">
                                <ul class="thead block_row block_title list_no_decoration floatcontainer">
                                        <if condition="$prepared['myprofile']">
                                                <if condition="$show['can_customize_profile']">
                                                        <li class="thead" id="usercss_switch_link"><a href="profile.php?$session[sessionurl]do=customize">$vbphrase[customize_profile]</a></li>
                                                </if>
                                        <else />
                                                <if condition="$show['usercss_switch']">
                                                        <li class="thead" id="usercss_switch_link"><a href="profile.php?$session[sessionurl]do=switchusercss&amp;hash=$bbuserinfo[logouthash]&amp;u=$prepared[userid]">$usercss_switch_phrase</a></li>
                                                </if>
                                        </if>

                                        <if condition="$show['contactlinks']">
                                                <li class="thead" id="minicontact"><a href="#contactinfo">$vbphrase[send_message]</a> <script type="text/javascript">vBmenu.register("minicontact");</script></li>
                                        </if>

                                        <if condition="$show['userlists']">
                                                <li class="thead" id="userlists"><a href="profile.php?$session[sessionurl]do=buddylist&amp;nojs=1">$vbphrase[user_lists]</a> <script type="text/javascript">vBmenu.register("userlists");</script></li>
                                        </if>

                                        <if condition="$show['usernotes']">
                                                <li class="thead"><a href="usernote.php?$session[sessionurl]u=$prepared[userid]">$vbphrase[user_notes] ($prepared[usernotecount])</a></li>
                                        </if>

                                        <if condition="can_moderate()">
                                                <li class="thead"><a href="moderator.php?$session[sessionurl]do=useroptions&amp;u=$userinfo[userid]">$vbphrase[edit_user_profile]</a></li>
                                        </if>
                                </ul>

                                <!-- current activity -->
                                <if condition="$prepared['lastactivitydate'] OR $prepared['action']">
                                        <div class="alt2 smallfont block_row" id="activity_info">
                                                <if condition="$prepared['lastactivitydate']">
                                                        <div id="last_online">
                                                                <span class="shade">$vbphrase[last_activity]:</span> $prepared[lastactivitydate]<if condition="!$show['detailedtime']"> <span class="time">$prepared[lastactivitytime]</span></if>
                                                        </div>
                                                </if>
                                                <if condition="$prepared['action']">
                                                        <span class="shade">$vbphrase[current_activity]:</span> $prepared[action] $prepared[where]
                                                </if>
                                        </div>
                                </if>
                                <!-- / current activity -->

                        </div>
                        <!-- / link bar -->

                        <!-- user list menu -->
                        <ul id="userlists_menu" class="vbmenu_popup list_no_decoration" style="display: none">
                                <li class="thead first"><phrase 1="$prepared[username]">$vbphrase[user_lists]</phrase></li>
                                <if condition="$prepared['canbefriend']">
                                        <li class="vbmenu_option">
                                                <a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=friend&amp;u=$prepared[userid]"><if condition="$prepared['requestedfriend']">$vbphrase[confirm_friendship_request]<else />$vbphrase[add_to_friends_list]</if></a>
                                        </li>
                                </if>
                                <if condition="$prepared['isfriend']">
                                        <li class="vbmenu_option">
                                                <a href="profile.php?$session[sessionurl]do=removelist&amp;userlist=friend&amp;u=$prepared[userid]">$vbphrase[remove_from_friends_list]</a>
                                        </li>
                                </if>
                                <if condition="$show['addbuddylist']">
                                        <li class="vbmenu_option">
                                                <a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$prepared[userid]">$vbphrase[add_to_contacts]</a>
                                        </li>
                                </if>
                                <if condition="$show['removebuddylist']">
                                        <li class="vbmenu_option">
                                                <a href="profile.php?$session[sessionurl]do=removelist&amp;userlist=buddy&amp;u=$prepared[userid]">$vbphrase[remove_from_contacts]</a>
                                        </li>
                                </if>
                                <if condition="$show['addignorelist']">
                                        <li class="vbmenu_option">
                                                <a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=ignore&amp;u=$prepared[userid]">$vbphrase[add_to_ignore_list]</a>
                                        </li>
                                </if>
                                <if condition="$show['removeignorelist']">
                                        <li class="vbmenu_option">
                                                <a href="profile.php?$session[sessionurl]do=removelist&amp;userlist=ignore&amp;u=$prepared[userid]">$vbphrase[remove_from_ignore_list]</a>
                                        </li>
                                </if>
                        </ul>

                        <!-- contact popup menu -->
                        <ul id="minicontact_menu" class="vbmenu_popup list_no_decoration" style="display:none">
                                <if condition="$show['post_visitor_message'] OR $show['pm'] OR $show['email']">
                                        <li class="thead first"><phrase 1="$prepared[username]">$vbphrase[send_message_to_x]</phrase></li>
                                </if>
                                <if condition="$show['post_visitor_message']"><li class="vbmenu_option"><img src="$stylevar[imgdir_button]/sendtofriend.gif" alt="" class="alt2 inlineimg" /> <a href="visitormessage.php?$session[sessionurl]do=message&amp;u=$prepared[userid]" onclick="return goto_post_pm();"><phrase 1="$prepared[username]">$vbphrase[post_a_visitor_message_for_x]</phrase></a></li></if>
                                <if condition="$show['pm']">
                                        <li class="vbmenu_option"><img src="$stylevar[imgdir_button]/sendtofriend.gif" alt="" class="alt2 inlineimg" /> <a href="private.php?$session[sessionurl]do=newpm&amp;u=$prepared[userid]" rel="nofollow"><phrase 1="$prepared[username]">$vbphrase[send_private_message_to_x]</phrase></a></li>
                                </if>
                                <if condition="$show['email']"><li class="vbmenu_option"><img src="$stylevar[imgdir_button]/sendtofriend.gif" alt="" class="alt2 inlineimg" /> <a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$prepared[userid]" rel="nofollow"><phrase 1="$prepared[username]">$vbphrase[send_message_via_email_to_x]</phrase></a></li></if>
                                <if condition="$prepared['hasimdetails']">
                                        <li class="thead<if condition="!$show['post_visitor_message'] AND !$show['pm'] AND !$show['email']"> first</if>">Contact</li>
                                        <if condition="$prepared['icq']">
                                                <li class="vbmenu_option"><img class="alt2 inlineimg" alt="" src="$stylevar[imgdir_misc]/im_icq.gif" />  <a href="#" dir="ltr" onclick="imwindow('icq', '$prepared[userid]', 500, 450); return false;"><phrase 1="$prepared[username]">$vbphrase[send_icq_message_to_x]</phrase></a></li>
                                        </if>
                                        <if condition="$prepared['aim']">
                                                <li class="vbmenu_option"><img class="alt2 inlineimg" alt="" src="$stylevar[imgdir_misc]/im_aim.gif" /> <a href="#" dir="ltr" onclick="imwindow('aim', '$prepared[userid]', 400, 200); return false;"><phrase 1="$prepared[username]">$vbphrase[send_aim_message_to_x]</phrase></a></li>
                                        </if>
                                        <if condition="$prepared['msn']">
                                                <li class="vbmenu_option"><img class="alt2 inlineimg" alt="" src="$stylevar[imgdir_misc]/im_msn.gif" /> <a href="#" dir="ltr" onclick="imwindow('msn', '$prepared[userid]', 400, 200); return false;"><phrase 1="$prepared[username]">$vbphrase[send_msn_message_to_x]</phrase></a></li>
                                        </if>
                                        <if condition="$prepared['yahoo']">
                                                <li class="vbmenu_option"><img src="$stylevar[imgdir_misc]/im_yahoo.gif" alt="" class="alt2 inlineimg" /> <a href="#" dir="ltr" onclick="imwindow('yahoo', '$prepared[userid]', 400, 200); return false;"><phrase 1="$prepared[username]">$vbphrase[send_yahoo_message_to_x]</phrase></a></li>
                                        </if>
                                        <if condition="$prepared['skype']">
                                                <li class="vbmenu_option"><img src="$stylevar[imgdir_misc]/im_skype.gif" alt="" class="alt2 inlineimg" /> <a href="#" dir="ltr" onclick="imwindow('skype', '$prepared[userid]', 400, 285); return false;"><phrase 1="$prepared[username]">$vbphrase[send_skype_message_to_x]</phrase></a></li>
                                        </if>
                        <if condition="$prepared['steam']">
                                                <li class="vbmenu_option"><img src="$stylevar[imgdir_misc]/im_steam.gif" alt="" class="alt2 inlineimg" /> <a href="#" dir="ltr" onclick="imwindow('steam', '$prepared[userid]', 400, 285); return false;"><phrase 1="$prepared[username]">$vbphrase[send_steam_message_to_x]</phrase></a></li>
                                        </if>       

</if>

<!-- Chu's MySpace & FaceBook Icon's -->
<if condition="$userinfo['field15']">
                                        <tr>
                                                <td><a href="http://www.myspace.com/$userinfo[field15]"target="_blank"><img src="http://www.gamerscrib.net/forums/images/misc/myspace.gif"border="0"alt="View Member's Myspace Profile"></td></a>
                                                <td><a href="http://www.myspace.com/$userinfo[field15]"target="_blank">http://www.myspace.com/$userinfo[field15]</a></td>
                                        </tr>
                                        </if>
<if condition="$userinfo['field16']">
                                        <tr>
                                                <td><a href="http://www.facebook.com/$userinfo[field16]"target="_blank"><img src="http://www.gamerscrib.net/forums/images/misc/facebook.gif"border="0"alt="View Member's FaceBook Profile"></td></a>
                                                <td><a href="http://www.facebook.com/user/profile.php?id=$userinfo[field16]"target="_blank">http://www.facebook.com/profile.php?id=$userinfo[field16]</a></td>
                                        </tr>
                                        </if>
<!-- Chu's End MySpace & FaceBook Icon's -->

                        </ul>
                        <!-- / contact popup menu -->
        </div>



        <div id="profile_tabs">
                $template_hook[profile_left_first]
                $blocks[visitor_messaging]
                $blocks[aboutme]
                $blocks[stats]
                $blocks[friends]
                $blocks[infractions]
                $blocks[contactinfo]
                $template_hook[profile_left_last]
        </div>


        <script type="text/javascript">
        <!--
        vBulletin.register_control("vB_TabCtrl", "profile_tabs", "$selected_tab", "&raquo;", "profile.php?u=2&do=loadtab&tabid={1:tabid}");
        //-->
        </script>

</div>
</div>

<div id="sidebar_container">
        <!-- sidebar -->
        $template_hook[profile_right_first]
        $blocks[stats_mini]
        $template_hook[profile_right_mini]
        $blocks[friends_mini]
        $blocks[albums]
        $template_hook[profile_right_album]
        $blocks[groups]
        $blocks[visitors]
        $template_hook[profile_right_last]
        <!-- / sidebar -->
</div>

<!-- end usercss -->
</div>

$footer

</body>
</html>


To replace 'Instant Messaging' with Contact in vB 3.7.x go to Phrase manager in admincp
search for text "instant_messaging" (Search Phrase Variable Name Only), click edit beside Instant Messaging, put Contact in the edit box on the bottom... or what ever you want to name it.

sava700 06-02-2008 12:14 AM

Quote:

Originally Posted by TriMe (Post 1537738)
To replace 'Instant Messaging' with Contact in vB 3.7.x go to Phrase manager in admincp
search for text "instant_messaging" (Search Phrase Variable Name Only), click edit beside Instant Messaging, put Contact in the edit box on the bottom... or what ever you want to name it.

no you don't understand.....its not about changing them its about finding them either one of them.

I can't even find <legend> in the memberinfo template... something has obviously changed in a major way here.


All times are GMT. The time now is 03:12 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.01848 seconds
  • Memory Usage 2,181KB
  • 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
  • (6)bbcode_code_printable
  • (6)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