vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Trying to hide a $thingy from moderators and supermoderators...how? (https://vborg.vbsupport.ru/showthread.php?t=76998)

SeanThomps 02-25-2005 01:48 AM

Trying to hide a $thingy from moderators and supermoderators...how?
 
Hey,


I want to hide a variable like $quickquote from my moderators because it is too often confused with another tool I have within topics for moderators.

How can I hide it from only moderators?

I tried an <if </else function, but it still shows.

I also tried..
Code:

<if condition="!is_member_of($bbuserinfo, x) OR !is_member_of($bbuserinfo, y)">$quickquote</if>

Blue Moose Aaron 02-25-2005 02:18 AM

So can members see it?

Adrian Schneider 02-25-2005 02:19 AM

Post your exact code for that, because you probably have the numbers wrong or included the !

noppid 02-25-2005 02:21 AM

I should probably put this in mini mods. This can do exactly what you want.

http://www.vbulletintemplates.com/mo...ead.php?t=7570

SeanThomps 02-25-2005 03:12 AM

noppid..it is saying I have to update my liscence even though I entered it like 5 times :(

my exact code:
Code:

<if condition="!is_member_of($bbuserinfo, 5) OR !is_member_of($bbuserinfo, 7)">$quickquote</if>
I do not want moderators(id5) and supermoderators(id7) to see it. Everyone else can as usual...

Adrian Schneider 02-25-2005 03:51 AM

That looks right...

You could flip around it and say
HTML Code:

<if condition="is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 7)"><else />$quickquote</if>

Colin F 02-25-2005 04:06 AM

Quote:

Originally Posted by SeanThomps
I have to update my liscence even though I entered it like 5 times

Just to let you know, you're showing up as licensed now.

SeanThomps 02-25-2005 04:27 AM

GENIUS :D Thanks guys :) I learned a ton...(relatively heh)


All times are GMT. The time now is 08:04 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.00935 seconds
  • Memory Usage 1,726KB
  • 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_code_printable
  • (1)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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