Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'custom activity page'

Viewing 25 results - 276 through 300 (of 1,252 total)
  • Author
    Search Results
  • #255336
    danbp
    Participant

    @daltontastic,

    color buttons are TinyMCE tools and not html tags. The only way to get them would be to use the editor toolbar.

    Here a scenario you could use:
    – create a child-theme and add post-form.php to it (copy from bp-templates/bp-legacy/buddyPress/activity/post-form.php).
    Result: your-child-theme/buddypress/activity/post-form.php

    In that file, go to line:40 where textarea start.
    Inser this action hook:

    <?php if ( bp_is_groups_component() ) : ?>
    	<?php do_action( 'blablabla' ); ?>
    <?php endif ?>

    Then add this <?php if ( ! bp_is_groups_component() ) : ?>
    <textarea class="bp-suggestions"......bla...bla...</textarea>
    and add <?php endif ?> after the textarea closing tag.

    This contionnals will show a custom area for the desired group and prevent update area to appear on all other groups home pages.

    So if a user is member of different groups, he will get a texteditor for group_id 13 and the normal update area on all others.

    The custom template is ready. Now the fonctions we need.

    Open bp-custom.php (or create it) and paste in those snippets.

    Adding the texteditor:

    function bpfr_whats_new_tiny_editor() {
    	// deactivation of the visual tab, so user can't play with style tools
    //add_filter ( 'user_can_richedit' , create_function ( '$a' , 'return false;' ) , 50 );
    
    $content = "";
    
    	// building the what's new textarea
    	if ( isset( $_GET['r'] ) ) :
    	$content = esc_textarea( $_GET['r'] ); 
    	endif;
    
    	// adding tinymce tools
    	$editor_id = 'whats-new';
    
    	$settings = array( 
    			'textarea_name' => 'whats-new', 
    			'teeny' => false, 
    			'media_buttons' => true, 
    			'drag_drop_upload' => true, 
    			'quicktags' => array(
    			'buttons' => 'strong,em,link,block,del,ins,img,ul,ol,li,code,close'
    		));	 
    	
    	// get the editor	
    	wp_editor( $content, $editor_id, $settings );
    }
    add_action( 'whats_new_textarea', 'bpfr_whats_new_tiny_editor' );

    A simple function who add the original textarea for users who are group members, but not allowed to rich edit.

    function my_textarea() { ?>
    			<textarea class="bp-suggestions" name="whats-new" id="whats-new" cols="50" rows="10"
    				<?php if ( bp_is_group() ) : ?>data-suggestions-group-id="<?php echo esc_attr( (int) bp_get_current_group_id() ); ?>" <?php endif; ?>
    			><?php if ( isset( $_GET['r'] ) ) : ?>@<?php echo esc_textarea( $_GET['r'] ); ?> <?php endif; ?></textarea>
    <?php
    }

    And the last one, where you set up the group allowed to publish updates using edit tools.

    function trotro() {
    
    if ( bp_is_groups_component() ) :
    
    $check = groups_is_user_member( bp_loggedin_user_id(), bp_get_group_id() );
    $check_group = bp_get_group_id(); 
    
    	if ($check != 0 && $check_group == 21 && 'leon' == bp_current_item() ){
    		echo 'Wow! You can rich edit in this group.';
    			bpfr_whats_new_tiny_editor();
    	} else {
    		echo 'Sorry, you cannot rich edit in this group';
    		my_textarea();
    	}
    
    endif;
    }
    add_action( 'blablabla', 'trotro' );

    Now, any member which is part of the group leon, group id 23 can publish updates and use the color picker and all other things which are on the edit bar.

    Only thing you have to do is to adjust leon and id to your rules.

    Successfully tested on 2.6 and 2016.

    May this help you to go further with your BuddyPress project. 🙂

    knownocode
    Participant

    Hi, I am trying to paginate my buddypress custom post-type activity feed, with the custom type being FB link submissions. Could someone please help me? I am wanting 5 to show per page, with either a “Show More” button or pagination at the bottom so users can navigate to the other (older) posts.

    Here is the code I am currently using:


    <?php
    $args = array('post_type' => 'fb_url_submit');
    $loop = new WP_Query( $args );
    while ( $loop->have_posts() ) : $loop->the_post();
    ?>
    <div class="fb-page" data-href="<?php echo get_post_meta(get_the_ID(), 'fb_url_submit_link', true); ?>" data-tabs="timeline" data-width="340" data-height="130" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="false" hide_cta="true"></div>
    <?php endwhile;?>

    Andrew
    Participant

    I just found out there was a parameter called ‘since’ to use with the activity loop to get activities since a certain date and time.

    ‘since’ => // Y-m-d H:i:s

    Just looking for some quick help with this time function I created. I’m not great with code and don’t understand the workings of how WordPress/Buddypress works with the date and time, but I wanted to create a function that converts ‘hours ago’ into the Y-m-d H:i:s format so it can be used with the ‘since’ parameter.

    function get_time_since( $hours_ago='' ) { 
    
    	// Local date and time right now
    	$current_date = date('Y-m-d H:i:s');
    	
    	// convert 'hours ago' to 'Y-m-d H:i:s'
    	$date = date_create($current_date);
    	date_sub($date, date_interval_create_from_date_string($hours_ago));
    	
    	return date_format($date, 'Y-m-d H:i:s');
    }
    // example use
    // display posts in the last 6 hours
    	function my_filter_activity( $loop ) { 
    
    		if ( is_page( 'custom-page' )) {
    			$loop['since'] = get_time_since( '6 hours' );
    		}
    
    		return $loop;
    	}
    	add_filter( 'bp_after_has_activity_parse_args', 'my_filter_activity' );

    This works correctly where I am. The only thing I’m confused about is I don’t know if I have to detect a user’s time zone in the function for it to work correctly?

    #254834
    bradturvey01
    Participant

    Hi, is anyone able to help me? i need a custom background where comments are distinguished from the standard background. At the moment my page has the one color for the background and there is no border for the where activity and comments go. I have no idea how to insert css so am hopeful on a plugin?
    smartphone classifieds/com/au

    Ben Riga
    Participant

    I’m trying to build a page to show a filtered activity stream but am completely unsure how to approach the problem. I’ve built my solution using CPTs and would like to be able to query based on custom meta box info in the CPTs.

    For example, my CPTs include Beer and Check-In. So a user could “check-in” and mention which Beer they are drinking. The check-ins are recorded as activities and these display just fine in the activity stream (“Ben is drinking Molson Export Ale and rated it a 5”). Now I’d like to build a page that shows information about a Beer and the list of check-in activities for that particular Beer.

    I think I know how to query the CPTs to get the info I want but don’t want to have to duplicate the BP functions. Ideally I’d like to filter the activity stream based on the info from the CPT custom meta info but I haven’t found a way to do that.

    Have any of you seen something like that? Or could you provide an educated guess of where I might look for more info?

    Any help or support would be greatly appreciated as I am stumped.

    Thanks,
    Ben

    #254221
    ineedyou
    Participant

    Dear @danbp

    Maybe i should explain more detail. And what i want to do…I really must solve this future of my project 🙂 Sorry long sentences really sorry

    BP update via what’s new form and add embed is working. No problem.
    Our members can create new post (food) with toolset types on frontend. They can add image or video or custom fields. when anyone visit abc.com/foodarchive and click food 1 and open new window and Ok can see everything. At the moment, this published new post displaying on buddypress activity (also can added filter with bp-custom.php)… Buddypress activity display all kind food post body such as if there is only text show text, if there are text+image, ok BP activity show this also… At the moment, if only text and no image but author add featured image, well BP also show text+this featured image on activity stream… But never show video on activity stream if its in post body…

    I dont undestand (because i am copypaste coode user) how can BP update via add form can show embed video but not display video from custom post embed? No way to solve this?

    Why? Because my member want to see video on activity stream before visit this post. BP just show MRx Published new Food..

    If i use Visual composer (extension add on pluging) features add youtube video to post, yes this is showing embed video on buddypress activity.But this is problem because when anyone click bp show filter and turn back another filter (comment to post, or post to updates or group updates), visual composer short codes broken and display like this [vc]textblock[vc]. If refresh page, yes eveything normal, so my theme remove shortcodes from visual composer.

    Thanks for giving your time…

    #254111
    ineedyou
    Participant

    Hi,

    I am just copypaste code user – just simple user and need someone to help me. Please. I found below code, i am adding to bp-custom its working. But i need to extend this code, if i want to add second or more custom post type, how will i do? I read lots of article , try to solve 2 days but i cant. Try it 100 different version but no no no….Can anyone can show me how to add moe than one… Thanks and sorry my bad English..

    
    <?php
    add_post_type_support( ‘book’, ‘buddypress-activity’ );
    function customize_page_tracking_args() {
    
        // Check if the Activity component is active before using it.
        if ( ! bp_is_active( ‘activity’ ) ) {
            return;
        }
        bp_activity_set_post_type_tracking_args( ‘book’, array(
            ‘component_id’             => ‘activity’,
            ‘action_id’                => ‘new_book’,
            ‘bp_activity_admin_filter’ => __( ‘My Book’, ‘custom-domain’ ),
            ‘bp_activity_front_filter’ => __( ‘Book’, ‘custom-domain’ ),
            ‘contexts’                 => array( ‘activity’, ‘member’ ),
            ‘bp_activity_new_post’     => __( ‘%1$s published <a href="”%2$s”">Book Suggest</a>’, ‘custom-textdomain’ ),
    
            ‘bp_activity_new_post_ms’  => __( ‘%1$s published <a href="”%2$s”">Book</a>, on the site %3$s’, ‘custom-textdomain’ ),
    ‘comment_action_id’                 => ‘new_book_comment’,
            ‘bp_activity_comments_admin_filter’ => __( ‘Commented Book’, ‘custom-textdomain’ ),
            ‘bp_activity_comments_front_filter’ => __( ‘Book Comments’, ‘custom-textdomain’ ),
            ‘bp_activity_new_comment’           => __( ‘%1$s commented on the <a href="”%2$s”">Book</a>’, ‘custom-textdomain’ ),
            ‘bp_activity_new_comment_ms’        => __( ‘%1$s commented on the <a href="”%2$s”">Book</a>, on the site %3$s’, ‘custom-textdomain’ ),
            ‘position’                          => 100,
           ) );
    }
    add_action( ‘init’, ‘customize_page_tracking_args’, 1000 );
     ?>
    #254042
    sharmavishal
    Participant

    How did you install buddupress? This is a custom theme right? You see activity page in your pages? In settings-buddypress have you activated activity component? Have you associated your activity page in the pages setting of buddypress?

    #254020
    ineedyou
    Participant

    Sorry for my english…
    I can show everything about Music CPT buddypress activity (site-wide and members activity) with below code by @imath -also thanks for all other plugings 🙂 –

    My Question or Problem.

    I am using types tools pluging and i have a – frontend – add new music form (about music CPT) and members use this form to add new music with different fields. Also using rich editor and can add media from URL… Buddypress activity stream can show this form body (actually show post body normally). If i add also image from URL to this frontend music CPT form, we can see this image also on buddypress activity. Well i love buddypress.. Flexiable, great..

    1 – But if i add video URL on this form do not show embed video on activity stream. I mean that, i tried 100 times frontend or backend, embed video (if use in any CPT) do not show on buddypress. When i click this activty open page and i can see video. I know missing something.

    2 – If my author create any music CPT –backend admin side– with Visual Composer, there 3 different actions.

    Action:1 – First, Buddypress activty show all font color or image, or texts created by visual composer. Its ok. Love buddypress. But when i select (site-wide or members activty) show post, friendship or comment than turn to everything or music cpt, buddypress now do not display this music CPT, so i must refresh the page. I mean that when a user select everything to post (or comment) or commet to everything: page must otomatically refresh to display my visual composer codes. If i dont refresh the page, activiy stream show like that [vc_row][vc_column][vc_text][/vc_column][/vc_row].

    Action 2: When i edit this CPT -backend and created by VC-, buddypress sometimes dont load any activity.. If i delete this post from again backend, everything is ok, all activity is coming back. I dont know how try search this on forum.

    Action 3: I am on backend admin and creating a new music CPT without visual composer.. No problem, all edit can show on buddypress again. Such as i shared music 3 hours ago but now editing. I can see this new edit when i scroll actvity page 3 hours ago… BUT, What i want, buddypress activtiy can create a new music post (for this edit) and can say “edited music” … Maybe we can put icon or color original (3 hours ago) cpt, also same time can create clone music for same cpt 🙂 on activity stream… I dont know how to search this 🙂

    Long sentences long, i know 🙂 … Maybe someone help me… Becuase i am not developer just copypaste code user 🙂

    add_post_type_support( 'music', 'buddypress-activity' );
    function customize_page_tracking_args() {
        // Check if the Activity component is active before using it.
        if ( ! bp_is_active( 'activity' ) ) {
            return; }
         bp_activity_set_post_type_tracking_args( 'music', array(
            'component_id'             => 'activity',
            'action_id'                => 'new_music',
            'bp_activity_admin_filter' => __( 'My Music', 'custom-domain' ),
            'bp_activity_front_filter' => __( 'Music', 'custom-domain' ),
            'contexts'                 => array( 'activity', 'member' ),
            'bp_activity_new_post'     => __( '%1$s published <a href="%2$s">Music Suggest</a>', 'xxx' ),
            'bp_activity_new_post_ms'  => __( '%1$s published <a href="%2$s">Musik/a>, on the site %3$s', 'xxx' ),
                   
           
        ) );
    }
    add_action( 'init', 'customize_page_tracking_args', 1000 );
    #253811
    shanebp
    Moderator

    You’ll probably want to create a new page and then load a custom template.

    In your custom template, you’ll need to create an Activity loop with the parameters that you want.

    Sounds like this is your first time performing these tasks.
    Give it a serious and thorough attempt and see how far you can get.
    If you get stuck, use gist or pastebin to share the code in your custom template.

    Please do not paste all the code on these forums.

    matzeso
    Participant

    Hey Guys,

    I have a customized WordPress Website which also makes use of BuddyPress as the core for user profiles. Until now this only required BP Core, Community and XProfile Extension to run.
    Now with the new requirement for a forum I was going to install AnsPress which requires Activity Stream and Notifications to be enabled (otherwise it throws fatal errors around).

    And here comes the fun -> when I enable activity stream, my BP Profile Page is kind of “overwritten” by the stream.

    I hope somebody can clarify for me:
    Normally, when I visit my or any profile via /members/xyz the buddypress.php somehow loads the contents from theme/members/single/profile.php in which bp_current_action() gives case “public” and bp_is_active(‘xprofile’) is true. Then my members/single/profile/profile-loop.php is loaded.

    But when I activate Activity Stream in BP and I visit my profile then somehow theme/buddypress/members/single/home.php is loaded and that shows the activity stream on my page and not the profile parts anymore.

    What I think what I need is that the members/xyz URL links to the profile and not the “home” page – but how? Unfortunately my knowledge of WP as a programming framework is limited and I am not able to debug this any further as to where the decision is made to load home instead of profile.

    Hope you can understand the problem and help me with it. I do not need to show the BP activity stream, it is just necessary for the plugin to not throw errors.

    #253546
    subair.tc
    Participant

    hi @henrywright , @danbp

    Thanks for your great help,

    i have solved the issue without hacking the code using the

    bp_activity_paged_activities_sql

    filter in class-bp-activity-activity.php ~L, 609

    the code below is i have used, please refer this thred , where i got some information regarding filters.

    add_filter( 'bp_activity_paged_activities_sql', function( $sql, $where_sql, $sort ) {
    	$pos = strpos($sql, 'WHERE a.id IN');
    	if($pos){
    		$in_items = implode( ',', $where_sql['in'] );
    		$sql = str_replace('ORDER BY a.date_recorded DESC' ,' ORDER BY FIELD(id,'.$in_items.') ',$sql);
    	}
    	
        return $sql;
    }, 10, 3 );
    
    

    Thanks again for your valuable time and please let me know any suggestions you have 🙂

    #253362
    Ben Riga
    Participant

    Yup. Thanks. I already had my CPT working in BP using the methods described in that codex page. It was posting to the Activity stream. What was not working was having the ability to customize what information showed up in the stream. I think some of that was due to my using Pods to dynamically generate the CPTs (and of course some of it could be due to my lack of knowledge).

    At any rate, I had hit some limits in Pods anyway so it’s time to learn how to manually code those. It doesn’t look too complicated (famous last words :)) so I think it should just take me a couple of days.

    Thanks again,
    Ben

    obidos
    Participant

    Hi there,

    I am creating a custom theme and need to integrate BuddyPress. I am working locally.

    I have a custom template and created the activity loop. This works great. Now I want to show the post-form at the top of my activity loop. Which I have done by calling in activity/post-form.php. However, you type in the textarea box and hit post comment and nothing happens. Any ideas?

    I know the activity feed is working on /activity so everything is setup correctly with my theme. I just want to show it in a column on my new template page.


    <div id="buddypress">
    <div class="activity-comment">
    <?php locate_template( array( 'buddypress/activity/post-form.php' ), true ); ?>
    </div>
    <?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) . '&action=activity_update' ) ) : ?>
    <?php while ( bp_activities() ) : bp_the_activity(); ?>

    <?php locate_template( array( 'buddypress/activity/entry.php' ), true, false ); ?>

    <?php endwhile; ?>
    <?php endif; ?>
    </div>

    bogski
    Participant

    Hi all, was wandering if any one might be able to help.

    I have created a page called ‘community’ which displays ALL forums available to a member. I’ve set the default component to ‘community’ in my bp-custom.php and this is working great. The only thing is it seems when a click on another members profile and it loads the ‘community’ page as the default page.

    Is there a way I can stop this? So if a logged in user clicks on their own profile it shows them the forums to start with, but if they click someone elses profile it will display that members activity, or profile information?

    Many thanks!

    Phil

    truelux
    Participant

    The name “Admin” appears when creating a group, post updated, etc in the activity stream and other areas. I noticed that there is a “bp_get_activity_user_link” filter.

    How can I create a function that “disables” the Admin link but creates link for all other users?

    function disable_admin_profile_link( $link ) {
    
       if( $link != bp_loggedin_user_domain() )
           $link = // custom url
    
       return $link; 
    }
    add_filter( 'bp_get_activity_user_link', 'disable_admin_profile_link', 15, 1 );

    vs something like this

    function _bp_core_get_user_domain($domain) {
    	$url = get_home_url();
    	$user_id = bp_get_member_user_id();
    	if (empty($user_id)) {
    		$user_id = bp_get_activity_user_id();
    	}
    	if (empty($user_id)) {
    		//$user_id = bp_displayed_user_id();
    	}
    	$user_info = get_userdata($user_id);
    	$link = $user_info->display_name;
    	$domain = '' . $url . '/profiles/' . $link . '';
    	return $domain;
        }
    add_filter('bp_core_get_user_domain', '_bp_core_get_user_domain', 10, 4);
    apply_filters( 'bp_get_activity_user_link', '_bp_core_get_user_domain', 15, 1);

    Not sure how to code it… If user is Admin, then link to homepage. If not, then link to their profile?

    #252642
    AJWatson2209
    Participant

    Hi,
    Does anyone know if it’s possible, under the ‘Members’ page (where members/users are listed), to show some selected info from their profile i.e. phone number, email etc?
    I was also wondering if, after you select a user, you can set their page to go straight to their ‘profile’ page and not ‘activity’ page.
    Thanks
    Andrew

    BackpackersUnion
    Participant

    Is it possible to add an “All” activity tab to the Activity Submenu on a users profile (Personal + Friends = All [Excluding none friends, unlike the main feed])? It appears an issue preventing this was fixed in this trac, but I haven’t seen any successful implementation of this using bp-custom or a child function.php.

    The only viable solution I’ve seen is this plugin which goes beyond what I’d need. Has anyone had any luck implementing this with custom code (or even modifying a page template as a last resort)?

    Thanks!

    BP + WP Current Versions, 2014 theme

    #252456
    danbp
    Participant

    We’re unable to help you for Yoo Helios premium theme.

    Have you assigned a particular template to the mandatory BP pages: activity, members, groups,… ? If yes, remove them, as BP pages must stay “empty”. Just give them a title and nothing else.

    Instead of using an exotic function, better try this solution.

    is_buddypress fn definition: You can tell if a page is displaying BP content by whether the current_component has been defined. More here.

    Naomi
    Participant

    I’m running WP 4.4.2 and Buddypress 2.5.2 on my site http://www.charlottemasoneducation.org

    I’d like to add the member’s city and state to the member profile page right where it says when their last activity was.

    I have added these fields in a theme-my-login-custom.php file in order for them to be part of the registration process to my private site which I’m using the TML plugin for.

    From reading other threads, it sounds like I need to edit the member-header.php file?

    Here is the section that I think I need to add code to. Can you please tell me what code I would need to add and where to add it in order to have those fields show up correctly?

    <?php endif; ?>
    
    	<span class="activity"><?php bp_last_activity( bp_displayed_user_id() ); ?></span>
    
    	<?php do_action( 'bp_before_member_header_meta' ); ?>
    
    	<div id="item-meta">
    
    		<?php if ( bp_is_active( 'activity' ) ) : ?>
    
    			<div id="latest-update">
    
    				<?php bp_activity_latest_update( bp_displayed_user_id() ); ?>
    
    			</div>
    
    		<?php endif; ?>
    
    		<div id="item-buttons">
    
    			<?php do_action( 'bp_member_header_actions' ); ?>
    
    		</div><!-- #item-buttons -->
    
    		<?php
    		/***
    		 * If you'd like to show specific profile fields here use:
    		 * bp_member_profile_data( 'field=About Me' ); -- Pass the name of the field
    		 */
    		 do_action( 'bp_profile_header_meta' );
    
    		 ?>
    
    	</div><!-- #item-meta -->
    
    </div><!-- #item-header-content -->
    
    <?php do_action( 'bp_after_member_header' ); ?>
    
    <?php do_action( 'template_notices' ); ?>
    bradleyrf
    Participant

    Hey everyone,
    First of all, thanks so much for the work and effort you put into BP. It’s amazing what you all do.

    I recently updated to the latest BP and WP versions (the details you requested are below).

    Issues #1 – when someone initially posts into a group, not a reply to a comment, users who have requested All Email option from the BP Group Email Subscription Plugin receive an email using that BP Group Email Subscription plugin’s email template vs. the new BP email templates. If someone replies to the comment, then the new BP email templates work perfectly.

    Issue #2 – the email mentioned in #1 is from wordpress@mydomain.org. while the others are sent from mysite@mydomain.com.

    Thanks for any advice you can send my way.

    1. Which version of WordPress are you running? 4.4.2

    2. Did you install WordPress as a directory or subdomain install? subdomain

    3. If a directory install, is it in root or in a subdirectory?

    4. Did you upgrade from a previous version of WordPress? If so, from which version? From 4.3.3

    5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? Yes

    6. Which version of BP are you running? 2.5.2

    7. Did you upgraded from a previous version of BP? If so, from which version? 2.4.2

    8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?

    Advanced Cron Manager
    Automessage
    Black Studio TinyMCE Widget
    BP Group Hierarchy
    BP Profile Search
    Broken Link Checker
    BuddyBoss Wall
    BuddyDrive
    BuddyPress
    BuddyPress Activity Plus
    BuddyPress Global Search
    BuddyPress Group Email Subscription 3.6.0
    Select BuddyPress Groups Extras
    Select BuddyPress Members Import
    Select BuddyPress Message Attachment
    Select CCL Salesforce Connector
    Contact Form
    Easy Google Fonts
    Events +
    Google Analytics by Yoast
    Google Doc Embedder
    Google Maps
    HiFi
    iframe
    Invite Anyone
    Page Builder by SiteOrigin
    PHP Code Widget
    PHP Snippets
    PopUp Pro
    Deactivate
    Post Tags and Categories for Pages
    Deactivate
    Private Community For BP Lite
    Redirection
    Search shortcode
    Shortcodes Ultimate
    Simple Follow Me Social Buttons Widget
    Simple:Press
    UberMenu 2 – WordPress Mega Menu Plugin
    User Role Editor
    Wordfence Security
    WordPress HTTPS
    WP-FormAssembly
    WPMU DEV Dashboard

    9. Are you using the standard WordPress theme or customized theme? BuddyBoss

    10. Have you modified the core files in any way? Nope

    11. Do you have any custom functions in bp-custom.php? Yes

    12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in? Not running

    13. Please provide a list of any errors in your server’s log files. None

    14. Which company provides your hosting? BlueHost

    15. Is your server running Windows, or if Linux; Apache, nginx or something else? Apache

    damagomez
    Participant

    Hello, im having problems with the registration and activity pages on my website, im new at this, so i dont know if i’ve made a mistake and where i might have made it…

    I installed buddypress through wordpress plug-in search engine, and then went to settings and set up everything as i wanted, edited the profile fields as i needed, and then when i tried to visit the pages i only get the title of the page and the rest is blank, as if it where a normal page.

    I’ve been searching different forums about people having the same problem, but i haven’t been able to find a solution, they’ve either been posted a lot of years ago, or they just say solved and do not share how they solved it.
    If anyone can help, i will appreciate it a lot!!

    I have read the codex as many suggested, but it did not help because i did everything as it indicate to do it.
    I created the register and activate page and then assigned them under Settings/Buddypress/Pages, how the codex indicates so. (i did not edit in any way the pages, i only created and assigned them.
    I made sure that in Settings/General under membership the “anyone can register” is checked.
    I’ve checked if the register.php and activate.php files do exist.
    I read that it might be a bug, so i tried uninstalling this version (V2.5.2) and installing V2.5.1 and V2.3.5, just in case that would fix it…

    I truly don’t know what else to do.
    Its my first website and i do not know a lot of coding, im learning as i go.
    Could it be a bug in the plug-in? if so… how can i fix it?

    Just in case it helps, my host company is hostgator, WordPress is updated to the lates version, so is buddypress.

    I have the following plug-ins installed (i know they are a lot, but since i do not know how to code, i sort of need them…) :

    Admin Custom Login
    Black Studio TinyMCE Widget
    Black Studio Touch Dropdown Menu
    BP Registration Options
    BuddyPress
    BuddyPress Cover Photo
    BulletProof Security
    Confirm User Registration
    Contact Form 7
    Duplicate Post
    Hide Admin Bar From Non-admins
    Lightbox Plus Colorbox
    Meta Slider
    No Right Click Images Plugin
    Page Builder by SiteOrigin
    PMPro KISSmetrics
    Polylang
    Protect My Contents
    Quick Page/Post Redirect Plugin
    SB Welcome Email Editor
    SiteOrigin Widgets Bundle
    Spacer
    Title Remover
    Wordfence Security
    WordPress Access Control
    WP Bouncer
    WP Maintenance Mode

    Thanks in advance for your help!

    nyodulf
    Participant

    WordPress v4.4.2
    BuddyPress v2.5.1

    I’m having an issue with the link to a member’s Activity when viewing their profile. When clicking on it I am taken to the <site_root>/activity page, instead of <site_root>/members/<member_name>/activity . This also happens with ‘Groups’ (but not ‘Notifications’).

    At the moment I am using bp-custom.php to change the default tab to ‘Profile’. If I remove that definition, the single member’s page correctly defaults to the Activity tab and there is content visible there.

    I would be grateful for any help. In particular I would appreciate any information on how to track down the redirect sequence and what code is controlling it. I printed the output of the rewrite_rules_array and it contained no mention of ‘activity’, but using an online redirect tracker I discovered that the request to the member’s activity returns a 301 redirect to the site-wide version.

    I know that it is standard practice to disable any other 3rd party items to test, but at the moment that would be a last resort because it often leads to significant time spent setting up content and plugins again and I am under some pressure to keep the site as is for the moment.

    #251885
    sharmavishal
    Participant

    am creating a front.php page with regards to BP 2.4 Group Home Page feature. The group front page is created perfectly fine. But an additional tab now comes up in the group nav “Activity” and when i click on it its all css/js messedup design wise.

    Am i making some mistake? Do i need to remove activity tab if i got a custom front.php?

    Thanks

    #251464
    danbp
    Participant

    I’m afraid you can’t built another member’s directory. “Members” is a component and it use a dynamic page to output anything related to members.

    The only thing who change, is eventually the content template part (member directory vs. profile for example: both activity are on the same pseudo “page”.

    The only way i see for your case, is to add a custom filter and to define eventually another default output for member directory, based on the current filter. But it’s the user who has to choose what he want to see there.

    Default filter are recently active, recently subscribed and alphabetical order. To add more option, included “artists”, try to add “member type” or create you r own plugin to filter.

    Here the related codex page for member-type

    And codex page for how to add a filter on members directory.

    For the @ use, the correct way to use it is when you want to mention (@mention) somebody. And so far i can see this here, it doesn’t actually work on bp.org ! 😉

    So just keep in mind that you publish on a public forum. It is not intended to call mods individually. We’re not consultants here (we don’t charge you), but simple volonteers trying to guide and help other users.

Viewing 25 results - 276 through 300 (of 1,252 total)
Skip to toolbar