vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Limit certain Style sets to admins? (https://vborg.vbsupport.ru/showthread.php?t=37981)

CloakSim 04-28-2002 06:48 PM

Limit certain Style sets to admins?
 
I'd like to know if anyone could make a quick hack that would only let admin's use a certain style set, and all other useres would get an error telling them that they don't have enough permission to access the style set.

Neo 04-28-2002 07:12 PM

Simple. Just make the style not users selectable and then in the admin cp go into another admins profile and update their style.. or they can seeing how they are admins :)

CloakSim 04-28-2002 09:11 PM

It hides the non-user-selectable styles :(

CloakSim 04-29-2002 02:24 AM

Would I be able to make the style set non-user-selectable, and then instead of using the admin CP/user panel to allow myself to see it, set my styleid in the user table to the private style?

hagi 05-29-2002 03:22 AM

is their a way to make this happen? or do we need to do a hack for it?

Xenon 05-29-2002 11:42 AM

easy way:

make it userselectable, give it your admins and then make it not userselectable and no others can select it any more, but your admins stay with the style ;)

hagi 05-29-2002 07:07 PM

Quote:

Originally posted by Xenon
easy way:

make it userselectable, give it your admins and then make it not userselectable and no others can select it any more, but your admins stay with the style ;)

it doesn't work that way with me. it changes it back automatically.

Xenon 05-29-2002 07:30 PM

really?

this must be patched in the last versions, it has worked a long time i know

if this doesn't work any longe, you'll have to hack a bit

hagi 05-30-2002 02:31 AM

hmm, sorry if i sound too greedy, i'm not really a hacker, just a person who uses these hacks. But can someone make a hack for this?

amykhar 05-30-2002 06:22 AM

I already have a hack out there that lets you create styles for specific user groups. I use it on my board to allow premium members to surf banner free.

Amy

hagi 05-30-2002 07:00 PM

thanks amy, i didnt see this hack when i searched for it. thanks again


All times are GMT. The time now is 05:02 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.00962 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (11)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