By Bruno Alecrim on Sunday, 08 November 2015
Posted in General Issues
Replies 3
Likes 0
Views 708
Votes 0
Hi There, we use EasyDiscuss and we want to give our costumers a Premium Access to EasyDicuss, I mean basically we want to give then a Priority Asnwer when they post any question, do do That we want to give the user:

1 - Different Avatar Label (Like PREMIUM user) so their name has a PREMIUM label attached to.
2 - When they post our support team automatically receive they request to respond faster.

Is it possible to do with EasyDiscuss?

Take a look at the attached image for a better understanding.

With Best Regards
Bruno Alecrim
Hello Bruno,

In Easydiscuss, we do have this feature where you can set the role based on Usergroup. You can add new role in Backend>Easydiscuss>Roles: http://screencast.com/t/wKqVhlAuj and it will be displayed like this: http://screencast.com/t/klNYdZyGtn . For the different background, you can add a custom css code in this file: ../components/com_easydiscuss/themes/simplistic/frontpage.post.php for those has a 'Premium' role which you can identify it like this:


if ($post->user->getRole()) {

}


As for the email, I'm sorry, it will require modification in the core file.
·
Monday, 09 November 2015 13:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi I did what you suggest it worked, but the label did not appeared like your example (within a box) in my case only the text, is there a way to enable this box as well? See the attached image.

About the Background color adjust, can you please explain more details about this:

1 - I created a usergroup called VIP, so when a user has it user group and post in the forum. I want to change the background color to #d9ffff (Hexadecimal)

So I guess I need to use this code, right? Please correct me If I did wrong.

if ($post->VIP->getRole()) {
background-color: #d9ffff
}

Also I dont know exctly where to insert this peace of code in the related page.

With Best regards
Bruno
·
Monday, 30 November 2015 06:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Bruno,

is there a way to enable this box as well?
- It is because you are using Flatt theme for Easydiscuss and my example is Simplistic theme. However, you can add this code in your template css file:

div#discuss-wrapper .discuss-user .discuss-role-title {
background-color: #feb5b4 !important;
}


As for the item background, please replace the attached file in: ../components/com_easydiscuss/themes/flatt/frontpage.post.php. You can see how I modify the code on line 26.
·
Monday, 30 November 2015 12:11
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post