Replies: 0
Hi there,
Just recently came across your plugin and i must say i’m really impressed. It looks amazing. I’m using it to filter out options for my website based on an access level. I’ve imbedded a short code within the table to try to restrict if someone should see this row or not, based on if they have the required access level. This is done using another plugin called groups. I’m inserting the below line into the cell in the table
[groups_non_member group=”Core Handbook”] NOTVISIBLE[/groups_non_member]
Basically the theory is that if the user is NOT a member of the above group, in this case Core handbook it will insert the word NOTVISIBLE into the cell.
I’m then using a filter to attempt to filter out these rows.
[table id=1 filter=”NOTVISIBLE” filter_columns=”1″filter_full_cell_match=”false” filter_inverse=”false” hide_columns=”1″/]
However it SEEMS and you’ll have to excuse me i’m really quite new at all this that the filter finding the words notvisible within the shortcode regardless as to if it’s displaying actually displaying in the cells.
I have 3 test rows. 2 have shortcodes in them when i test with a user with only one of the required groups i’m seeing two rows. one of which has a blank cell indicating that NOTVISIBLE was not inserted and the other with NOTVISIBLE clearly displayed.
Is there anyway around this?
Regards and thank you for any help you might provide.
Cheers,
Chris