![]() |
Education Degree in Postbit & Postbit_Legacy. vB 4.0 Beta 4
1 Attachment(s)
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 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']"> Code:
<!-- Education Degree Start --> OR code without frame Code:
<!-- Education Degree Start --> 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> Code:
<!-- Education Degree Start --> and SAVE Enjoy! Please do not forget to click "Install" |
بارك الله فيك أخوي أسامة
ولكن أعتقد أن مكان الموضوع في قسم التمبليت Thank you very much i think its Template Modification |
Very nice.
|
|
Hey - That code looks familiar, Dr.OsmaA?! Lol.
https://vborg.vbsupport.ru/showthread.php?t=229511 ;) |
Quote:
|
Quote:
I actually came back on to edit it, in case it was taken the wrong way - but you'd quoted it. :( Nice Mod. :) |
This will put user field description and value on same line:
Code:
<vb:if condition="$post[fieldX]"><dt> Education</dt> <dd>{vb:raw post.fieldX}</dd></vb:if> |
Quote:
Quote:
Quote:
Is there a problem?:confused: I said it's just an idea and did not say he was a distinguished road:( Thank you for the accuracy of your observation;) ________ The Cigar Boss |
Quote:
________ INTERRACIAL VID |
All times are GMT. The time now is 04:34 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|