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

  • glennrocksvb
    replied
    I'm also using this mod here. I made Occupation non-editable. I can still see it but maybe because I'm an admin. Can you see it in your end?

    Btw, why would you want to make the fields non-editable? That means user can't enter their info.

    Leave a comment:


  • Jeremiah
    replied
    Originally posted by glennrocksvb View Post
    Did you set them as public?
    Yes, they're public. =)

    Leave a comment:


  • glennrocksvb
    replied
    Did you set them as public?

    Leave a comment:


  • Jeremiah
    replied
    Hi everybody =)

    I recently added custom profile fields code Glenn posted on the https://www.vbulletin.com which displayed in the postbits section.

    When I add or enter text for the Biography, Location, Interests or Occupation fields, the values or entries for the added custom fields gets erased.

    I just made one custom profile field as editable and the entry in it doesn't get erased when the other built-in custom fields (Biography, Location, Interests or Occupation) are edited. The other non-editable custom fields' entries still get erased.


    Regards,

    Jeremiah

    Leave a comment:


  • shining
    commented on 's reply
    Would love that because our users have problems finding the button in the profile (we have the "about"-tab first...)

  • glennrocksvb
    commented on 's reply
    Yes. I can do that as a separate mod.

  • shining
    replied
    Is it possible to add the "Send PM" link also to the user profile somehow?

    Leave a comment:


  • glennrocksvb
    commented on 's reply
    Thanks for your generosity.

  • Dotti
    replied
    Love it, especially the Send PM feature. Running v5.2.6 Just bought you a cup of coffee Glenn. Enjoy!

    Leave a comment:


  • nijohn
    replied
    Thank you so much. It works perfectly.

    Leave a comment:


  • glowboxstudio
    replied
    Great, Thanks for this mod

    Leave a comment:


  • artscripts
    replied
    Originally posted by glennrocksvb View Post
    The chat bubble icon next to the username already does that. So it would be a duplicate if "Send PM" does the same.
    Sorry, did not see, I do not have a style buttons around nickname.

    Leave a comment:


  • glennrocksvb
    replied
    Originally posted by artscripts View Post
    In Vbulletin 5.2.5 appeared chat to communicate with users. You can change a little code in the plugin for those who uses 5.2.5 below by clicking on the button send_pm opened a pop-up chat window.

    [ATTACH=CONFIG]n2170[/ATTACH]

    Code:
    <vb:if condition="$vboptions['profile_fields_sendpm']">
    <li class="b-userinfo__additional-info"><a href="{vb:raw baseurl}/privatemessage/new/{vb:raw userInfo.userid}" class="send-pm-in-postbit" rel="nofollow"><span></span>{vb:phrase pm_send}</a></li>
    </vb:if>]]>
    replace

    Code:
    <vb:if condition="$vboptions['profile_fields_sendpm']">
    <li class="b-link h-align-middle js-link js-pmchat-link"><a href="{vb:raw baseurl}/pmchat/chat?toUserid={vb:raw userInfo.userid}" class="b-link h-align-middle js-link js-pmchat-link" rel="nofollow"><span></span>{vb:phrase pm_send}</a></li>
    </vb:if>]]>
    I think it will be much easier. I apologize for my bad English.
    The chat bubble icon next to the username already does that. So it would be a duplicate if "Send PM" does the same.

    Leave a comment:


  • artscripts
    replied
    In Vbulletin 5.2.5 appeared chat to communicate with users. You can change a little code in the plugin for those who uses 5.2.5 below by clicking on the button send_pm opened a pop-up chat window.

    Click image for larger version

Name:	2016-12-16_23-20-05.png
Views:	330
Size:	33.1 KB
ID:	2170

    Code:
    <vb:if condition="$vboptions['profile_fields_sendpm']">
        <li class="b-userinfo__additional-info"><a href="{vb:raw baseurl}/privatemessage/new/{vb:raw userInfo.userid}" class="send-pm-in-postbit" rel="nofollow"><span></span>{vb:phrase pm_send}</a></li>
    </vb:if>]]>
    replace

    Code:
    <vb:if condition="$vboptions['profile_fields_sendpm']">
        <li class="b-link h-align-middle js-link js-pmchat-link"><a href="{vb:raw baseurl}/pmchat/chat?toUserid={vb:raw userInfo.userid}" class="b-link h-align-middle js-link js-pmchat-link" rel="nofollow"><span></span>{vb:phrase pm_send}</a></li>
    </vb:if>]]>
    I think it will be much easier. I apologize for my bad English.

    Leave a comment:


  • glennrocksvb
    replied
    Released a new version of this mod v1.1 to add rel="nofollow" to Send PM link to prevent search engines to follow the link and get Access denied error.

    See updated first post for more info.

    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 "|||"