Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.

How to hide IP address from Admin to the moderators and users ?

+2 votes
705 views
asked Feb 4, 2014 in Themes by Claude
recategorized Feb 5, 2014 by Claude
Hi,

just a small question. it's possible to hide IP address from Admin to the moderators and users ?

Thank you

Claude
Q2A version: 1.6.3

1 Answer

0 votes
answered May 19, 2014 by wtoalabi

Hi Claude, I was also just browing through in order to find answer to this..but since I cant, I had to figure it out.

I believe this is necessary for those of us who will like to manually add users and content while the site is growing.

It will then be awkward if a moderator finds out that all those content have been comng from one sourse!

Well, this is a fix, which I think solve this.

Locate: qa-include\qa-page-user-profile.php 

Search for: if (($loginlevel>=QA_USER_LEVEL_MODERATOR) && !qa_user_permit_error()) {
 
then change QA_USER_LEVEL_MODERATOR to QA_USER_LEVEL_SUPER
 
 
Also (for the description text) search for:  $userediting ? null : qa_lang_html('users/only_shown_moderators'),
 
and change it to $userediting ? null : qa_lang_html('users/only_shown_admins'),
 
Lastly search for : qa_lang_html('users/only_shown_moderators'),
'id' => 'lastwrite',  
 
and change it to:
 
qa_lang_html('users/only_shown_admins'),
'id' => 'lastwrite',
 
 
Hope this works for you!
...