vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   better view postbit legacy help? (https://vborg.vbsupport.ru/showthread.php?t=184815)

ku6club 07-09-2008 01:18 PM

better view postbit legacy help?
 
1 Attachment(s)
hi. anyone help this? nothing change after i edit the postbit legacy. what did wrong or how to do that?


postbit_legacy
Code:

/////////////////////////////////////////////////////////
//Legend Hack: A Better Postbit(_Legacy) View by HASANN//
/////////////////////////////////////////////////////////


/////////////////////////////////////
//What does it? : See Attachment!!!//
/////////////////////////////////////



//////////////////
//Instructions:///
//////////////////


/////////////////////////////////////////////////////////
Open Postbit_Legacy Template And Find This Codes      //
/////////////////////////////////////////////////////////


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



////////////////////////////////
//REPLACE WITH THIS CODES    //
////////////////////////////////



<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']">
                <center><a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a></center>
                <script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
                <else />
                $post[musername]
                </if>
            </div>
           
<if condition="$post['usertitle']"><div class="smallfont"><center>$post[usertitle]</center></div></if>
<if condition="$post['rank']"><div class="smallfont"><center><center>$post[rank]</center></div></if>
       
            <if condition="$show['avatar']">
                <div class="smallfont">
                    &nbsp;<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><center><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></center></a>
                </div>
            </if>
           
    <div class="smallfont">&nbsp;<br />
    <table align="center" border="1" width="%100">
    <tr class="alt1"><td><if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if></td></tr>
    <tr class="alt1"><td><if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if></td></tr>
        <tr class="alt1"><td><if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if></td></tr>
    <tr class="alt1"><td><div>$vbphrase[posts]: $post[posts]</div></td></tr>
    <tr class="alt1"><td><div>$vbphrase[userid]: $post[userid]</div></td></tr>
    <tr class="alt1"><td><if condition="$show['reputation']"><div><if condition="$show['reppower']">$vbphrase[reppower]: $post[reppower]</div></if></td></tr>
        <tr class="alt1"><td><div>$vbphrase[reputation]: $post[reputation]</div></td></tr>
        <tr class="alt1"><td><div>$post[reputationdisplay]</center></div></if></td></tr>
        <tr class="alt1"><td><div><center>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]<center></div></td></tr>
        </table>


//////////////////////////
//Enjoy you are done :) //
//////////////////////////


Princeton 07-09-2008 03:14 PM

to get a faster response (answer to your problem) I suggest posting your question within the modification thread

ku6club 07-09-2008 04:12 PM

this code i just found in the Chinese forum. i really don't know where i can ask. i also search in here. no result. anyone know how to make best view on the postbit legacy make your profile view better?

Opserty 07-09-2008 04:20 PM

What is the problem? The screen shot matches the changes you have made...

cheat-master30 07-09-2008 04:30 PM

He might be using the screenshot to show what should have happened, not what's happened on his forum, as in, he wants his forum postbit to look like that but it didn't work...

Can the topic creator give a demo link?

Hasann 07-10-2008 01:10 AM

this is my modification

I recommend you sould use the new version

get it here https://vborg.vbsupport.ru/showthread.php?t=174268

ku6club 07-10-2008 04:59 AM

i have been install the Next Generation Postbit_Legacy View, but not change anything. i mean nothing change on the view profile. what is the problem?

Dismounted 07-10-2008 05:20 AM

You have to actually use the _legacy template.

Admin CP > vBulletin Options > Style & Language Settings > Use Legacy (Vertical) Postbit


All times are GMT. The time now is 01:09 AM.

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

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01001 seconds
  • Memory Usage 1,746KB
  • 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
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

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

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