@Madchatthew said in TNG + Nodebb:
you have to try and use duck tape and super glue to change something to make it do what you want it to do
I couldn’t have put that better myself.
@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
@Vijay-Kumavat So do you want to tag by email, or 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 in nodebb-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
?
@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