Back to vBulletin 3.5 Template Modifications

My Physical Stats In Postbit
Mod Version: 1.00, by Synergy

This modification is in the archives.
vB Version: 3.5.5 Rating: (1 vote - 1.00 average) Installs: 2
Released: 11 Aug 2006 Last Update: Never Downloads: 13
Not Supported Template Edits  


7-24 Coder & Designer Team Physical Stats
Author : Synergy
Version: 3.5.5

Demo Page --->>> http://test.7-24tr.com/index.php?t=1


Created , Under the avatar mini info bar


Installation

Step I

AdminCP , User Profile Fields >> Add New User Profile Field
Single Selection Menu

Title : My Stats
Description : Do u want , Showing your Physical Stats
Options : Yes
No
Set Default : Yes , But no first blank option
Display Order : ( This is your field number , take a note , write down number )
Field Required : Yes
Field Editable by User : Yes
Private Field : No
Field Searchable on Members List : Yes
Show on Members List : Yes
Allow user to input their own value for this option : No
Display Page : Edit Profile

Step II

Okey , now to create the input fields for stats

AdminCP , User Profile Fields >> Add New User Profile Field
Single Selection Menu

Title : Gender
Description : Your Gender
Options : Secret
Man
Women
Set Default : Yes , But no first blank option
Display Order : ( This is your field number , take a note , write down number )
Field Required : Yes
Field Editable by User : Yes
Private Field : No
Field Searchable on Members List : Yes
Show on Members List : Yes
Allow user to input their own value for this option : No
Display Page : Edit Profile

AdminCP , User Profile Fields >> Add New User Profile Field
Single Selection Menu

Title : Status
Description : Your Status
Options : Secret
Single
In a Relationship
Married
Open Marriage
Set Default : Yes , But no first blank option
Display Order : ( This is your field number , take a note , write down number )
Field Required : Yes
Field Editable by User : Yes
Private Field : No
Field Searchable on Members List : Yes
Show on Members List : Yes
Allow user to input their own value for this option : No
Display Page : Edit Profile

User Profile Fields >> User Profile Field Manager
Take a not ; Location Field Number

AdminCP , User Profile Fields >> Add New User Profile Field
Single Selection Menu

Title : Eyes Color
Description : Your Eyes Color
Options : Secret
Black
Brown
Blue
Green
Hazel
Set Default : Yes , But no first blank option
Display Order : ( This is your field number , take a note , write down number )
Field Required : Yes
Field Editable by User : Yes
Private Field : No
Field Searchable on Members List : Yes
Show on Members List : Yes
Allow user to input their own value for this option : No
Display Page : Edit Profile

AdminCP , User Profile Fields >> Add New User Profile Field
Single Selection Menu

Title : Hair Color
Description : Your Hair Color
Options : Secret
Black
Brown
Yellow
Ginger
Set Default : Yes , But no first blank option
Display Order : ( This is your field number , take a note , write down number )
Field Required : Yes
Field Editable by User : Yes
Private Field : No
Field Searchable on Members List : Yes
Show on Members List : Yes
Allow user to input their own value for this option : No
Display Page : Edit Profile

AdminCP , User Profile Fields >> Add New User Profile Field
Single Line Text Box

Title : Length
Description : Your Length
Default Value : Blank
Display Order : ( This is your field number , take a note , write down number )
Field Required : Yes
Field Editable by User : Yes
Private Field : No
Field Searchable on Members List : Yes
Show on Members List : Yes
Display Page : Edit Profile

AdminCP , User Profile Fields >> Add New User Profile Field
Single Line Text Box

Title : Weight
Description : Your Kilos
Default Value : Blank
Display Order : ( This is your field number , take a note , write down number )
Field Required : Yes
Field Editable by User : Yes
Private Field : No
Field Searchable on Members List : Yes
Show on Members List : Yes
Display Page : Edit Profile

AdminCP , User Profile Fields >> Add New User Profile Field
Single Selection Menu

Title : Body
Description : Your Body Type
Options : Secret
Slim
Fat
Athletic
Set Default : Yes , But no first blank option
Display Order : ( This is your field number , take a note , write down number )
Field Required : Yes
Field Editable by User : Yes
Private Field : No
Field Searchable on Members List : Yes
Show on Members List : Yes
Allow user to input their own value for this option : No
Display Page : Edit Profile

Step III

go to style & templates >>> style manager >>> edit templates >>> postbit_legacy (or Postbit)

Find

Code:
$vbphrase[xs_avatar]</phrase>" border="0" /></a>
				</div>
			</if>
Add Below ( at now using a your note , write FieldXX your Field Number )

Code:
<!--Synergy-->
<if condition="$post[fieldXX] == Yes"> <div id="sysinfo_$post[postid]" align="left" class="info" nowrap> <a href="#sysinfo"><b>My Stats</b> </a><script type="text/javascript">  
vbmenu_register("sysinfo_$post[postid]");
</script></div> </if> 
<!--/Synergy-->

repeat , go to postbit legacy

Find

Code:
</div>
<!-- / post $post[postid] popup menu -->
Add Below

Code:
<!—Synergy Stats-->
	<div class="vbmenu_popup" id="sysinfo_$post[postid]_menu" style="display:none">
		<table cellpadding="4" cellspacing="1" border="0">
<td class="thead">My Stats</td>
<if condition="$post[fieldXX]"><tr><td class="vbmenu_option"><b>Gender :</b> $post[fieldxx]</td></tr></if>
<if condition="$post[fieldXX]"><tr><td class="vbmenu_option"><b>Status :</b> $post[fieldXX]</td></tr></if>
<if condition="$post[fieldXX]"><tr><td class="vbmenu_option"><b>Location :</b> $post[fieldXX]</td></tr></if>
<if condition="$post[fieldXX]"><tr><td class="vbmenu_option"><b>Eyes :</b> $post[fieldXX]</td></tr></if>
<if condition="$post[fieldXX]"><tr><td class="vbmenu_option"><b>Hair :</b> $post[fieldXX]</td></tr></if>
<if condition="$post[fieldXX]"><tr><td class="vbmenu_option"><b>Length:</b> $post[fieldXX]</td></tr></if>
<if condition="$post[fieldXX]"><tr><td class="vbmenu_option"><b>Weight:</b> $post[fieldXX]</td></tr></if>
<if condition="$post[fieldXX]"><tr><td class="vbmenu_option"><b>Body:</b> $post[fieldXX]</td></tr></if>
		</table>
	</div>
<!--/Synergy Stats-->
Do not forget to change Field XX

Demo Page --->>> http://test.7-24tr.com/index.php?t=1

Synergy

Download

This modification is archived and cannot be downloaded.

Screenshots

 

Similar Mods

PM stats in Postbit vBulletin 3.0 Template Modifications

vblts.ru supports vBulletin®, 2022-2024