vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Different styles, different header! (https://vborg.vbsupport.ru/showthread.php?t=26160)

bargie 08-22-2001 11:19 PM

I need to know how to make a new style, ok you can change colours and everything but i want to be able to change my layout. i use like most people Header and the Footer to make the layout how i want it, so when i thought i could change the styles i thought this would be good, now i can let my user selcet between x number of layouts, but the all aim at the same header and footer templates. ne1 know how to make it so that they don't??

kindest regards
jamie

sysmom 08-23-2001 02:10 PM

You can 'force' a forum into a specific style in your Admin CP, it's a Forum property setting.

-deb

Admin 08-23-2001 02:14 PM

If you want to change the templates (in this case, header and footer), you will have to create a new template set for the new style.
Then, make the style use the template set you just created.

bargie 08-23-2001 02:21 PM

thanks
is there a way so that i dont have to edit all the templates again?
as i have a lot of edited templates.

jamie

Admin 08-23-2001 02:24 PM

Not that I know of.

bargie 08-23-2001 02:27 PM

do you think it could be done easily, one way i think would work is going through all of the files and adding something like $header[$stlye] and having more header files.

ne1 willing to work on this, i think it would be good for vb.

bargie 08-26-2001 08:04 AM

I have managed to creat this hack, if any one wants it, post here. It gives you unlimited layouts of your site

sysmom 08-26-2001 02:03 PM

Bargie:

I'd be interested in seeing it. I'm not sure I need it right this minute, but there's always tomorrow!

Do you have a URL you can show it off at, please? :)

deb

TuPPerWaR 08-27-2001 05:02 PM

yeah!

I would love to see it too, but if you don't have a board just send the hack to me! ;)

I have tried to make that hack myself, but without lock!

bargie 08-27-2001 07:44 PM

1 Attachment(s)
ok i have typed this up, i regret that i can't show youu my board at the moment as i am doing extensive work to it and this hack is only one of them.
This is v.1 i will call it and i know it works with v.2.00 should work with others, pls find attached. it is very easy and only a few line, it could have a lot done to it if someone wants to work at it, like when people add a new style ask if they want a new header and footer? stuff like that


All times are GMT. The time now is 09:00 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.02600 seconds
  • Memory Usage 1,729KB
  • 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