![]() |
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 |
Welcome, check my edit, the original code placed an extra ":", I have removed it!
|
thanks nice
|
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 ? |
Quote:
or you want appear in the condition when a member of the member information page? |
anybody tried this in beta 5? it does not work for me
|
Quote:
Where is the problem, my friend?? Possible I can help you:) ________ Pissing Girl |
I did all the modifications, it does not show in posbit
|
Quote:
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 |
it's funny... it is now showing osamA.... maybe the counters needed to be updated
|
Simple but effective! Glad to see you release a mod here Dr.osamA keep it up :D
|
|
|
All times are GMT. The time now is 01:33 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:
|