View Full Version : Create Fieldset Around Profile for Postbit_Legacy
Jose Amaral Rego
Mon 31st Oct '05, 6:29am
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.
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:
<if condition="$post['joindate']">
<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:
<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
Jose Amaral Rego
Mon 31st Oct '05, 6:44pm
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.
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:
<if condition="$show['reputation']">
<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:
<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 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:
<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
Jose Amaral Rego
Mon 31st Oct '05, 9:25pm
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.
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:
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div>
Add Fieldset to Contact Icons:
<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:
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div>
Do not delete this use <!-- comment out -->
<!-- <div>$post $post[aimicon] $post[msnicon] $post[yahooicon]</div> -->
Or another option is to add <span> tags
<span style="display:none"><div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div></span>
Next
Find:
<if condition="$post['joindate']">
<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:
<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 [I]Save
Updated Edits by adding another option instead of using <!-- -->
Jose Amaral Rego
Mon 31st Oct '05, 9:58pm
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.
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:
$post[onlinestatus]
Add Fieldset to Status:
<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">$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]
</fieldset>
Click on [U]Save
Powered by vBulletin™ Version 4.0.0 Beta 4 Copyright © 2009 vBulletin Solutions, Inc. All rights