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)

Andreas 05-01-2008 01:16 PM

No, sorry.
I don't have access to a Mac so I can't test it either.

You did upload the fixed JavaScript files?

dancue 05-01-2008 02:03 PM

I believe I did. That's fine. I don't mind opening FF instead.

Andreas 05-03-2008 03:37 PM

The 1.1.1 package is almost ready to be released.
Just wating to see if I introduced any new bugs ;)

Mosh 05-07-2008 12:17 AM

Hi Kirby,

Can you please tell me how one go about dealing with usergroup permissions, in conjunction with this hack?

What I mean is that if I want the template edits to display to only certain usergroups, with normal template injections I would just put conditionals in a hook and check against the current user's $bbuserinfo.

Where usergroup permissions for the template changes are not needed, I have not problems with TMS (I even release a small hack with it today for v3.7.0), but getting usergroup permissions to work is not as easy as it looks.

Thanks in advance,

Mosh :)

jojo77 05-07-2008 07:29 PM

is a version for 3.7 coming anytime soon? I'm waiting for this before I install other mods. thanks.

dancue 05-07-2008 09:54 PM

Quote:

Originally Posted by jojo77 (Post 1511954)
is a version for 3.7 coming anytime soon? I'm waiting for this before I install other mods. thanks.

I've been using this on 3.7 and it is working perfectly fine.

dancue 05-07-2008 10:19 PM

Andreas,
I don't know how open you are to suggestions, but I'd like to make two requests for a future release.

1 - A "Save and Reload" button
2 - A Preview Button allowing you to preview the changes you've made.

Vinyljunky 05-08-2008 04:29 PM

Installed and working on VB 3.7 :up:

Brilliant Mod!

Thank You

VinylJunky

dartho 05-09-2008 01:31 AM

Just upgraded my 3.6 board to 3.7, with TMS in place before the upgrade = EASIEST UPGRADE EVER!!

Andreas 05-09-2008 09:02 AM

Quote:

Originally Posted by jojo77 (Post 1511954)
is a version for 3.7 coming anytime soon? I'm waiting for this before I install other mods. thanks.

This is the 3.7 version.

Andreas 05-09-2008 09:06 AM

@Mosh
I don't understand your question, sorry.
Design your template edits without TMS in mind (eg. how you would be doing them manually), write down (or just keep in mind) the instuctions (search, replace, ...) - than go into TMS and paste the strings. Done.

@Dancue
Save & Reload sounds like a good idea :-)
What exactly do you want to 'preview', the template as it would look like before compilation?

dancue 05-09-2008 11:36 AM

Quote:

Originally Posted by Andreas (Post 1513573)
What exactly do you want to 'preview', the template as it would look like before compilation?

The best example I could give you is Dreamweaver. How you can split the screen to show the code and the layout. If you make a change to the code, you click on refresh to view the changes in the layout.

I ask about this because there are times that I like to take a look at the changes I'm doing in order to get a better idea of what changes I need to make. Right now I have to try it on a test forum, open a new tab, open the site and click refresh after every edit to see if I've achieved the look I wanted.

I don't know how difficult this would be, so excuse me if I've asked for the impossible.

I imagine there would have to be another input box for the user to input the url address of the affected page(s).

Andreas 05-09-2008 12:01 PM

TMS has no idea where a certain template is being used, so 'previewing' the resulting frontend output isn't really possible.

Asking the user for an URL would be possible, but where is the advanted over just opening another tab for that?

dancue 05-09-2008 12:51 PM

You could make changes on a site without having to disrupt anything. It would make it convenient to use for those of us who "experiment" with templates because we are not coders. Things tend to go bad every once and a while...:)

In other words the user would go through the regular process of inputing the strings of code, but before they hit the save button they hit the preview button which will give them a view of the changes without actually posting it through yet.

Icy 05-09-2008 01:20 PM

Quote:

Originally Posted by Andreas (Post 1504462)
I think i'll also add an auto-rebuild function after vBulletin upgrades.

Thank you Andreas :)

Saint_ago 05-09-2008 05:23 PM

Quote:

Originally Posted by Black Tiger (Post 1458546)
Oke, otherwise I could pm Andrea.

Now I've got another problem. I just logged in to my ACP and see a notice that wasn't there before it has this headline:

And this is the content of the notice:

But when I use the test function (it's clickable in this notice) all 3 template edit i made so far has a "v" in the circle, meaning they are ok.

So now I don't know what the problem is. Nore why it's giving this notice.

I could try and disable them one by one to see which one is giving the problem, but I wonder why this notice was not given yesterday after I implemented them.

Or could this notice appear because I'm using vb 3.7.0 beta 5 and TMS is not recognizing things?

I'm having the same problem here. I've deleted all modifications and the message still remains!

When i click "Test Template-Modifications", the message "No Template-Modifications could be found for this product." appears.

Using 3.7.0 Gold

Black Tiger 05-10-2008 03:43 AM

My problems are long gone.:)
You did make TMS template edits didn't you? If not, then it's working as designed.
There is nothing to test if no TMS templates are added.

Icy 05-10-2008 05:46 AM

Quote:

Originally Posted by Saint_ago (Post 1513990)
I'm having the same problem here. I've deleted all modifications and the message still remains!

When i click "Test Template-Modifications", the message "No Template-Modifications could be found for this product." appears.

Using 3.7.0 Gold

Wondering why didn't you see the solution just after the Black Tiger's post :S

BigDog56 05-10-2008 05:29 PM

The proplem I have after updating is when i go to Template-Modifications Manager, hit "go" on any of them, nothing happens... I cannot add ant new mods, or modify any.

dancue 05-10-2008 06:25 PM

Quote:

Originally Posted by BigDog56 (Post 1515131)
The proplem I have after updating is when i go to Template-Modifications Manager, hit "go" on any of them, nothing happens... I cannot add ant new mods, or modify any.

Are you using Safari? This issue has been mentioned in this thread before. You cannot use Safari. Try FF or IE

BigDog56 05-10-2008 06:55 PM

Quote:

Originally Posted by dancue (Post 1515176)
Are you using Safari? This issue has been mentioned in this thread before. You cannot use Safari. Try FF or IE

Nope. using IE
EDIT. Just tried it in fire fox and it works. Go figure. But not IE

TsirhCitna 05-11-2008 03:06 AM

I just installed this and I'm getting a lot of SQL errors. Here is the one I get if I try to uninstall TMS:

Code:

Database error in vBulletin 3.7.0:

Invalid SQL:

            SELECT templateid, searchstrregex, replacestr
            FROM vb3_templateedit AS templateedit
            INNER JOIN vb3_templateeditlocation AS templateeditlocation ON (templateeditlocation.varname=templateedit.varname)
            INNER JOIN vb3_template AS template ON (template.title=templateeditlocation.template)
            LEFT JOIN vb3_style AS style ON (style.styleid=template.styleid AND FIND_IN_SET(templateedit.templateeditid, style.templateeditlist))
            LEFT JOIN vb3_product AS product ON (product.productid=templateeditlocation.product)
            WHERE (NOT ISNULL(style.styleid) OR (templateedit.styleid=-1 AND template.styleid=-1))
                AND (product.active=1 OR templateeditlocation.product='vbulletin')
                AND templateedit.active = 1
               
               
            ORDER BY searchorder ASC;

MySQL Error  : Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (latin1_general_ci,IMPLICIT) for operation '='
Error Number  : 1267
Request Date  : Saturday, May 10th 2008 @ 11:06:14 PM
Error Date    : Saturday, May 10th 2008 @ 11:06:14 PM
Script        : http://www.tenstones.net/forums/admincp/plugin.php?do=productkill
Referrer      : http://www.tenstones.net/forums/admincp/plugin.php?do=productdelete&productid=tms&s=
IP Address    : 65.25.2.41
Username      : Bob
Classname    : vB_Database
MySQL Version : 4.1.22-standard


Andreas 05-12-2008 05:22 AM

@TsirhCitna
The character sets used in your DB are not consistent (latin1_swedish_ci vs. latin1_general_ci).
You have to correct that.

@BigDog56
I assume you did install the fixes as well?

BigDog56 05-12-2008 01:11 PM

I presume I did, but will double check when I get back home.

redraider 05-12-2008 04:57 PM

Any changes or updates for 3.7 ?

Andreas 05-12-2008 04:59 PM

There will be planned update soon, but it isn't exactly necessary - TMS works fine on 3.7. as-is.

Boofo 05-12-2008 05:41 PM

Any idea how soon?

PGAmerica 05-12-2008 08:26 PM

1 Attachment(s)
Quote:

Originally Posted by Andreas (Post 1517442)
There will be planned update soon, but it isn't exactly necessary - TMS works fine on 3.7. as-is.

Well, I put that to the test and installed this in my 3.7.0 system. Now my menus do not work and my ACP screen is all fubarred. I cannot even get to the option to uninstall this. I included a screencap of my current ACP screen.

Since I cannot get to the "Uninstall" option in the ACP, How do I either uninstall this or fix it?

Black Tiger 05-12-2008 09:02 PM

You can't click "Go" next to the uninstall of the TMS system in the ACP (2nd screenshot)?
I also don't think it's TMS which fubarred your forums but the combination of 2 mods. I also see in there the "Let php level" mod and my guess is that TMS and the "Let PHP level" mod are conflicting with each other some way, which caused the problem.

I've had about 20 mods on my 3.6.8 forums when I installed TMS. I upgraded to 3.7.0, no problems, and I'm also running vBA like you do.
So that's why I think the 2 named mods are conflicting.

PGAmerica 05-12-2008 09:13 PM

That may very well be, but the problem still is that I cannot click the "Go" button to uninstall any mods at all. I need to know how to uninstall this mod so I can fix the conflict.

dartho 05-12-2008 09:28 PM

Disable the plugin system. Edit your config.php file, and add
PHP Code:

define('DISABLE_HOOKS'true); 

on its line directly under the <?php. ie. insert as a new line on line 2. Then you should be able to disable/uninstall mods

dancue 05-12-2008 09:31 PM

Quote:

Originally Posted by PGAmerica (Post 1517662)
That may very well be, but the problem still is that I cannot click the "Go" button to uninstall any mods at all. I need to know how to uninstall this mod so I can fix the conflict.

Use firefox, the go button seems to not be working on Safari or IE. (IE without the fix)

PGAmerica 05-12-2008 09:36 PM

Quote:

Originally Posted by dancue (Post 1517678)
Use firefox, the go button seems to not be working on Safari or IE. (IE without the fix)

I have tried this in IE, Firefox and Safari. I have tried it on my PC as well as my Mac. Same thing in all environments.

Quote:

Originally Posted by dartho (Post 1517676)
Disable the plugin system. Edit your config.php file, and add
PHP Code:

define('DISABLE_HOOKS'true); 

on its line directly under the <?php. ie. insert as a new line on line 2. Then you should be able to disable/uninstall mods

I followed your instructions and I still cannot get any reaction by pushing the "Go" button. Nothing at all.

The top 8 lines of my config.php file look like this.

<?php
define('DISABLE_HOOKS', true);
/*================================================= =====================*\
|| ################################################## ################## ||
|| # vBulletin 3.7.0 - Licence Number 15455617
|| # ---------------------------------------------------------------- # ||
|| # All PHP code in this file is ?2000-2008 Jelsoft Enterprises Ltd. # ||
|| # This file may not be redistributed in whole or significant part. # ||

dancue 05-13-2008 12:52 PM

Am I the first to install the new upgrade?

Nice! Thanks Andreas!

I assume the upgrade process is the same as installation?

Mosh 05-13-2008 01:09 PM

Quote:

Originally Posted by dancue (Post 1518231)
Am I the first to install the new upgrade?

Nice! Thanks Andreas!

I assume the upgrade process is the same as installation?

Nope, that would have been me.

And yes, the upgrade process is the same, upload and overwrite all the files, import the product, then you are all done.

I have come across no problems so far :)

dancue 05-13-2008 01:21 PM

lol...darn...

Thanks mosh!

PGAmerica 05-13-2008 02:16 PM

Quote:

Originally Posted by PGAmerica (Post 1517680)
I followed your instructions and I still cannot get any reaction by pushing the "Go" button. Nothing at all.

Is there any answer to my problem? My entire ACP is practically useless right now.

Andreas 05-13-2008 02:25 PM

The answer is: I don't know nor can I do anything as the problem ist not reproducable.

Feel free to send me a PM with an ACP login and i'll take a look, otherwise I suggest to not use this mod if it causes problems for you.

PGAmerica 05-13-2008 02:33 PM

I cannot choose to not use this mod as it cannot be uninstalled. All I am looking for is a way to remove it so I can figure out what is causing the problem. Clicking the "Go" button will most likely call an exact url that will uninstall it. Do you have any idea howI can do this?

Andreas 05-13-2008 02:37 PM

See post #311.

If this doesn't help you are SOL as I can't help any further without ACP access.


All times are GMT. The time now is 01:45 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.02143 seconds
  • Memory Usage 1,834KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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