-
Roger Coathup posted on the forum topic Why are my blog post updates missing paragraph breaks when shown in the activity stream? in the group How-To and Troubleshooting: 15 years, 1 month ago
@r-a-y: I’m not sure this fix will work for Tatiana. I think she’s wanting to show the whole post (rather than the excerpt) in the activity stream, and make sure that formatting (paragraph breaks) is maintained. The posts are are poems, and many have an image at the top. Her problem, is that posts over a […]
-
Roger Coathup posted on the forum topic Gravatar Settings? in the group How-To and Troubleshooting: 15 years, 1 month ago
@lunakm: rather than modifying the core code, which will need changing every time BP is upgraded, you might be better trying to do it as a filter. I suspect the filter you’d want to work with is bp_core_fetch_avatar_url. Try hooking a function onto this (in your bp-custom.php file) that appends the &r=x to the url. It might […]
-
Roger Coathup posted on the forum topic how do I stop small images from blog post excerpts getting enlarged in the activity stream updates? in the group How-To and Troubleshooting: 15 years, 1 month ago
@Tatiana – I have already opened another thread for this image problem, cheers, Roger:
-
Roger Coathup started the forum topic Small images are getting inappropriately enlarged in activity stream updates in the group How-To and Troubleshooting: 15 years, 1 month ago
Small images (less than 100px high) from blog posts and alike get inappropriately enlarged when they are displayed in the activity stream updates. They get scaled up to a minimum height of 100px, becoming blurry and in some cases ridiculously oversized…. e.g. a 100(w) x 10(h) image in a blog post, gets shown as 1000 […]
-
Roger Coathup posted on the forum topic activity stream (1.2.5.2) in the group Requests & Feedback: 15 years, 1 month ago
@svetka812 – these questions are also better asked in the forum “how to and troubleshooting” rather than “requests and feedback”
-
Roger Coathup posted on the forum topic activity stream (1.2.5.2) in the group Requests & Feedback: 15 years, 1 month ago
@svetka812 Hi Tatiana – it would be better to ask this as 2 separate questions in the forums (one about images, and one about text). Also make the title a bit clearer, as that will get more people to help you (“activity stream 1.2.5.2” is too general). To get more help and quicker: I suggest you […]
-
Roger Coathup posted on the forum topic Need to check if bp_profile_field_data() has data in the group How-To and Troubleshooting: 15 years, 1 month ago
My code snippet is indicative, and shows you the basics of what you need to do… You can’t just insert it verbatim. Did you edit my code snippet, and add your image code as needed? Did you place it in the correct place in profile-loop.php? It may be because I used “else if” with colons, […]
-
Roger Coathup started the forum topic Usability Request: Skip the permalink page, and make links go direct to the linked page in the group BuddyPress Links: 15 years, 1 month ago
Love the features of the plugin, but the current behaviour is confusing to the user. If you click on a link (in the activity stream, or the links.. my links tab) it should take you direct to the linked page, and not to another ‘permalink’ page on the site. e.g. if I create a link […]
-
Roger Coathup posted a new activity comment 15 years, 1 month ago
Yes, the BuddyPress permalink thing is a usability headache. One of the first things we have to do when building a site is remove the “view” links, usually before the client clicks on them and tells us they don’t do anything.
-
Roger Coathup posted on the forum topic page title in BP in the group How-To and Troubleshooting: 15 years, 1 month ago
@bpuser44 : Thanks for the positive feedback. I hit the support forums a little hard over the weekend. You can find stuff on bp-custom.php and / or functions.php (which can be used for similar things in your theme folder) by searching the forums. BuddyPress development is not as simple as WordPress theming – you are looking […]
-
Roger Coathup posted on the forum topic page title in BP in the group How-To and Troubleshooting: 15 years, 1 month ago
The solution given by @intimez fixes this problem.
See ths thread as well: https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/sub-pages-e-g-about-are-not-getting-the-correct-title-tag-set/ -
Roger Coathup posted on the forum topic No Title of Each Posts and Pages in the group Requests & Feedback: 15 years, 1 month ago
The apply filters line at the end of the bp_page_title() / mikey_page_title() function sets the order of the title string, try changing it from: return apply_filters( ‘bp_page_title’, $blog_title . ‘ | ‘ . esc_attr( $title ), esc_attr( $title ) ); to something like: return apply_filters( ‘bp_page_title’, esc_attr( $title ) . ‘ | ‘ . $blog_title,…
-
Roger Coathup posted on the forum topic Need to check if bp_profile_field_data() has data in the group How-To and Troubleshooting: 15 years, 1 month ago
@tubruk Are you using the default theme, or something similar? Are you trying to do this in the profile-loop.php file inside the profile loop? Is it only the About Me field you want to replace? if so, you need to edit your profile loop with something like this (note: the default template files use tables for […]
-
Roger Coathup posted on the forum topic Need to check if bp_profile_field_data() has data in the group How-To and Troubleshooting: 15 years, 1 month ago
@tubruk I’m not really sure what you are trying to do with your code. Whereabouts are you trying to hide fields with no data? In the default theme profile-loop.php, fields without values are already not displayed. As for quick fixes: You’ll need to replace ‘your-field-id’ with a variable that’s got the field id in it. You’ll […]
-
Roger Coathup posted on the forum topic Sub pages, e.g. About, are not getting the correct title tag set in the group How-To and Troubleshooting: 15 years, 1 month ago
As pointed out by @intimez, this is already in the trac with a fix: https://trac.buddypress.org/ticket/2548
-
Roger Coathup posted on the forum topic No Title of Each Posts and Pages in the group Requests & Feedback: 15 years, 1 month ago
yes, that’s the same problem as I’m experiencing:
… the !bp_current_component() clause in the if statement in bp_page_title() is what’s causing the problem for sub-page titles.
I’ve identified that in another thread:…[Read more]
-
Roger Coathup posted on the forum topic Sub pages, e.g. About, are not getting the correct title tag set in the group How-To and Troubleshooting: 15 years, 1 month ago
The problem is because !bp_current_component() is returning true for all pages, so all pages are getting the title set as ‘Home’
-
Roger Coathup posted on the forum topic Sub pages, e.g. About, are not getting the correct title tag set in the group How-To and Troubleshooting: 15 years, 1 month ago
Investigating further, the function bp_get_page_title() is not returning the correct result for sub pages: This if at the start of the function is returning true for all pages not just the home page: if ( is_front_page() || !bp_current_component() || ( is_home() && bp_is_page( ‘home’ ) ) ) { $title = __( ‘Home’, ‘buddypress’ ) ; Anyone […]
-
Roger Coathup posted on the forum topic No Title of Each Posts and Pages in the group Requests & Feedback: 15 years, 1 month ago
I’m on WordPress 3.0.1 single site install Don’t just cut and paste my comment and edit in the word “NOT” – it will confuse people. On my default installation post titles DO work correctly, but page titles don’t work. If they don’t work on your installation, please make this clear in your reply. I’ll have […]
-
Roger Coathup posted on the forum topic Need to check if bp_profile_field_data() has data in the group How-To and Troubleshooting: 15 years, 1 month ago
@tubruk in your child theme, wherever you want to hide fields that have no data, you can put a simple if statement, something like: if (bp_get_profile_field_data(‘field=your-field-id’) === “”) : // don’t display code else: // display code endif; Which file to edit, all depends where it is you are wanting to display / hide the profile field. […]
- Load More
@rogercoathup
Active 5 years, 5 months ago
@rogercoathup
I agree: those permalink views are a pain in the butt. Can you clue me in on how to remove the links?