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)
-   -   Administrative and Maintenance Tools - Template Modification System (https://vborg.vbsupport.ru/showthread.php?t=152931)

Akyeame Kwame 08-14-2013 02:23 PM

Quote:

Originally Posted by Andreas (Post 1314430)
The '1 Out-of-Date Template Modifications found' message can safely be ignore - it's just a little bug.
To fix it: Delete the plugin 'Veraltete Template-modifikationen suchen' on Hook admin_index_main1.
Afterwards, import the attached plugin XML.
That should fix it.

I see this was recommended a long time ago. Is this still the recommended method for more recent versions of VB or are they actually out of date. If they are out of date, how would one know what to edit specifically in the list to bring them up to date?

XGC Viper XI 09-13-2013 07:35 PM

This plugin is by far the best hack for vBulletin out there. This product makes custom modifications to templates extremely easy without actually modifying the actual templates. You can quickly disable the modifications when there is an issue. Most importantly, when updating the vBulletin updates, it is quick and painless. Then you can run the test to see if anything is broke and you can quickly fix. If there was a star system of 1 to 5. I would rate this as a 10.

Works great on 4.2.1

turbosatan 12-16-2013 10:23 AM

anyone tried / used this on 4.2.2 ?

Its my favourite plugin for VB. saves so much time after upgrades etc but would love to know if its going to work on 4.2.2 before spending too much time on it. If not ill try it out and give feedback for everyone.

Alan_SP 12-17-2013 09:57 AM

I know it's not answer to your question, but I'm using it on 4.2.0.

K!nG 12-19-2013 03:37 AM

Quote:

Originally Posted by turbosatan (Post 2468631)
anyone tried / used this on 4.2.2 ?

Its my favourite plugin for VB. saves so much time after upgrades etc but would love to know if its going to work on 4.2.2 before spending too much time on it. If not ill try it out and give feedback for everyone.

I would like to know the same from someone. @turbosatan if you end up trying it please leave your feedback for the rest which includes me as well :)

Thanks.

Phaedrus 12-29-2013 06:01 AM

It doesn't appear to work in 4.2.2...

I get an errror: Unable to add cookies, header already sent. and that it was trying to create something from value zero on line 20...

Phaedrus 01-21-2014 05:41 AM

On Version 4.2.2

I rem'd out line 20 in the forums/admincp/templateedits.php file and it now works again.

Right as rain...

This:
Code:

// double output buffering does some weird things, so turn it off
define('CVS_REVISION', '$RCSfile$ - $Revision: 146 $');
define('NOZIP', 1);
$vbulletin->nozip = true;

Became this:
Code:

// double output buffering does some weird things, so turn it off
define('CVS_REVISION', '$RCSfile$ - $Revision: 146 $');
define('NOZIP', 1);
//$vbulletin->nozip = true;


Phaedrus 01-21-2014 06:04 AM

Fantastic... It works just like it used to with that one minor change. Awesome.

So far... I'm sure there's some hidden surprises. However I can now save templates again, and they work. I was able to edit for the changes on 4.2.2 and get all my stuff working again. Not too shabby overall.

Phaedrus 01-27-2014 04:03 AM

Okay, update. While this works to make template changes in 4.2.2, if you do what I listed above, you will need to disable it if you make a new style or if you load a new style, then afterward resave each edit in the Master. It's a pain, but it worked that way but I could not create a style or upload a style without disabling TMS.

Maybe, if I have the time, I'll dig into this mod and see if I can update it, but Andreas was one of the best and it is likely he'd be necessary to fix this thing for 4.2.2. You can have it working in a way, but it isn't perfect.

Alan_SP 01-28-2014 12:38 AM

Yes, Andreas made some great mods, this one is what every advanced (or not so advanced :D) forum owner should use.

I asked at DBTech if they would make their own version, but for now it's still somewhere in the air. Anyway, if you would continue to support it, it would be really great. :up:

Marv 03-05-2014 05:31 PM

Hi all,
hi Andreas.

I am running TMS since a few years and hadn?t touched it in the last year. End of february I?ve tried to do a little template change and noticed the same day here on vb.org, that TMS has an update and a patch available, so I?ve installed them first.

Since this moment TMS wasn?t working proper anymore, means: I couldn?t do new changes. Even though the changes I?ve made before the update seemd to work as before.

Today I had to learn it the hard way, to never change a running system: I had a look at my AdSense-Account and I was shocked about the loss of clicks and revenue. Costs for site and server are barely covered by the revenue and the loss of 70% clicks was some kind of wake-up call.

It took a while to notice, that 2 custom ad-placements I have created years ago were gone. They are still in the TMS and TMS tells me, they are working - but they don?t. The error message is saying:
Quote:

A curly bracket wasn?t closed. Do you have inserted a curly bracket without content between ( {} )? If so, enclose the complete code with <vb:literal>Your code</vb:literal>.
Has anyone an idea, what I can do now?

I?m now in a situation, that I can?t do changes to the showthread template. Wether through TMS nor through direct template edits. It always displays this error message as shown above. Even when trying to save the original non-altered showthread template.

-- Edit--

Problem solved.
This error occured because of this mod: https://vborg.vbsupport.ru/showthread.php?t=308620 . It?s now in the graveyard for a good reason (the idea sounds promising though, but the code has to be rewritten). For the other 3 who have that addon installed - after you have uninstalled this addon you HAVE TO revert your SHOWTHREAD template or you will have the risk of code fragments still sitting in the SHOWTHREAD template. The uninstall routine hadn?t worked properly in my installation and left changes in the template that caused that error. May be one of the mods could attach this info to the Addon in the graveyard.

BirdOPrey5 03-06-2014 08:11 PM

Quote:

Originally Posted by Marv (Post 2485241)
Problem solved.
This error occured because of this mod: https://vborg.vbsupport.ru/showthread.php?t=308620 . It?s now in the graveyard for a good reason (the idea sounds promising though, but the code has to be rewritten). For the other 3 who have that addon installed - after you have uninstalled this addon you HAVE TO revert your SHOWTHREAD template or you will have the risk of code fragments still sitting in the SHOWTHREAD template. The uninstall routine hadn?t worked properly in my installation and left changes in the template that caused that error. May be one of the mods could attach this info to the Addon in the graveyard.

I'm glad revering the template helped you but I don't think the problem came from the Panda mod.

RavenDust 03-21-2014 09:26 AM

Quote:

Originally Posted by Phaedrus (Post 2475733)
On Version 4.2.2

I rem'd out line 20 in the forums/admincp/templateedits.php file and it now works again.

Right as rain...

This:
Code:

// double output buffering does some weird things, so turn it off
define('CVS_REVISION', '$RCSfile$ - $Revision: 146 $');
define('NOZIP', 1);
$vbulletin->nozip = true;

Became this:
Code:

// double output buffering does some weird things, so turn it off
define('CVS_REVISION', '$RCSfile$ - $Revision: 146 $');
define('NOZIP', 1);
//$vbulletin->nozip = true;


You could alway do the (kind of) right thing and do something like

Code:

// double output buffering does some weird things, so turn it off
define('CVS_REVISION', '$RCSfile$ - $Revision: 146 $');
define('NOZIP', 1);
$vbulletin = new stdClass();
$vbulletin->nozip = true;

That way you retain the original function of the code, but disable the warning. At least for php 5.4. I mean, this worked fine on my server. No guarantees^^

Phaedrus 04-07-2014 11:57 PM

Quote:

Originally Posted by RavenDust (Post 2488699)
You could alway do the (kind of) right thing and do something like

Code:

// double output buffering does some weird things, so turn it off
define('CVS_REVISION', '$RCSfile$ - $Revision: 146 $');
define('NOZIP', 1);
$vbulletin = new stdClass();
$vbulletin->nozip = true;

That way you retain the original function of the code, but disable the warning. At least for php 5.4. I mean, this worked fine on my server. No guarantees^^

This worked better than my cutthroat method/quick fix. Some day I'll have time to dig into this. I just don't know when someday is on the calendar.

Alan_SP 01-10-2015 06:57 PM

Does this extremely useful mod still works on vB4.2.2 and 4.2.3b? I see that there needs some lines of code to be modified.

How it works for you? I'm thinking about upgrading to 4.2.2 and this is important mod for my site.

Toorak Times 02-23-2015 11:24 AM

Quote:

Originally Posted by Alan_SP (Post 2531742)
Does this extremely useful mod still works on vB4.2.2 and 4.2.3b? I see that there needs some lines of code to be modified.

How it works for you? I'm thinking about upgrading to 4.2.2 and this is important mod for my site.


I'd like to know too Alan. How does it affect template changes made before installation?

Black Tiger 02-23-2015 11:47 AM

I'm wondering about this too. Best mod made ever which makes admin live lots easyer, especially when upgrading after a lot of changes.
It should have been bought by vB and implemented by default.

Alan_SP 02-23-2015 09:47 PM

Or some other developer start developing similar mod with same functionality and using same data format, for example DBTech. If only Andreas would keep supporting his great mods.

ndahiya 03-14-2015 09:57 PM

Quote:

Originally Posted by Alan_SP (Post 2531742)
Does this extremely useful mod still works on vB4.2.2 and 4.2.3b? I see that there needs some lines of code to be modified.

How it works for you? I'm thinking about upgrading to 4.2.2 and this is important mod for my site.

This still works great as of 4.2.3 b4.
Install the mod, install the patch (opening post), and then the one small change below.

ndahiya

Quote:

Originally Posted by RavenDust (Post 2488699)
You could alway do the (kind of) right thing and do something like

Code:

// double output buffering does some weird things, so turn it off
define('CVS_REVISION', '$RCSfile$ - $Revision: 146 $');
define('NOZIP', 1);
$vbulletin = new stdClass();
$vbulletin->nozip = true;

That way you retain the original function of the code, but disable the warning. At least for php 5.4. I mean, this worked fine on my server. No guarantees^^


Alan_SP 03-19-2015 04:07 PM

Thank you very much for your info. :up:

XGC Viper XI 08-07-2015 09:06 PM

Where do you put that code? Or is it code that you modify?

ilrglen 05-08-2016 08:03 PM

You state that "Versions up to and including 1.1.5 are compatible with vBulletin 3.6.X, 3.7.X and 3.8.X." How do I find and download a copy of version 1.1.5 for use with vBulletin 3.8.X?

cellarius 05-09-2016 05:00 AM

You simply download version 1.1.5 attachted to the very first post of this thread?

seb5594 01-20-2017 12:03 AM

Update for vB 4.2.3?
Would love to use TMS again!

cellarius 01-20-2017 04:51 AM

Then do it. Just apply the patch mentioned in the original post.

seb5594 01-21-2017 04:41 AM

Quote:

Originally Posted by cellarius (Post 2581114)
Then do it. Just apply the patch mentioned in the original post.

Well, installed base + patch and i've got following DB error when installing template modifications...

Code:

Database error in vBulletin 4.2.3:

Invalid SQL:

                SELECT t1.templateeditid AS templateeditid_1, t1.varname ,
t1.templateeditid AS templateeditid_1, t1.styleid AS styleid_1 ,
t2.templateeditid AS templateeditid_2, t2.styleid AS styleid_2
                FROM templateedit AS t1
LEFT JOIN templateedit AS t1 ON (t1.varname=t1.varname AND t1.styleid=-2)
LEFT JOIN templateedit AS t2 ON (t1.varname=t2.varname AND t2.styleid=2)
                WHERE t1.styleid = -1;

MySQL Error  : Not unique table/alias: 't1'
Error Number  : 1066
Request Date  : Saturday, January 21st 2017 @ 01:38:30 AM
Error Date    : Saturday, January 21st 2017 @ 01:38:30 AM
Script        : http://XXX.com/board/admincp/template.php?do=massmerge&product=purevb_add_css&hash=d0d2c7833a2e0207a40842741f0a87d2&redirect=index.php%3Floc%3Dplugin.php%253Fdo%253Dproduct
Referrer      : https://XXX.com/board/admincp/plugin.php?do=productimport
IP Address    : 127.0.0.1
Username      : ???
Classname    : vB_Database
MySQL Version : 5.5.52-cll-lve


Alan_SP 02-23-2017 03:50 PM

Did you apply small change described here: https://vborg.vbsupport.ru/showpost....&postcount=859

Andreas 04-22-2017 05:58 PM

Quote:

Originally Posted by Phaedrus (Post 2475733)
On Version 4.2.2

I rem'd out line 20 in the forums/admincp/templateedits.php file and it now works again.

Right as rain...

If $vbulletin, the global registry object, is not an object when this line is being executed, then smth, is seriouly broken on your installation.


Quote:

Originally Posted by RavenDust (Post 2488699)
You could alway do the (kind of) right thing and do something like

Code:

// double output buffering does some weird things, so turn it off
define('CVS_REVISION', '$RCSfile$ - $Revision: 146 $');
define('NOZIP', 1);
$vbulletin = new stdClass();
$vbulletin->nozip = true;


*eek*
Overwriting the registry is a really, really, really bad idea and could cause dangerous things.
I can't stress enough how much I'd recommend not to do that.

Besides that, TMS with patch as given in the first post works just fine on 4.2.3 (which is pretty amazing as the code is almost 5 years old), but could use some love to get up-to-date with current PHP versions.

MrZeropage 10-28-2018 07:15 PM

*solved* sorry

XGC Viper XI 04-25-2019 12:28 AM

Anyway to get this updated for 4.2.5 since that is the last version of 4 and most like with outlast vB5 since it is all kinds of broke with no light at the end of the tunnel.


All times are GMT. The time now is 10:32 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.02379 seconds
  • Memory Usage 1,825KB
  • 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
  • (9)bbcode_code_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (30)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