Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications

Reply
 
Thread Tools
A Well Organized Postbit_Legacy Details »»
A Well Organized Postbit_Legacy
Version: 1.00, by zendiver zendiver is offline
Developer Last Online: Aug 2010 Show Printable Version Email this Page

Version: 3.5.2 Rating:
Released: 12-27-2005 Last Update: 12-27-2005 Installs: 39
Template Edits
 
No support by the author.

I keep getting PM's asking about my postbit_legacy template and everyone keeps telling me I should post it. So here it is.

First of all, you will need to install Cyricx's User Info Collapsable Postbit in Legacy. Once you have installed the product and get to the step of editing the postbit_legacy template, this is where this one would take over.

(NOTE: I have NOT put this to use in the postbit template, ONLY the postbit_legacy template. If you try it in your postbit, then let someone know that it works)

(ALSO NOTE: I have PhotoPost Pro and Jason's iTrader installed and shown in my users information. If you don't have them installed and have something else you want to show in your members information, just replace that bit of information or add yours to the area that you want it to show up in. Everyones postbit information varies, so adjust your information in the appropriate categories outlined below. See attached screenshots of what mine looks like.)

This is installed on ver 3.5.2.

In your postbit_legacy template:

FIND:
PHP Code:
            <if condition="$show['avatar']">
                <
div class="smallfont">
                    &
nbsp;<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
                </
div>
            </if> 
PUT THIS BELOW IT: (you will see why in a second)
PHP Code:
<!-- ******************************************** --> 
NOW FIND:
PHP Code:
</td>
    <if 
condition="$show['moderated']">
    <
td class="alt2" id="td_post_$post[postid]">
    <else />
    <
td class="alt1" id="td_post_$post[postid]">
    </if> 
ADD ABOVE IT:
PHP Code:
<!-- ******************************************** --> 
Now replace everything between these:
PHP Code:
<!-- ******************************************** --> 
WITH THIS:
PHP Code:

            
<div class="smallfont">
                &
nbsp;<br />
                <!-- 
START COLLAPSABLE POSTBIT BEGINNING-->
<if 
condition="THIS_SCRIPT=='showthread' OR THIS_SCRIPT=='showpost'">
<
table class="tborder" cellspacing="1" border="0" width="100%">
<
tbody>
<
tr>
        <
td class="thead" colspan="2">
            <
a style="float:$stylevar[right]href="#" onclick="return toggle_collapseuserinfo('postbit_legacy_userinfo$post[postcount]')"><img id="collapseimg_postbit_legacy_userinfo$post[postcount]src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_postbit_legacy_userinfo].gif" alt="" border="0" /></a>$vbphrase[collapse_postbit]
        </
td>
    </
tr>
</
tbody>
<
tbody id="collapseobj_postbit_legacy_userinfo$post[postcount]style="$vbcollapse[collapseobj_postbit_legacy_userinfo]"><tr><td class="alt2">
</if>
<!-- / 
END COLLAPSABLE POSTBIT BEGINNING-->

<!-- 
START PROFILE LEGEND -->
        <
fieldset class="fieldset">
            <
legend>$post[musername]'s Profile</legend>
                <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="1">
                    <if condition="$post['
joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
                    <if condition="$post['
field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
                </div>
                </table>
        </fieldset>
<!-- / END PROFILE LEGEND -->

<!-- START STATS LEGEND -->
        <fieldset class="fieldset">
            <legend>$post[musername]'
s Stats</legend>
                <
table cellpadding="0" cellspacing="$stylevar[formspacer]border="1">
                <if 
condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
                <
div>
                    
$vbphrase[posts]: $post[posts]
                </
div>
                <if 
condition="$post['userid']">
                <
div>iTrader: <b><a href="itrader.php?$session[sessionurl]u=$post[userid]">$post[itrader_total]</a></b></div></if>
                <if 
condition="$show['reputation']">
                <
div><if condition="$show['reppower']">$vbphrase[reppower]: $post[reppower]</if>Reputation$post[reputationdisplay]</div></if>
                <if 
condition="$post['photos']"><div>Photos: <strong>$post[photos]</strong> <a href="$vbpoptions[bbdir]/gallery/showgallery.php?cat=500&ppuser=$post[userid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="Users Photo Gallery" border="0" /></a></if>
                </
div>
                </
table>
        </
fieldset>
<!-- / 
END STATS LEGEND -->

<!-- 
START INSTANT MESSAGING LEGEND -->
                <if 
condition="$show['hasimicons']">
        <
fieldset class="fieldset">
            <
legend>$post[musername]'s Messaging</legend>
                <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="1">
                    <div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
                </div>
                </table>
        </fieldset>
                </if>
<!-- / END INSTANT MESSAGING LEGEND -->
            </div>
<!-- START COLLAPSABLE POSTBIT ENDING -->
        <if condition="THIS_SCRIPT=='
showthread' OR THIS_SCRIPT=='showpost'">
</td></tr></tbody></table>
</if>
<!-- / END COLLAPSABLE POSTBIT ENDING --> 

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #62  
Old 07-12-2008, 07:17 PM
Justin Murad Justin Murad is offline
 
Join Date: May 2008
Location: Turkey, USA in holidays
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by donaldgkimball View Post
Any chance this can be updated to wrk for vB 3.6.4 too?
It's a template edit, It will work on 3.6.x, and 3.7.x too.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:41 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03845 seconds
  • Memory Usage 2,252KB
  • Queries Executed 16 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (2)post_thanks_box
  • (2)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit_info
  • (1)postbit
  • (2)postbit_onlinestatus
  • (2)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete