vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Addming moderators without showing them in the moderators list (https://vborg.vbsupport.ru/showthread.php?t=273097)

Nizar 10-31-2011 06:02 AM

Addming moderators without showing them in the moderators list
 
Hello,

is there any way to add moderators to a forum without showing their names in the moderators list at the forum page?

suppose that I have Jone as a moderator for the forum A
and Greg as a moderator for the forum B

I want to give Jone the permissions and privileges to do what Greg can do in Forum B , but without showing Jone as a moderator for Forum B. how can I do it?

any suggestions?

sa3eka.com 10-31-2011 11:05 AM

put permissions moderator for Jone as a moderator for the forum A and and Greg as a moderator for the forum B

if u wanna hide one moderator install this hack

https://vborg.vbsupport.ru/showthread.php?t=270262

I will development this hack for multimoderator


if u wanna regular way

find

PHP Code:

forumhome_moderator 

put this in first template

PHP Code:

<if condition=$moderator[userid]!= 'moderatorid' "

don't forget change moderatorid like 2 or 544

in same template put this in the down

PHP Code:

</if> 

and make the same changes for

PHP Code:

forumdisplay_moderator 

eg:

PHP Code:

<if condition=$moderator[userid]!= '125' ">
<if 
condition="$show['comma_leader']">, </if><a href="member.php?$session[sessionurl]u=$moderator[userid]">$moderator[musername]</a>
</if> 

if u put more moderator put moderator id and separate between id by comma like

PHP Code:

<if condition=$moderator[userid]!= '91,124,155' "


Nizar 11-02-2011 08:21 AM

Thanks sa3eka.com.

the hack is very good. I will try it and let you know the result.

sa3eka.com 11-03-2011 04:14 PM

THank u Nizar


All times are GMT. The time now is 02:47 PM.

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.01363 seconds
  • Memory Usage 1,725KB
  • 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
  • (6)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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