Search Results for 'custom activity page'
-
AuthorSearch Results
-
November 4, 2011 at 2:37 am #123711
In reply to: Profile pages not found error
thegblogMemberI am also having this problem. Can anyone help me? Thanks in advance:
I’m running wp 3.2.1, on main directory in root, using bp version 1.5.1that was never upgraded. I have no other plugins activated on the subdomain I’m running buddypress from. I’m using the standard bp theme that came with the plugin for this and I modified my wp-config to allow bp to run on subdomain (runs on members.mysite.com): here’s the info in bp-custom.php
`<?php
define ( ‘BP_ENABLE_MULTIBLOG’, true );
define ( ‘BP_ENABLE_ROOT_PROFILES’, true );
define( ‘BP_DEFAULT_COMPONENT’, ‘profile’ );
define ( ‘BP_ROOT_BLOG’, $blog_id );
define( ‘BP_SILENCE_THEME_NOTICE’, true );
define( ‘BP_ENABLE_USERNAME_COMPATIBILITY_MODE’, true );
define ( ‘BP_ACTIVITY_SLUG’, ‘streams’ );
define ( ‘BP_BLOGS_SLUG’, ‘journals’ );
define ( ‘BP_MEMBERS_SLUG’, ‘users’ );
define ( ‘BP_FRIENDS_SLUG’, ‘peeps’ );
define ( ‘BP_GROUPS_SLUG’, ‘gatherings’ );
define ( ‘BP_FORUMS_SLUG’, ‘discussions’ );
define ( ‘BP_MESSAGES_SLUG’, ‘notes’ );
define ( ‘BP_WIRE_SLUG’, ‘pinboard’ );
define ( ‘BP_XPROFILE_SLUG’, ‘info’ );
define ( ‘BP_REGISTER_SLUG’, ‘signup’ );
define ( ‘BP_ACTIVATION_SLUG’, ‘enable’ );
define ( ‘BP_SEARCH_SLUG’, ‘find’ );
define ( ‘BP_HOME_BLOG_SLUG’, ‘news’ );
define ( ‘BP_AVATAR_THUMB_WIDTH’, 50 );
define ( ‘BP_AVATAR_THUMB_HEIGHT’, 50 );
define ( ‘BP_AVATAR_FULL_WIDTH’, 150 );
define ( ‘BP_AVATAR_FULL_HEIGHT’, 150 );
define ( ‘BP_AVATAR_ORIGINAL_MAX_WIDTH’, 640 );
define ( ‘BP_AVATAR_ORIGINAL_MAX_FILESIZE’, $max_in_kb );
define ( ‘BP_AVATAR_DEFAULT’, $img_url );
define ( ‘BP_AVATAR_DEFAULT_THUMB’, $img_url );
define ( ‘BP_FORUMS_PARENT_FORUM_ID’, $forum_id );
define ( ‘CUSTOM_USER_TABLE’, $tablename );
define ( ‘CUSTOM_USER_META_TABLE’, $tablename );?>`
Wiredtree is my server provider (I have a dedicated server with all access), and I’m running Linux w/ Apache
November 1, 2011 at 6:49 pm #123573In reply to: Comment (Reply) button problem: Page not found!
@mercimeParticipantI recall reading somewhere that one of the plugins you have activated, buddystream, is messing up with activity page. Change to bp-default theme and deactivate buddystream and see if same behavior applies. If you have bp-custom.php in your plugins folder, rename it in the meantime.
October 31, 2011 at 7:54 pm #123494In reply to: renaming tabs
Will D. WhiteParticipantI know this is an old topic, but its in the top results of Google when trying to find a solution for this.
So, to help save other people time (who land on this page when Google’ing this situation) here’s the fastest fix I’ve come across so far.
Create a file called “bp_custom.php”.
In it add:
function bbg_change_tabs() {
global $bp;
$bp->bp_nav = ‘New Profile Verbiage’;
$bp->bp_nav = ‘New Activity Verbiage’;
$bp->bp_nav = ‘New Friends Verbiage’;
$bp->bp_nav = ‘New Groups Verbiage’;
}
add_action( ‘bp_setup_nav’, ‘bbg_change_tabs’, 999 );Replace the “New W/e Verbiage” with what you want it to say.
Double check that BuddyPress forums didn’t change any foot marks to apostrophes.
Save bp_custom.php and upload the file to /wp-contents/plugins/Refresh your page to see if it worked.
So far it works for me just fine.
October 30, 2011 at 9:13 am #123210In reply to: Hide Activity page Link
pawriterParticipantOnce again many thanks Mercime.
Somehow I had equated the Menus option in the theme with creating sidebar vertical menus rather than altering the ‘navbar’.
I have made some changes to my satisfaction and even discovered that if I add a custom link as a top level item to head-up sub-menus, then remove the URL, I can avoid the need for a landing page for that tab (forcing users to use a child link).October 29, 2011 at 5:18 pm #121636In reply to: Hide Activity page Link
@mercimeParticipantSure. Use Twenty Eleven’s custom menu to place links that you want in main navigation.
Appearance > MenusOctober 29, 2011 at 5:18 pm #121736In reply to: Hide Activity page Link
@mercimeParticipantSure. Use Twenty Eleven’s custom menu to place links that you want in main navigation.
Appearance > MenusOctober 28, 2011 at 1:16 am #122947In reply to: Privacy????
acesParticipantI’m using the walled garden technique for some privacy and have adapted it for bp 1.5.* !
This is based on https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/members-privacy-how-can-i-hide-members-profiles?topic_page=2&num=15#post-102784 and needs to go in a bp-custom.php file…
`
function sh_walled_garden()
{
global $bp;
if( bp_is_register_page() || bp_is_activation_page() || bp_is_page( BP_FORUMS_SLUG ) || bp_is_page( BP_GROUPS_SLUG ) )
return;if( ! bp_is_blog_page() && ! is_user_logged_in() )
bp_core_redirect( bp_get_signup_page() );
}
add_action( ‘wp_loaded’, ‘sh_walled_garden’ );
`
Originally add action was to get_header but now the bp template loads the header first so I had to move it…Before that one had to put a hook into the page template header to load the function – not sure which would now be best or if that hook is ok to use (It’s the only one i found that worked)?
The above function hides members and activity from those not logged in but enables forums and groups for everyone – see variation here
October 11, 2011 at 4:33 pm #123108In reply to: Couple Thoughts
alanchrishughesParticipant@boonebgorges I’m also using BP 1.5 (fresh out of the box installation) and it does work to an extend, it removes the notifications from the top, but adds them to the bottom of the activity stream like I described on the trac page, and it breaks the reply button until your refresh the page. I’ve tried both pasting your code in my functions.php file and creating a bp-custom.php plugin file. Both have the same results.
This fix, and a comment form on friends pages, would be the only two little tweaks it would take to reproduce a fb experience, right now it is reproducing the twitter experience so it is already copying something anyways, giving both options to BP users would be great. And with what you just suggested Boone people could say “oh they’re just trying to copy digg” which I understand would be frustrating, but it honestly isn’t that big of a deal, you would be copying the system but people would be implementing it to their own little situations and needs which would be completely authentic and new. Like comparing tv stations to youtube, it is copying the idea but at the same time it is completely unique because you are bringing the tv station to the users to create more diverse content.
September 30, 2011 at 4:23 pm #121571In reply to: How to rename HOME Tab?
HansRuediParticipantWould like to rename only, and only the «Home» tab – there is no need for a custom menu. I’m happy how it is with the new Pages functionality in 1.5 – thought that «Activity» would make sense. To say what it is, it’s not really a «Home»…
September 30, 2011 at 4:23 pm #121671In reply to: How to rename HOME Tab?
HansRuediParticipantWould like to rename only, and only the «Home» tab – there is no need for a custom menu. I’m happy how it is with the new Pages functionality in 1.5 – thought that «Activity» would make sense. To say what it is, it’s not really a «Home»…
September 26, 2011 at 2:01 pm #121132In reply to: Showing WordPress blog comments in activities
KrokkodriljoMemberI created a custom post type and comments posted on those pages does not appear in the activity stream. Any ideas on how to include them?
Using BP 1.5.
Thanks
September 25, 2011 at 5:58 pm #121067In reply to: Double Posting on Activity Page
r-a-yKeymasterTo debug, try disabling any custom code snippets or plugins that interfere with the activity stream.
September 24, 2011 at 2:24 am #120854In reply to: [Resolved] Can’t Install Sitewide Forum
echomanParticipantLiIttle something i learned as a newb.
Activate your forum next thing you’ll want to do is then go to your settings you’ll see forums on the bottomYou’ll see archive slug and Single Slugs rename in the forum base and then in the forum slug below aswell. Because forum actually conflicts with the sitewide forum. let’s say name your sitewide forum bulletin board or support. The group forum natively is the forum on the header menu. Which you can later rename..
Now you want to make a topic go to topic in the forums. Click you’ll see “all forums” and “new forum”
I would click new forums, here you name a topic of interest. let’s say general discussion name your topic and below give a basic Description(optional).Now you want to save it you’ll then see a link look at the link copy it. but only copy
http://www.example.com/support
Next thing you’ll need to do which is the final step. Go to the appearance section. You’ll see menu which is you site navigation menu. You’ll have a few things you have to do here.
First make sure you make a custom menu or which now the main theme allows you to or you can make a custom menu name.
look at the section on the top left corner a drop-down you click whichever theme is named or you select as your menu save .
Now go down to custom links remember that link you copied earlier(http://www.example.com/support) paste it in there and name it click add to menu.Now you have a list you can now rearrange move or even create a drop-down menu on. What i did have activity /members /group and with forums i renamed that “group forum directory” moved that slightly to the right which creates a Drop-down, then the site wide forum which i named support or whatever you want to call it. Now save. DONE!!
Go to your site homepage and everything should be there. Best of luck!!
September 23, 2011 at 6:49 pm #120798In reply to: Problems with reply button on activity page
hugocontrerasMemberhi! I’m having the same problem using the theme Custom Community, which plugin was making conflict for you? thx for the help!
September 22, 2011 at 9:22 am #120593In reply to: 404 Not Found for all pages!
Flora1234MemberBuddypress 1.5 new patch is a nightmare. I cannot see my activity, members or groups. I feel so low. I think we might need to revert to the previous version. I cannot access even my dashboard. They changed the colour of the header to lighter blue after many people might have customised the rest of the pages to match. What they should have done is put in another section for lighter blue so that you have the choice to change it. It is very stressful after putting in a lot of work and hours. They really need to investigate Buddypress thoroughly before releasing the patch
September 20, 2011 at 1:38 pm #120349studio8cParticipant@modemlooper Did you all ready got this working because i need a custom group homepage
with out a activity stream just plane text or a image banner
September 9, 2011 at 4:17 pm #119799In reply to: Problems with reply button on activity page
@mercimeParticipantAre you using a custom theme, child theme or bp-default theme?
August 31, 2011 at 9:10 am #119309In reply to: Multiple activity loops on same page
jnieuwlandMember@gregfielding – Hi! I’m running into similar problems. I defined a seperate loop (for announcements, more important than other updtaes) to be displayed on the top of the page. But when I add an update in the ‘normal’ loop, the same update is also added to the custom loop on top, even though it doesn’t match the filter set to that loop.
Did you manage to solve your problem? Is it a case of making sure all IDs and Classes are different, so AJAX call doesn’t reach the custom loop? Any help or pointers would be highly appreciated!
August 25, 2011 at 3:50 pm #119061kizinkoParticipantHey,
I tried the following code from your post above, but it still isn’t working. The activity from the group I’m trying to hide is still showing up on the home page.
‘
function bp_my_activity_filter( $a, $activities ) {
global $bp;if ( $bp->current_component != $bp->activity->slug )
return $activities;foreach( $activities->activities as $key => $activity ) {
if ( $activity->type ==’activity_update’ && $activity->item_id == ‘131’ ) {
unset( $activities->activities[$key] );
$activities->total_activity_count = $activities->total_activity_count – 1;
$activities->activity_count = $activities->activity_count – 1;
}
}$activities_new = array_values( $activities->activities );
$activities->activities = $activities_new;
return $activities;
}
add_action( ‘bp_has_activities’, ‘bp_my_activity_filter’, 10, 2 );
‘I added the new file /wp-content/plugins/bp-custom.php. I got the group id by adding bp_group_id() into groups-loop.php which is 131 as dictated in the code above. I did a test and removed the first if statement, and it removed all of the activity on that group’s page successfully. Everything from that group was still visible on the home page though.
By the way, thank you soooo much for helping me with this. I am totally lost on this thing.
August 25, 2011 at 12:53 am #119024modemlooperModeratorOk, so tried to move some code from core to create a custom component and nothing worked. Never got a page to create and not sure how to link it to template files.
For example: in bp-activity it has a file bp-activity-template.php and in include array there’s an entry ‘template’. Is this pointing to that file? Do we need to include all these files listed in the array? If I had bp-example-template.php in my array id still use ‘template’?
To me it seemed much easier to create components before. I know I can still use old method but that won’t last forever.
Can somebody update the skeleton component to reflect the new method?
August 21, 2011 at 7:54 pm #118808modemlooperModeratorcreate a file bp-custom.php and add to /wp-content/plugins/bp-custom.php
add this code to file:
`<?php
define( ‘BP_DEFAULT_COMPONENT’, ‘profile’ );
?>`To change other settings read this page: https://codex.buddypress.org/extending-buddypress/changing-internal-configuration-settings/
August 14, 2011 at 8:22 pm #118431In reply to: Customizing profile page.
alfredojpParticipantThank you @shapherd and @Stigmartyr
But i’m not sure you guys are understanding me heheWhen I go to my profile or any profile i see under the avatar:
Activity
Profile
Friends
Groups
MessagesWhat i want is:
News*
Profile
Activity
Friends
etcI also would like to know how you take one out
Thank you for your time and help. I greatly appreciate it. Let me know if you have a possible solution or anything else that might help
August 14, 2011 at 4:57 pm #118420Boone GorgesKeymasterI know what the problem is, but not necessarily how to solve it.
These JS rich text editors work by hiding the HTML textarea, and hijacking the form submit process; when you submit the form, the CKeditor takes the content of its custom editor and puts it into the hidden textarea before the form is submitted for processing. The problem with the activity update form is that it’s submitted with ajax rather than with a regular HTML form submission (which requires a page load).
TinyMCE has a method called .triggerSave() that you can call manually on an event (such as (‘#whats-new-submit’).click()) that will do this content shuffling without a regular form submit. It’s possible that CKeditor has something similar.
August 11, 2011 at 9:35 am #118202StigmartyrMember@r-a-y – hey man thanks for being a great help here to the community. I’ve been reading most of your posts in the forums over the past several hours fighting with my permalinks in activity streams.
I saw your .htaccess redirect post for mismatch 301 and tried it but I think I need it customized for activity streams?
In my example, certain activity posts are just going to the front page of my site rather than the post itself, they’re all coded like: http://www.site.com/activity/p/0001 when you click ‘view’ it just goes to the home page
Pulling my hair out trying to figure out how to get them to refresh or something. My permalink structure is /%post_id%/%postname%
It’s making me crazy lol
August 10, 2011 at 6:35 am #118116In reply to: how to remove a page from buddypress nav menu
@mercimeParticipantdelete activity
`
<li class=”selected”>
<a href="//” title=””>`
and groups link
`<li class=”selected”>
<a href="//” title=””>
`Or, you might consider changing main navigation to a custom menu http://justintadlock.com/archives/2010/06/01/goodbye-headaches-hello-menus
-
AuthorSearch Results