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.
Announcement
Collapse
No announcement yet.
Add Custom Profile Fields in Postbit
Collapse
X
-
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
- Top
- Translate
- Bottom
Leave a comment:
-
Yes. I can do that as a separate mod.
- Top
- Translate
- Bottom
-
Is it possible to add the "Send PM" link also to the user profile somehow?
- Top
- Translate
- Bottom
Leave a comment:
-
Love it, especially the Send PM feature. Running v5.2.6 Just bought you a cup of coffee Glenn. Enjoy!
- Top
- Translate
- Bottom
Leave a comment:
-
Originally posted by glennrocksvb View PostThe chat bubble icon next to the username already does that. So it would be a duplicate if "Send PM" does the same.
- Top
- Translate
- Bottom
Leave a comment:
-
Originally posted by artscripts View PostIn 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>]]>
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>]]>
- Top
- Translate
- Bottom
Leave a comment:
-
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.
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>]]>
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>]]>
- Top
- Translate
- Bottom
Leave a comment:
-
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.
- Top
- Translate
- Bottom
Leave a comment:
Users Viewing This Page
Collapse
There is 1 user viewing this forum topic.
- Guest
Latest Posts
Collapse
-
by matoseHi guys,
Just migrated to vB Cloud and found your forum searching for some customizations.
Nice to meet you!
m...Yesterday, 01:25 AM -
Reply to Quick Topic Moderationby glennrocksvbCheck core/vb/api/node.php and find the closeNode function. If you are using the compressed PHAR version of the vB5 package, you will not see the api...Yesterday, 12:00 PM
Leave a comment: