View Full Version : change all templates at once
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
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/showthread.php?s=&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. ;)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.