Announcement

Collapse
No announcement yet.

Create Fieldset Around Profile for Postbit_Legacy

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

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

  • #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:
    <if condition="$show['reputation']">
    Code:
    <if condition="$show['reputation']"><div><if condition="$show['reppower']">$vbphrase[reppower]: $post[reppower]</if>$post[reputationdisplay]</div></if>
    Add Fieldset and Breakline to Rep Power:
    Code:
    <fieldset class="fieldset"><legend><b>Reputation:</b></legend>
    <if condition="$show['reputation']"><div><if condition="$show['reppower']">$vbphrase[reppower]: $post[reppower]</if><br />$post[reputationdisplay]</div></if>
    </fieldset>
    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:
    <fieldset class="fieldset"><legend><b>Karma:</b></legend>
    <if condition="$show['reputation']"><div><if condition="$show['reppower']">$vbphrase[reppower]: $post[reppower]</if><br />$post[reputationdisplay]</div></if>
    </fieldset>
    Click Save
    Last edited by Jose Amaral Rego; Mon 31st Oct '05, 5:34pm.

    Comment


    • #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:
      <div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div>
      Add Fieldset to Contact Icons:
      Code:
      <fieldset class="fieldset"><legend><b>Contact:</b></legend><div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div>
      </fieldset>
      To add the contact icons to the Profile fieldset

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

      Next

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


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

      Comment


      • #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:
        $post[onlinestatus]
        Add Fieldset to Status:
        Code:
        <fieldset class="fieldset"><legend><b>Status:</b></legend>$post[onlinestatus]
        <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;
        </fieldset>
        Click on Save

        Comment

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