vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Permissions For Content in Code Tags (https://vborg.vbsupport.ru/showthread.php?t=212381)

sunnylikbeckham 04-28-2009 07:33 PM

Permissions For Content in Code Tags
 
Hey

Is There anyway i can hide content inside code tags from guests??????????

any mod??????

thanks

Dismounted 04-29-2009 07:02 AM

I have not seen a readily available modification, however, it can be done.

sunnylikbeckham 04-29-2009 12:56 PM

can you guide how can it be done

Dismounted 04-30-2009 07:32 AM

Can you code PHP? If not - I can't really "guide" you.

j883376 04-30-2009 08:01 AM

I'm guessing that vB.org doesn't really release many/any of its own custom mods? Because obviously this is part of vB.org

Dismounted 04-30-2009 09:49 AM

Actually - some of them have been released - see Princeton's profile.

The ones that have not been released are because of how the system is intertwined with the license checking system. It would require two separate development branches to maintain, and frankly, we don't have the resources to do that.

sunnylikbeckham 04-30-2009 10:24 AM

i know the basic
so i can modify any code

Dismounted 04-30-2009 12:08 PM

You can start by modifying the BB code handler for the "CODE" tag to not parse. Then at postbit "contruct time", find and parse this tag when necessary.

j883376 04-30-2009 04:29 PM

Quote:

Originally Posted by Dismounted (Post 1801719)
Actually - some of them have been released - see Princeton's profile.

The ones that have not been released are because of how the system is intertwined with the license checking system. It would require two separate development branches to maintain, and frankly, we don't have the resources to do that.

Oh. I thought the way the license system worked was that it moved people between usergroups. I guess I am mistaken then.


All times are GMT. The time now is 09:08 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.01053 seconds
  • Memory Usage 1,720KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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