vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Major Additions - Innovative Template Manager (https://vborg.vbsupport.ru/showthread.php?t=257072)

TheLastSuperman 01-12-2011 10:00 PM

Innovative Template Manager
 
1 Attachment(s)
Innovative Template Manager

*Originally developed by Dream (View Modification) marked as Re-Usable code.

I love this modification and adjusting multiple styles that are not a "child-style" is made super easy using it!

This modification allows you to do the following:
  • Import / Export standard and custom vBulletin templates, single, multiple.
  • Copy multiple templates to multiple styles.
  • Delete multiple templates from multiple styles.
  • Save multiple templates in template history.
  • View Template History including between version changes.

Some may never use this as others do, it depends on how often you customize your site imo and how many styles you have. For someone like me who designs styles it's actually quite a useful tool and I would assume for those who love adding in new styles for their members or mods for that matter that they customize afterwords would love it as well.

*Think of it this way, if you add a new mod in that creates templates and you modified the mods template for whatever reason - it's only modified in one style - now export that styles single modified template out using this system - now import it back into all styles... you just saved quite a bit of time, you did not manually edit the same template in all your styles and yet they are all updated!

I've made minimum changes to the code, a color change and some text changes mainly for rewording and making sense. I did PM Dream to notify him of this release, sadly he has not been on since September of 2010 so all I ask is this, if you like the mod please send him a PM and say thanks or post below thanking "Dream" not myself ;).

Install:

1. Upload the contents of the "upload" folder into your forum root.
2. Refresh the Admin Control Panel Page/Window in your browser (f5 on keyboard usually)
3. Look for "Template Manager" on the left.

- Enjoy!

*Please note - This modification is meant to make copying template edits between styles in the same version very easy and it has other useful features. Please do not assume that you can export all templates, do an upgrade and import again with 100% functionality as that is possible however highly improbable and would be the same as importing for example a 4.0.7 style into a 4.1.0 site... that will not work plain and simple! Now you can use it in conjunction with the built in comparison utility for templates and ultimately make correcting an old style easier and quicker than waiting on an update for your custom free or paid skin etc etc.

See post #35
Quote:

Originally Posted by Taurus1 (Post 2149885)
I used this mod for the first time today after installing a new skin. It took me about 3 minutes, instead of the 3 hours of template edits. I want to again thank you for a fantastic mod!!




TheLastSuperman 01-13-2011 05:30 PM

Reserved.

OldSchoolDSL 01-13-2011 05:38 PM

So in simple English this will allow you to save your modifications and then re-apply them on the next update?

(please say, yes... well say yes, if its true)

Junoliv 01-13-2011 05:40 PM

Tagged for future use.

TheLastSuperman 01-13-2011 05:43 PM

Quote:

Originally Posted by OldSchoolDSL (Post 2148561)
So in simple English this will allow you to save your modifications and then re-apply them on the next update?

(please say, yes... well say yes, if its true)

Yes and no...

It allows you to save entire styles yes but at the same time you can export and import single templates as well which is what I love about it ;).

... You could simply import and overwrite a problem template but OldSchoolDSL your missing the point of that entirely I'm afraid... if there's an issue with the style after your upgrade chances are you need to compare the template, when you view the template in question via the style manager if it had issues merging correctly it will state so at the top of the page - there's a comparison tool built in already so you can in essence correct it that way.

Otherwise you could simply import back in the single template giving issues and see if that sorts it however that won't work 100% of the time and I would suggest Exporting the template out before importing in an older previous vB version template kwim?

OldSchoolDSL 01-13-2011 05:47 PM

I maybe missing the point....

I had hoped that this saved "custom edits"

More then often, when we update vBulletin... All our little "tweaks" need to be re-applied. I'd like to see a mod which would save those "tweaks" and then at a click of a button... Re-apply them.

TheLastSuperman 01-13-2011 05:51 PM

Quote:

Originally Posted by OldSchoolDSL (Post 2148566)
I maybe missing the point....

I had hoped that this saved "custom edits"

More then often, when we update vBulletin... All our little "tweaks" need to be re-applied. I'd like to see a mod which would save those "tweaks" and then at a click of a button... Re-apply them.

Well it does... thing is your thinking about it in a different way is all... it saves the entire template not one or two single edits or multiple for that matter as it can't distinguish. Even the built in comparison tool can only distinguish between old and new code so much. That would be truly ideal but based on how it all works atm it's not possible. I agree that would be simply lovely and make everyone jump and cheer but some things require manual editing on occasion and after an upgrade some templates could require updating it truly depends on your style and how much you have customized.

So I guess in short I could have said, no it's not what your thinking of lol but wanted to clarify some of the reasons per say ;).

Edit: Basically to sum it up, it's a template import/export system meaning instead of entire styles you can target single or multiple templates and do many useful things.

OldSchoolDSL 01-13-2011 05:54 PM

Assuming I'm a complete noob (not that I am, but it's just easier to explain thing to me like that).... What does this do, really (that vBulletin does not)?

OldSchoolDSL 01-13-2011 05:59 PM

Installed, but its not working

Code:

Parse error: syntax error, unexpected T_DNUMBER in /home/socially/public_html/forums/admincp/innovative_template_manager.php on line 45

TheLastSuperman 01-13-2011 06:00 PM

Quote:

Originally Posted by OldSchoolDSL (Post 2148571)
Assuming I'm a complete noob (not that I am, but it's just easier to explain thing to me like that).... What does this do, really (that vBulletin does not)?

Per the description:

Quote:

This modification allows you to do the following:
  • Import / Export standard and custom vBulletin templates.
  • Copy multiple templates to multiple styles.
  • Delete multiple templates from multiple styles.
  • Save multiple templates in template history.

So with this it's templates not just a complete style, it allows you to do more in terms of customizing styles not within a parent style. Something I feel you would need to install and test to help you understand it then you might go "ohh wow..." or not, it depends on how often you customize your style(s).

OldSchoolDSL 01-13-2011 06:01 PM

Quote:

Originally Posted by OldSchoolDSL (Post 2148573)
Installed, but its not working

Code:

Parse error: syntax error, unexpected T_DNUMBER in /home/socially/public_html/forums/admincp/innovative_template_manager.php on line 45

Only thing I could find on line 45 was

Code:

$itm_ver = 4.1.0;

TheLastSuperman 01-13-2011 06:09 PM

Quote:

Originally Posted by OldSchoolDSL (Post 2148575)
Only thing I could find on line 45 was

Code:

$itm_ver = 4.1.0;

Try it now! I re-uploaded the .zip and I was missing '4.1.0'; the 's

OldSchoolDSL 01-13-2011 06:18 PM

Quote:

Originally Posted by TheLastSuperman (Post 2148579)
Try it now! I re-uploaded the .zip and I was missing '4.1.0'; the 's

Tested and working

4.1 PL2

It's a quick way to know where things may have been edited, but does not define "what" was edited. I'm not trying to put down your work... I'm just trying to evaluate how I could put this to good use... I'm sure its one of those thing, where I'll later be thankful for having it installed.

Kolbi 01-13-2011 06:30 PM

Do you have any screens?

TheLastSuperman 01-13-2011 06:32 PM

Quote:

Originally Posted by OldSchoolDSL (Post 2148584)
Tested and working

4.1 PL2

It's a quick way to know where things may have been edited, but does not define "what" was edited. I'm not trying to put down your work... I'm just trying to evaluate how I could put this to good use... I'm sure its one of those thing, where I'll later be thankful for having it installed.

Well some may never use this as others do, again it depends on how often you customize your site imo and how many styles you have... did you do it where they were child styles etc and if not this truly comes in handy ;).

I believe you'll figure out a use for it otherwise it's removing two files and it's uninstalled ;).

TheLastSuperman 01-13-2011 06:33 PM

Quote:

Originally Posted by Kolbi (Post 2148589)
Do you have any screens?

I'll have those up shortly, migraine is making me run off on tangents :(.

TheLastSuperman 01-13-2011 06:44 PM

Quote:

Originally Posted by Kolbi (Post 2148589)
Do you have any screens?

Screens up, see first post attachments ;).

Edit: Ohh and hey Kolbi :D did not put the name with the name lol this migraine is killing me but spoke with you on messenger the other day I believe ;).

Taurus1 01-13-2011 11:13 PM

Man, this is fantastic. I love different styles, and currently have 15, so this mod is really going to make a huge difference for me. Thank you very very much!
Anyone tested it on 4.1.1 yet?

OldSchoolDSL 01-14-2011 12:10 AM

Quote:

Originally Posted by Taurus1 (Post 2148698)
Man, this is fantastic. I love different styles, and currently have 15, so this mod is really going to make a huge difference for me. Thank you very very much!
Anyone tested it on 4.1.1 yet?

I quickly slapped it on my test site and it seems fine, so far.

Test site is using 4.1.1

Taurus1 01-14-2011 12:40 AM

Quote:

Originally Posted by OldSchoolDSL (Post 2148721)
I quickly slapped it on my test site and it seems fine, so far.

Test site is using 4.1.1

Thanks. Want to install, yet after 2 downloads, I cannot find the product file to install. I just have the upload folder.

OldSchoolDSL 01-14-2011 12:52 AM

Quote:

Originally Posted by Taurus1 (Post 2148741)
Thanks. Want to install, yet after 2 downloads, I cannot find the product file to install. I just have the upload folder.

Upload everything in the upload folder, go into your AdminCP, re-fresh your browser. You should now see a new option on your left.... It's that easy

TheLastSuperman 01-14-2011 02:51 AM

Quote:

Originally Posted by Taurus1 (Post 2148698)
Man, this is fantastic. I love different styles, and currently have 15, so this mod is really going to make a huge difference for me. Thank you very very much!
Anyone tested it on 4.1.1 yet?

All thanks go to Dream ;) he thought it up first and was kind hearted enough to mark it as re-usable code :cool:

Quote:

Originally Posted by Taurus1 (Post 2148741)
Thanks. Want to install, yet after 2 downloads, I cannot find the product file to install. I just have the upload folder.

Quote:

Originally Posted by OldSchoolDSL (Post 2148747)
Upload everything in the upload folder, go into your AdminCP, re-fresh your browser. You should now see a new option on your left.... It's that easy

TY OldSchool for the assist ;).

cyberchief 01-14-2011 03:20 AM

Thought superman was impervious to migranes... lol

Thanks for your hard work!

TheLastSuperman 01-14-2011 04:32 AM

Quote:

Originally Posted by cyberchief (Post 2148790)
Thought superman was impervious to migranes... lol

Thanks for your hard work!

That and my three are my only Kryptonite lol!

I can't take credit for this truly thanks go to Dream please thank him here otherwise it would not be posted ;). I was up late catching up on a few things and noticed a missing ; after a css definition and corrected it, new .zip uploaded it should not be an issue I'm just a stickler :p.

OldSchoolDSL 01-14-2011 04:34 AM

Not sure what was added in your update, as there is no change log... But still updated.

Installed and working

4.1 PL2 & 4.1.1 (test site)

edit: seems you posted as I typed. Thanks for the update.

Kolbi 01-14-2011 10:53 AM

Quote:

Originally Posted by TheLastSuperman (Post 2148600)
Screens up, see first post attachments ;).

Edit: Ohh and hey Kolbi :D did not put the name with the name lol this migraine is killing me but spoke with you on messenger the other day I believe ;).

Hi, thanks for the screens :)
I don't really understand what you are trying to tell me :) English isn't my first language.

Ramsesx 01-14-2011 01:28 PM

Quote:

Originally Posted by OldSchoolDSL (Post 2148566)
I maybe missing the point....

I had hoped that this saved "custom edits"

More then often, when we update vBulletin... All our little "tweaks" need to be re-applied. I'd like to see a mod which would save those "tweaks" and then at a click of a button... Re-apply them.

That's what you are looking for (works on 4.x too)

COL NIL SATIS 01-14-2011 04:04 PM

tagged for install later

TheLastSuperman 01-14-2011 04:41 PM

Quote:

Originally Posted by COL NIL SATIS (Post 2149010)
tagged for install later

Well hey old buddy! Check out the mod Ramsesx posted above as well if you like this one, TMS is quite handy too imo!

COL NIL SATIS 01-14-2011 05:06 PM

Quote:

Originally Posted by TheLastSuperman (Post 2149035)
Well hey old buddy! Check out the mod Ramsesx posted above as well if you like this one, TMS is quite handy too imo!

Brilliant ,thanks Mike,will go check the other mods out now..top man :)

EquinoxWorld 01-15-2011 12:07 AM

I downloaded the file but all I get is the upload folder and no product file inside...any ideas?

EDITED: Just uploading the files and refreshing my admincp , the mod installed perfectly, no need to import product ! :)

Excellent Mod. Thank you!

TheLastSuperman 01-15-2011 01:01 AM

Quote:

Originally Posted by EquinoxWorld (Post 2149223)
I downloaded the file but all I get is the upload folder and no product file inside...any ideas?

EDITED: Just uploading the files and refreshing my admincp , the mod installed perfectly, no need to import product ! :)

Excellent Mod. Thank you!

Equinox,

LOL I had a terrible migraine the day I uploaded this and for some reason sure enough I explained in the mod description to install the xml rofl... I've updated the mod description and removed that reference, it's only two files to upload then a refresh.

EquinoxWorld 01-15-2011 02:03 AM

Quote:

Originally Posted by TheLastSuperman (Post 2149240)
Equinox,

LOL I had a terrible migraine the day I uploaded this and for some reason sure enough I explained in the mod description to install the xml rofl... I've updated the mod description and removed that reference, it's only two files to upload then a refresh.

lol I've had those days myself, no worries. Truly great help this mod provides. :) Thanks again.

Taurus1 01-16-2011 07:23 AM

I used this mod for the first time today after installing a new skin. It took me about 3 minutes, instead of the 3 hours of template edits. I want to again thank you for a fantastic mod!!

TheLastSuperman 01-16-2011 05:14 PM

Quote:

Originally Posted by EquinoxWorld (Post 2149263)
lol I've had those days myself, no worries. Truly great help this mod provides. :) Thanks again.

Quote:

Originally Posted by Taurus1 (Post 2149885)
I used this mod for the first time today after installing a new skin. It took me about 3 minutes, instead of the 3 hours of template edits. I want to again thank you for a fantastic mod!!

Not to sound like a clueless teenager but...

"I know, Right? Like this makes things soooo easy!"

All thanks go to Dream, he created it originally and was so awesome for marking it as re-usable code!

sweetpotato 01-18-2011 03:51 PM

It seems very useful, I'll try it for my vb 4.1.1

RK KINGKONG 01-21-2011 05:21 AM

thank you DREAM , SUPERMAN & MIGRAINES , for a skin lover like myself , having too many can suck really bad when it comes to all the editing ... this is awesome , thank you gentlemen

VB 4.1.1

TheLastSuperman 01-21-2011 02:42 PM

I also found it quite useful when editing styles as I have quite a few to work on regularly and this makes it easy to export then import from site to site as well, no need to export an entire style when I can export one template then import and done!

Phaedrus 02-28-2011 09:28 PM

Tagged for later install.

OldSchoolDSL 03-08-2011 11:18 PM

Quote:

Reason ;

Updated!

Corrected array_merge in code example:

PHP Code:

$ctemplates["$_REQUEST[dostyleid]"] = array_merge($ctemplates["$_REQUEST[dostyleid]"], $rtemplates["$_REQUEST[dostyleid]"]); 

Should have read:

PHP Code:

$ctemplates["$_REQUEST[dostyleid]"] = array_merge((array)$ctemplates["$_REQUEST[dostyleid]"], $rtemplates["$_REQUEST[dostyleid]"]); 

Please download the new .zip, extract and then upload the contents of the "upload" folder to your forum root and enjoy!

Sincerely,

Michael Miller
Installed the updated version and working

4.1.2 :)

(Still not sure the value of this, but I've kept it so far)


All times are GMT. The time now is 10:57 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
  • Page Generation 0.01464 seconds
  • Memory Usage 1,863KB
  • 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
  • (4)bbcode_code_printable
  • (2)bbcode_php_printable
  • (27)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete