monitor
Forum Replies Created
-
I’ll have a look thanks. It seems liks like the above cannot be in shortcodes due to the javascripts I guess.
Just one question. Would floating “divs” ever be possible to award points when clicked? I just had the idea that you can create an invisible div with href around any social button, and when clicked in that area it gives points regardless of what fires behind the button. Or is something like this not possible?
Sorry, here you go:
Forum: Plugins
In reply to: [CubePoints] Add Points when posts get likes (WP Favorite Posts)use the plugin myCred instead. It has a WP favorite post module.
Yes that is correct as @deniscgn said.
Forum: Plugins
In reply to: [Rank Checker by Surfing Panda] Duplicate keywords displayingThanks again for your work. It seems to work yes.
Forum: Plugins
In reply to: [Keep Backup Daily] Settings not being saved.Yes all green. Everything seems good to me.
Forum: Plugins
In reply to: [Keep Backup Daily] Settings not being saved.OK i did it and it works. It saves all the previous information. Thanks a lot!
Forum: Plugins
In reply to: [Keep Backup Daily] Settings not being saved.OK i will test it now.
Forum: Plugins
In reply to: [Rank Checker by Surfing Panda] Duplicate keywords displayingYes they are also from the same google source like google.be, or google.in
Could it be that the same user double searched the same term and both times clicked on our link?
I could see how something like that can be unavoidable. It is not that serious, but if a fix to check for all the same values matching and only displaying once is not so annoying to code in the next update, you can leave it, its no biggie.
A better screenshot:
https://i.imgur.com/zO39ecI.png
Thanks again.
Another request for 1.2 is to limit the amount of points for
Credits for adding a post as favoriteJust as with comments. It is easy for someone to go to all your post and add them all as favorites to harvest points.
Hi Gabriel,
If you can, please make the back end Log sort-able ASC/DESC as I am curious who are some of the people with the most posts.
Example:
It is working now. Sorry it was also mostly due to my lack of knowledge.
Unfortunately I do not use wp_footer(); on this custom page. And yes this page is solely made for links, so the scripts can run on it permanently.
I will just stick to the token code, since it is working if i have that.
<script type='text/javascript'> /* <![CDATA[ */ var myCREDgive = {"ajaxurl":"http:\/\/www.xxxxxx.com\/wp-admin\/admin-ajax.php","token":"dfeb45d68a"}; /* ]]> */ </script>
Yes this was a custom page. Due to design, it does not have the regular theme’s header and footer.
So I manually added:
<script type='text/javascript' src='https://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js?ver=1.8.1'></script>
<script type='text/javascript' src='https://www.xxxxxx.com/wp-content/plugins/mycred/assets/js/links.js?ver=1.1.1.1'></script>
Then it still did not work.
However, when i added this piece of code above these codes, it did work:<script type='text/javascript'> /* <![CDATA[ */ var myCREDgive = {"ajaxurl":"http:\/\/www.xxxxxx.com\/wp-admin\/admin-ajax.php","token":"dfeb45d68a"}; /* ]]> */ </script>
Now my question is, is this okay? Can that token stay static like this, or will it cause problems? I tried removing it but then it does not work any more. Seem it must have that code to work.
I found a piece of code to solve the problem. If your theme calls the comment form like this
<?php comments_template(); ?>
or <?php comment_form(); ?>
Just replace it with the below code, and adjust thecomments_template();
to the right call you use. This code limits them to 2 a day:<?php global $wpdb,$current_user; $limit = 2; //this is limit per day per user $comment_count = $wpdb->get_var( $wpdb->prepare(" SELECT count(*) FROM wp_comments WHERE comment_author = '%s' AND comment_date >= DATE_SUB(NOW(),INTERVAL 1 DAY);" ,$current_user->user_login) ); if($comment_count < $limit) { comments_template(); } else { echo 'exceeded comments limit - '.$limit; } ?>