Log in

View Full Version : My Physical Stats In Postbit


Synergy
08-10-2006, 10:00 PM
7-24 Coder & Designer Team Physical Stats
Author : Synergy
Version: 3.5.5

Demo Page --->>> DEMO (http://test.7-24tr.com/showthread.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



$vbphrase[xs_avatar]</phrase>" border="0" /></a>
</div>
</if>


Add Below ( at now using a your note , write FieldXX your Field Number )



<!--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


</div>
<!-- / post $post[postid] popup menu -->


Add Below



<!?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 --->>> DEMO (http://test.7-24tr.com/showthread.php?t=1)

Synergy

bashy
08-11-2006, 02:20 PM
Hi

Can i ask what makes this different from this Show Users System Specs (https://vborg.vbsupport.ru/showthread.php?t=97702&highlight=my+system) that i am already using...

I have had a look at the code and apart from the new wording for the stats its exactly the same?

Synergy
08-11-2006, 02:56 PM
My İdea , System specs and People Physical stats is different subject , i want to forum users advertise to easy yourself in forums...

bashy
08-11-2006, 03:33 PM
Sorry i didnt understand most of that....

I would have thought that peeps can and most probably have changed the other hack to suit just the same as you have to this 1?

Anyway, nice work again, well done :)

Atakan KOC
08-12-2006, 06:32 AM
HEhehe.. Nice Style

http://www.7-24tr.com/forum/index.php

TheBlackPoet
09-14-2006, 02:47 AM
Good Job brother!! im going to be adding this tonight when the site slows down..

TheBlackPoet
09-14-2006, 11:27 AM
i had to come back and repost... i install this to your specs... and of course, it worked perfectly... i then had a brainstorm... i can alter the fields to what i want and expand the information regarding my members....

you kick butt! 'preciate it

TheBlackPoet
11-19-2007, 03:12 AM
Over a year later, and this is still a good idea