vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Mod to limit certain user groups from seeing parts of a post... (https://vborg.vbsupport.ru/showthread.php?t=170847)

fly 02-18-2008 03:51 PM

Mod to limit certain user groups from seeing parts of a post...
 
I *think* I've seen a mod where I could prevent/allow certain user groups from seeing parts of a post. Anyone know what its called? I want to be able to do something like this:

[group=6]blah, blah, blah[/group]

fly 02-29-2008 08:40 PM

Anyone? Bueller?

Boofo 02-29-2008 08:46 PM

Yes, it's called wrapping the code in a template conditional.

fly 02-29-2008 08:55 PM

Quote:

Originally Posted by Boofo (Post 1453964)
Yes, it's called wrapping the code in a template conditional.

I'm thinking that you're suggesting that I can do it via BB code?

Boofo 02-29-2008 09:25 PM

No, use a conditional wrapped around what you want to block.

Opserty 02-29-2008 09:37 PM

Boofo, he wants to do it inside the contents of a post as opposed to using a template.

Boofo 02-29-2008 09:44 PM

Like the postbit? ;)

fly 02-29-2008 10:02 PM

Quote:

Originally Posted by Boofo (Post 1454017)
Like the postbit? ;)

You're so elusive! How can I dynamically hide content in a template?

Wait... That won't work, as it would still be viewable in the source, no?

Boofo 02-29-2008 10:48 PM

Ok, first I need to know what it is you are trying to hide. Is it a certain word or phrase?

Lynne 02-29-2008 10:51 PM

Somebody was talking about something like this earlier and it was brought up that you need to turn off the post caching also. I must admit to being pretty post cache ignorant, but that is something that might want to be brought up. (And, if I'm totally wrong about this, then, um, I'll just shut up. :D )


All times are GMT. The time now is 10:28 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.01027 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete