vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   change all templates at once (https://vborg.vbsupport.ru/showthread.php?t=33102)

sk187 12-10-2001 05:00 PM

I have somthing like 14 sytles/themes on my board.

When i go to install a hack that involves a template change i have to edit each styles templates individualy. Is there any way to create a hack that can change every styles templates at once?

For example say forumhome needs to be edited the exact same way on every styles templates. To do this i would have to go into every template individualy. I want somthing in the edit template menu to have a option for "all" so i dont have to do them one by one.

Thanks so much
sk

MarkB 12-13-2001 06:36 AM

I'm also interested in this, having 25+ different template sets :o

sk187 12-16-2001 04:40 AM

does anyone know if this is possiable?

Konqueror 12-16-2001 07:45 AM

I am sure it is possible. :) I've already got an idea on how to do it as well, but since I'm pretty new to PHP I can't promise you anything. :)

Konqueror 12-16-2001 08:43 AM

1 Attachment(s)
Here a little screenshot of how it looks so far. :)
Now I'll start with the actual edit code. :)

Update: Guess what, it already works with one templateset, so it should be done very soon. :D Thanks for this great idea guys. :)

sk187 12-16-2001 04:03 PM

thanks for working on it Konqueror it looks real good so far.

another idea would be to have a option that says "all templates" in the template set drop down menu. That way if you edited one template like forum_XXX you cold select "all templates" and it would edit forum_XXX in all the templates and styles at once. Instead of just searching and replacing one string in all the templates.

I dont know if that will make any sense but that is what ive been working on creating but im not having much success.

Konqueror 12-16-2001 04:40 PM

Well, it's in beta now :)
https://vborg.vbsupport.ru/showthrea...&postid=207312

Telling it to search & replace a string in the complete template database wouldn't be much of a problem I think, but I've had enough coding for a day. ;)


All times are GMT. The time now is 12:31 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.00907 seconds
  • Memory Usage 1,719KB
  • 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
  • (7)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