AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

Filter by custom fields

Topic prefix

AI Assistant
Notifications
Clear all

[Solved] Please Add the @Username Tag to the Profile Area

11 Posts
4 Users
4 Reactions
1,752 Views
RealAct
Posts: 241
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@realact)
Reputable Member
Joined: 8 years ago
[#23323]

Browsing through our forum's user directory today, I noticed that if you just happen to stumble upon a user profile being from the forum user directory or via direct link (Even more so now that profiles are site-wide intended) There's no easy way to get the @Username from the user's profile, except copying it from the profile URL, but this will escape most people browsing someone's profile. 

Could you please add this in future releases?

Thanks for taking my suggestion into consideration.


10 Replies
Tutrix
Posts: 1519
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@tutrix)
Noble Member
Joined: 6 years ago

@realact

you can add it yourself if you want

open the profile_home.php
search for

<?php wpforo_fields( $fields ); ?>

at the end of the file

and paste this code above it

<div class="wpf-field wpf-field-type-text wpf-field-name-user_nicename  wpf-field-required " title="Nickname"><div class="wpf-label-wrap"><p class="wpf-label wpfcl-1"><i class="fas fa-link wpf-field-icon"></i> Nickname</p></div><div class="wpf-field-wrap">@<?php echo WPF()->current_object['user_nicename']?></div></div>

or you can use > wpForo – User Custom Fields


2 Replies
RealAct
(@realact)
Joined: 8 years ago

Reputable Member
Posts: 241
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@tutrix thanks a lot, I'll give it a try and see how it looks, but I still maintain my suggestion that it should be there by default 🙂


RealAct
(@realact)
Joined: 8 years ago

Reputable Member
Posts: 241
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@tutrix BTW, it worked great, thanks for helping me with that, much appreciated. It will probably have to be redone every time the WPForo has an update, I guess, right?.


Tutrix
Posts: 1519
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@tutrix)
Noble Member
Joined: 6 years ago
Posted by: @realact

It will probably have to be redone every time the WPForo has an update, I guess, right?.

yes, or you use the > Theme Customization option


1 Reply
RealAct
(@realact)
Joined: 8 years ago

Reputable Member
Posts: 241
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@tutrix just wanted to let you know that even though your trick works with most profiles, sometimes the @username tag will not show in with certain profiles 🙁  not sure why.

I still would love to hear from the developers and if they think they can add this in a future release, it doesn't seem to be too hard to get it done properly.


Robert
Posts: 10730
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@robert)
Support Team
Joined: 2 months ago

Hi @realact,

We'll add it in the next version. BTW, the nickname is placed in the editor when you click the reply/quote button. Also, it exists under the post author avatars.


4 Replies
RealAct
(@realact)
Joined: 8 years ago

Reputable Member
Posts: 241
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@robert Thanks so much for accepting my suggestion. I think it definitely belongs in the user profile as well, so I'm very happy that you guys will be adding it.

Much appreciated!


Alvin Patrimonio
(@thecaptain)
Joined: 8 years ago

Estimable Member
Posts: 80
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

hi @robert!

still no plans for auto-complete of usernames (for mentions) in the text editor?


Robert
Admin
(@robert)
Joined: 2 months ago

Support Team
Posts: 10730
Robert
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@thecaptain,

It's a very difficult feature. The area of TiniMCE editor is not accessible by simple code. It requires some callbacks or its own plugins, so there is no way to add autocompleting process with real-time AJAX requests in such a limited area. I'm not even talking about detecting of current cursor location to display the result near to that.

In other words, we don't plan it in the near future. And this will not be free if we find 2-3 month to work on such a small but very hard feature.


RealAct
(@realact)
Joined: 8 years ago

Reputable Member
Posts: 241
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@robert Thanks so much again, just upgraded our forum and noticed the new goodie!


Share: