vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Post_Bit Legacy woes (https://vborg.vbsupport.ru/showthread.php?t=181255)

Jason Buchanan 06-02-2008 02:00 AM

Post_Bit Legacy woes
 
1 Attachment(s)
I have some custom titles I want to use in the Post_Bit Legacy Template. How do I go about doing it like the ones in the attached image? I want to be able to assign through usergroup id's. Thanks in advance.

Opserty 06-02-2008 08:34 AM

Try "User Ranks" it is listed in the Navigation menu of the AdminCP. Check the vBulletin manual if you need extra information about using it.

Jason Buchanan 06-02-2008 02:47 PM

1 Attachment(s)
That worked! I do have one other question in my user profile it has the image to the far right any way to get in under the user name in the profile?

Dismounted 06-03-2008 04:48 AM

You will have to edit the profile templates to move it.

Jason Buchanan 06-04-2008 12:52 AM

Any idea which one and where? I have looked over all the postbit templates and nothing stands out.

Opserty 06-04-2008 08:31 AM

You need to be looking in the memberinfo_* templates (for the User profile).

Jason Buchanan 06-04-2008 01:21 PM

Code:

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

I see where it references userrenk and rank, but do not see where it talks about it's placement.

Opserty 06-04-2008 01:30 PM

Place the bit in red underneath the bit in green.
Code:

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

Then in memberinfo_css template, find:
Code:

#reputation_rank {
        float:$stylevar[right];
}
#reputation {
        margin-bottom:6px;
        text-align:$stylevar[right];
}
#rank {
        margin-bottom:6px;
        text-align:$stylevar[right];
}

Change to:
Code:

#reputation_rank {
        float:$stylevar[left];
}
#reputation {
        margin-bottom:6px;
        text-align:$stylevar[left];
}
#rank {
        margin-bottom:6px;
        text-align:$stylevar[left];
}

If goes a bit messed up after that, try removing this:
Code:

#reputation_rank {
        float:$stylevar[left];
}

From memberinfo_css


All times are GMT. The time now is 07:26 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.01137 seconds
  • Memory Usage 1,740KB
  • 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
  • (5)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