vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Basic User Styles (https://vborg.vbsupport.ru/showthread.php?t=33024)

Matt 12-07-2001 08:57 PM

Is it possible to allow users to browse with their own color choices? I mean have them select from a page the colors they would like to browse with? And use the default template set along with that info to create their own basic style?

amykhar 12-07-2001 09:10 PM

I would think it would be. Here is one way to go about it.

Set up a new script that conains the logic for setting up colors and fonts, but not the header, footer, etc.

Have this script update the style tables, using the values from the default style for your header, footer, etc.

When the user changes their colors, etc, delete their old style and add a new one.

I am of two minds with regards to whether or not the styles are user selectable. On one hand, they could be, and could be named after the user.

On the other hand, you could make them not user selectable, and tinker with the global.php so that the creator of the style could still use it.

Amy

Scott MacVicar 12-07-2001 09:54 PM

Hack could be quite considerable, if I didn't have work tommorow I would have an attempt at it just now. If no one has posted back with a solution by about 8pm GMT tommorow then I'll do it then and have it done in a couple of hours.

Matt 12-08-2001 09:38 PM

Thankyou! :)

floleb7 12-20-2001 12:07 AM

little up
it's a great idea :D


All times are GMT. The time now is 10: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.00946 seconds
  • Memory Usage 1,708KB
  • 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
  • (5)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