tamritz
Forum Replies Created
-
Forum: Plugins
In reply to: [BadgeOS] Comments Appearing on Members PageGot it. Thank you!
Forum: Plugins
In reply to: [BadgeOS] Comments Appearing on Members PageOK. You are brilliant, if no one has not ever shared that with you before;
I removed the php comments template line from the template file. Worked beautifully, and you are right, don’t need comments on pages.
One question, just so I have clean code moving forward and not leaving cobwebs, so to speak…
Should I remove the entire string or section beginning with:
</div><?php endwhile; ?>
<?php endif; ?>
<?php if ( ! bp_is_register_page() && ! bp_is_activation_page() && ! bp_is_members_directory() && ! bp_is_user_activity() && ! bp_is_user_profile() && ! bp_is_user_notifications() && ! bp_is_user_friends() && ! bp_is_user_groups() ) : ?>
<?php endif; ?>
I assume I don’t need the endif thing at all.
Thanks.
Forum: Plugins
In reply to: [BadgeOS] Comments Appearing on Members PageUgh. And having same problem with comments appearing in users’ profiles when clicking on “forums.” How to block that as well without pulling out the sidebar for logging in.
Forum: Plugins
In reply to: [BadgeOS] Comments Appearing on Members PageWell, I thought I had this nicked. Unfortunaely, the new version of buddypress is a real pain.
For each user’s profile, the badgework comments are appearing, showing all comments given to all learners in the community. Obviously, this should be private and the comments should be between the student and the badge earner.
I have added the following:
! bp_is_register_page() && ! bp_is_activation_page() && ! bp_is_members_directory() && ! bp_is_user_activity() && ! bp_is_user_profile() && ! bp_is_user_notifications() && ! bp_is_user_friends()When I add this one: && ! bp_is_user_achievements() the entire sidebar goes away, which includes a widget for students to login to the site, as well as a widget that displays each user’s achievements. This bit of code does remove the unwanted comments, but gets in the way of the other functionality needed.
This seems like a lot of adjustments around badge comments and the buddypress interface.
Any thoughts on how to get around the comments appearing in the user’s profile when they click on “achievements” ?
Thanks.
Forum: Plugins
In reply to: [BadgeOS] Comments Appearing on Members PageOk. I fixed it! I am all proud of myself. Here it is:
bp_is_user_activity()Thanks for showing me models along the way that I can replicate. I really appreciate it!
Forum: Plugins
In reply to: [BadgeOS] Comments Appearing on Members PageWell, I thought I had this nicked. The comments appear on the bottom of each member’s profile page as well. I haven’t been able to hit upon the right phrase that corrects this.
I tried
bp_is_members_activity()
bp_is_profile_page()Any help would be appreciated. Thanks.
Forum: Plugins
In reply to: [BadgeOS] Comments Appearing on Members PageThis worked beautifully. Thanks.
Here is what I learned. This happened when I updated to the latest version of BuddyPress (2.2.0) (the impact on the members directory page). For the previous version, the badgework comments only showed up on the activate and register pages. I tested this out by installing the previous version.
The quickfix without the code is to use a fullwidth page template, rather than the default w/the sidebar.
At any rate, adding the bp_is_members_directory() works!
Forum: Plugins
In reply to: [BadgeOS] Comments Appearing on Register PagePs. Comments are not turned on.
Forum: Plugins
In reply to: [BadgeOS] Comments Appearing on Register PageHi, there. This problem is reappearing on a different site of mine on the “Members” page. The funny thing is that this site is set up exactly like the other one from above, same template and plugins and all.
Basically, administrator comments from approving badgework are appearing on the students’ “Members” page publicly below the listing of the members.
Suggestions?
Thanks.Forum: Plugins
In reply to: [BadgeOS] Earned Badges Showing Nonearnerskcurlsjr,
I have not tried the fix, unfortunately. I had some learners in the space and I didn’t want to mess with what was already working. I am definitely interested in hearing how it goes though! Please let us know!Forum: Plugins
In reply to: [BadgeOS] Earned Badges Showing NonearnersThanks so much. I will check it out in the coming weeks. Thanks for the tips on activation as well:) Ps. Has anyone else tested it and found it works for them for the issue above?
Best,
SarahForum: Plugins
In reply to: [BadgeOS] Earned Badges Showing NonearnersHi, Michael. What is the potential fix? I would be willing to take it on a test drive:) Thanks!
Best,
SarahForum: Plugins
In reply to: [BadgeOS] Submissions-All Not ShowingDarn. I can’t believe that didn’t occur to me. Ugh! Thanks for pointing this out. Such an easy fix — I should have thought of it. Sometimes we just can’t see outside our problem. Thank you!
Best,
SarahForum: Plugins
In reply to: [BadgeOS] Comments Appearing on Register PageGot it. Works great for both pages. Thanks so much, Michael.
Forum: Plugins
In reply to: [BadgeOS] Comments Appearing on Register PageAnd PS. The comments are still appearing on the ACTIVATE page (disappeared from the COMMENTS page).