Hi gnappo,
as far as I know, PO does not support wildcards. If I remember correctly, this would have a negative effect on performance.
Alternatively, you can create a plugin group with the plugins you want to turn off.
Then you have to create a filter for each URL and deactivate the group there.
Thread Starter
gnappo
(@gnappo)
ok i will try and thanks 4 the “workaround” suggestion
Thread Starter
gnappo
(@gnappo)
ok i have tried creating the group as u suggested, so the issue of the ID of the gravity form http://mydomain.com/wp-admin/admin.php?page=gf_entries&id=63 is solved, how i can create a similar things for single entry user that signed through gravity form?
i mean to have the same plugin group activated on url like this
http://mydomain.com/wp-admin/admin.php?page=gf_entries&view=entry&id=63&lid=2047&orderby=ASC&filter&paged=1&pos=0&field_id&operator where the bold part dynamically change for each entry and i can not insert an URL for each single entry.
How i can do that?
Hi gnappo,
as described above, I think it can only be added manually.
The only thing you can do (if you have a little programming experience) is to trigger the creation of a new entry (Gravity Forms has a lot of hooks you can use) and then automatically write a corresponding entry into the PO database table.
Look in the table “$wpdb->prefix . po_plugins” to see the needed structure.
In the file “/plugin-organizer/lib/PluginOrganizer.class.php” on line 156 you can see how to insert an entry into the PO database table..
All you need to do is to copy your source filter and insert it with the corresponding permalink and it hashes..
Thread Starter
gnappo
(@gnappo)
ok thank you for the suggest. 🙂
I just submitted version 8.0. In this version you can add multiple permalinks to a plugin filter and you can use a wildcard in the permalink. The wildcard is limited to one piece of the url structure. So you can have a permalink like http://www.dssdfgsdfg.com/some/pretty/permalink/ and have a plugin filter with the permalink http://www.dssdfgsdfg.com/some/*/permalink/ that will match it.
Hi Jeff,
When you say “one piece of the url structure”, does that mean everything between the forward slashes, or can the wildcard be appended to a portion of the url, such as what the op here was needing?
Example: http://mydomain.com/wp-admin/admin.php?page=gf_entries&view=entry&id=63&lid=2047&orderby=ASC&filter&paged=1&pos=0&field_id&operator
Can the wildcard be inserted anywhere in the final string like below?
http://mydomain.com/wp-admin/admin.php?page=gf_entries&view=entry&id=63*