BuddyBoss Home – Web › Support Forums › Plugins › BuddyBoss Wall › Incorrect label appearing on friend's wall
- This topic has 8 replies, 4 contibutors, and was last updated 10 years, 2 months ago by Anonymous.
-
Question
August 29, 2014 at 11:43 am #31099@block4Hello. When I have the BuddyBoss Wall plugin active, the same post field label that appears on the logged-in user’s wall appears on other users’ wall too. See screen shot http://prntscr.com/4fjo9a. You’ll see that it says, “What’s new, ARTools?”, but it should say “Write something to Artools”. (Right now on the site the label on both the logged-in user and another user X’s wall is ‘Submit your status report, [username]’ due to translation file — however the label should only say this on the logged-in user’s wall.
The same issue occurs if I use the BuddyPress Activity as Wire plugin (from BuddyDev), making this seem like a theme issue rather than a plugin issue.
I switched to the Twenty Fourteen theme (using the BuddyBoss plugin), and the label that appears when a user goes to another user’s wall in Twenty Fourteen is “Write something to Artools?” (which is almost correct, except for the question mark.) See http://prntscr.com/4focj4. When I switch back to my theme (WPLMS), the label says “What’s New, ARTools?” See http://prntscr.com/4fodd8
Which again would lead one to think that the problem lies with my theme.
However, here is what one of the theme developers wrote back to me. First, “Yes, you’re correct, this is coming form the Activity template which is based on BuddyPress default theme. Thanks for pointing out, we need to check just in case we’re using an outdated template file.”
Then later, he wrote back: “Verified from the BuddyPress default theme and template, the text appears same in the BuddyPress 2.0.2 templates. These templates are copied in WPLMS, so I am not sure how the plugins are changing the text.
Unfortunately, you need to contact Plugin devs on this.”Any thoughts from the BuddyBoss group on what might be causing the problem?
Answers
September 3, 2014 at 7:41 am #31223@block4Any guidance on this issue? Thanks.
September 4, 2014 at 8:43 am #31267@alyssa-buddyboss
AlyssaParticipant@block4 I’ve taken a few days to test this out and have someone else check it out and we are unable to reproduce your results. First make sure you have updated the plugin to the latest version. Then I suggest you archive a copy of your language file and start over and see if the original works as designed. Let me know if this fixes the issue.
September 5, 2014 at 10:33 am #31323@block4@TJ Thank you for taking the time to look into this — and thanks to the other person too. The current plugin is version 1.0.3. I don’t think this is a language file problem, for when the labels are not translated, the problem still exist. For example, as shown on this screenshot (http://prntscr.com/4jxmn5) ‘ARTools’ is logged in, and on TestCode’s wall, but the page is stating “What’s new, Test Code?” instead of “Write something to TestCode”.
Perhaps if you could let me know how BuddyBoss Wall sets the label for walls other than the logged-in user’s wall, I can pass that on to the theme developer. Or said another way, the theme I’m using is displaying the same label on both logged-in and non logged-in user walls. Do you have any suggestions for what the theme developers should look at to fix this?
Much thanks in advance,
Brandan
September 5, 2014 at 4:12 pm #31332@alyssa-buddyboss
AlyssaParticipant@block4 this is defined in buddyboss-media/includes/wall-class.php:202-206 the if statement checks if you are NOT on your own activity AND you are on user activity. Unless this page is edited to not be in the profile member sub directory I’m not sure what else could be going on.
September 14, 2014 at 2:12 pm #31615@tc33I hope this isn’t OT on this thread, but I’ve just upgraded to 4.04 with the wall and media plugins, from the integrated previous version.
I’m experiencing a similar issue using the wall plugin even with the 2014 theme for the non mobile version of the site. At the top of the activity page, it’s showing the correct username for a split second, then pulls up a different one incorrectly. So if your username is “Bob”, when you click on Activity, at the top it says “What’s new Joe?” Joe being some other registered user. If you post, it shows the correct author as “Bob”, but it makes the wall plugin unusable for me at the moment.
September 14, 2014 at 2:32 pm #31620@tc33In my case, it appears to be an issue with the “BuddyPress Usernames Only” plugin with the Buddyboss Wall plugin. Not sure why, but disabling fixes it.
September 16, 2014 at 1:41 pm #31686@alyssa-buddyboss
AlyssaParticipant@tc33 it appears that when a widget calls a group the buddyboss function to determine if you are on a group page fires, hence the wrong greeting. With that being said @block4 I’m not sure if this is classified as a BuddyPress issue or a theme issue. I’ll have to escalate the issue to our developers to determine if it is something we can fix without too much trouble.
September 26, 2014 at 5:55 pm #32039@
AnonymousI am fairly certain this is coming from themes and/or plugins overriding theme templates.
Generally this template:
[theme]/buddypress/activity/post-form.php
You can delete this file or do some edits in it. If you have that file in your theme it might write as “What’s new, Username” and if you delete it, it should write “Write something to Username?”. Your file is overriding the default post-form.php that is usually fed in from the BuddyPress plugin.
@block4 The question mark is not a bug, it’s part of the BuddyBoss Wall translation. But I agree it’s confusing. In the next release I’m going to remove it from that statement.
- The question ‘Incorrect label appearing on friend's wall’ is closed to new replies.