Create Fieldset Around Profile for Postbit_Legacy

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jose Amaral Rego
    Senior Member
    • Feb 2005
    • 11058
    • 1.1.x

    Create Fieldset Around Profile for Postbit_Legacy

    How to Create Fieldset Around Profile for Postbit_Legacy



    To create a line box around profile in showthreads page like image here, you need to follow the instruction.
    Click image for larger version

Name:	fieldset.PNG
Views:	1
Size:	6.2 KB
ID:	3699026

    AdminCP -> vBulletin Options -> Style & Language Settings -> Use Legacy (Vertical) Postbit Template -> set to YES -> Click Save

    Next, you will need to edit one template:

    AdminCP -> Styles & Templates -> Style Manager -> Edit Templates -> «» Expand the Postbit Templates groups -> edit postbit_legacy

    Find:
    Code:
    [COLOR=blue]<if condition="$post['joindate']">[/COLOR]
    Code:
    [COLOR=blue]<if condition="$post['joindate']">[/COLOR]<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>
    Add Fieldset to Profile:
    Code:
    [COLOR=green]<fieldset class="fieldset"><legend><b>Profile:</b></legend>[/COLOR]
    [COLOR=blue]<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>
    [/COLOR][COLOR=green]</fieldset>[/COLOR]
    Click Save
    Last edited by Jose Amaral Rego; Mon 31 Oct '05, 5:00pm.
  • Jose Amaral Rego
    Senior Member
    • Feb 2005
    • 11058
    • 1.1.x

    #2
    vB 3.0.x - How to Create Fieldset for Postbit_Legacy

    How to Create Fieldset Around Reputation Power for Postbit_Legacy



    To create a line box around Rep Power/Karma in showthreads page like image here, you need to follow the instruction.
    Click image for larger version

Name:	fieldset.PNG
Views:	1
Size:	6.2 KB
ID:	3699026

    AdminCP -> vBulletin Options -> Style & Language Settings -> Use Legacy (Vertical) Postbit Template -> set to YES -> Click Save

    Next, you will need to edit one template:

    AdminCP -> Styles & Templates -> Style Manager -> Edit Templates -> «» Expand the PostBit Templates group -> edit postbit_legacy

    Find:
    Code:
    [COLOR=blue]<if condition="$show['reputation']">[/COLOR]
    Code:
    [COLOR=blue]<if condition="$show['reputation']">[/COLOR]<div><if condition="$show['reppower']">$vbphrase[reppower]: $post[reppower]</if>$post[reputationdisplay]</div></if>
    Add Fieldset and Breakline to Rep Power:
    Code:
    [COLOR=green]<fieldset class="fieldset"><legend><b>Reputation:</b></legend>[/COLOR]
    [COLOR=blue]<if condition="$show['reputation']"><div><if condition="$show['reppower']">$vbphrase[reppower]: $post[reppower]</if>[COLOR=green]<br />[/COLOR]$post[reputationdisplay]</div></if>[/COLOR]
    [COLOR=green]</fieldset>[/COLOR]
    If you want to change the Rep Power text to Karma or another word, do the following:

    AdminCP -> Languages & Phrases -> Search in Phrases -> Search for Text : reppower -> Search in ... : Phrase Variable Name Only -> Click the Find button

    Click image for larger version

Name:	reppower.PNG
Views:	1
Size:	4.5 KB
ID:	3667530

    Click on Edit
    In the English (US) Translation box type your word for example : Karma
    Click on Save

    Next follow below.

    Change the Legend title for Rep Power/Karma:
    Code:
    [COLOR=green]<fieldset class="fieldset"><legend><b>[COLOR=red]Karma:[/COLOR]</b></legend>[/COLOR]
    [COLOR=blue]<if condition="$show['reputation']"><div><if condition="$show['reppower']">$vbphrase[reppower]: $post[reppower]</if>[COLOR=green]<br />[/COLOR]$post[reputationdisplay]</div></if>[/COLOR]
    [COLOR=green]</fieldset>[/COLOR]
    Click Save
    Last edited by Jose Amaral Rego; Mon 31 Oct '05, 5:34pm.

    Comment

    • Jose Amaral Rego
      Senior Member
      • Feb 2005
      • 11058
      • 1.1.x

      #3
      vB 3.0.x - How to Create Fieldset for Postbit_Legacy

      How to Create Fieldset Around Contact Icons for Postbit_Legacy



      To create a line box around Contact Icons or place it within Profile in showthreads page like image here, you need to follow the instruction.
      Click image for larger version

Name:	fieldset_contact.PNG
Views:	1
Size:	7.2 KB
ID:	3667531

      AdminCP -> vBulletin Options -> Style & Language Settings -> Use Legacy (Vertical) Postbit Template -> Set to YES -> Click Save

      Next, you will need to edit one templat:

      AdminCP -> Styles & Templates -> Style Manager -> Edit Template -> «» Expand the Postbit Templates group -> edit postbit_legacy

      Note: This only works if you asks your members to add in one Contact Icon

      Find:
      Code:
      [COLOR=blue]<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div>[/COLOR]
      Add Fieldset to Contact Icons:
      Code:
      [COLOR=teal]<fieldset class="fieldset"><legend><b>Contact:</b></legend>[/COLOR][COLOR=blue]<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div>[/COLOR]
      [COLOR=green]</fieldset>[/COLOR]
      To add the contact icons to the Profile fieldset

      First Find & Copy by highlighting the test and using Ctrl+C to copy:
      Code:
      [COLOR=red]<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div>[/COLOR]
      Do not delete this use <!-- comment out -->
      Code:
      [COLOR=red]<!--[/COLOR] <div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div> [COLOR=red]-->[/COLOR]
      Or another option is to add <span> tags
      Code:
      [COLOR="Red"]<span style="display:none">[/COLOR]<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div>[COLOR="Red"]</span>[/COLOR]

      Next

      Find:
      Code:
      [COLOR=blue]<if condition="$post['joindate']">[/COLOR]
      Code:
      [COLOR=blue]<if condition="$post['joindate']">[/COLOR]<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>
      Add Contact Icons within Fieldset to Profile:
      Code:
      [COLOR=blue]<fieldset class="fieldset"><legend><b>Profile:</b></legend>[/COLOR]<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>
      [COLOR=green]<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div>[/COLOR]
      [COLOR=blue]</fieldset>[/COLOR]
      Click Save


      Updated Edits by adding another option instead of using <!-- -->
      Last edited by Jose Amaral Rego; Tue 8 Nov '05, 11:30am. Reason: Updated Edits by adding another option instead of using <!-- -->

      Comment

      • Jose Amaral Rego
        Senior Member
        • Feb 2005
        • 11058
        • 1.1.x

        #4
        vB 3.0.x - How to Create Fieldset for Postbit_Legacy

        How to Create Fieldset Around Status for Postbit_Legacy



        To create a line box around Status in showthreads page like in the image here, you need to follow the instruction.
        Click image for larger version

Name:	fieldset_status.PNG
Views:	1
Size:	2.7 KB
ID:	3667532

        AdminCP -> vBulletin Options -> Style & Language Settings -> Use Legacy (Vertical) Postbit Template -> Set to YES -> Click Save

        Next, you will need to edit one template:

        AdminCP -> Styles & Templates -> Style Manager -> Edit Templates -> «» Expand the Postbit Templates group -> edit postbit_legacy

        Find:
        Code:
        [COLOR=blue]$post[onlinestatus][/COLOR]
        Add Fieldset to Status:
        Code:
        [COLOR=green]<fieldset class="fieldset"><legend><b>Status:</b></legend>[/COLOR][COLOR=blue]$post[onlinestatus][/COLOR]
        <if condition="$show['reputationlink']"><a href="#" onclick="return reputation($post[postid])"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" border="0" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" /></a></if>
        <if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a></if>
         $post[iplogged]
        &nbsp;
        [COLOR=green]</fieldset>[/COLOR]
        Click on Save

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...