Back to vBulletin 4.x Template Modifications

Education Degree in Postbit & Postbit_Legacy. vB 4.0 Beta 4
Mod Version: 1.00, by Dr.osamA

vB Version: 4.0.0 Beta 4 Rating: (1 vote - 5.00 average) Installs: 6
Released: 05 Dec 2009 Last Update: Never Downloads: 0
Not Supported Template Edits Code Changes Re-usable Code Translations  

MOD Education Degree in Postbit & Postbit_Legacy. vB 4.0 Beta 4.

Description:
This MOD adds you the option during the registration of the new member to learn more on how culture
The mod is just an idea occurred to me, i modify the code to be compatible with version 4.0.0

Instructions:
in your Admin Control Panel (ACP), please do the following:
ACP -> User Profile Fields -> Add New User Profile Field ->Profile Field Type -> Single-Selection Menu (select ‘Single-Selection Menu’ from the Drop-Down Menu) -> Please enter the following into the following fields (REMEMBER to make a note of the FieldID, because you will need to replace ALL the X’s in [fieldX] with it!!!

Title = Education Degree
Description = Put us here the Education Degree Please
Profile Field Category = (Uncategorized)
Options =Without
elementary
middle
secondary
university
graduate

Code:
Without
elementary
middle
secondary
university
graduate
Set Default = Yes,Including a First Blank Optiion
Display Order = You Select this (dependant on how many you already have)
Field Required = yes, at registration and profile updating
Field Editable by User = Yes
Private Field = No
Field Searchable on Members List = No
Show on Members List = Yes or No

see the attached photo

SAVE

The second step

Edit the templates ( Postbit or Posbit_legacy)

ACP -> Styles & Templates -> Style Manager -> <<>> -> Postbit Templates -> select the template that you use ( Postbit or Posbit_legacy) – This is for the Postbit_Legacy…

Now i hve 2 codes with frame or without frame

in postbit_legacy find:

Code:
		<vb:if condition="$post['userid']">
			<hr />
			<dl class="userinfo_extra">
add below: code with frame

Code:
<!-- Education Degree Start -->
<vb:if condition="$post[fieldX]">
<div align="center" style="padding: 1px">
<div align="center" style="padding: 3px; border: 1px solid #000000; background: #FFFFFF ">
Education : {vb:raw post.fieldX}
</div></div>
</vb:if>
<!-- Education Degree End -->
&stc=1&d=1259981319

OR code without frame

Code:
<!-- Education Degree Start -->
<vb:if condition="$post[fieldX]"> Education :<dd>{vb:raw post.fieldX}</dd></vb:if>
<!-- Education Degree End -->
&stc=1&d=1259981319
Replace the ‘X’ with your FieldID number

*************
if you want it in Postbit try this

in post bit find

Code:
						<vb:if condition="$post['joindate']"><dt>{vb:rawphrase join_date}</dt> <dd>{vb:raw post.joindate}</dd></vb:if>
add below add:

Code:
<!-- Education Degree Start -->
                       <vb:if condition="$post[fieldX]"><dt>Education :</dt><dd>{vb:raw post.fieldX}</dd></vb:if>
<!-- Education Degree End -->
Replace the ‘X’ with your FieldID number

and SAVE

Enjoy!

Please do not forget to click "Install"

Download

No files for download.

Supporters / CoAuthors

  • Dr.osamA

Screenshots

Click image for larger version
Name:	cp1.jpg
Views:	146
Size:	138.5 KB
ID:	107198   Click image for larger version
Name:	cp2.GIF
Views:	124
Size:	140.1 KB
ID:	107199   Click image for larger version
Name:	cp3.GIF
Views:	101
Size:	12.1 KB
ID:	107200   Click image for larger version
Name:	postbit.GIF
Views:	763
Size:	40.3 KB
ID:	107201  

Click image for larger version
Name:	postbit2.GIF
Views:	504
Size:	42.4 KB
ID:	107202  

Similar Mods

Add-On Releases Country Flags - Postbit & Postbit_Legacy. vB 4.0.x (Inc GO vBulletin 4.x Add-ons

vblts.ru supports vBulletin®, 2022-2024