The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Education Degree in Postbit & Postbit_Legacy. vB 4.0 Beta 4 Details »» | |||||||||||||||||||||||||||||||||||||
Education Degree in Postbit & Postbit_Legacy. vB 4.0 Beta 4
Developer Last Online: Oct 2015
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 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"> 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 --> 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 --> 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 --> <vb:if condition="$post[fieldX]"><dt>Education :</dt><dd>{vb:raw post.fieldX}</dd></vb:if> <!-- Education Degree End --> and SAVE Enjoy! Please do not forget to click "Install" Screenshots
Supporters / CoAuthors Show Your Support
|
Comments |
#12
|
|||
|
|||
Welcome, check my edit, the original code placed an extra ":", I have removed it!
|
#13
|
||||
|
||||
thanks nice
|
#14
|
|||
|
|||
thank you very much.
i make the changes and it works very good but i want to ask a question how can i show this degree in user profile page between the <title>....</title> tags. the tag standarts are: (MEMBERINFO template) <title>{vb:rawphrase view_profile}: {vb:raw prepared.username} - {vb:raw vboptions.bbtitle} </title> But i want to change it; <title>{vb:raw post.field8} {vb:raw post.field9} {vb:raw post.field10} </title> only in the MEMBERINFO template. but it doesn`t works. can you help me ? |
#15
|
||||
|
||||
Quote:
or you want appear in the condition when a member of the member information page? |
#16
|
|||
|
|||
anybody tried this in beta 5? it does not work for me
|
#17
|
||||
|
||||
|
#18
|
|||
|
|||
I did all the modifications, it does not show in posbit
|
#19
|
||||
|
||||
plzz chek the [fieldX] it is 2 times ther in the code
put corecct No. field I have vBulletin? Version 4.0.0 Beta 5 and it is work goood chek it her user = vBulletin pss = 123456 ________ Handjob Public |
#20
|
|||
|
|||
it's funny... it is now showing osamA.... maybe the counters needed to be updated
|
#21
|
||||
|
||||
Simple but effective! Glad to see you release a mod here Dr.osamA keep it up
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|