Saurabh Ranjan
Forum Replies Created
-
Forum: Plugins
In reply to: [powerSearch for bbPress] File upload optionHi, I raised the issue at wrong place, i was actually asking for your another plugin.
Marking it as resolved.
As it’s a listable theme I think they extended in their theme as well.
You can check at /wp-content/themes/listable/inc/integrations/login-with-ajax.php
What you can do is to add the required classes on the links so that lwa js can trigger the modal.
Code Is not tested but i think it should work.
add_filter( 'comment_reply_link', 'update_link_html', 10, 4); function update_link_html($link, $args, $comment, $post) { $link = sprintf( '<li class="lwa"><a rel="nofollow" class="comment-reply-login lwa-links-modal lwa-login-link" href="%s">%s</a></li>', esc_url( wp_login_url( get_permalink() ) ), $args['login_text'] ); return $link; } add_filter( 'comment_form_defaults', 'update_comment_link_html', 10, 1); function update_comment_link_html($defaults) { global $post; $post_id = $post->ID; $defaults['must_log_in'] = '<p class="must-log-in lwa">' . sprintf( /* translators: %s: login URL */ __( 'You must be <a href="%s" class="lwa-links-modal">logged in</a> to post a comment.' ), wp_login_url( apply_filters( 'the_permalink', get_permalink( $post_id ), $post_id ) ) ) . '</p>'; return $defaults; }
Forum: Plugins
In reply to: [Single-user-chat] 503 error for websiteHello @shruticb thank you for using this plugin,
Current version is using wordpress ajax for realtime updates for this we hit the server every seconds.
We are working on next version of it to improve this memmory usage issues.
Curretly to use this plugin we must have good server.
You can also check the other plugin usage by disabling plugins one-by-one as we tested on our system and it dont consume this much of memory.
Thank You.