vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Different designs with a passed var. (https://vborg.vbsupport.ru/showthread.php?t=39174)

Robert9 05-29-2002 02:36 AM

Different designs with a passed var.
 
Just some month ago i tried to write a hack that allows to pass a new var, so the forum could be shown with a different template-set. But i fail. Has someone done this till now?
My goal is not to have different styles for users, i want to have only one style for one domain.

So i could call the script with .....com/board/board.php?style=1
2,3 ... one in red, one in blue, with different logos and so on..
Robert

Scott MacVicar 05-29-2002 08:17 AM

index.php?styleid=NEWSTYLEID

and you create new styles within the admin panel and this can be changed within the options part of the user control panel.

Robert9 05-30-2002 03:20 PM

I was very happy to read this, but unfortunately my board dont do anything when started with ..?styleid=2.
(Yes, i have added a new style.)
I have just update to 2.6. but there is no effect at all.

Maybe i must allow different styles for users?
I will try it.
Though this is not my goal.
People that come from domaine.com should have it in red, people from domaine2.com should have it in black.
That´s all i need for the first.

If someone calling from dom1 could use the style of dom2, he kills the whole design of the page.

Robert


All times are GMT. The time now is 08:07 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.00956 seconds
  • Memory Usage 1,706KB
  • 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
  • (3)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