toniojst
Forum Replies Created
Viewing 6 replies - 1 through 6 (of 6 total)
-
Forum: Plugins
In reply to: [Simple History – user activity log, audit tool] Order ASC or DESCOk, i solve it. I edit code in plugin.
It not help. If i try to output data with:
foreach ( $queryResults['log_rows'] as $row ) { $header_output = $this->sh->getLogRowHeaderOutput( $row ); $text_output = $this->sh->getLogRowPlainTextOutput( $row ); $details_output = $this->sh->getLogRowDetailsOutput( $row ); // ... }
my site event not load properly.
I output data with next code, but problem is that i get -> Deleted plugin “{plugin_name}” <- isted of eg. -> Deleted plugin “ACF” <-
foreach ( $queryResults['log_rows'] as $row ){ echo $row->message; }
What can be problem. But on WP-Admin site working normaly.
Hi @moidpardesi, I find code that do this:
add_filter( 'simple_history/loggers_user_can_read/can_read_single_logger', function ( $user_can_read_logger, $logger_instance, $user_id ) { // in this example user with id 3 gets access to the post logger // while user with id 8 does not get any access to it if ( current_user_can('administrator') || current_user_can('editor') ) { $user_can_read_logger = true; } else { $user_can_read_logger = false; } return $user_can_read_logger; }, 10, 3 );
Me to. I also need support that a can add this ability to editor role. Please
Forum: Plugins
In reply to: [Buddypress Xprofile Custom Fields Type] Change visibility on primary field?Ok i already found how to solve this.. I found how to change visibility so if someone nedd can contact me
Forum: Themes and Templates
In reply to: WordPress theme links to new pagei have this website on local server.. so one told me that exists some plugins to do that but i dont know name ..
Viewing 6 replies - 1 through 6 (of 6 total)