PDA

View Full Version : How To Create Fieldset Around Profile for Postbit_Legacy



Jose Amaral Rego
Mon 31st Oct '05, 6:43am
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 Template -> «Expand All Template Groups» -> postbit_legacy

Find:

<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>



<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>$vbphrase[contact]:</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>


Save in Template History? YES
Comment: fieldset_profile
Click Save

Jose Amaral Rego
Tue 1st Nov '05, 2:11am
How to Create Fieldset Around Reputation Power for Postbit_Legacy

To create a line box around Rep Power/Rep Image [a.k.a. Karma] in showthreads page like image here, you need to follow the instruction.

To turn on Reputation Power on AdminCp -> vBulletin Option -> Thread Display Options (showthread) -> Post Elements -> Display Reputation Power : YES

Go back to Admin Control Panel

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 Template -> «Expand All Template Groups» -> 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 & Breakline to Rep Power:


<fieldset class="fieldset"><legend><b>$vbphrase[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 this to Karma or another word, do the following or create custom phrase for Karma.

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

Click on Edit
In the English (US) Translation box type your word for example : Karmic or Aura
Click on Save
Next follow below.

Add Fieldset, Breakline to Rep Power & Replace $vbphrase[reputation] with 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>



Save in Template History? YES
Comment: fieldset_reppower
Click Save

Default Postbit_Legacy below

Jose Amaral Rego
Tue 1st Nov '05, 2:32am
vB version 3.5.0 - 3.5.4

How to Create Fieldset Around Contact Handle Icons for Postbit_Legacy

*Update Note Some edits will state v3.5.2 - v3.5.4

To create a line box around Contact Handle 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 template

AdminCp -> Styles & Templates -> Style Manager -> Edit Template -> «Expand All Template Groups» -> postbit_legacy


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

Find:



<div>$post $post[aimicon] $post[msnicon] $post[yahooicon]</div>


*Edits for vbulletin version v3.5.2 - v3.5.4


<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>



Add Fieldset to Contact Icons:


<fieldset class="fieldset"><legend><b>$vbphrase[contact]:</b></legend>
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div>
</fieldset>


*Edits for vbulletin version [I]v3.5.2 - v3.5.4
Add Fieldset to Contact Icons:


<fieldset class="fieldset"><legend><b>$vbphrase[contact]:</b></legend>
<div>$post $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
</fieldset>




To add it to Profile Area

[B]First Find & Copy by highlighting the test and using Ctrl+C to copy:
B]


<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div>



*Edits for vbulletin version [I]v3.5.2 - v3.5.4



<div>$post $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>



Next :

Find:


<if condition="$post['joindate']">



<fieldset class="fieldset"><legend><b>$vbphrase[my_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>


Add Contact Icons within Fieldset to Profile:


<fieldset class="fieldset"><legend><b>$vbphrase[my_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>


*Edits for vbulletin version [I]v3.5.2 - v3.5.4
Add Contact Icons within Fieldset to Profile:


<fieldset class="fieldset"><legend><b>$vbphrase[my_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 $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
</fieldset>



Now, go back to where you originally copy the this code from and not where you just added.

Do not delete this use <!-- comment out -->


<!-- <div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div> -->


Or add <span> tag to display none:


<span style="display:none"><div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div></span>



*Edits for vbulletin version [I]v3.5.2 - v3.5.4
Do not delete this use <!-- comment out -->


<!-- <div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div> -->


Or add <span> tag to display none:


<span style="display:none"><div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div></span>



Save in Template History? YES
Comment: fieldset_contact_icons
Click Save

Jose Amaral Rego
Tue 1st Nov '05, 2:38am
How to Create Fieldset Around Status for Postbit_Legacy

To create a line box around Status 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 Template -> «Expand All Template Groups» -> postbit_legacy

Find:


$post[onlinestatus]


Add Fieldset to Status:


<fieldset class="fieldset"><legend><b>$vbphrase[online]:</b></legend>
$post[onlinestatus]
<if condition="$show['reputationlink']"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><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]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a></if>
$post[iplogged]
&nbsp;
</fieldset>

Save in Template History? YES
Comment: fieldset_status
Click on Save

You can create your own custom global phrase or leave asis.