CuriousMind
asked 10 years ago

So, we allow all our users to sign up and become contributors. We kind of don’t like the fact that all our members answering questions show the word STAFF next to their names. Any way to control this?

5 Answers
DominicStaff
answered 10 years ago

Hi CuriousMind !
If you want to remove “Staff” next to User’s Name in the DW Q&A plugin, You can add the following code to the style.css file

 .dwqa-container .dwqa-label.dwqa-staff {
     display: none;
}

strong {
     display: none;
}

– In case you want to edit the “Staff” to some other words, You can open the content-comment.php file. Find the line 12  and content-answer.php file. Find the line 45.
Hope this helps !  

CuriousMind
replied 10 years ago

Works like the charm!

kim
answered 10 years ago

Hello. I want to change the word “staff” to “coach”…please advise.
THanks!
Kim

Guru
answered 10 years ago

Hi Kim!
To change the word “staff” kindly go to the template folder. I am assuming you are not using the subfolder in your template folder. Go to you plugin folder and open the file content-answer.php: 
\dw-question-answer\inc\templates\default\content-answer.php
find the line around line 50:
echo ‘ <strong>&sdot;</strong> <span class=”dwqa-label dwqa-staff”>’.__(‘Staff’,’dwqa’).'</span>’;
change to:
echo ‘ <strong>&sdot;</strong> <span class=”dwqa-label dwqa-staff”>’.__(‘Coach’,’dwqa’).'</span>’;
Hope this helps.
Cheers!
 
 
 

kim
answered 10 years ago

please help, i just did that and lost all the answers on my front end of my website.
http://thinkwithyourheart.com/qanda/
 
Look the answers are not showing…i even changed the word coach back to staff and still this issue…

kim
answered 10 years ago

I can email you my content-answer.php file if you want. Also can give you wordpress login info

kim
answered 10 years ago

I put the original folder from the original download file from DW content-answer.php back to replace my edited one and my answers still aren’t showing up.

kim gorgo
replied 10 years ago

actually now my buddypress information isn’t showing up on my front end either?

Guru
replied 10 years ago

please send your ftp login details via private answer to investigate why it is messing up.

kim gorgo
replied 10 years ago

@guru i am SO sorry! what are the chances, but a server issue popped up when i was editing the folder you advised me to edit and it had nothing to do with one another. My /tmp folder was full. Anyway, do you think it safe for me to edit like you said now that that is taken care of?

Guru
replied 10 years ago

I have implemented the same code on my side and works perfectly. Unless you changing a completely different folder, it should work fine.

Guru
replied 10 years ago

Dear Kim, Please check as I have resolved the issue. I couldn’t check the answers as I didn’t have permission to see answers, and couldn’t find any way to register.

kim gorgo
replied 10 years ago

Hi @guru thank you. The answers now say coach but it still says staff in the replies. Here’s a screen shot:
http://thinkwithyourheart.com/wp-content/uploads/2014/03/k.jpg

Guru
replied 10 years ago

Try now, it says Coach 😀

Cheers

DominicStaff
answered 10 years ago

Hello Kim ! 
I have checked your site and you have resolved this issue,  I have mark the “Resolved” status for this question.

vahid
answered 10 years ago

How can I show STAFF just next to admin, editor and authors?

DominicStaff
answered 10 years ago

If you want to show the  “Staff” for the admin, editor and authors, you can log in to Dashboard > User, edit user as you like, then select the admin, editor and authors which you want in the Role section.
See the screenshot:

vahid moh
replied 10 years ago

It’s not possbile…Imagine that I have a lot of users in every different roles. but I want to just show STAFF for Admins, Editors and Authors.. but I don’t want to change the roles

Dominic Staff
replied 10 years ago

At the moment, our DW Q&A plugin does not yet support this issue.

vahid moh
replied 10 years ago

But here in your website it works.. I mean STAFF isn’t shown near my name but it is shown near yours

Jeffrey Appareti
replied 10 years ago

What’s the logic with the STAFF display? On my website, STAFF is displayed next to every user: Author, Subscriber, Contributor, Editor, and Administrator. Shouldn’t it by default only display next Contributor, Editor and Administrator roles?

Like Vahid mentioned, it looks like you have this logic installed on this website, but with the plugin, STAFF is displayed next to every user. It sounds like this is a bug, not a “missing feature”.

vahid moh
replied 10 years ago

Yes that’s right. Thanks for translating my bad English into a good one! 🙂

Dominic Staff
replied 10 years ago

Hi,
you can create a new question then send me username & password of your site (via private answer) for further checking.

vahid moh
replied 10 years ago

a usernme & password as an admin right? but just one thing I should mention is that my wordpress is in Persian!! can you still do that? I think you should add this feature to your plugin in the next version. it doesn’t seem to be hard to do that

Dominic Staff
replied 10 years ago

Yes ! we will discuss this issue in the next version and I will mark the “Resolved” this question, if you have any question, please create new question, we will resolve it !

Powered by DW Question & Answer Pro