vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Set Style based on usergroup (https://vborg.vbsupport.ru/showthread.php?t=32857)

amykhar 11-30-2001 10:00 PM

This hack allows you to set the style for a given user group.

You can choose to ovveride forum styles, or not. I have written another hack that allows premium users to have a set of reserved styles. It can be found here:

https://vborg.vbsupport.ru/showthrea...threadid=48953

This seems to work for 2.2.1 and higher.

Amy

amykhar 12-01-2001 04:56 PM

Here is the file. I accidentally deleted it from the original post.

Amy

TheComputerGuy 12-01-2001 05:09 PM

Nice work Amy...installed

amykhar 12-01-2001 05:11 PM

Make sure you got this file, and not the one that was in beta last night. It had a bug that I finally squashed for good today.

Amy :)

Rick 12-21-2001 02:14 AM

Excellent hack! Thank you very much. This is just what I needed to free my "Elite" members from seeing a particular banner on all the pages.

Happy Holidays!

Rick Horwitz :D

Princeton 12-22-2001 03:16 AM

another great hack ... thank you :D

fordinglife 01-13-2002 12:26 PM

Nevermind, problem fixed.

Rick 02-13-2002 06:41 PM

Has anyone tried this with 2.2.2 yet?

Rick 02-13-2002 07:09 PM

yep it works :D

Regs 03-06-2002 03:22 PM

This looks perhaps a promising start to what I'm looking for... namely a way to create styles that can only be selected by certain usergroups.

Is this possible and if so, anyone here know how?

Cheers,

~Regs.


All times are GMT. The time now is 12:43 PM.

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.01779 seconds
  • Memory Usage 1,725KB
  • 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)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