Search Results for 'custom activity page'
-
AuthorSearch Results
-
May 15, 2014 at 2:51 pm #182966
In reply to: [Resolved] members profiles and blogs pages 404
islandcastaway
ParticipantOk, after a day of troubleshooting I figured it out. (jump to the end for the stupid answer)
Changing themes did not fix it, but it did open up a whole new can of worms because I was using a custom child theme running off of the bp-default theme. I see that I will have to totally redo my theme because of the changing BuddyPress structure.
I rolled my database back to 4/29/2013 wordpress 3.6 era (3.9 files tho)
deactivated BuddyPress
Installed BuddyPress 1.7
reactivated BuddyPress
buddypress 1.7 worksDid the same for 1.8 – 1.9. They all worked.
I did notice that the title for the “members” list was “directory”, not members.
I also noticed that in the plugins list throughout the updates it always said “There is a new version of BuddyPress available. View version 1.7 details”, even after 1.9Did the same steps for 2.0, still working.
The “members list” page title was now “members” instead of “directory”.Did the same steps for 2.01, still working.
The entire time I never hit upgrade network. When I did, I got an error saying no connection to sites, my dev box has all of the addresses hard coded in the hosts files and the site did pull up, just got the network update errors.
Tried deactivating domain mapping, still errors.
Updated the database with a current backup and BuddyPress was broke again.
Tried the permalink switch again. Never noticed “BuddyPress is almost ready. You must update your permalink structure to something other than the default for it to work.” before.
Went through each of the permalink options and still no go.
Deactivated all plugins except BuddyPress, still no go.
Rolled back the data base to 4/29/2013 and exported the wp_options table
Imported the 3.6 era options into the 3.9.1 database.
Tit worx.
Got a “Fast Secure Contact Form has imported settings from the old version.”
“Site Tracking Directory” is the “blogs” list page title
So I manually flushed the rewrites table in wp_options, no go.
Manually deleted _transient rows, no goCompared the bp-options rows in wp_options in the old and new databases.
“blogs” was missing from “bp-active-components” in the newer database:a:4:{s:8:”xprofile”;s:1:”1″;s:8:”settings”;s:1:”1″;s:5:”blogs”;s:1:”1″;s:7:”members”;s:1:”1″;}
Pasted that into the newer database and BINGO!
Went to the BuddyPress component admin page and no blogs setting, but toggling on/off “Site Tracking” was they key.
One friggin checkbox.
How the ### does “Site Tracking – Record activity for new sites, posts, and comments across your network.” translate into disabling “members profile pages” and the “blogs list”?
That seriously need to have a better description.
So mission accomplished.
Grrrrrrrrrrrrrrrrrrr
April 24, 2014 at 10:38 pm #182021In reply to: Custom classes for profile pages, possible?
jerryskate
ParticipantOk, a bit better 🙂 Still having my profilename outside the classes, but got all the old ones back.
<body jerryclass="activity bp-user my-activity my-account just-me buddypress bbp-user-page single singular bbpress page page-id-5 page-template-default logged-in admin-bar no-customize-support bp-wall adminbar-enable not-responsive this-is-a-member-profile member-profile-of-" class=" customize-support" data-twttr-rendered="true">April 24, 2014 at 9:04 pm #182010In reply to: Custom classes for profile pages, possible?
jerryskate
ParticipantYeah thats what i was thinking too. Seemed kinda weird to me. body.classname would be the obvious choose for me, but well.. weird output. need to fiddle around with it a little to see if i can get it to work. Too bad it filters out all the other classes though. This is how it looks without the filter:
activity bp-user my-activity my-account just-me buddypress bbp-user-page single singular bbpress page page-id-5 page-template-default logged-in admin-bar bp-wall adminbar-enable not-responsive customize-supportWish i could keep those classes and have the bodyclass of the user added.
April 13, 2014 at 1:41 pm #181193In reply to: [Bug] BuddyPress 2.0 Beta 2 –
Asynaptic
Participanta couple of things:
- here’s the codex page for customizing the permalink for members or any other component like it:
https://buddypress.org/2009/05/customizable-slugs-in-buddypress/ - while it may not be buddypress’s fault if there was a conflict with a plugin (cubepoints), I would suggest considering moving from cubepoints to myCRED which has a newer code base, support and extensive documentation (mycred.me)
maybe someone else can chime in on the activity update ‘bug’ that you mentioned
February 26, 2014 at 4:04 am #178918In reply to: [Resolved] Remove member last active
Clara
ParticipantHI,
I am attempting this as well.
I went into custom.css in my buddyboss theme (it is reflective mobile ready theme)
I thought I was adding this in the right place by putting it in global area, but it did not work…
have never been near css before so clueless…
here is what the page looks like with my addition… it did not hide the active (how long ago) item…
can someone please advise?? I saw to add it to the bottom, but that seems not right given how this is set up… did I do something wrong with brackets, or spaces or something?
I tried it with, and without, the dot in front of the word span…
/*————————————————————–
This is your custom stylesheet.Add your own styles here to make theme updates easier.
To override any styles from other stylesheets, simply copy them into here and edit away.Make sure to respect the media queries! Otherwise you may
accidentally add desktop styles to the mobile layout.You’re the boss, so have fun editing!
————————————————————–
>>> TABLE OF CONTENTS:
—————————————————————-
1.0 – Global Styles
2.0 – Responsive media queries (mobile styles)
2.1 – MAXIMUM width of 720 pixels (phones landscape)
2.2 – MAXIMUM width of 380 pixels (phones portrait)
2.3 – MINIMUM width of 721 pixels (tablets+)
2.4 – MINIMUM width of 1040 pixels (desktops and laptops)
————————————————————–*/
/*————————————————————–
1.0 – Global Styles
————————————————————–*//*
.span.activity {
display: none;
}
*//*————————————————————–
2.0 – Responsive media queries (mobile styles)
————————————————————–*/
/*————————————————————–
2.1 – MAXIMUM width of 720 pixels (phones landscape)
————————————————————–*/
@media screen and (max-width: 720px) {/*
.just_an_example {
color: black;
}
*/}/* don’t delete this closing bracket */
/*————————————————————–
2.2 – MAXIMUM width of 380 pixels (phones portrait)
————————————————————–*/
@media screen and (max-width: 380px) {/*
.just_an_example {
color: black;
}
*/}/* don’t delete this closing bracket */
/*————————————————————–
2.3 – MINIMUM width of 721 pixels (tablets+)
————————————————————–*/
@media screen and (min-width: 721px) {/*
.just_an_example {
color: black;
}
*/}/* don’t delete this closing bracket */
/*————————————————————–
2.4 – MINIMUM width of 1040 pixels (desktops and laptops)
————————————————————–*/
@media screen and (min-width: 1040px) {/*
.just_an_example {
color: black;
}
*/}/* don’t delete this closing bracket */
February 22, 2014 at 5:00 pm #178760In reply to: Activity Stream – Remove specific activities
shanebp
ModeratorYou can put this function in your theme functions.php or bp-custom.php
It will prevent the creation of activity entries for the items in $exclude
It will only do that going forward – it won’t remove existing entries.You need to find out what the activity type(s) is for achievements and add it to the exclude array.
function dont_save_various_activities( $activity_object ) { $exclude = array( 'friendship_created', 'new_member' ); if( in_array( $activity_object->type, $exclude ) ) $activity_object->type = false; } add_action('bp_activity_before_save', 'dont_save_various_activities', 1, 1 );You can read more on this great codex page by imath
https://codex.buddypress.org/plugindev/bp_activity_add-2/February 13, 2014 at 3:52 am #178333In reply to: BuddyPress Training or Tutorials
julianprice
Participant@cuisire_ceo It depends but found the following most useful after googling so much to only come up with garbage past dated scraped/syndicated content.
The most important question is what the Purpose for Your BuddyPress Use/Community. The only way I have wrapped my head around it is to work backwards but with that said…
Heres What I consider some of the Best Round Ups and Buddy Pep to Follow:
Tammie Lister @mercime http://wordpress.tv/?s=tammie have some great talks and also have just googled for any slides from the various presentations. If not able to see video.
Also check out her book that only seems most current: https://buddypress.org/2013/11/buddypress-theme-development-by-tammie-lister/
Boone Gorges @boonebgorges http://wordpress.tv/speakers/boone-gorges/ and most notable this presentation: http://wordpress.tv/2013/12/10/boone-gorges-herding-cats-with-the-buddypress-activity-component/
or anything Boone from Youtube via WordPressNYC great example http://www.youtube.com/watch?v=gPpU3ySo5q0 in understanding of GROUPS.Of course John James Jacoby jjj @johnjamesjacoby (sorry jjj: he rambles often:) but found this useful in just using a simple profile I believe this is the session maybe others can reference it “WordPress Profiles” http://wordpress.tv/2013/10/04/john-james-jacoby-everything-you-want-to-know-about-bbpress-and-buddypress/
So you probably thinking Wow but you have not answered anything on installing 🙂 Believe me it helps so much to think big picture of your whole community than start working backwards as single page/components to map similarities to constructed it.
This is one of the most useful tutorial of theme I had purchased which the developer went MIA but it was an AHA moment for me. Because Buddypress are Custom Post Types thats Relational Data/Fields
http://www.youtube.com/watch?v=Cc3Er4S4EeQ & http://www.youtube.com/watch?v=s7b9TFw6ZAQ
. I know what you thinking this is not my intent or not relevant. Start watching #2 at 2:16 to think in context of Simalirty.Finally, The only other best other video tutorial that just a setup instruction. I have found online was BuddyBoss (don’t even own the Theme) http://www.youtube.com/playlistlist=PL5kBYJSuuvEj3KqG_lnAa9MxpZumjtTdY
and Mathis on VIMEO. The biggest problem is finding the resources in a central location so I have to track down.
I hope that helps as resources. It really would depend on how you see your community of your people and how its relational in context
February 10, 2014 at 12:59 pm #178211Joss Winn
ParticipantHi again,
I still have this problem. I’m sure it’s BuddyPress that is the cause, as it still occurs with different themes and with all other plugins deactivated. When I deactivate BuddyPress, the problem stops.
Run your mouse over the links on this page, and you’ll see the issue: http://blogs.lincoln.ac.uk/test/
I was wondering whether it is a legacy of running BuddyPress since alpha/beta and whether there is an old setting in the database or something that I might look out for. Where are the BuddyPress settings stored in the database? None of the wp_bp tables look like they hold global settings.
In my wp-config.php file, I have the following:
define( ‘BP_ENABLE_ROOT_PROFILES’, true ); //removes the /members/ slug
define( ‘BP_DEFAULT_COMPONENT’, ‘custom-profile’ ); //defaults to profile page rather than activity stream of a user
define( ‘BP_ENABLE_USERNAME_COMPATIBILITY_MODE’, true ); //for LDAP compatibility
define ( ‘BP_IGNORE_DEPRECATED’, true );
define(‘BP_USE_WP_ADMIN_BAR’,true);Thanks for any advice,
JossFebruary 6, 2014 at 7:02 pm #178042In reply to: "Load More" in activity stream does nothing
Henry Wright
ModeratorThe Load More button is dependent on the markup (HTML) of the page. If you’ve customised the group activity page HTML then that might be why it doesn’t work any more.
February 5, 2014 at 2:10 pm #177962In reply to: bbPress forum posts not appearing in activity stream
shanebp
ModeratorUsing some custom sql is probably the simplest approach for gathering old entries.
But if it’s in the activity stream, those entries should be pushed off the first page very soon so perhaps you can justify not bothering ? 🙂
January 19, 2014 at 4:39 am #177181In reply to: 2.0 top features – ideas
SK
ParticipantBetter customisation options of the activity stream: ie to be able to define a set of “or” filters for content type, and who. So (with plugin support) I can define a feed to include things from “me or friends or followers” showing “topics and topic replies and posts and new users” (and ideally be able to have a permalink to this with no other fluff on display). The current activity feed selectors are a mess and don’t provide what most people want to see.
There are about 50-75 Premium BuddyPress themes online for sale and 99% of them have the same activity stream page-layout. While all those premium theme developers can do lots of customization to all other pages the activity stream is like Twitter’s Bootstrap to BuddyPress it always tells you it’s a BuddyPress website without looking at the code.
The reason all those themes activity look alike is because previously it was a nightmare to create something that wasn’t derivative of bp-default and it’s heavy-handed javascript. This is not the case anymore.
In other words, this issue has already been fixed. Now it is upto the theme developers to customize the feed aesthetics to their hearts’ content.
January 13, 2014 at 3:21 am #176832In reply to: Activity Streams in Page and Groups
wiste
ParticipantHi @rayela, since your original question never got answered I thought I’d give you an answer:
As you discovered, you can disable all activity feeds for your entire site by unchecking the “activities” component on the BuddyPress settings Components tab, but as you mentioned this results in a blank home page which isn’t good.
Unfortunately, you cannot fix this without writing code because there are no easy options to do this with BuddyPress (I feel your pain, I quit programming for a reason).
You will need to create a functions.php or bp-custom.php as mentioned above to add custom code to. This function will redirect it so that the forum tab is the “home page” for your group and remove the “home” tab so that it’s no longer visible:
function redirect_group_home() { global $bp; $path = clean_url( $_SERVER['REQUEST_URI'] ); $path = apply_filters( 'bp_uri', $path ); if (bp_is_group_home() && strpos( $path, $bp->bp_options_nav[$bp->groups->current_group->slug]['home']['slug'] ) === false ) { if ($bp->groups->current_group->is_user_member || $bp->groups->current_group->status == 'public') { bp_core_redirect( $path . 'forum/' ); } } $bp->bp_options_nav[$bp->groups->current_group->slug]['home'] = false; } add_action('bp_init', 'redirect_group_home');I’m not sure if you’re still active here but I felt after your amiable responses you deserved a real answer.
December 21, 2013 at 2:49 pm #175885In reply to: 2.0 top features – ideas
Shmoo
ParticipantBetter customisation options of the activity stream: ie to be able to define a set of “or” filters for content type, and who. So (with plugin support) I can define a feed to include things from “me or friends or followers” showing “topics and topic replies and posts and new users” (and ideally be able to have a permalink to this with no other fluff on display). The current activity feed selectors are a mess and don’t provide what most people want to see.
Should be nummer 1.
And I don’t even want lots of new features to the activity stream but first just an easy way to customize the default lay-out would be so much pleasant!
All BP pages are very easy to customize, move code around to give the page an unique feeling but when it comes to the activity stream the code is very fixed.
There are about 50-75 Premium BuddyPress themes online for sale and 99% of them have the same activity stream page-layout. While all those premium theme developers can do lots of customization to all other pages the activity stream is like Twitter’s Bootstrap to BuddyPress it always tells you it’s a BuddyPress website without looking at the code.
December 20, 2013 at 2:27 am #175826In reply to: add_theme_support breaks buddypress
jedifunk
Participant@modemlooper thanks for the help!
yes, the documentation on this site for the theme override is extremely limited and definitely confusing…
the single page on this site talking about the add_theme_support function was very vague, and not worded well… certainly giving the impression that it WAS necessary in order to override.
to use custom pages/loops/etc, do i still need to have the /buddypress/activity/file.php in my theme?
lastly, i don’t like the idea of being required to load another css file to override styles… i’d prefer to just use the styles.css file. it also makes writing the css a pain since everything requires the use of the #buddypress ID… not very elegant IMO.
with 1.8 it was working great, i had the default styles off, and was able to add my bootstrap classes, and style only what i needed.
am i missing something here?
December 8, 2013 at 11:11 am #175246In reply to: Add post featured image in activity stream
Matt McFarland
ParticipantYes this is very easy to do.
Adding the featured image of a wordpress post into a buddypress activity stream can be done by doing one of the following. I’d like to add that I had trouble finding out how to do this at first and it took a lot of searching. The first copypasta I have for you was actually found on these very forums. However, due to so many people asking this question (and not getting answers) it is buried and very difficult to find. So without further ado please enjoy…
You can either edit the activity page activity/entry.php or just copy paste the following function into your functions.php file.
function icondeposit_bp_activity_entry_meta() { if ( bp_get_activity_object_name() == 'blogs' && bp_get_activity_type() == 'new_blog_post' ) {?> <?php global $wpdb, $post, $bp; $theimg = wp_get_attachment_image_src( get_post_thumbnail_id( bp_get_activity_secondary_item_id() ) ); ?> <img src="<?php echo $theimg[0]; ?>" > <?php } } add_action('bp_activity_excerpt_append_text', 'icondeposit_bp_activity_entry_meta');If you want further customization, I recommend editing activity/entry.php
December 6, 2013 at 5:31 pm #175189In reply to: Changing default activity stream view
Shmoo
ParticipantI think it’s too complex for a Plugin because this is too specific to your needs , plugins are great when they serve lots of people. But you could alter the layouts if you know how the template structure in WordPress and BuddyPress works.
Give each page it’s own custom Activity-loop template and you should be able to make whatever view you want on each page that shows an Activity.
By default each page uses only one ( the default ) activity-loop template to create the activity content. But if you like you can duplicate those files and customize them for each page. Just duplicated the needed files and rename them to something like this: activity-groups-loop.php or activity-members-loop.php than make sure at the groups page the loop to the activity doesn’t load the default activity templates but your custom ( duplicated ) files.I really love how easy this works in WordPress and BuddyPress not a lot of CMS software have this easy to use template structure and logic.
The only real problem I found with this is that the Activity-contents are made by very dynamic code – it’s very difficult to alter the items that will be shown at the page such as time, name, avatar , activity-title and the real content compared to other BuddyPress pages.
I’ve made a Trac. Ticket for BuddyPress 2.0 , so lets hope somebody very smart could change the code a bit and we can really alter our Activity contents too.
https://buddypress.trac.wordpress.org/ticket/5261December 2, 2013 at 12:27 am #175027htrev
ParticipantJust to clarify what’s happening here:
The search results page I’d like to see is the standard WP one – i.e. showing matching blog posts. This is what happens when the home page is set to show latest posts (in Appearance > Customise > Site front page), which is fine. However my site’s home page is set it to show the default Buddypress Activity page, and now the search results (i.e. a URL of the form http://www.site.com/?s=query) shows matching activity updates. This applies whether I’m using a custom theme or the default Buddypress theme. Is there any way this can be configured so that this page shows matching blog posts instead?
November 24, 2013 at 4:48 pm #174737In reply to: Feedback: BP is getting better by each release-cycle
Shmoo
ParticipantTrue, but I was thinking of using the FitText.js plugin to prevent usernames from going to a second line when they become longer at this index page.
While working with min-heights on each element I try to control each member ‘widget’ having the same overall height.I would like to use BuddyPress as an upgrade (redesign) of an exciting bbPress site that has been broken from upgrading from bbPress 1.0 -> 2.0.
This site offers news articles, video + audio Post Formats and support trough bbPress but has grown into some very active ‘online-public-bar’ where people like to post a lot of Off Topic stuff mainly on the forum-side of the of the website while the homepage (news) is often overlooked.Using the Groups section for all Off Topic forum discussions and use the bbPress forums module only for real On Topic support would make this website more social and getting more people involved though the Activity-stream.
Plus I could make a custom audio-postformat (Podcasts) query on the BP Groups page to list all latest Podcasts.Redesign of the Groups section. Replacing the Avatar for an icon that will be the same through the entire site and people will recognize it as Off Topic stuff.
Maybe the font-size, spacing and coloring is still a bit off but I’ll look at this at the end, right now it using the Global styles.
November 20, 2013 at 4:27 am #174517In reply to: 2.0 top features – ideas
Martyn_
Participant* Better customisation options of the activity stream: ie to be able to define a set of “or” filters for content type, and who. So (with plugin support) I can define a feed to include things from “me or friends or followers” showing “topics and topic replies and posts and new users” (and ideally be able to have a permalink to this with no other fluff on display). The current activity feed selectors are a mess and don’t provide what most people want to see.
* A way to select which filters and views are available in activity/, and persistently set the default activity feed view (from the admin panel)
* live activity updates
* A reply by PM hook into bbpress
* Better options for users to self delete
* Improved management/rethink of the tabs on profile pages (because this rapidly piles up as you add in plugins) : “Activity Profile Messages Friends Following Followers Location Groups Blog Forums Events Gallery Settings Links” Is not viable for a one line menu bar – this is maybe a display issue, but…!
* be able to pass a function to the members loop, thats called to determine the display order (e.g. so I can easily order by City or age or any xprofile field)
Maybe these are already there, but these are the things that are bugging me as a non-expert dev right now…
November 17, 2013 at 1:28 am #174322In reply to: Buddypress Custom Members Page Item Alignment
Henry
MemberAs an example, if you wanted to align-right the “active time ago” text you could put this in your theme’s style.css
.item-meta .activity { float: right; }As I said though, there are many ways to do it depending on your exact needs.
text-align: rightis an example. Make the parent elementposition: relative;and then useposition: absolute; right: 0; top: 0;is another. The best approach will all come down to what you’re trying to achieve visually overall.November 2, 2013 at 7:55 pm #173719In reply to: Avatar-less
aces
Participant@barboncaves
Have you tried disabling Show Avatars in WordPress Admin > Settings > Discussion? ( – the avatars section is lower down the page )You might need to customise your child theme’s style sheet. Using bp-default the following might be useful:
.activity-list .activity-content { margin-left: 25px; }I haven’t checked anywhere else…
October 25, 2013 at 12:41 am #173340In reply to: Customizing Page Templates
strangechild
ParticipantOh and I was able to get one of my pages out of “lockdown” temporarily.
October 18, 2013 at 10:52 am #173050In reply to: Linking user avatar to user profile page
binutz
ParticipantThank you for the response. I created a file named bp-custom.php in the plugin folder and added the code specified above into it. Unfortunately,it didn’t work!
However,it works when I add the same code into wp-config.php file.
Only issue that I find with this method is that it always redirects the logged in users to profile page bypassing the activity update. I would like to be redirected to activity updates after loging in. All I need is to show up the profile page when the profile avatar or the user name is clicked ,in the Members page. Can it be done anyway?October 15, 2013 at 8:36 pm #172893In reply to: Activity Stream post voting/sorting
danbp
ParticipantBP has no post, it’s WP. 😉
BP has no rating system, so you need to create it first or use a rating plugin for the blog posts. And probably the votes won’t show up in the activities. I’m afraid that what you want will need some custom coding. 😉Can’t help you more, but here are some usefull resource.
The codex Activity Loop page.
Some advice to modify the Activity
A detailed tutorial, by @imath
A configurable activity widget
October 6, 2013 at 4:39 pm #172370In reply to: [Resolved] How to redirect bp users to activity page
bp-help
Participant@tse11
Patience please! Deactivate the plugin you was using for redirecting and try this in bp-custom.php https://codex.buddypress.org/plugin-development/bp-custom-php/ :function bphelp_redirect() { if( is_user_logged_in() && is_super_admin && is_home) { // redirect to dashboard code bp_core_redirect( get_option( 'home' ) . '/wp-admin/' ); }else { if( is_user_loggedin() && !is_super_admin && is_home) { // redirect to activity code bp_core_redirect( get_option( 'home' ) . '/activity/' ); } } } add_action( 'template_redirect', 'bphelp_redirect', 1 ); - here’s the codex page for customizing the permalink for members or any other component like it:
-
AuthorSearch Results