Announcement

Collapse
No announcement yet.

Add Custom Profile Fields in Postbit

Collapse
X
Collapse
First Prev Next Last
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • zoran_dj
    replied
    Originally posted by tenis View Post
    Hello and thank you very much. It worked.
    Can this be done also by CSS additional?
    Nope, it can't, I have edited the above post to explain to you how to show the age of a user.

    CSS edits are meant for styling purposes only and not for something else.

    Leave a comment:


  • tenis
    replied
    Hello and thank you very much. It worked.
    Can this be done also by CSS additional?

    Leave a comment:


  • zoran_dj
    replied
    Originally posted by tenis View Post
    Hello, how can I add the "age" in the Postbit.
    I want to create a new "User Profil Field", age, but I don't know how.
    There is an option for that which doesn't work in the latest version anymore because the code in the template is erased for some reason.

    Settings > Options > Topic Display Options > Post Elements > Display Age

    Your only chance is to add this manually to your conversation_userinfo template like this, first find this code:

    Code:
                    <li class="b-userinfo__additional-info"><label>{vb:phrase posts}:</label> <span>{vb:raw userInfo.posts}</span></li>
    And paste this code right underneath it:

    Code:
                    {vb:data userInfo, user, fetchProfileInfo, {vb:raw conversation.userid}}
                    <vb:if condition="$userInfo['showbirthday'] == 1">
                    <li class="b-userinfo__additional-info"><label>{vb:phrase age}:</label> <span>{vb:raw userInfo.age}</span></li>
                    </vb:if>
    Please note that this if conditional is the only conditional here which will actually work and makes sense.

    User Settings > Date of Birth > Display Age

    Leave a comment:


  • tenis
    replied
    Hello, how can I add the "age" in the Postbit.
    I want to create a new "User Profil Field", age, but I don't know how.

    Leave a comment:


  • zyp
    replied
    Originally posted by glennrocksvb View Post
    You can edit the template used in this mod (not recommended to edit existing vB templates) to accomodate the display of country custom field value as flag images.

    Could you please write more about this (how to do it). Or if there is a paid mod somewhere then link to this.

    Thanks in advance

    Leave a comment:


  • redragon29
    replied
    Originally posted by glennrocksvb View Post
    It's hardcoded in the template. You can edit hook_profile_fields_postbit template to change it. This was one of the very first few mods I created when I started doing this. I didn't make it to use the phrase system yet.
    Sorry, but how to do that please?

    Done, sorry.
    Didn't know that it was in styles .
    nice

    Leave a comment:


  • mohammed
    replied
    This is a great modification. Is there any way to have them in bold? I mean the 'join date', 'occupation' etc? I found a code somewhere else, but it makes everything bold in the postbit. I am just looking for the main words to be in bold. Is that all possible?

    Leave a comment:


  • kether
    replied
    Originally posted by glennrocksvb View Post
    FYI. I've also added the Country custom profile field in the postbit on this site and it displays the corresponding flag image icon. Please feel free to update your Country in the User Settings if you want. I will release an upgrade to this mod once I know everything is working fine. Thanks!
    glennrocksvb Did you ever have time to build an upgrade to this mod that allows icons in the postbit? I like the way you have the layout here. Cheers mate!

    Leave a comment:


  • GM Junkies
    replied
    Need this for vbCloud.

    Leave a comment:


  • 3036368
    replied
    Hello,

    Does anyone know whether this might work in VBulletin 4.1.1 patch level 7?

    Many thanks.

    Leave a comment:


  • mohammed
    replied
    Thank you very much!

    Leave a comment:


  • Blackhorse
    replied
    Originally posted by glennrocksvb View Post
    It's hardcoded in the template. You can edit hook_profile_fields_postbit template to change it. This was one of the very first few mods I created when I started doing this. I didn't make it to use the phrase system yet.


    Although it was in the beginnings but exceeds the professional limit

    Thank you Glenn

    enjoy your coffee



    Leave a comment:


  • glennrocksvb
    replied
    It's hardcoded in the template. You can edit hook_profile_fields_postbit template to change it. This was one of the very first few mods I created when I started doing this. I didn't make it to use the phrase system yet.

    Leave a comment:


  • Blackhorse
    replied
    Please,

    How can I translate send pm?

    I didn't find in phrase manager

    Thanx

    Leave a comment:


  • Blackhorse
    replied
    Thank you Glenn, yes clearing cache solved it, Thank you

    Leave a comment:

Users Viewing This Page

Collapse

There is 1 user viewing this forum topic.

  • Guest Guest

Latest Posts

Collapse

Working...
X
Searching...Please wait.
An unexpected error was returned: 'Your submission could not be processed because you have logged in since the previous page was loaded.

Please push the back button and reload the previous window.'
An unexpected error was returned: 'Your submission could not be processed because the token has expired.

Please push the back button and reload the previous window.'
An internal error has occurred and the module cannot be displayed.
There are no results that meet this criteria.
Search Result for "|||"