![]() |
Easy Template Update
Easy Template Update
Description This Hack helps you to update your templates, by allowing you to semi-automatically merge changes into your templates. Details 1 Product XML (5 Phrases) This Hack is unsupported! All support requests except proved Bugs will be ignored. |
sounds great, thanks :)
|
So, this hack allows templates to merge into one another?
Sorry i dont quite understand the description. |
Nice!! Thanks a lot.. I hope this solves my problem..
|
Since your a developer now, I hope to see this as standard soon. ;)
I always thought to myself while using comparision utilities that vb should mimic the merging function. Great to see you pulled it off. My only dissappointment is that you would mainly use this when upgrading and that's when your php files are stock...no fault of yours ofcourse. Good job! |
I could have done it as a separate file, but that would have required duplicated a bunch of code.
|
great idea!
thank you |
When i click save template it takes me to template.php with bg of admincp but blank.
|
I'm glad I read this before I actually started cause I am about to update them. Hope this makes it easier because I have 49 templates to update.
1 Question, how do I use it? |
I will definitely try this out, I still have 2 out of 5 upgrades to do...and this seems like the answer to all that tedious work. :)
|
will I have to edit my templates for the hacks that are already installed on my forum?
do I click in the merge boxes to update? |
Installed but I do not see any change? What exactly should I be looking for?
I can see that this is unsupported, however, if I install it and have no obvious change I have to ask. Could anyone maybe shed some light on this for me please. |
ok, i was starting to install this when I noticed the last step.
the last step would end up looking like this... PHP Code:
I believe it should say "ABOVE" not "BELOW" D |
sweet thanks m8!
|
Quote:
|
Think i figured it out...
go to Find Updated Templates > View History and compare the versions |
Quote:
I am wondering if maybe after the merge, we need to copy the code, then revert the stlyle section then paste the merged code over the reverted section of style? |
Quote:
|
Quote:
2. And will I have to edit my templates for the hacks to work or the merge will instert the coding for the hacks? I got 49 templates that it says to be updated. |
I don't want to post too much code, but it should say this..
Quote:
|
Quote:
Please Complete All Required Fields I have confirmed ALL buttons were checked so what am I missing? Ooops wait... I may have missed something... *Update, yup, I only pasted partial code you put rather than the entire code Andrea did and it works!!!! Thank you! |
Not sure why, but it looks like this is almost acting like a revert as I am losing template modifications that were done like thank you posts mod after doing the merge...
|
Quote:
|
Quote:
|
Quote:
DID YOU DO THE EDIT ABOVE? |
Quote:
|
Quote:
|
I found where I went wrong,
I placed: Code:
$_POST['do'] = 'merge'; Code:
// ############################################################################# Code:
// ############################################################################# Code:
if ($_POST['do'] == 'docompare' AND !empty($_POST['domerge'])) So it works! Can someone verify what I wrote? |
Quote:
|
Quote:
It works and its easy! |
This worked great for me. No trouble at all and the skin updates were super fast.
|
i like the mod dont get me wrong but what would be nice to see is a check box next to each difference it found this way you can select which merges you want to install and which you dont... this way you can test each hack out as you merge it and so on... and it would also i think be more user friendly that way
|
Quote:
ummm....that's exactly what it does. |
Thanks, a helpful tool!
|
opps i posted it under the wrong one... cause there is already a hack like this https://vborg.vbsupport.ru/showthread.php?t=91038 which has alot more options just missing that
|
Quote:
This comapres the old template with the new template and merges the non-standard lines of code and html to the new templates that have the up date tmeplate fixes. ;) |
nah you can compare the old to the new it just dont have the check box next to the changes... it really has alot more featurtes in that one... but i aint saying which is better im just saying i put it in the wrong spot
|
I made the update from vB3.5.1 to 3.5.2 and I wanted to use this modification to ease my work a bit..
I have the old one to the left and the new template to the right and I want to copy the changes from left to right but the new template (updated to have my old changes) is still listed as 'old' :( |
Andreas, thx for this wonderful hack, it's not big, but it spares me big work!
@mrnase: You should be able to choose old/new template... |
Quote:
|
All times are GMT. The time now is 04:59 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|