Why there is limitation on the number of times of badge achieve steps?
]]>Hi
I’m using the coomunity add-on with Buddypress. It’s displaying badges etc correctly. But for some reason when users go to their settings page inside ther user profile on the front end the page comes up with a fatal error message and the following:
`Fatal error: Uncaught Error: Call to undefined function badgeos_first_time_installed() in /home/benigani/public_html/wp-content/plugins/badgeos-community-add-on/includes/bp-members.php:97 Stack trace: #0 /home/benigani/public_html/wp-includes/class-wp-hook.php(287): badgeos_bp_core_general_settings_before_submit(”) #1 /home/benigani/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array) #2 /home/benigani/public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #3 /home/benigani/public_html/wp-content/plugins/buddypress/bp-templates/bp-nouveau/includes/template-tags.php(2621): do_action(‘bp_core_general…’) #4 /home/benigani/public_html/wp-content/plugins/buddypress/bp-templates/bp-nouveau/buddypress/members/single/settings/general.php(74): bp_nouveau_submit_button(‘members-general…’) #5 /home/benigani/public_html/wp-includes/template.php(732): require(‘/home/benigani/…’) #6 /home/benigani/public_html/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(165): load_tem in /home/benigani/public_html/wp-content/plugins/badgeos-community-add-on/includes/bp-members.php on line 97
There has been a critical error on this website.
What can I do to fix this?
Thanks in advance.
]]>we are using badgeos with buddyboss and after the latest update the user account page is broken.
in php error log these errors occur:
[24-Jan-2021 09:30:29 UTC] PHP Fatal error: Uncaught Error: Call to undefined function badgeos_first_time_installed() in /www/htdocs/w019c47b/staging.naou.de/wp-content/plugins/badgeos-community-add-on/includes/bp-members.php:97
Stack trace:
#0 /www/htdocs/w019c47b/staging.naou.de/wp-includes/class-wp-hook.php(287): badgeos_bp_core_general_settings_before_submit('')
#1 /www/htdocs/w019c47b/staging.naou.de/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters('', Array)
#2 /www/htdocs/w019c47b/staging.naou.de/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
#3 /www/htdocs/w019c47b/staging.naou.de/wp-content/plugins/buddyboss-platform/bp-templates/bp-nouveau/includes/template-tags.php(2656): do_action('bp_core_general...')
#4 /www/htdocs/w019c47b/staging.naou.de/wp-content/plugins/buddyboss-platform/bp-templates/bp-nouveau/buddypress/members/single/settings/general.php(61): bp_nouveau_submit_button('members-general...')
#5 /www/htdocs/w019c47b/staging.naou.de/wp-includes/template.php(732): require('/www/htdocs/w01...')
#6 /www/htdocs/w019c47b/ in /www/htdocs/w019c47b/staging.naou.de/wp-content/plugins/badgeos-community-add-on/includes/bp-members.php on line 97
if we put if ( function_exists('badgeos_first_time_installed') ) :
around the code in bp-members.php the account page looks fine again.
could you please fix that?
cheers wolfgang
Hi,
Could you help with two things please:
1) Is there a way to remove the links from the achievement badges to the achievement page?
2) Is there a way to get Buddypress notifications when you get an achievement?
Thanks in advance!
]]>Is there plans to support a “verified” user badge for BuddyPress? The admin adds the badge to the user account once the verification process is complete.
]]>I have awards which are not point or step based but awarded by the Admins.
However, on the achievements tab of a users BuddyBoss profile, it shows a “O” next to the award.
BuddyBoss support say it’s not their plug-in and that the BadgeOS plugin should suppress zero points for admin awarded achievements.
Can you help in any way?
Many thanks!
]]>In includes/bp-members.php, there is an unprotected loop that is creating problems on our site. It appears that everything within the loop explicitly uses the post object or post id. I was able to fix the problem by changing $query->the_post() to $query->next_post() which does the same thing without messing up the surrounding state.
Line 188:
while ( $query->have_posts() ) : $query->the_post();
while ( $query->have_posts() ) : $query->next_post();
Please make this change or make sure that you aren’t blowing up the state outside of the function.
]]>Our site is on the Cosmos – To get your first badge, PLUTO, you must do a few things:
1. Change avatar (on peepso)
2. Change Cover Pic .. Peepso
3. Comment on a specific post (wordpress)
4. Join a specific Group on Peepso
5. Make at least on friend on Peepso
The first two steps work fine … and I see them crossed out on the link https://www.opensourcecosmos.org/community-badges/
But, then it stops. No more steps awarded ,,, therefore No badge awarded.
If I go under their user profile from the admin and award the steps manually, the badge appears when all the steps are listed.
It’s just not doing it automatically.
I’ve tried all the basics such as deleting BadgeOS (with the box checked to erase all data upon deletion)
Reset permalinks, rebooted the server, changed themes, tried different settings — Can’t get it to work.
Any help would be appreciated!
Thanks
Geo
Hi!
Can you prepare your plugin for localization with using GlotPress?
https://translate.www.ads-software.com/projects/wp-plugins/badgeos-community-add-on
I will help you with Russian translations.
BadgeOS Community Add-on 1.2.4
]]>When I try to activate this plugin, it causes the site (both admin and front end) to break. Just a white page. I can only get access to my site again by deleting the add-on folder from the …\wpcontent\plugins folder.
I do have BuddyPress and bbPress already installed. Installed BadgeOS, and the BadgeStack add-on.
Any ideas?
]]>Hello,
I installed the community addon. How can I use it with bbPress?
There is no name displayed on the badge. please help. This must be vissible.
i can see that the users URL is there but no name is displayed.
Hi!
No matter what method I try, using Loco Translate, Say What Pro replacement or Wild card, or even changing the source code (I found this string in steps-ui.php), I am not able to translate the string Required Steps which is located inside the drop-down “Show Details” displaying related steps to an achievement.
Any ideas?
Best
Robin
We have a badge that is supposed to be awarded a user logs in to the website for the first time (Earned by completing steps: Required Step: Log In to Website 1 time). However, it doesn’t seem to be working – user gets no badge nor we see updates in the logs. Please help us troubleshoot the issue. Let us know if we need to provide our website credentials.
Thanks,
Nataly
]]>I’m generating a list of badges earned by BuddyPress members using this shortcode:
[badgeos_achievements_list type="badges" limit="5" orderby="rand" order="ASC"]
1. The badges are displayed fine, with title plus description, but there is no indication of the number of members under each badge.
2. When the badge is clicked, the same “title plus description” is displayed in the new page, and there is still no indication of which members have this badge assigned. Which seems a bit odd. It’s entirely possible I’m missing the obvious documentation on how to display the members list…
Any helpful suggestions…?
]]>Please, kindly help. I am using WordPress multisite. Badgeos community add-on works for admin and logged out users. Once a user than admin/superadmin is logged in, the “Achievement Tab” shows “”No completed to display at this time.””
I am at my wits end to see why this is happening. Read all the support forum including https://www.ads-software.com/support/topic/achievements-not-showing-up-in-activity-stream-for-some-users?replies=15#post-6755341
But no avail.
I have deactivated all plugins but Badgeos and buddpress to see if another plugin is causing the trouble. No luck. This is a key feature I require in my site. Please help.
Hello guys,
Maybe someone can help me.
I have found this code to place badges (achievements) under user avatar in bbpress:
add_filter( 'bbp_get_reply_author_link', 'my_append_badges_via_filter', 10, 2 );
function my_append_badges_via_filter($author_link = '', $args) {
# Needed to get the user ID of the person intended to be displayed.
$user_id = bbp_get_reply_author_id( $args['post_id'] );
#Construct your output here.
$badge_output = '';
$achievements = badgeos_get_user_achievements( array( 'user_id' => $user_id ) );
if ( !empty( $achievements ) ) {
$badge_output .= '<div class="achievements">';
foreach ( $achievements as $achievement ) {
if($achievement->post_type != 'badges')
continue;
$badge_output .= '<div class="achievement achievement-' . $achievement->post_type . '">';
//echo '<h2>' . get_the_title( $achievement->ID ) . '</h2>';
$badge_output .= get_the_post_thumbnail( $achievement->ID, 'thumbnail', array('title'=>get_the_title( $achievement->ID ) ) );
//echo __( 'Earned on: ', 'text-domain' ) . date( get_option( 'date_format' ), $achievement->date_earned ) ;
$badge_output .= '</div>';
}
$badge_output .= '</div>';
}
return $author_link . $badge_output;
}
But the code is not perfect. Because is not showing badges only under avatar, is also showing at:
– forums main page
– forum page
– above topic (information bar)
To fix that, I added the following CSS code:
.forum .achievement.achievement-badges{display:none;}
Badges is showing too big under avatar. To fix that, I added the following CSS code:
.achievement.achievement-badges{width:50px;}
Now the only thing that I need is to add a link in badges to user achievements page.
For example, using buddypress, my url to user achievements page is:
https://domain.com/members/user/achievements/
Any idea how to do this?
Thanks in advance ??
]]>It will be nice to have total amount of badges under user avatar in topics.
And a link in the number that goes directly to user profile /user/achievements/
So people could see badges for each other.
I already have this one for points:
User Points: <?php
global $bp;
echo badgeos_get_users_points( $bp->displayed_user->id );
But need for number of badges earned. Any idea? ??
]]>Hello guys,
Lets imagine, I want to give a badge for users that creates a forum topic.
Whats happening is this:
1- User creates the forum topic
2- User receives the badge
3- If I need to delete his forum topic
4- He doesn’t loose the badge that earned
5- I need to revoke award manually from user page
Is there any way to do this automatically?
I mean, delete that forum topic where he earned the badge and he looses automatically the badge by removing from achievements and activity tab?
Thanks!
]]>Hello guys,
I see many topics here without replies, is this plugin support still alive?
I’m wondering if is possible when we choose “Create a Forum Topic”, to have a field to put a specific Forum ID?
Exactly like we have in the “Comment on a specific post”.
Thanks ??
]]>My page is a list of Members who have this badge, but only the Avatar is showing, no name, I really need the name to be displayed, should I figure out an action hook for this?
]]>Hi,
I found a conflict between BadgeOS Community Add-on and Learndash/Woocommerce.
The issue created by the conflict is described below:
I am using Woocommerce to sell learndash courses! After an order is being ‘completed’ (not ‘pending’ or ‘on hold’ or in other status), my site is showing warnings in the top of the website.
Warning: Illegal string offset ‘post-type’ in /wp-includes/class-wp-list-util.php on line 157
The warning is being shown only to the user who purchased the product. Here are some screenshots: https://imgur.com/a/Y2FWf
And this is the code where the warning is coming from:
public function pluck( $field, $index_key = null ) {
if ( ! $index_key ) {
/*
* This is simple. Could at some point wrap array_column()
* if we knew we had an array of arrays.
*/
foreach ( $this->output as $key => $value ) {
if ( is_object( $value ) ) {
$this->output[ $key ] = $value->$field;
} else {
$this->output[ $key ] = $value[ $field ]; /**** line 157 ****/
}
}
return $this->output;
}
screenshot: https://imgur.com/Yxo9NpR
I really liked the features of BadgeOS Community Add-on and don’t wanna uninstall it. How could I fix this? Thank you.
I double checked and the issue was really with this add-on.
]]>As soon as I activate this plugin using WP 4.8, I get the white screen of death.
I see it hasn’t been updated in a year. Has this plugin been abandoned?
]]>Is it possible to show when an individual earns a badge in the Buddypress Group activity feed?
At the moment, badges only appear in the individual’s activity feed. I’d like them to be shown to the groups an individual in a member of.
]]>Hi there,
I am integrating this with Learndash and the 2 biggest issues that I am having are as follows:
1. When activated, the “Achievement Type: Badges” Post (which does not exist) takes over for a couple of buttons that I use on my site. The most important of which is a “Mark Complete” and “Next”. However, our Uncanny Toolkit “resume” button also redirects here.
2. When viewing a badge is shows an archive type page and not the badge itself. The badge is blown up and covers the width of the page.
Please please please assist. I have tried posting in the member forums, emailing, and twice on this.
Dan
]]>Hi
We also have a page which shows all badges on the site (approx 80 so far). When loading this page it takes noticeably longer than any other page on the site (approx 8-10 seconds per user load).
Is there something that we can do to help improve performance?
Thanks, J
]]>Hi
We have an issue that was reported 10 months ago (https://www.ads-software.com/support/topic/switch_to_blog-call-in-usersphp-causing-issues/) but still no fix. The BadgeOS Community Plugin (which we love and also need) doesn’t seem to play by the rules, and prevents us from using Broadcast.
Broadcast authors on analysing that forum post have stated that:
“Each call to switch_to_blog MUST be followed later by one call to restore_current_blog.”
Is there any development planned that will overcome this issue of the conflict? If not is there a manual fix you can suggest please?
J
]]>I added a new Badge that only has one step using “Community Activity”->”Change Profile Avatar”->”1 Time”.
The “step” is awarded when a user uploads a picture. I can see in the log and in the users profile. However, the badge is not being awarded. When I go to the page for the badge, the completed step is crossed out, but it doesn’t show the awarded banner.
Other badges, based on user and group activity stream posts are being awarded without issue.
]]>I don’t know if this is a BadgeOS thing, a plugin thing, or a Buddypress thing, so I’m starting here. Please redirect me if this is the wrong place to ask.
Is it possible to make a badge with it’s “Hidden” setting set to “Hidden to user” not get posted to that users activity stream?
I always assumed this is what “Hidden” would be for, to prevent users from knowing they are getting it, but it doesn’t seem to work that way. Is there something that can be added/changed in this plugin to prevent those badges from triggering buddypress posts?
]]>Would it be possible to have a different format for an entry on the activity stream for different achievement types?
In bp-activity.php I see there’s a part //Insert activity. What’s under ‘action’ seems to be what forms the activity entry. Can I add an if statement there to have different entry messages per type?
Thank you!
]]>