vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Restrict style to Usergroup (https://vborg.vbsupport.ru/showthread.php?t=82410)

Andreas 06-27-2005 01:53 PM

What's on lines 275-285 of you global.php?

87accordlxi 06-27-2005 02:21 PM

Well I think I got it working now. Just a stupid copy/paste error I kept making. Everything works, and if users type the direct URL to a restricted style, it takes them to the default. Cool hack, I'll use this to exempt our donating members from ad banners.

King Kovifor 06-27-2005 02:22 PM

I love this hack. I was wondering why it wasn't already built into the ACP. *saved for myth.*

Andreas 06-27-2005 02:24 PM

Quote:

Originally Posted by 87accordlxi
and if users type the direct URL to a restricted style, it takes them to the default

Yes, this is how it should behave :)

Immortal 07-06-2005 06:26 PM

Great hack, was looking for this awhile back. I got it installed and but I'm having same problems as they were, it removes the selection when chosen. I am using 3.0.7.

Andreas 07-06-2005 06:30 PM

What does "it removes the selection when chosen" mean?

Immortal 07-06-2005 06:35 PM

Sorry should've been exact! :)

I select the usergroup, press okay, then go back and it is unchecked again. Same problem they was having. I just downloaded it today so I had the fix you already changed.

Andreas 07-06-2005 06:36 PM

You mean in ACP / Styles & Templates / Style Manager?

Immortal 07-06-2005 06:40 PM

Quote:

Originally Posted by KirbyDE
You mean in ACP / Styles & Templates / Style Manager?


Yes sir! :)

Andreas 07-06-2005 06:46 PM

Nobody reported such a Problem so far.
Please carefully check the edits you made to admincp/template.php


All times are GMT. The time now is 01:46 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.02329 seconds
  • Memory Usage 1,728KB
  • 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
  • (4)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