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)

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 06:56 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.02137 seconds
  • Memory Usage 1,737KB
  • 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
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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