vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Usergroups and additional usergroup in vBSuperPMs - lite + Pro (https://vborg.vbsupport.ru/showthread.php?t=317775)

John Lester 03-22-2015 05:53 PM

Quote:

Originally Posted by TheLastSuperman (Post 2540857)
If the author checks using two differnet bits of code then it can be done, usually its not "double" the code either i.e. if the .xml file was 2mb it doesn't go to 4mb just by adding in a small amount of code to "check" something. Basically the author could add in a new setting in the setting group of the mods xml, then in the primary plugin that handles or initiates the parsing simply add the check to that plugin and have it check the new setting, if it does or does not match or equals this THEN do what you want done or not done etc. Edit: You could also have it check and set a variable, later in the plugin or in a plugin that works in conjunction with another - you then say IF the variable = this, do this etc.

Ah, I thought that two sets of code would have to be written, a check and a different permission set. It looks like it's not as complicated as I thought it was :)

synseal 04-18-2015 03:10 AM

DragonByte Tech.

Is there any plans on making this modification work with the additional usergroups anytime soon so Admins can configure it the usual way or is this never going to be an option?

Can you reply to this please.


All times are GMT. The time now is 11:20 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.01184 seconds
  • Memory Usage 1,713KB
  • 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)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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