grincho
Forum Replies Created
-
Forum: Plugins
In reply to: [Advanced Editor Tools] TinyMCESame problem here after updating to 4.9.1. like solutiondriven mentioned.
Forum: Plugins
In reply to: [Search Exclude] options runs in ‘Allowed memory exhausted’Closed.
Forum: Plugins
In reply to: [Search Exclude] options runs in ‘Allowed memory exhausted’Hello,
I changed my mind about the filter hook solution, as someone pointed me to this solution. So for everybody who is looking for changing the search parameters for the options page, here you go.
If options page of Search Exclude is called add an Codex WP pre_get_posts:
if (isset($_GET['page']) && $_GET['page'] === 'search_exclude') { add_action('pre_get_posts', __CLASS__ . '::pre_get_posts'); }Function to modify search parameters:
public function pre_get_posts($query) { $query->set('post_type', 'page'); }This solution requires no changes in the plugin code.
@roman: if you’re still interested on a filter hook, I can make the PR just let me know.Forum: Plugins
In reply to: [Search Exclude] options runs in ‘Allowed memory exhausted’Hello Roman,
I will send you an PR toady to fix this and give developers some more options on the query.
Greetings
christophForum: Plugins
In reply to: [Search Exclude] options runs in ‘Allowed memory exhausted’Great, thank you @pronskiy
If you need more information don’t hesitate to ask.Forum: Hacks
In reply to: Copy data into table / multidimensional arrayHi Ross,
used your example for updating the table. Thanks to you I have a better solution.
Forum: Hacks
In reply to: Copy data into table / multidimensional arrayHi Ross,
I am real sorry for the late answer, a lot of work atm.
A BIG thanks for your reply, I will check it out later when I fix the update function for the editable grid. Your solution will come in handy, looks safer as mine.Later.
Forum: Hacks
In reply to: Copy data into table / multidimensional arraySolved the problem with
$wpdb->query(INSERT INTO user(wpUserId, email) SELECT ID, user_email FROM {$wpdb->users} GROUP BY ID;)Yeah I think this is not a really safe way doing it but I am short on time. Maybe someone has a hint.
Forum: Hacks
In reply to: Include editablegrid into WordPress dramaAfter one day ignoring it, I managed it to track it down.
So work goes on …Forum: Hacks
In reply to: Include editablegrid into WordPress dramaEdit: changed the js snippet code in the site. Formatted for better reading:
<script> var datagrid = new DatabaseGrid(); window.onload = function() { jQuery("#filter").keyup(function() { datagrid.editableGrid.filter(jQuery(this).val()); }); jQuery("#showaddformbutton").click( function() { showAddForm(); }); jQuery("#cancelbutton").click( function() { showAddForm(); }); jQuery("#addbutton").click(function() { datagrid.addRow(); }); }; </script>Have a similar problem here.
Sometimes the save button is no reloaded or the the drop down functionality for editing isn’t working.
4.2.3