![]() |
Template Editing: Show Difference
1 Attachment(s)
This little php code will show the difference of your template to the default one: it can help you maintaining the modifications you did to the templates
How to install: a) make a backup of the file admincp/template.php: Code:
cp admincp/template.php admincp/template_original.php Code:
patch -p0 < template_mod.diff.txt Code:
pear install Text_Diff |
1 Attachment(s)
I know this is older but I have adapted it to vB3 but the differences aren't displaying, I have gone through the diff files and I'm not catching what needs to be changed, I have tried replacing all &$ with $ I didn't see any splits to explode, and my logs aren't reporting any error
I know the author has not been on in years, but I was just hoping someone would be able to help me with this. Running vb3.8.11 on php 5.4.60 (i believe) below are the edits I made to work with vb3, and the files required for this edit. PHP Code:
PHP Code:
Its displaying how it should, BUT it is not showing differences. Attachment 157758 |
All times are GMT. The time now is 02:17 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|