Forum Replies Created

Viewing 15 replies - 1 through 15 (of 36 total)
  • Plugin Author vmallder

    (@vmallder)

    Hello,

    I’m sorry you are experiencing this problem.

    To start, let’s have you try a couple of things, see if they work, and then tell me what the results are.

    First, deactivate all of your plugins except tablemaster and see if the problem still occurs.

    Second, if the problem still occurs, switch your theme to the 2016 theme and leave all plugins deactivated except for tablemaster.

    Third, please check to see what version of PHP your host server is running. And then check which version of PHP the other server (the server where the activate error does not occur) is running and let me know what you find.

    Is there a way that I could access your site and see the error? Can you send me a link to it?

    And lastly, is there a way that I could download your site and test it myself? For example, if I gave you access to my google drive, could you zip up your site and copy it to my google drive?

    All of this information will be very helpful to me. Please keep in mind though, this is a regular work day for me, so I will not be able to do any real investigation until I get home later this evening. But hopefully your answers to these questions will help to pin point the problem.

    Plugin Author vmallder

    (@vmallder)

    Hi Jan,

    That’s very interesting. I chose that method because I have seen it used in other plugins. But I can’t say that I have tested it with a theme update. I will look into that. Thanks for bringing it to my attention. But, here’s an alternative you can use in the tablemaster shortcode itself.

    Try adding the “css” keyword to the table shortcode like this:

    css=”.red-header-only tr td:nth-child(odd){background: #b8d1f3;} .red-header-only tr td:nth-child(even){background: #dae5f4;}”

    Of course, replace the css selector and the color codes with the colors you want.

    Valerie

    Plugin Author vmallder

    (@vmallder)

    Hi Karen,

    This plugin will generate the HTML to display a table on a page. So, I am not sure what you are asking for. Can you give me a few more details about your question and maybe an example of what you’d like to do?

    Thanks,
    Valerie

    Plugin Author vmallder

    (@vmallder)

    Hello,

    Yes, you are correct. You can do this with CSS. You will need to make a local copy of the tablmaster.css file in your theme folder. If there is no ‘css’ folder inside your theme folder then you will need to create one. Then, copy wp-content/plugins/tablemaster/css/tablemaster.css to wp-content/themes/<your theme>/css/tablemaster.css.

    Then, edit the tablemaster.css file to set the background color for the cells in alternate columns. It appears you are not currently using tablemaster for the tables on the site at the link you provided. So, if you want to use the default table styling you would add this to the tablemaster.css file:

    [ Moderator note: code fixed. Please wrap code in the backtick character or use the code button. ]

    /*  Define the background color for all the ODD table columns  */
    	#table tr td:nth-child(odd){
    		background: #b8d1f3;
    	}
    	/*  Define the background color for all the EVEN table columns  */
    	#table tr td:nth-child(even){
    		background: #dae5f4;
    	}

    If you wanted to use one of the styles provided with tablemaster, you could do this instead: For example if you were using the ‘red-header-only’ class

    /*  Define the background color for all the ODD table columns  */
    	.red-header-only tr td:nth-child(odd){
    		background: #b8d1f3;
    	}
    	/*  Define the background color for all the EVEN table columns  */
    	.red-header-only tr td:nth-child(even){
    		background: #dae5f4;
    	}

    Where you place these statements in your local tablemaster.css file in relation to the other CSS statements for the class is important. Be sure to place these statements at the end of the all the statements for the class so that they are applied after all of the other statements are applied.

    Good luck,

    Valerie

    Forum: Plugins
    In reply to: [TableMaster] SQL data sort
    Plugin Author vmallder

    (@vmallder)

    Hi Megadrive16,

    I’m so glad you are happy with my plugin. TableMaster is my first plugin and it’s nice to know that it is helpful to you. With the newest release 0.0.3, you should use the new keyword “default_sort” and set the value to “false” for any tables that you do not want to use the default sorting that the DataTables jQuery plugin uses. So, just add default_sort=”false” to your shortcode for those tables.

    If you have any other suggestions for new features that would be nice to have in the plugin, please let me know. ??

    Forum: Plugins
    In reply to: [TableMaster] SQL data sort
    Plugin Author vmallder

    (@vmallder)

    Hello Again,

    I believe I have found the fix for this problem. I will include this fix in the next release. But in the meantime, you can make the following change in the code and use the fix right away.

    Edit the file “tablemaster.php” and go to line 716. Add a comma ‘,’ at the end of line 716. And insert a new line after line 716 that contains the following:

    ‘aaSorting’ => ‘”aaSorting”:[]’

    So, your new lines 716 and 717 should look like this:

    ‘responsive’ => ‘”responsive”:true’,
    ‘aaSorting’ => ‘”aaSorting”:[]’

    Please let me know if this works for you.

    Valerie

    Forum: Plugins
    In reply to: [TableMaster] SQL data sort
    Plugin Author vmallder

    (@vmallder)

    Good Morning megadrive16,

    Thank you for writing to me to tell me about this problem. I am very happy that you like the TableMaster plugin :), and I will look into this problem today and get back to you.

    Valerie

    Thread Starter vmallder

    (@vmallder)

    Ahhh, Thank you James. I was so focused on getting the stable version in the readme.txt file set correct that I missed this error in the main plugin file. I know I *knew* to change that version number too, but I just forgot to do it. Thanks so much, mystery solved. I will make this change tonight.

    All the best,
    Valerie

    Thread Starter vmallder

    (@vmallder)

    Thanks Andrew for such a quick response! That’s awesome!

    Forum: Plugins
    In reply to: [TableMaster] Link
    Plugin Author vmallder

    (@vmallder)

    Hi Cedric,

    I hope you are doing well. I’m glad those keywords worked for you. If you would like to open the link in a new window or new tab (depending on your browser settings), you could make a small change to a line of code in the tablemaster.php file.

    Open the tablemaster.php file in a text editor, hopefully a text editor that will show you the line numbers, and go to line 607. Line 607 currently looks like this:

    $output .= $td.'<a style="color:blue;text-decoration:underline;" href="' . $row[$links[$n]] . '">' . $row[$n] . '</a></td>';

    On line 607, insert this text right after the <a, and before the word ‘style’

    target="_blank"

    And so line 607 would end up looking like this:

    $output .= $td.'<a target="_blank" style="color:blue;text-decoration:underline;" href="' . $row[$links[$n]] . '">' . $row[$n] . '</a></td>';

    I could add this as an option to open links in a new window in the next release. And I will look into how to open the link in a popup. I believe I need to add some javascript to open the link in a popup. But I shall look into it. Thanks for the idea!

    Valerie

    Forum: Plugins
    In reply to: [TableMaster] Link
    Plugin Author vmallder

    (@vmallder)

    Hi Cedric,

    Thank you for sending your question. Yes, I think it would be possible. In fact, it might already exist. There are two additional keywords that the plugin can accept but I have not documented them yet. I plan to do that for the next release. But they might be helpful for you so I will explain them here.

    If you have a column in your table that contains the label you want to print for your link, and if you have a column in your table that contains the target for the link, then you can use the “link_labels” and “link_targets” keywords.

    Let’s say you have a column named columnX that contains the text “Click here for more info”.

    And lets say you have a column named columnY that contains “https://link-to-popup&#8221;.

    Then, in the tablemaster shortcode you could use these two keywords like this:

    link_labels=”columnX” link_targets=”columnY”

    And then TableMaster would print just one column that contains:

    Click here for more info

    Please let me know if this is helpful. And if not, then please give me a little more detail on what you are looking for and I will look into it.

    Thanks,
    Valerie

    I found the solution to my particular problem. I doubt this will help anyone else, but I will fill you in anyway.

    I keep a copy of each plugin in my own svn repository, and when I downloaded the latest version of this tinymce advanced plugin, I committed it to my repository but I forgot to add the new files that were distributed with the new version to my svn repository. So, when I updated my production site with the new version of the plugin, I only updated the files that already existed and did not pull in any of the new files that were added.

    Once I got all of that straightened out, everything is working just fine for me in both my development site and production site.

    Hopefully no one else made the same mistake that I did.

    Good luck!

    Exact same thing happened to me after updating to WordPress 3.9.1. For someone reason though, on my development site I was able to get the problem to go away and I don’t know how I did it. I think it has something to do with, maybe, a of conflict with other plugins, and the order in which plugins are activated may be important. But I cannot say for sure. I still have the problem on my production site though, because I am not free to activate and deactivate plugins at will there. And, I don’t really want to “experiment” with my development site by activating and deactivating plugins there, because I don’t want the problem to come back on that site.

    If anyone finds a solution, please post a reply. Right now I have this plugin deactivated on my production site. Otherwise, I would not be able to edit any posts on that site.

    Thanks!

    Thread Starter vmallder

    (@vmallder)

    Hi Samuel,

    I have a shared hosting account, and I have pagespeed turned on for this site. With pagespeed turned on there is a noticable improvement in front end peformance, but no change in backend peformance. In addition, I had tried a VPS account on trial, but there was no change in backend performance there either.

    What kind of account do you have on DH?

    Thread Starter vmallder

    (@vmallder)

    Thanks for your reply Rob,

    Unfortunately, I have been there, done that, several times. One week I chatted with support four nights in a row. Same excuses, you have too many plugins (so I removed some), you should have only one user for each domain/subdomain (so I did that). During each chat, they finally restarted the apache instance and then the pages load normally. This happens over and over again. I requested to be moved to a new server, but since I had one day of good performance, the support person is hesitant to move me for fear I will have the same problem on another server. I will be leaving Dreamhost as soon as I find the time to search for another hosting company.

    p3-profiler showed one plugin using more memory than the others, but nothing substantial. Using 5.3 fast cgi. First attempt using 5.4 fast cgi identified a couple of new php warnings in my code so I defaulted back to 5.3 to keep the site up. But, I am addressing the warnings on my localhost (because it takes hours to do any kind of “development” and “testing” on the Dreamhost server”.

    But what I am really looking for right now is the technical details of what WordPress is doing when the edit page is trying to load or when the “update” button has been pressed. Does wordpress reload every plugin when you are editing or saving a page? I am trying to understand what WordPress is doing behind the scenes, so that I can have a better understanding of how my website is interacting with WordPress when WordPress is performing these types of operations. Before I go to the hassle of moving to another hosting company, I want to make sure I have covered all of my bases and there isn’t something obvious in how my code is interacting with WordPress that, if changed, would improve the performance during these operations.

    So, still looking for the answer ….

Viewing 15 replies - 1 through 15 (of 36 total)