Modify the tagging behavior in NodeBB
-
Hi
In Harmony Theme, how can I change the tagging functionality. right now its take user-slug / username. I should take fullname of the user. Actually in my project user’s fullname is automatically added while registering to forum.
-
Hi
In Harmony Theme, how can I change the tagging functionality. right now its take user-slug / username. I should take fullname of the user. Actually in my project user’s fullname is automatically added while registering to forum.
@Vijay-Kumavat Are you referring to the user assigned at registration?
-
@Vijay-Kumavat Are you referring to the user assigned at registration?
Yes i did this now at the time of user registering it takes fullname with current-time.
Before this it takes
email : abc@xyz.com username : abc-xyz-com fullname : abc def.
Now i set it to :
email : abc@xyz.com username : abc-def-2343423423 fullname : abc def.
This is fine for now.
Now, I want do this with already registered users. Because while tagging user by someone its display user email
-
Yes i did this now at the time of user registering it takes fullname with current-time.
Before this it takes
email : abc@xyz.com username : abc-xyz-com fullname : abc def.
Now i set it to :
email : abc@xyz.com username : abc-def-2343423423 fullname : abc def.
This is fine for now.
Now, I want do this with already registered users. Because while tagging user by someone its display user email
@Vijay-Kumavat So do you want to tag by email, or by display name?
-
By display Name
-
By display Name
@Vijay-Kumavat I think an extension to
nodebb-plugin-mentions
would be necessary for this to work. If you look at/admin/plugins/mentions
you’ll see the available options. -
i dint found in
admin/plugins/mentions
. But innodebb-plugin-mentions-> library.js
Then after i got result like this. Ref. below image.I need to do like this . Ref. below image
-
i dint found in
admin/plugins/mentions
. But innodebb-plugin-mentions-> library.js
Then after i got result like this. Ref. below image.I need to do like this . Ref. below image
@Vijay-Kumavat So is this now working based on modifications you’ve made to
library.js
? -
@Vijay-Kumavat So is this now working based on modifications you’ve made to
library.js
?@phenomlab yes but only in post preview section only. before submitting post in post section its shows me email-id.
how to replace this with fullname only. ( Also in autocomplete dropdown)
-
@phenomlab yes but only in post preview section only. before submitting post in post section its shows me email-id.
how to replace this with fullname only. ( Also in autocomplete dropdown)
@Vijay-Kumavat This is likely best answered by the NodeBB core devs themselves. This will require an additional feature which extends the mentions plugin.
-
For anyone else following this thread
https://community.nodebb.org/topic/17402/change-in-reply-to-xxxx-text
And
https://github.com/NodeBB/NodeBB/commit/f2152953cddd3247746ef393516b0a53ba7750a4
-
undefined phenomlab locked this topic on
Related Topics
-
navbar
Solved Customisation -
-
-
-
-
-
-
Nodebb Hashtag plugin
Solved General