Fida Al Hasan
Forum Replies Created
-
Hi,
We are working on the french translation file. Meanwhile, you can change it by editing the plugin file.
If you are using “Side Cart” go to this file: instantio/inc/layouts/layout-2/layout-2.php
If you are using “Popup Cart” go to this file: instantio/inc/layouts/layout-3/layout-3.phpThen search for those words and replace them with your words.
Thank you.
Forum: Plugins
In reply to: [SB Login] Change background colorTo change background color go to sb-login/css/login.css
and change this classes background form.nd_form, div.nd_logged_in
Forum: Plugins
In reply to: [SB Login] Page of unread posts/commentsHello,
You can show all recent comments of your site with a function. Paste this function in your theme’s function.php
function wcz_recent_comments($no_comments = 15, $comment_len = 80, $avatar_size = 20) { $comments_query = new WP_Comment_Query(); $comments = $comments_query->query( array( 'number' => $no_comments ) ); $comm = ''; if ( $comments ) : foreach ( $comments as $comment ) : $comm .= '<li>' . get_avatar( $comment->comment_author_email, $avatar_size ); $comm .= '<a href="' . get_permalink( $comment->comment_post_ID ) . '#comment-' . $comment->comment_ID . '">'; $comm .= get_comment_author( $comment->comment_ID ) . ':</a> '; $comm .= '' . strip_tags( substr( apply_filters( 'get_comment_text', $comment->comment_content ), 0, $comment_len ) ) . '</li>'; endforeach; else : $comm .= 'No comments.'; endif; echo $comm; }
Now paste this in your theme where you want to show recent comments
<?php wcz_recent_comments(); ?>
You also asked for recent posts. Your home page shows recent posts of your site and author.php shows recent posts of a author. So I Think there no needs to make another template for it.
To hyper link comments number go to sb-login/template/logged-in.php
and turn this code into a hyper link<li><strong><span style="color:#0176AB;"><?php _e('Total comments of yours:', 'sb-login'); ?></span></strong> <?php global $wpdb, $current_user; get_currentuserinfo(); $userId = $current_user->ID; $where = 'WHERE comment_approved = 1 AND user_id = ' . $userId ; $comment_count = $wpdb->get_var("SELECT COUNT( * ) AS total FROM {$wpdb->comments} {$where}"); echo '<strong>' . $comment_count . '</strong>'; ?></li>
Forum: Plugins
In reply to: [SB Login] log-in form issueMaybe your sidebar’s width is creating this problem. Increase your sidebar width. I hope it will be solved than.
Forum: Reviews
In reply to: [SB Login] Very goodThanks for your rating
Forum: Reviews
In reply to: [SB Login] I really like this plugin!Thanks for the rating
Forum: Plugins
In reply to: [SB Login] Login Time is OffYou have installed this plugin first time. So it will start count time from now. Log out once than again Log in. It will show you the time.
Forum: Plugins
In reply to: [SB Login] Author page or wallSorry, can’t understand what you are trying to say.
Forum: Plugins
In reply to: [SB Login] a problem on registerSorry, your website not loading.
Forum: Plugins
In reply to: [SB Login] Persian translation gone after updateYes you can. Find the sb-login.pot file in the plugin’s langs folder and edit it in poedit software and generate your persian translation file.
Forum: Plugins
In reply to: [SB Login] Valid Login issueHello use the latest version now. Everything will be ok
Forum: Plugins
In reply to: [SB Login] lost password function not workingHello use the latest version now. Everything will be ok
Forum: Plugins
In reply to: [SB Login] qTranslate incompatibleCheck the new latest version of this plugin. Eeverything is ok now
Forum: Plugins
In reply to: [SB Login] No 'save settings' buttonHello,
Can you change your theme and than try. Everything is ok here. Yap you will have to edit css. edit login.css which you will get in the plugin folder
Forum: Plugins
In reply to: [SB Login] Persian translation gone after updateHello,
In the new version I have changed so many texts. The new default pot file you will find in the langs folder. Edit that pot file to translate. After translation please send me the file. I will add it to the plugin directory and will give you the full creadit.
Send the translated file in this mail: [email protected]