-
Roger Coathup posted on the forum topic Limiting photos shown and also how to display latest uploaded photo on users profile in the group BuddyPress Media: 14 years, 5 months ago
Here’s a little loop we used to get a thumbnail strip of latest photos for v1.0.8, based on the activity stream:
bp_album_picture, 'max' => 5 ); ?> < ?php echo implode(explode("</a>", bp_get_activity_content_body(), -1)); ?>
The implode(explode()) removes all the superfluous image description, and just leaves you with the thumbnail. This…[Read more] -
Roger Coathup posted on the forum topic Activity Page in the group Miscellaneous: 14 years, 5 months ago
The basic function for checking whether they are logged in is:
is_user_logged_in()
You could combine this with logic for php page redirect: e.g. http://www.totallyphp.co.uk/code/page_redirect.htm
Implement a static page / template with this code, and set it as the front page (via wp-admin… settings… reading… front page displays)
-
Roger Coathup posted on the forum topic Where are the template files for edit, etc. in 1.0.8 download in the group BuddyPress Media: 14 years, 5 months ago
@foxly … yes, we’ve built quite a few ‘large’ sites. I was referring specifically to the templates for v1.0.8 of bp-media+. I’d previously used one of your 1.0.9 builds and that had lots and lots of its own templates. v1.0.8 just has three templates of its own, and works (as you and I pointed out) with […]
-
Roger Coathup posted on the forum topic Translating buddypress in the group How-To and Troubleshooting: 14 years, 5 months ago
in wp-config.php:
/**
[Read more]
* WordPress Localized Language, defaults to English.
*
* Change this to localize WordPress. A corresponding MO file for the chosen
* language must be installed to wp-content/languages. For example, install
* de.mo to wp-content/languages and set WPLANG to 'de' to enable German
* language support.
*/
define ('WPLANG',… -
Roger Coathup posted on the forum topic Where are the template files for edit, etc. in 1.0.8 download in the group BuddyPress Media: 14 years, 5 months ago
to answer my own question: members/single/plugins.php
-
Roger Coathup started the forum topic Where are the template files for edit, etc. in 1.0.8 download in the group BuddyPress Media: 14 years, 5 months ago
I’ve downloaded 1.0.8 and it seems to be missing some template files.
In album folder there are only 3 template files (comments.php, pictures.php, and single.php). Where can I find the templates to style the edit photo and other pages?
-
Roger Coathup posted on the forum topic Stylizing the navigation bar in the group How-To and Troubleshooting: 14 years, 5 months ago
@johnwinch42 I’m not really sure what you are asking: Do you want to allow all blogs to have their own choice of theme, but ensure that they use the same font for the admin bar? That’s not really possible, because you don’t have any control over the CSS files in the sub site themes – if […]
-
Roger Coathup posted on the forum topic BuddyPress Competition is heating up in the group Miscellaneous: 14 years, 5 months ago
@sulley – on the flip side – with one company developing it, you have a single point of weakness. if they go under, the whole project disappears – not just one plugin. However, I tend to agree with you: BuddyPress would definitely be a more attractive development platform if a solid company took more responsibility for […]
-
Roger Coathup posted on the forum topic Any way to make a ’Height’ profile field in Feet and Inches? in the group Creating & Extending: 14 years, 5 months ago
@rossagrant – It’s not possible with the current profile implementation to have structured fields made up of several component parts (they’d be useful though!). As a workaround – you could group them together in their own profile group – and then it would require some rework of the edit / view profile templates to present the […]
-
Roger Coathup posted on the forum topic New Sites Getting WordPress Default Theme, Not Buddypress Default in the group How-To and Troubleshooting: 14 years, 5 months ago
-
Roger Coathup posted on the forum topic Display recent group blog posts on home page? in the group How-To and Troubleshooting: 14 years, 5 months ago
To show blog activity you’d typically customise your home page template to include a customised activity loop that just shows blog posts. Check under Docs… Custom buddypress loops on ths site for details on how to do that. There might also be off the shelf widgets that will work for you, but you will need […]
-
Roger Coathup posted on the forum topic How To Show "Status Updates" In The Frontpage? in the group How-To and Troubleshooting: 14 years, 5 months ago
DUPLICATE
This is the same question you posted a few hours ago: https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/how-to-show-status-updates-in-the-frontpage/ -
Roger Coathup posted on the forum topic Get profile to link to profile page, not activity page in the group How-To and Troubleshooting: 14 years, 5 months ago
For the solution, please see this thread: https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/customizing-buddypress-profile-page-default-tab-and-item-nav-order/?topic_page=1&num=15
-
Roger Coathup posted on the forum topic Adding static featured blogs with dynamic authors avatar on home page? in the group How-To and Troubleshooting: 14 years, 5 months ago
-
Roger Coathup joined the group BuddyPress Member Profile Stats 14 years, 5 months ago
-
-
Roger Coathup posted on the forum topic Creating a directory of already existing blogs in the group How-To and Troubleshooting: 14 years, 5 months ago
1 solution: Add profile fields for them to enter their blog details, create your directory template with a custom members loop that checks for the blog fields and displays them. This may be inefficient for a sparse databse with lots of members
-
Roger Coathup posted on the forum topic plazaa – A german BuddyPress community in the group Gallery: 14 years, 5 months ago
@hnla ja ja stimmt! I thought long and hard about that, but decided proper names and all shouldn’t be translated… Honest guv! 🙂
-
Roger Coathup posted on the forum topic How To Show "Status Updates" In The Frontpage? in the group How-To and Troubleshooting: 14 years, 5 months ago
If you want the activity stream as your front page – go to wp-admin … settings … reading … front page displays If you just want a small area to show updates, try a widgetised theme, and add the sitewide activity widget If you want something more bespoke, i.e. just status updates… you will have […]
-
Roger Coathup posted on the forum topic How to display the most popular activities? in the group How-To and Troubleshooting: 14 years, 5 months ago
update: for an individual activity BP uses the function call $fav_count = bp_activity_get_meta( $activity_id, ‘favorite_count’ );
If you look at bp_activity_get_meta you should be able to determine the table used, and the SQL query to build.
- Load More
@rogercoathup
Active 4 years, 11 months ago