vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Work/Stealth Mode (https://vborg.vbsupport.ru/showthread.php?t=80422)

EricaJoy 04-23-2005 12:19 PM

Work/Stealth Mode
 
I figure this should be simple but I don't know how to write it.

That being said, I would like an extra option in the usercp, sort of an on/off switch called work mode.

when on, it will turn off all images, avatars, and signatures as well as change to a pre-specified style. i'd like the settings for the hack to be set in the admin panel as far as defining which style is to be used when the switch is turned on.

If this already exists, I apologize for the unnecessary thread and request a link to the existing hack.

Thanks in advance. :)

Reeve of shinra 04-23-2005 02:27 PM

You could really just do this with a customized style. Just use the style drop down box to change it. Its saved by a cookie I think on your pc so you could automatically use one style at work and another at home.

edit: I guess avatar and linked images would still show, in that case maybe you should browse from the archive - a default vb3 feature.

EricaJoy 04-23-2005 02:28 PM

a style will disable images, avatars, and sigs?

Reeve of shinra 04-23-2005 02:29 PM

It would disable sigs and avatars if you dont call it in the template. Its variables in the post bit.


All times are GMT. The time now is 04:09 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.00912 seconds
  • Memory Usage 1,707KB
  • 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)post_thanks_navbar_search
  • (1)printthread
  • (4)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