Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
{mishakoz} Postbit_Legacy Scroll Details »»
{mishakoz} Postbit_Legacy Scroll
Version: 1.00, by sonichero sonichero is offline
Developer Last Online: Jan 2008 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.6.4 Rating:
Released: 05-10-2007 Last Update: Never Installs: 3
Template Edits
 
No support by the author.

This will create a postbit with curved headers on the top and bottom of the user information.

Find:
HTML Code:
<tr valign="top">
    <td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">
            
            <div id="postmenu_$post[postid]">
                <if condition="$show['profile']">
                <a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
                <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>
        
            <if condition="$show['avatar']">
                <div class="smallfont">
                    &nbsp;<br /><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>
                </div>
            </if>
            
            <div class="smallfont">
                &nbsp;<br />
                <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>
                <if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
                <if condition="$show['reputation']"><div><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
                
                <div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
            </div>                    
        
    </td>
Replace with:
HTML Code:
<tr valign="top" align="left">
    <td class="alt2" width="175" cellpadding="10">

<table width="180">
<tr>
<td></td>
</tr>
<tr>
<td class="bm2" align="center" width="160"><div class="tcenter">
<div class="tleft">
<div class="tright">
<div class="tcat2">
&nbsp
</div></div></div></div>
<hr>
    <div align="center" id="postmenu_$post[postid]">
                <if condition="$show['profile']">
                <a href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
                <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>
<hr>
            
<table align="center" valign="middle" border="0" width="110" height="110">
<tr>
<td>        

<if condition="$show['avatar']">
                <div class="smallfont" align="center" valign="middle">
                    &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>
</td>
</tr>
</table>    
<!--Add Profile Fields Here-->
<table width="95%">
<tr>
<td><div class="smallfont"><if condition="$post['joindate']"><div><b>Joined: </b> $post[joindate]</div></if></td>
</tr>
<tr>
<td>
                <if condition="$post['field2']"><div><b>Located: </b>$post[field2]</div></if></td></tr>
<tr>
<td>
                <if condition="$post['age']"><div><b>Age: </b>$post[age]</div></if>
                <div>
                    <b>Posts: </b>$post[posts]
                </div></td></tr>
<tr>
<td>
                <if condition="$show['infraction']"><div><b>Infractions: </b>$post[warnings]/$post[infractions] ($post[ipoints])</div></if></td></tr>
</table>

<!-- / Add Profile Fields Here-->
<div class="fcenter">
<div class="fleft">
<div class="fright">
<div class="tcat2">
&nbsp
</div></div></div></div></td>
</tr>
</table>


Add to custom CSS Definitions:
Code:
/* ***** Postbit_Legacy Scroll ***** */
.tleft{background:  url(images/gradients/left.gif) top left no-repeat ;}
.tcenter{background:  url(images/gradients/center.gif) top left ;}
.tright{background:  url(images/gradients/right.gif) top right no-repeat ;}
.fleft{background:  url(images/gradients/footleft.gif) top left no-repeat ;}
.fcenter{background:  url(images/gradients/footcenter.gif) top left ;}
.fright{background:  url(images/gradients/footright.gif) top right no-repeat ;}
.bm2{background:  url(images/bm/misc/page_bg.jpg) top right no-repeat ;}
.bm3{background:  url(images/bm/misc/top.gif) top right no-repeat ;}
.tcat2
{color: #000000; font: bold 10pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; padding-left: 70px; padding-top: 3px;}
.tcat2 a:link, .tcat2_alink
{color: #000000;text-decoration: none;}
.tcat2 a:visited, .tcat2_avisited
{color: #000000; text-decoration: none;}
.tcat2 a:hover, .tcat2 a:active, .tcat2_ahover
{color: #878787; text-decoration: none;}
...and change the url to the locations of your images to be used for the curved head and foot.

Edits:
  1. Change URLs in CSS to that of the correct images.
  2. Set bm2 to what you want the background of your postbit to look like. Define an image or a background color.
  3. Change the CSS of tcat2 to whatever your preference. If you have a white forum this may need to be changed
  4. Find "Add Profile Fields Here" in the template and add any profile fields you wish too.
  5. In the very beginning it say <tr valign...>, define valign as either top, middle or bottom and align as left right or center, wherever you want it in the postbit.
  6. Find <table align="center" valign="middle" border="0" width="110" height="110"> and define height and width to the allowed size of your forum avatars. Delete height and width if you have multiple allowed sizes per usergroup.
Picture:


Show Your Support

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

Comments
  #2  
Old 05-11-2007, 06:34 AM
QsKGlobal.com QsKGlobal.com is offline
 
Join Date: Mar 2007
Location: Rockford, IL
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very unique, I will make the changes and post them when I get the chance

*installed*
Reply With Quote
  #3  
Old 06-16-2007, 10:43 AM
Dotara's Avatar
Dotara Dotara is offline
 
Join Date: Apr 2007
Location: 127.0.0.1
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tried to install but didn't find .bm3{background: url(images/bm/misc/top.gif) top right no-repeat ;} image, can you attach in this thread so I can see what kind of image it is.
Reply With Quote
  #4  
Old 06-21-2007, 04:10 AM
sonichero sonichero is offline
 
Join Date: Jan 2007
Posts: 163
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Im sorry, BM3 was edited out of the code during last adjustments and i forgot to take it from the CSS.
Reply With Quote
Reply


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 01:45 PM.


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.03703 seconds
  • Memory Usage 2,257KB
  • Queries Executed 17 (?)
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
  • (1)bbcode_code
  • (2)bbcode_html
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (3)postbit
  • (4)postbit_onlinestatus
  • (4)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete