vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Advanced Warning System (AWS) (https://vborg.vbsupport.ru/forumdisplay.php?f=105)
-   -   Mods only warn, not view warnings? (https://vborg.vbsupport.ru/showthread.php?t=120733)

Luggruff 07-09-2006 08:59 AM

Mods only warn, not view warnings?
 
Hi!
I'm not that good with php and I wonder if it's possible to re-arange the "view warnings" page so that only admins can view warnings. (both the view warnings in the forums, and the MOD-CP.. or in MOD cp, completely removed to the mods eyes).

(I know how to simply remove the "view warnings" link in the user profile and postbit, with a usergroup strip. But I want the page to say "you're not allowed here" if they just go there via the URL for the page. And then I don't know how to hide the menu-link in the modCp or how to make it say the mods aren't allowed to see the warnings.. if they follow the url there)

..anyone?

Luggruff 08-04-2006 06:48 AM

*bump*

sv1cec 08-08-2006 06:14 AM

Sorry, I am no longer checking here as often as I used to.

What vB version are you running?


All times are GMT. The time now is 03:56 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.01656 seconds
  • Memory Usage 1,703KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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