Search Results for 'custom activity page'
-
Search Results
-
Topic: Post is cut off at top…
http://www.imagebam.com/image/d782b2327727553
When i click on a post off of my activity wall, it looks like this. I’m sure it’s a css issue but i cant figure it out. below is my child style.css , can anyone help? Thanks!
*/ /* * Please add your custom styles below */ /*Hide Activity Page Filter Choice Drop Down Bar*/ #activity-filter-select { display: none; } /*Make crop avatar square into a circle*/ #avatar-crop-pane { border-radius: 50%; } /*Raise Send Message and Go To Top Buttons To Make Room For ChatBar*/ .kleo-quick-contact-link { background-color: rgba(0, 0, 0, 0.4); border-radius: 3px; display: block; margin-bottom: 4px; padding: 12px 14px; transition: all 0.2s ease-in-out 0s; } .kleo-go-top { background-color: rgba(0, 0, 0, 0.2); border-radius: 3px; bottom: 25px; opacity: 0; padding: 12px 14px; position: fixed; right: -60px; transition: all 0.2s ease-in-out 0s; z-index: 100; } /*ChatRoom*/ #post-35 { border: solid !important; } /*Remove Groups Option*/ #groups-list-options { display: none; } /*Remove Favorites*/ .button.fav.bp-secondary-action { display: none; } #activity-favorites { display: none; } /*Remove User and Photo Above Update Box*/ .activity-greeting { margin-left: 1px !important; } /*Capitalize Group Titles*/ .item-title > a { text-transform: uppercase; } /*Remove Whats New Avatar */ #whats-new-avatar { display: none !important; } /*Remove Forum Author Footer */ .bbp-footer { display: none; } /* Align Group Widget Titles */ .item-title { margin-top: 31px; } /* Group Body Adjusting*/ .template-page.col-sm-6.col-sm-push-3.tpl-3lr { padding-top: 0; } /* Remove Top Total Group Count*/ #pag-top { display: none !important; } /* Remove Top Total Group Count Small*/ #groups-all span { display: none !important; } /* Remove Top All Groups Text*/ #groups-all { display: none; } /* Logo Adjusting*/ .navbar-header:before, .navbar-header:after { padding-top: 15px; } .navbar-header .logo { margin-left: -22px; } /* Search Knowledge Base Logo Alignment */ .widget form#bbp-search-form .button { margin-top: 3px; } /* Sidebar Adjusting*/ .inner-content { margin-top: -52px; } /* Remove Bottom Of Header Border*/ .container-wrap.main-title.alternate-color.border-bottom { display: none; } /* Login Widget White Text*/ #bp-login-widget-form { color: white; } bp-login-widget-user-login { color: white; } bp-login-widget-submit { color: white; } .input { color: white; } /* Answers Search Bar Resizing and Alignment*/ .dwqa-search-input { margin-left: 856px !important; width: 35% !important; height: 50px !important; } /* Answers Question Bar Resized*/ #question-category { width: 75%; } /* Answers Gray Bar Made White*/ .kleo-page { background: none repeat scroll 0 0 #FFFFFF; } /* Answers Body Resize and Align*/ #dwqa-submit-question-form { margin-left: 20%; margin-top: 3% !important; width: 60% !important; } /* Remove P In Answers Footer*/ #mce_55 { display: none; } /* Answers Search Bar Icon Alignment*/ .dwqa-search-submit.fa.fa-search { margin-right: 15px; } /* Answers Search Bar Background Color*/ .dwqa-search .dwqa-search-form { background: none repeat scroll 0 0 #FFFFFF; } /* Resize Question Category Box*/ #question-category { height: 31px; } #question-tag { height: 31px; } /* Line Beneath Answers Search Bar Removal*/ .filter-bar { border-top: 0 none !important; } /* Line Beneath Header Removal*/ .kleo-main-header { border-bottom: 0 none !important; } /* Groups Subtext Alignment*/ #groups-list-options { text-align: center; } /* Remove Bottom Total Group Count*/ #group-dir-count-bottom { display: none; } /* Remove All Members Count On Profile*/ #activity-all span { display: none !important; } /* Remove Forum Meta Info*/ .bbp-topic-started-by { display: none; } .bbp-topic-freshness { display: none; } .bbp-topic-voice-count { display: none; } .bbp-topic-reply-count { display: none; } .bbp-reply-author { display: none; } .bbp-topic-author { display: none; } #bbp-topic-revision-log-464-item-465 { display: none; } /* Remove All Members Count On Profile*/ #members-all span { display: none !important; } /* Center Widget Titles*/ .widget-title { text-align: center; } /* Remove All Members Count On Members Page Top*/ #member-dir-count-top { display: none; } /* Remove All Members Count On Members Page Bottom*/ #member-dir-count-bottom { display: none; } /* Logo Resize*/ .navbar-header .logo { float: left; height: 88px; overflow: visible; width: 286px; } /* Forum Header Removal */ .bbp-header { display: none; } /* Forum Center Text and Photo */ .bbp-reply-content { margin-left: 18px !important; } /* Time Last Logged In Removal */ .item-meta { display: none; } /* Chatroom timestamp gone */ .quick-chat-history-timestring { display: none; } /* Ask Question Body Dropped */ #submit-question > form { margin-top: 45px; } /* Answers Title Removal */ .dwqa-page-title { display: none; } /* Widget Avatar Size */ .widget.buddypress div.item-avatar img.avatar { border-radius: 100%; float: left; height: 70px; margin: 0 8px 15px 0; width: 70px; } /* Testimonial Slider */ kleo-testimonials { height: 30px; } /* WP Logo on admin bar */ #wp-admin-bar-wp-logo { display:none; } /*Remove Smaller Numbers on Animated Counting Numbers on Homepage */ .wpb_wrapper > p { display: none; } /*Dropdown Menu Alignment */ .dropdown-menu.pull-left { margin-top: -3px !important; margin-left: 10px !important; } /*Username on profile Alignment */ #item-header-content { margin-top: 5px; } /*Remove FORUM icon on profile */ #user-forums { display: none !important; } /*Remove NOTIFICATIONS icon on profile */ #user-notifications { display: none !important; } /*Remove last login on profile */ #item-header-content .activity { display:none !important; }I’d like to have a page on my site for users to submit inspirational quotes and photos, like they would on a Facebook page. What’s the best way to do this?
I want it to work like the Activity Stream, but I only want the stream to include posts that were made on that page, not all the other messages that get created. So what I’m thinking is that I create a custom page, have the stream on it, and somehow filter the stream so that it only shows what was entered on that page. However, what was entered on that page by a user would also appear on that user’s feed.
Has anyone done something like this?
Hi all,
I’m using BuddyPress for my website http://www.starry-night.nl.
Starry-Night.nl is a customised buddyboss theme site with the activity page set as home page. This is also the problem with the wordpress search. WordPress Search only searches the activity page (only that context) and not the entire site/db. Searching from let’s say a wordpress page redirects to the activity wall.
Prob. a small fix but beyond me.
Best regards from the Netherlands,
Marc
ps: the search is only possible when logged in by default (wp-adminbar).
Hello, I am relatively new to WordPress-Buddypress, HTML and CSS and I would like your help to figure out what happened.
Almost a year ago I had set up a website on WordPress and I had installed Buddypress, and using a child theme and CSS I made all the customizations I wanted. After I finished and for some personal reasons I did not opened the website for some months (it was password locked) and now I’m coming to see that half of the styles I applied are gone!
The first thing I thought was that it was my mistake – that these CSS changes were made in the core files and not in the stylesheet of the child theme. But I don’t think that this is the case. Later I thought that since then it has been a long time and many updates and may now the browsers handle some elements differently (!)…but, I don’t think so! Now I think that some how and without even update my Buddypress/Wordpress installation some of the IDs changed. Is this possible?
For example, In the User Groups page there was an ID “#groups-sort-by” for the “Order By” drop down menu. This menu lost its style and its current ID is “groups-order-by”. Another example, in the Activity Steams page there is a “What’s new…” text area field that used to have ID “#whats-new-post-in” and now it has “whats-new”. Is this correct or am I just a VERY confused Newbie???:)
I will fix them again but I’m afraid if this happens again then there is no meaning in having a child theme or to keep backups since they can’t help if the IDs changed. Thanks for any advice you can provide!
Topic: Page Hierarchy Pain
(info on wp and bp versions, etc, at bottom of this post)
I’ve set up a page hierarchy like so:
Socialise (sitewide activity assigned to this)
– Members (members directory assigned to this)
– Groups (groups directory assigned to this)
– Forums (bbPress forum root assigned to this)I’m running in to some problems as follows (some of which may be theme related and I’m checking in to that with theme developer):
a) Page titles are being overridden – eg. “Socialise” page is replaced with “Sitewide Activity” title.
b) Page hierarchy missing from breadcrumbs – eg. Members page has breadcrubs: Home / Members – should be Home / Socialise / Members
c) When viewing a group, I’m getting a blank page…
I’m using standard WP ‘page’ menu link type, set to Groups to get to my group directory page (which is working fine), the resultant URL /socialise/groups/
But then when I click on a group (either in the groups directory or anything else that provides a link to a group), the individual group page is blank. Example URL: /socialise/groups/test-group/
I have a hunch that it’s the page hierarchy that’s throwing it, in other words I assume BP has hard-coded assumption that all directory pages (such as Groups / Members / etc) are top-level.
I have same sort of problems with Members page if I put it as child page of my Socialise page.
Resetting the pages to be top-level solves the problem but it’s very annoying as I can’t structure the page hierarchy in a meaningful manner. There are some practical reasons why I want to use a page hierarchy, specifically there are plugins such as ‘Content Aware Sidebars’ that I can configure much more succinctly when things are hierarchically structured. In addition, it guarantees that my breadcrumbs will never reflect the desired structure of my site (not that they do anyway – they also seem hard-coded somewhere to assume that key pages are at root level).
For now I can just leave things like Members and Groups as top-level pages, but it would be most appreciated if there was some way to overcome this page hierarchy issue + fix breadcrumbs + not override page titles.
—-
1. Which version of WordPress are you running?
* 3.8.3
2. Did you install WordPress as a directory or subdomain install?
* Uhm, no idea. I set up an account with wpengine.com and they automagically installed wp for me.
3. If a directory install, is it in root or in a subdirectory?
* Don’t know.
4. Did you upgrade from a previous version of WordPress? If so, from which version?
* No, fresh install.
5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting.
* Yes, and it’s still working fine now (other than issue mentioned earlier).
6. Which version of BP are you running?
* 2.0
7. Did you upgraded from a previous version of BP? If so, from which version?
* Nope, fresh install.
8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?
* bbPress: Version 2.5.3
* bbPress – Private Replies: Version 1.1.1
* bbPress auto subscribe for new topics and replies: Version 1.0
* Bowe Codes: Version 2.1
* BP Blog Author Profile Link: Version 2.8.1
* BP Direct Menus: Version 1.0.0
* BuddyPress Follow: Version 1.2.1
* BuddyPress Moderation: Version 0.1.7
* Content Aware Sidebars: Version 2.0.3
* K Elements: Version 1.4.1
* Restrict Usernames: Version 3.4.1
* Revolution Slider: Version 4.3.6
* rtMedia for WordPress, BuddyPress and bbPress: Version 3.6.13
* Social Articles: Version 1.5.1
* Taxonomy Metadata: Version 0.4
* User Switching: Version 0.8.9
* WP Admin No Show: Version 1.4.3
* WPBakery Visual Composer: Version 4.0.59. Are you using the standard BuddyPress themes or customized themes?
* Custom: Kleo theme (latest version): http://themeforest.net/item/kleo-next-level-premium-wordpress-theme/6776630
10. Have you modified the core files in any way?
* No
11. Do you have any custom functions in bp-custom.php?
* Not that I’m aware of.
12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
* 2.5.3 – installed separately to BP
13. Please provide a list of any errors in your server’s log files.
* Just one error repeated several times a few hours ago when I was setting up some widgets:
[Tue Apr 29 23:14:25 2014] [error] [client 86.176.8.125] PHP Warning: array_map() [function.array-map]: Argument #2 should be an array in /nas/wp/www/cluster-2399/localise/wp-content/plugins/bowe-codes/includes/widget.php on line 88, referer: http://localise.wpengine.com/wp-admin/widgets.php
14. Which company provides your hosting?
* WP Engine
15. Is your server running Windows, or if Linux; Apache, nginx or something else?
* Linux, I assume. Not sure what webserver, but assume Apache.
Hi,
i want to show custom post type “portfolio” in activity or under a new tab “Media”
my site is basically to embed videos and audios.
i have been searching for hours still no solution.http://www.journalistspages.comBP 1.9.2Hi,
this problem just drives me crazy, i would apprechiatte any help!
We have the latest release of buddypress and wordpress installed. this error appears with the legacy theme and as well with our custom theme, regardless of activated plugins (disabled all exept buddypress)
here is the situation:
– when a user comments on a activity the comment shows up
– when he refreshed the page the comment is gone
– when i look into the database the comment is is there
– when i change the user id from the comment in the database to 1,2,3 it works, 5 aleready dont works
– it doest matter if the commenting user is a admin or not. user 2 isnt a andmin but the comment apears, when i register a new user and make him a admin the comments dont apear…
– also the comment counter dont show the comments.has anyone any idea how to start? i just researched the whole day on this problem and couldnt find any solution. plus its totally unlogical for me wye this dont works with every new user…
thank you in advance! and for real, if someone ssolves this i buy you a big beer!
regards
joschiHi All,
Im suing Sabia Directory and I want the user activity from the plugin to show in there BuddyPress Activity Stream. http://codecanyon.net/item/sabaidirectory-for-wordpress/4505485?WT.ac=portfolio_item&WT.seg_1=portfolio_item&WT.z_author=onokazu
The plugin is currently not compatible with BuddyPress. Iv done some searching about and I found this page. http://codex.buddypress.org/plugindev/bp_activity_add-2/#recording-activities-for-a-custom-component
My knowledge and coding skills are not good enough to understand what all this means. Can some one please help me out and either point me in the right direction or explain my best course of attack.
Topic: Customize Profile Tabs
I’ve removed the tabs on sitewide activity by commenting out lines in buddypress > activity > index.php (edited version added to child theme). This will help in reducing problems when I narrow the site width.
I’d like to do something similar on a single member profile page but I can’t find what I’m looking for in buddypress > members > index.php / members-loop.php or buddypress> members > single > activity.php
I want to merge the data for Mentions and Favourites in the Personal tab, and Following and Groups into a second tab (possibly renamed ‘Connections’).
It’s also related to narrowing the site width, but partly because I find the never ending list of default tabs in Buddypress really untidy, and a turn off for users.
I’m sure this is a 5 minute job, I just can’t find what I’m looking for?
WP 3.8.1
BP 1.9Thanks,
Paul.Hi BuddyPress community,
I am developing a BuddyPress plugin with a custom BuddyPress component in it. So far I am working off the BuddyPress Skeleton Component, but that is a bit outdated. Mostly I have been able to work around the issues, but I have found myself stuck at this one issue.
I am creating a new component called ‘bp-env’ with slug ‘env’. It has a custom screen in the user profile (main menu next to Activity etc called ‘Env’ with a submenu with currently just one screen, ‘General’) that I also want to show in it’s separate index page. It has an env/index template so we should be able to visit mysite.com/env and see the index page for the bp-env component. This is working somewhat, but only with some nasty hacks that I feel are probably not needed if I would just understand BuddyPress better.
I have a function
function bp_env_load_template_filter($found_template, $templates) {
based on the one from the skeleton component. Inside that function I see this line:
// note: this is only really relevant for bp-default themes as theme compat
// will kick in on its own when this template isn’t found
$found_template = locate_template(‘members/single/plugins.php’, false, false);I don’t really get what this does and I really wonder whether I don’t have to change the path given to
locate_template. I don’t see any relationship betweenmembers/single/plugins.php' and my templates at 'my_plugin/includes/templates/buddypress/env/'... At that location I have anindex.phptemplate that should be able to show the screen for my env component when requested separately (e.g. via mysite.com/env) and ageneral.phpfor the 'General' screen for my component that is shown when we navigate toEnv / General` within the user’s profile.Below that line I added this code. It was the only way I see for now to make BuddyPress pick up my index.php template, but probably that’s just because I am a n00b… 🙂
// get template from $templates array and strip the php extension
$template = str_replace( ‘.php’, ”, $templates[0] );if ($template == ‘env/index’) {
$found_template = CC_PLUGIN_DIR . ‘/includes/templates/buddypress/’ . $template . ‘.php’;
return apply_filters(‘bp_env_load_template_filter’, $found_template);
}$bp->env->template = $template;
// add our hook to inject content into BP
add_action(‘bp_template_content’, create_function(”, ‘
global $bp;
bp_get_template_part($bp->env->template);
‘));Eventually I got this to somewhat work by copying my page template into ../env/index.php, but I don’t think it is supposed to work this way. Inside the copied page template I now have this:
<?php
while ( have_posts() ) : the_post();
?>
<article id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>
<?php if ( ! is_front_page() ) { ?>
<h1 class=”entry-title”><?php the_title(); ?></h1>
<?php } ?><div class=”entry-content”>
<?php /*
Here, we fill in the BuddyPress template. This should
normally work by the page template requesting the_content()
and BuddyPress selecting our template based on the URL,
but we did not yet get this to work, so we do it hardcoded
for now…// This code is not working atm…
<?php the_content( __( ‘Read more →’, ‘ward’ ) ); ?>
*/ ?><div id=”buddypress”>
<?php do_action( ‘bp_before_member_home_content’ ); ?><div id=”item-body” role=”main”>
<?php do_action( ‘bp_before_member_body’ );// This should not have to be hardcoded I guess….
bp_get_template_part( ‘env/general’ );do_action( ‘bp_after_member_body’ ); ?>
</div><!– #item-body –><?php do_action( ‘bp_after_member_home_content’ ); ?>
</div><!– #buddypress –>
</div><!– .entry-content –><?php get_template_part( ‘content’, ‘footer’ ); ?>
</article><!– #post-<?php the_ID(); ?> –><?php
comments_template( ”, true );
endwhile;
?>As you can see I am completely copying both the page template from my theme (Ward) and the default BuddyPress code that renders the stuff around the screen on the Profile page…
Any tips for where to look on how to do this properly would be greatly appreciated!
-Stijn
I’m looking for some guiding principles here about the best way to deal with some relatively complex queries.
I have a location-based site running WP and BP (latest of each) that geo-tags everything as it is created (users, activity, some CPTs etc.)
On the front end, when a user browses the members directory, for example, they see only the other users within an x-mile radius (there is a slider for x).
Similarly, activity status updates, they see only those updates within a given radius.
At the moment I construct a custom $sql query which includes testing the lat & lng I have stored as extra xprofile fields or fields in wp_bp_activity_meta plus one or two other filters.
This works, but I don’t know whether it is optimal, or scaleable.
An alternative would be to do it in 2 steps: to use the normal bp loop functions to return all potential results regardless of location, and then write a PHP function to apply the radius test.
Would the database be more efficient at running that test or does it choke on complex queries and it would be beneficial to break it up? The core BP functions are presumably highly optimised already.
Doing it in 2 steps would mean there was some scope for caching the first set of results, doing it all in 1 rules out caching as every query will be different, barring someone refreshing the page.
I’m asking this now because I’m about to dip my toes into adding Groups, with similar location-awareness. It shouldn’t be too difficult to replicate what I’ve done with Members and Activity, so that users only see Groups within a certain radius. But where it might get tricky is I’m contemplating going more granular. That is to say, having some universal groups and/or forums where, for example, individual forum posts are geo-tagged, so users in one area will see some of the posts and users in another area will see different posts within the same group/forum.
I imagine the queries might get a bit hairy, and hence the question about whether to continue with custom queries or to use the BP loops as a starting point for a function which then applies the location radius test.
Phew. Thanks.
I am using wordpress multisite 3.8.1 and buddypress 1.9. I am trying to customize my site, so I’ve created a bp-custom.php file. I’ve been reading the codex pages and I am now at an impasse.
When I first implemented the bp-custom.php it caused severe conflicts with BotDetect CAPTCHA, so I removed that plugin. That allowed bp-custom to work properly, but is causing a conflict with users logging in or logging out. I tried remove AJAX login, but that did not help.
Specifically, I get these two lines, the 2nd one with multiple occurrences:
Warning: Cannot modify header information – headers already sent by (output started at /mysite/wp-content/plugins/bp-custom.php:2) in /mysite/htdocs/GotBooks_WordPress/wp-login.php on line 415
Warning: Cannot modify header information – headers already sent by (output started at mysite/wp-content/plugins/bp-custom.php:2) in /mysite/htdocs/GotBooks_WordPress/wp-includes/pluggable.php on line 695
My bp-custom file is located in the wordpress plugins folder. Here is my code in bp-custom:
<?php
// making my own functions to customize buddypress
// by Jerryfunction bbg_change_profile_tab_order() {
global $bp;$bp->bp_nav[‘profile’][‘position’] = 10;
$bp->bp_nav[‘activity’][‘position’] = 20;
$bp->bp_nav[‘blogs’][‘position’] = 30;
$bp->bp_nav[‘friends’][‘position’] = 40;
$bp->bp_nav[‘messages’][‘position’] = 50;
$bp->bp_nav[‘groups’][‘position’] = 80;
$bp->bp_nav[‘settings’][‘position’] = 60;
}
add_action(‘bp_setup_nav’, ‘bbg_change_profile_tab_order’, 999 );
?>I am on shared hosting with 1and1.com – don’t know if that makes a difference. I’ve been searching threads but can’t find a similar issue. Any help would be appreciated!
Thanks,
Hello
I’m using wordpress 3.0.4 and buddypress 1.2.7. I’ve changed the Permalink on WordPress configuration to the following :
Month and name. Example:
http://www.mysoundfriends.com/2014/02/sample-post/"in the activity Stream the link to the detailpage is shown as:
http://www.mysoundfriends.com/2012/07/alle-farben-danse/You can see the link on mysoundfriends.com and click on the tab “popular”
but if you click on the link, the url is shown as the follow
http://www.mysoundfriends.com/beli/posts/2427Have you any idea why it’s not working on the detail page?
thanks in advance
beli
other details:
* WP installed in a subdirectory of root
* i’m using a customized theme (at the beginning it was bp-social) but now we changed the layout completelyHello
I’m using wordpress 3.0.4 and buddypress 1.2.7. I’ve changed the Permalink on WordPress configuration to the following :
Month and name. Example:
http://www.mysoundfriends.com/2014/02/sample-post/"in the activity Stream the link to the detailpage is shown as:
http://www.mysoundfriends.com/2012/07/alle-farben-danse/</a)You can see the link on mysoundfriends.com and click on the tab “popular”
but if you click on the link, the url is shown as the follow
http://www.mysoundfriends.com/beli/posts/2427Have you any idea why it’s not working on the detail page?
thanks in advance
beli
other details:
* WP installed in a subdirectory of root
* i’m using a customized theme (at the beginning it was bp-social) but now we changed the layout completely
WP 3.9.1
BP 2.0.1
website: localhost dev site using MAMP
Scenario
I am building a member home page that includes a group activity stream to provide a group “wall” sort of experience. To do this, I made a copy of the ‘activity’ folder from bp-templates/bp-legacy/buddypress and placed it in my theme folder. Then in my member homepage template, I included an activity stream by adding:
<?php locate_template( array( 'activity/index.php' ), true, false ); ?>The Problem
Everything on the activity feed works, including adding, favoriting, and deleting status updates, but when a member comments on a status update, the comment is added, animation and all, but with no content – just ‘replied’ and the ‘Reply’ button, as shown here:
https://www.dropbox.com/s/0yh2e1b5f2fw7zk/problem.png
However, after a manual refresh, the comment is there with all its content, working perfectly.
Other Threads
I have found several others posting with similar problems, but no solutions that have worked for me:
What I’ve Tried
I’ve tried disabling all other plugins and removing all custom functions from my theme, and there was no change. I can’t try it in a different theme, since the problem IS my theme. The problem only occurs in my custom template. When I go to the group’s page, or to a member’s page, commenting works perfectly.
Thanks for reading!