Search Results for 'custom activity page'
-
AuthorSearch Results
-
September 20, 2012 at 12:46 pm #142146
In reply to: display username in members directory
83 Oranges
ParticipantI followed 2 steps to successfully display usernames in the BP members directory & other pages instead of default Display names:
1st step was to install the BP Usernames only plugin: https://wordpress.org/extend/plugins/buddypress-usernames-only/
This replaced display names across the site by usernames however, when I used the search box on the members directory to search a member, it returned results with members display names again and not usernames. To resolve this, I additionally followed step 2 explained here: http://customwebdesignseo.com/activity/p/3002/September 17, 2012 at 7:27 pm #141922In reply to: Activity content outside the loop, in the head?
r-a-y
KeymasterYou could also wrap modemlooper’s code with a few conditionals:
`<?php
// see if the activity component is active and if we’re currently on an activity permalink page
if ( bp_is_active( ‘activity’ ) && bp_is_single_activity() ) :
// add our mini activity loop
if ( bp_has_activities( ‘include=’ . bp_current_action() ) ) :
while ( bp_activities() ) : bp_the_activity();
?><meta property="og:description" content="”/>
<?php
endwhile;
endif;
endif;
?>`This can also be turned into a tiny plugin, so if you don’t like adding huge chunks of code into your header.php, you could hook into the ‘bp_head’ action:
http://pastebin.com/CPAk4D16 (paste the following into wp-content/plugins/bp-custom.php)September 14, 2012 at 8:58 pm #141721In reply to: Activity Page Help Please
@mercime
Participant@websitevala The code provided here is custom to the theme used. Please start a new topic of your own where you should provide more information about your installation.
September 11, 2012 at 11:27 am #141433In reply to: [Resolved] Buddypress fixing alignment issues
Hugo Ashmore
ParticipantHave a read through the compatibility steps again as they are quite detailed.
Essentially you have things back to front, it’s not the BP markup you are looking for (#container doesn’t actually appear in index pages it’s written to header.php) but you custom themes markup which must be reflected in the BP templates, so at a quick glance comparing page.php to activity/index.php you need to add your themes single_wrap element after #content and move the sidebar call to the position just before #content is closed, in other words your custom themes files are the correct markup structure and you need to replicate that in the BP template pages.
September 6, 2012 at 11:15 am #1411164ella
ParticipantHi , sorry I am not able to help you with your thumbnail problem but at least I will bump this thread for you and will ask you how did you get custom post type into activity page ? I have also created custom post type section (with the help of gravity forms form which generate a custom post type post which I see in standalone page) but I can’t get to see it in activity page too, can you post here the code to appear the content of custom post type in the activity page?
September 6, 2012 at 1:39 am #141091In reply to: Group Sub nav links
lbrocka
ParticipantThank modemlooper – I totally agree about unsupported plugins and warned the client, but he is crazy about having this group home page and all the extra info sections. Everything was working well until the last buddypress update. The problem seems to be that both the group frontpage and Activity are directing to mysite.com/group.
I am thinking that creating a custom activity page may more what we want. building on the trick above – if I create a custom page template, such as group-activity.php – not sure where to put this. We are using a child theme.
Then – remove the default Activity sub-nav item and add a new custom sub-nav link
Any reason that won’t work?September 4, 2012 at 8:15 pm #140997juanmaguerrero
ParticipantIn fact the entire modifications (not only the preloader.gif) are made in the not-ideally-correct way, since all will be gone with any update. I’m asking for help since weeks ago on https://buddypress.org/community/groups/creating-extending/forum/topic/help-at-making-a-plugin-how-to-replace-bp-code/ and now on buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/how-can-i-make-a-custom-activity-loop-into-a-plugin-that-will-replace-the-default-one/ if I can manage to solve that automation I have all the code ready to pack as a plugin with a lot of improvements. @shawn38 do you know how to get this done?
August 9, 2012 at 3:26 pm #138966In reply to: Customizing Status updates
modemlooper
ModeratorA component will create a directory much like members or activity. url.com/recipes
On a users page it will have a tab recipes that list a users added content. The activity stream in my opinion should not be edited. It’s a listing of all site activity not individual content. That should be added via a component.
The BuddyPress skeleton component is an example plugin to learn the complexity of creating what you desire
August 8, 2012 at 5:18 pm #138851Norman
ParticipantI went there and the file I found has the lines applied already.
I have an update from Parallelus (author of Salutation theme), they are telling me this has to do with the fact I need up update the theme to the newest version. I am using version Version 1.4.3.1 and they released version v1.5.1. On the change log, they list:
2012-08-07 – Update (v1.5.1)
Fixed the HTML title element, not showing on home page
– Updated files:
header-default.php
framework/theme-functions/filters-and-actions.phpFix for BP avatars on WP post comments
– Updated files:
comments.phpBP admin bar style updates for skins
– Updated files:
style-default.css
style-skin-1.css
style-skin-2.css
style-skin-3.css
assets/images/icons/admin-bar-sprite.pngForgot a couple things in the last change log

– Updated files:
change log.txt2012-08-06 – Various updates (v1.5)
BuddyPress v1.6 compatibility updates
– Updated files:
activity/entry.php
activity/post-form.php
blogs/blogs-loop.php
groups/groups-loop.php
groups/single/forum/topic.php
forums/forums-loop.php
members/members-loop.php
members/single/member-header.php
members/single/member-header.php
members/single/messages/messages-loop.php
members/single/messages/single.php
assets/css/buddypress.css
assets/css/source/buddypress.css
framework/theme-functions/buddypress.php
framework/data/example-bp-custom.php
style-default.css
style-skin-1.css
style-skin-2.css
style-skin-3.css
comments.phpFixed a typo reference to “header” in the footer background.
– Updated files:
framework/layout-settings/admin-options-footer.phpModified the title elemen for better SEO plugin compatability.
– Updated files:
header-default.phpRemoved redundant call to duplicate function
– Updated files:
framework/theme-functions/buddypress.phpFixed BP forum reply textarea height.
– Updated files:
assets/css/source/buddypress.css
assets/css/buddypress.cssRemoved duplicate ‘ago’ in groups loop
– Updated files:
groups/groups-loop.phpFixed Read more »