MyBB Community Forums

Full Version: Get/show all diff in template easily
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I use default template since some week now. I want to move and test to a more RWD template or test other template.

But we made some update to default template adn add some plugins (Thank you like, Unread piste etc).

I like to have a quick way to have all diff of the template done ?
I can click on each subgroup to see id there are a green line,
But i like to have a way to show all green line (and not the other one).

Is there a way to have this ?
Thank you.

OK,
1st step :
admin/index.php?module=style-templates&sid=1&expand=all

show all expanded,
Now : a way to get only green line ?
This isn't possible in the ACP, the only way would be at database level, where you could find templates where the sid column is the template set ID you've been editing. Then you could find those templates in the ACP to edit them. Or, if you go to ACP > Templates & Style > Templates > Find Updated Templates, this will show templates that have pending changes, which might highlight some that you've edited.
I don't quite get what you're asking for, but might be worth a shot having a look at FASTyle, which makes it easier to find diffs across templates and their original version (adjusted to your current MyBB version).
Go to the German support page and check this documentation:
https://www.mybb.de/doku/sonstiges/geaen...templates/
Choose the versions to compare and select the changed templates.
It's simple to use allthough in German.

BTW this superior PHP code cross reference might be of interest:
https://crossreference.mybb.de/nav.html?index.html

Cheers!
[ETS]
(2022-04-12, 01:37 PM)Matt Wrote: [ -> ]This isn't possible in the ACP, the only way would be at database level, where you could find templates where the sid column is the template set ID you've been editing. Then you could find those templates in the ACP to edit them. Or, if you go to ACP > Templates & Style > Templates > Find Updated Templates, this will show templates that have pending changes, which might highlight some that you've edited.
OK,
Than you &expand=all help to see all updated.

A confirmation : SELECT * FROM mybb_templates WHERE sid >= 0 ORDER BY version DESC , i get 24 lines : then it means i have 24 file to check ?


(2022-04-12, 08:31 PM)Shade Wrote: [ -> ]I don't quite get what you're asking for, but might be worth a shot having a look at FASTyle, which makes it easier to find diffs across templates and their original version (adjusted to your current MyBB version).
I just want to get the diff between the official oroiginal version and my update FASTyle seems interseting but don't find what i need.
Thank you.

(2022-04-12, 08:41 PM)[ExiTuS] Wrote: [ -> ]Go to the German support page and check this documentation:
https://www.mybb.de/doku/sonstiges/geaen...templates/
Choose the versions to compare and select the changed templates.
It's simple to use allthough in German.

BTW this superior PHP code cross reference might be of interest:
https://crossreference.mybb.de/nav.html?index.html

Cheers!
[ETS]
I need MY update not the official update Smile