Forum Replies Created

Viewing 15 posts - 76 through 90 (of 164 total)
  • Author
    Posts
  • in reply to: I am missing a message #325
    Webtechideas
    Keymaster

    There are so many plugin users and they have different requested functionality. We include those which are generic and add filters for those which will help in customizing as per user. So the hook is there which will help you in modifying the output. Since we had done this for you earlier, we must have sent code/file to you. Please check your mailbox and search for wti_like_post_load_message.

    Thanks

    in reply to: I am missing a message #317
    Webtechideas
    Keymaster

    We think we had done this for you earlier using hook. If you have changed the theme or our plugin, then look for the previous one. The hook available which you can use is:

    apply_filters( 'wti_like_post_load_message', $msg, $post_id, $like_count, $unlike_count )

    You need to attach a function to the above hook. There you need to check for the like, unlike count. Depending upon those values you will have return the message.

    Thanks

    in reply to: Get post rank (by votes) #316
    Webtechideas
    Keymaster

    The most liked posts shortcode will get you the result in a tabular format. You will have to pass the post type.

    in reply to: Custom Hooks #315
    Webtechideas
    Keymaster

    For vote count, please refer here.

    For vote buttons, please refer here.

    in reply to: Number of votes #314
    Webtechideas
    Keymaster

    The functions are GetWtiLikeCount($post_id), GetWtiUnlikeCount($post_id), GetWtiTotalCount($post_id) to get the like, unlike and total counts respectively.

    in reply to: vote button code #313
    Webtechideas
    Keymaster

    The best way to get these things is to look into the codes.

    For like button, it should be something like
    <a rel="nofollow" data-nonce="{$data_nonce}" data-post_id="{$post_id}" data-task="like" class="lbg-style1 like-{$post_id} jlk"><img title="Like" src="{$image_url}"><span class="lc-{$post_id} lc">{$like_count}</span></a>

    For unlike button, it should be something like
    <a rel="nofollow" data-nonce="{$data_nonce}" data-post_id="{$post_id}" data-task="unlike" class="unlbg-style1 unlike-{$post_id} jlk"><img title="Unlike" src="{$image_url}"><span class="unlc-{$post_id} unlc">{$unlike_count}</span></a>

    The variables are self-explanatory. If you want to use the plugin buttons, then <?php GetWtiLikePost(); ?> will do the job for you.

    Thanks

    Webtechideas
    Keymaster

    The like buttons do not display on the activity stream. When a user likes or dislikes any standard or custom post, that activity will be shown up on buddypress activity screen. The plugin features mentioned here http://www.webtechideas.in/product/wti-like-post-pro/

    in reply to: Open and close voting dates #301
    Webtechideas
    Keymaster

    How do you define a charity here? Is this a simple post where users can come and like/unlike that post? Having a start and end date as a configuration setting will be global to the site and can’t be applied to specific posts. In such case we would like you to use “Exclude post/page IDs” option. Let’s say Charity 1 (post id 1) will be open for May 2015. Once May is over, you can put the post id 1 in the exclude field. So the like/unlike options will no more come up for that charity. In this way you can keep on adding more post ids to this option as months pass by.

    Please let us know if this works for you or not.

    Thanks

    in reply to: Using Shortcodes with Multiple Categories #300
    Webtechideas
    Keymaster

    We have checked the wordpress codex to get the common posts for multiple categories but unfortunately did not find any solution. We are still looking out for any possible solution.

    in reply to: Thumbnail within shortcode #299
    Webtechideas
    Keymaster

    The code for showing thumbnail is not there. So you will have to modify the WtiMostLikedPostsShortcode function to show the thumbnail. If you can’t do that and want us to do that for you, then please drop an email with the version no, order id and the email id used to purchase.

    Thanks

    in reply to: Most Liked Posts Appear First #292
    Webtechideas
    Keymaster

    Here are the instructions:

    – You will find a templates folder within our plugin. There is a file named most-liked-posts.php.
    – Copy and put it inside your theme folder.
    – Now create a page and set the page template as this file.

    When you visit the page, you should see the posts shown in sorted order of vote counts.

    Please note that you may have to change the file layout to match with your site’s layout. Do let us know if you have any other queries or find difficulty in implementing the above.

    Thanks

    in reply to: Most liked shows the same posts in pagination #281
    Webtechideas
    Keymaster

    We have sent you a modified template file. Please check that and let us know if that worked for you or not. For reference the modified code to be used is put below

    // Get the current page
    $paged = ( get_query_var( 'paged' ) ) ? get_query_var( 'paged' ) : 1;
    
    // Query to get all posts sorted by like count after a specific date
    $the_query = new WP_Query(
    			array(
    				'post_type' => 'post',
    				'posts_per_page' => get_option('posts_per_page'),
    				'paged' => $paged,
    				'meta_key' => '_wti_like_count',
    				'orderby' => 'meta_value_num',
    				'order' => 'DESC'
    			)
    		);
    in reply to: Most liked posts just show first in the loop #278
    Webtechideas
    Keymaster

    Please share your site page url where you have implemented this. If you are using the “Most Liked Posts” page template provided with the plugin, then that will show the most voted posts in last 7 days. So you will have to change that. Vote some more posts and see if it still shows only 1 post or not. Please check the codex for more details. Please let us know if this helped you or not.

    in reply to: Change "like" word when selecting show user likes #277
    Webtechideas
    Keymaster

    There is a language file which can be changed to replace the “like this” text and the approach for doing this is mention on the wordpress codex. If that will be a difficult task for you, then please let us know and we will send you the modified file. In such case, please reply back on the purchase email that you had received.

    Thanks

    in reply to: Changing like/unlike programmatically? #274
    Webtechideas
    Keymaster

    That is for internal use only. It takes care of different conditions as set on the plugin configuration settings page. So if you use that and try to manipulate the votes, then it may not allow you to do so. So we would suggest to create your own piece of code which will work as per your requirement.

Viewing 15 posts - 76 through 90 (of 164 total)