The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Search
Close
AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Share:
Notifications
Clear all

[Solved] User roles issues

10 Posts
2 Users
1 Reactions
1,723 Views
Posts: 7
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
(@markoz)
Active Member
Joined: 5 years ago
[#1632]

Hi guys,Β 

I have situation with displaying user role titles in front end with users who has more than one role.

If user has more than one role, it will not show phrases at all in form.Β 

I'd like to show them both user roles as per definition in phrases?

Is there any solution for this?

thanks in advance


9 Replies
Asti
Posts: 8210
 Asti
Support
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
(@asti)
Illustrious Member
Joined: 8 years ago

@markoz,

If user has more than one role, it will not show phrases at all in form.Β 

Could you please leave an example URL where we can see the issue?Β 

The first user role should be displayed.Β 

Please make sure all user roles are properly fill in theΒ  Dashboard > Comments > Phrases > Comment tab page. See the screenshot below:

roles

Β 


1 Reply
(@markoz)
Joined: 5 years ago

Active Member
Posts: 7
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 @asti

and thank you for your reply.

Β 

Here is example where you can see the issue: https://desertfellas.com/junior-4-ai-14/ Β 

1. I have double checked Dashboard > Comments > Phrases > CommentΒ tab as instructed and everything looks fine.Β 

2. I'm also struggling to find out how to show "Real name" instead of "username" on form

Β 

Thanks in advance.


Posts: 7
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
(@markoz)
Active Member
Joined: 5 years ago
Posted by: @asti

If user has more than one role, it will not show phrases at all in form.Β 

Is there any work around for this?


1 Reply
Asti
 Asti
Support
(@asti)
Joined: 8 years ago

Illustrious Member
Posts: 8210
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

@markoz,

Are you sure the user roles are selected in the "Display Comment Author Labels" section?

The section is located in the Dashboard > wpDiscuz > Settings > User Labels and Badges admin page. More info here:Β  https://wpdiscuz.com/docs/wpdiscuz-7/plugin-settings/user-labels-and-badges/#display-comment-author-labels


Posts: 7
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
(@markoz)
Active Member
Joined: 5 years ago
Posted by: @asti

"Display Comment Author Labels" section?

1. 🤠 that's it 🙄 😊Β 

Β 


4 Replies
Asti
 Asti
Support
(@asti)
Joined: 8 years ago

Illustrious Member
Posts: 8210
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

@markoz,

regarding the second question, you should change the value of the "Display name publicly as" option. Navigate to Dashboard > Users admin page edit the user profile and change the value of the option.Β 

Display name as

Β 


(@markoz)
Joined: 5 years ago

Active Member
Posts: 7
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

@asti

thanks for replyΒ 

ok, I see now ... thanks for that. I find the solution through my membership plugin to change all together at once. 😎Β 

And last one (sorry) is related to work around...Β  if any possibility to show both roles in user labels.Β 

thanks a lot for your time


Asti
 Asti
Support
(@asti)
Joined: 8 years ago

Illustrious Member
Posts: 8210
Asti
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

@markoz,

You can use the following hook to display the secondary role:Β 

wpdiscuz_after_label

(@markoz)
Joined: 5 years ago

Active Member
Posts: 7
Asti
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

@asti

this one couldn't make it work, unfortunately. but at least we sort out some things, thanks for that Β 


Share: