PDA

View Full Version : Hiding the names of Moderaters


Jamesdoylephoto
04-17-2013, 07:54 AM
Hi,

I've been trying to workout how to hide who is a moderator and administrator. I found an entry in the CP under the >Option >Forum Listings Display Options > Show Moderators, I set this to no but everyone can still view who the Moderators and Administrators are.

Am I doing something wrong or is there something else I need to do?

Thanks for any assistance.

Lynne
04-17-2013, 03:16 PM
What page are you wanting to not show them on?

Ba'al
04-17-2013, 03:36 PM
You could go to each Admins and Mods profile page in the admincp and adjust their title manually.

Jamesdoylephoto
04-17-2013, 08:58 PM
Thanks for the replies;

Lynne,

from what I can workout (as i'm a bit of a newbie) at the bottom on the forum page there is a link which says "view Administrators and Moderators" and also under the sub menu at the top of the forum home page > Quick Links >View Administrators and Moderators

The page URL is saying it is > Forum/showgroups.php

Ba'al

The profile names is OK in that it's showing "active member", it's in these links above which I'm trying to hide. Our group is a tight nit group and everyone knows everyone and I wanted to hide those that I asked to help out, so I don't ruffle the other members feathers because they weren't picked to help.

--------------- Added 1366239921 at 1366239921 ---------------

Guys I think I found a work around, I went into the showgroups.php file and at line 197 I changed the default =1 to =0 and it seems to hide the moderators from view.

Lynne
04-17-2013, 10:48 PM
If you don't want a usergroup to showup on the showgroups.php page, then go to Usergroup manager > edit usergroup > Viewable on Show Groups > No

Jamesdoylephoto
04-19-2013, 11:30 PM
Hi Lynne, I tried what you suggested but I'm now getting a error message everytime someone clicks on the view Admistrators & Moderators Link.

Warning: ksort() expects parameter 1 to be array, boolean given in [path]/showgroups.php on line 143

Warning: Invalid argument supplied for foreach() in [path]/showgroups.php on line 144

Lynne
04-20-2013, 03:11 AM
Then please disable all modifications and see if you still have the same issue.
Note: To temporarily disable the plugin system, edit includes/config.php and add this line right under <?php

define('DISABLE_HOOKS', true);

Jamesdoylephoto
04-29-2013, 12:41 AM
Then please disable all modifications and see if you still have the same issue.
Note: To temporarily disable the plugin system, edit includes/config.php and add this line right under <?php

define('DISABLE_HOOKS', true);

Ok Lynne I did what you suggested and disabled all plugins and it still shows the error as above.

Is there a way just to "hide" the link " view site leaders" on the bottom of the forum homepage?

If someone could tell me which file to edit I would just remove that link...seems the most simplest fix, if there is no link people won't see the page unless they know the full URL.

Lynne
04-29-2013, 12:44 AM
To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. (Sometimes the template is the one mentioned at the very top of the page source.)

(I believe you are looking for the FORUMHOME template.)

Jamesdoylephoto
04-29-2013, 01:08 AM
To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. (Sometimes the template is the one mentioned at the very top of the page source.)

(I believe you are looking for the FORUMHOME template.)

Thanks Lynne!

I found the edit I needed, it was on the same option page that you directed me to;

"Enable Forum Leaders
Forum Leaders is a listing of your important user groups. The display of forum Moderators on this page is controlled with this option while the display of other groups is controlled via the usergroup manager."

As soon as I selected no and saved, the Link disappeared.

Thanks again for all your assistance.