vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Hiding the names of Moderaters (https://vborg.vbsupport.ru/showthread.php?t=297296)

Jamesdoylephoto 04-17-2013 07:54 AM

Hiding the names of Moderaters
 
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 [DATE]1366239921[/DATE] at [TIME]1366239921[/TIME] ---------------

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

PHP Code:

define('DISABLE_HOOKS'true); 


Jamesdoylephoto 04-29-2013 12:41 AM

Quote:

Originally Posted by Lynne (Post 2417431)
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

PHP Code:

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

Quote:

Originally Posted by Lynne (Post 2419032)
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.


All times are GMT. The time now is 03:14 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01097 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete