Bainternet
Forum Replies Created
-
Forum: Plugins
In reply to: [Advanced Code Editor] [Plugin: Advanced Code Editor] feature sugestion@ovidiu: The pop-up id not a page but a div, and the save popup is submitting the form by ajax and then reads the response in the Div with
message
id so if you add your own messages, they will show up, as for the enter key, not sure when i’ll get the time to look at it, but i will.Forum: Plugins
In reply to: [Advanced Code Editor] [Plugin: Advanced Code Editor] Feature Requestwish granted!
also Crtl + S will also run an Ajax save.
please update the plugin and enjoy!Forum: Plugins
In reply to: [Advanced Code Editor] [Plugin: Advanced Code Editor] feature sugestionwish granted!
please update the plugin and enjoy!@andrewmunro is that set in your main installation or a sub site?
@frcc78, try as a different user since the admin is never limited.
Forum: Plugins
In reply to: [User Specific Content] [Plugin: User Specific Content] Bug?@rahjabodyart, thanks for the input, it was fixed in the last version.
@sonja, the plugin is called
User Specific Content
and that is way its only for content, as for comments, you can filter and control who sees them with the built-in WordPress Plugins.Forum: Plugins
In reply to: [Simple Google +1 Button] Request: Can you add line breaks? ( )@ffuentes The button is added inside a div with a class of
gpone
so you can style based on that and if that’s not enough google adds there own div with the ID of___plusone_0
for the first on and___plusone_1
for the second@andrewmunro, thanks for the input, I will look in to that.
Forum: Plugins
In reply to: [Bainternet User Ranks] Use this with WPMUContact me from my profile we can work something out.
Forum: Fixing WordPress
In reply to: Comment Author Ranks – Close to being done, need help!Glad it worked out for you!
can you send a screenshot of your admin options panel?
Forum: Fixing WordPress
In reply to: Comment Author Ranks – Close to being done, need help!I’m confused , you say
the first comment I done, shows nothing (echos no value).
The second post, shows the title called Two,…are you counting comments or posts?
also can you send a screenshot of your options panel?and maybe a pastie or pastbin of your whole code?
i’ll be able to help you even more.
Forum: Fixing WordPress
In reply to: Comment Author Ranks – Close to being done, need help!@demolishman : you made a big salad mixing everything up.
if i under stand correctly what you are trying to achieve then you need to understand that it counts comments as well as posts (posting a comment is called a comment).
So try this:
First configure the plugin to count only comments (it looks like its counting both comments and posts).
then in your code change your conditional check from:
if ($comment->user_id) {
to
if ($comment->user_id > 0) {
since
$comment->user_id
is always set to 0 (zero) if there is no user id.and as for setting up the ranks, its not the number of posts or comments its the number of points.
so its actually
Rank 1 => Level 1 -> over 1 point
Rank 5 => Level 5 -> over 50 point
Rank 50 => Level 50 -> over 500 pointyes i have an idea!
you are using
$user_rank
which is not in the scope change your code to this:<?php $baur_plugin = new baur_Plugin(); $top_users = $baur_plugin->get_top_users(5); foreach ($top_users as $user){ $user_info = get_userdata($user['user_id']); echo $user_info->user_login . "title: ". $user['title'] ."Points: " . $user['points']; } ?>