Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 7,751 through 7,775 (of 32,687 total)
  • Author
    Search Results
  • danbp
    Participant

    WordPress is the software behind buddyPress.
    If you need custom roles&capabilities on your site, you can add roles programatically as explained on your mentionned tutorial. If it works, site admin can attribute one of the additionnal role to members, within admin.

    BuddyPress, at this time, handles only member types. A member type is not a role or a capability à la WordPress, but only a way to sort better your members. In other words, a kind of a member category.

    To handle such behave from front-end while registering, you can associate a xprofile field value with an existing WP role. See here for a solution (untested) provided a few month ago.
    https://buddypress.org/support/topic/how-to-assign-a-wp-user-role-based-on-a-registration/#post-232887

    Add snippet to your child theme functions.php or into bp-custom.php and give it a try.

    DanielEngelhardt
    Participant

    Howdy,

    i would like to add a user role to a new user during registration, depending on a fields value in the registration form.
    example: on my registration form a user can choose between two values via radio buttons. If he choses value A, role A should be added to this user. If he choses B, role B should be added to the user.

    How could i do that? I read this: http://octalforty.com/articles/assigning-role-on-wordpress-registration-profile-page/ but it aims at the wordpress registration form and does not use buddypress extended profile fields.

    Thanks for any help
    Daniel

    #244510
    douglaslovin83
    Participant

    My profile fields are jumbled. Latest version of WordPress & Buddypress. No customizations. No plugins that modify visuals.

    Using extended profiles.

    I have tried about 4 themes.. they are look jumbled with the same rounded looking boxes and such.

    Current theme = latest version of BuddyBoss.

    http://peaceimout.com/members/dlovin123/

    Thanks for the help!

    #244502
    danbp
    Participant
    #244496
    djsteveb
    Participant

    @deklein – One more thing – have you taken the steps to “create a new menu” and save and all that?
    the wordpress menus thing is not the most eloquent as far as UX ihmo. Sometimes you gotta select a menu from the dropdown and click select and wait.. not everyone is going to know they need to click select to actually make something happen..

    #244494
    djsteveb
    Participant

    @deklein – it certainly would not hurt, and would be pretty fast and easy to make a backup of your entire wordpress install (all files on server, maybe a zipped folder) – then delete your buddypress plugin and all your default themes.. reinstall a fresh 2014 theme and buddypress – activate and test. Very strange that those do not show up with all other plugins disabled while switched to 2014 theme – and you even checked screen options..

    I would say before trying that I would try to mess with that menu using a different browser.. sometimes things work in firefox that do not work in chrome.. sometimes a browser plugin blocks something from loading somewhere that you may not find is an issue when using Internet Explorer..

    #244487
    bravenguyen
    Participant

    Well, I know how to create a page with WordPress. I did not know how to do with the content of the page:the code, the form… I can manage myself now.

    P/s: I am a newbie to WP and BP. Anyone has to learn and grow. I expect your instructions to help newbies like me.

    Thanks,

    #244481
    RocketSlime
    Participant

    Hi – my website works fine with The7.2 – all except the Registration page, which for the damnedest reason the footer bar at the bottom of the page is obstructing the forms you need to fill in. I’ve gone into HTML editor and removing the Footer section fixes the whole issue – but I can’t find a way of doing that in WordPress.

    PLUS – BuddyPress seems to be putting the Registration section into the Header bar, rather than the Main.

    #244469
    shanebp
    Moderator

    bbPress has it’s own support forums.

    As you probably know, PHP notices are not that critical.
    You might try looking at the file in the notice.
    I suggest you review the function and perhaps add a conditional to check if topic is empty before adding to $new_title
    You may have found a bug. You can create a ticket here.

    jackofallvices
    Participant

    1. Which version of WordPress are you running?

    4.3.1

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

    root directory

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

    root

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

    4.3

    5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting.

    yes

    6. Which version of BP are you running?

    2.3.3 (also with 2.5.8 bbpress)

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

    no

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

    yes

    AG Custom Admin
    All In One WP Security
    bbPress
    bbPress Multi Image Uploader
    bbPress Notices
    BuddyPress
    BuddyPress Forum Editor
    Bug Library
    Coming soon and Maintenance mode WpDevArt
    Content Aware Sidebars
    GD bbPress Tools
    Merge + Minify + Refresh
    Redis Object Cache (currently deactivated and troubleshooting)
    Remove Dashboard Access
    rtMedia for WordPress, BuddyPress and bbPress
    Scrollbar Designer
    Steam News Widget
    WP Change Default From Email
    WP Clone by WP Academy
    WP Super Cache
    WP ULike
    WPS Hide Login

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

    child of Spacious from themegrill

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

    a couple small tweaks in child theme

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

    not that i am aware of

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

    yes, 2.5.8

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

    [Wed Sep 16 11:20:01.065681 2015] [fcgid:warn] [pid 19091] [client my.ip.address:1024] mod_fcgid: stderr: PHP Notice:  Undefined offset: 0 in /home/mysite/public_html/wp-content/plugins/bbpress/includes/extend/buddypress/functions.php on line 133, referer: http://mysite.com/groups/united-division/forum/
    [Wed Sep 16 11:20:01.065720 2015] [fcgid:warn] [pid 19091] [client my.ip.address:1024] mod_fcgid: stderr: PHP Notice:  Trying to get property of non-object in /home/mysite/public_html/wp-content/plugins/bbpress/includes/extend/buddypress/functions.php on line 133, referer: http://mysite.com/groups/united-division/forum/

    14. Which company provides your hosting?

    Self hosted Debian Jessie with virtualmin

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

    Debian Jessie

    I have debugging on and when I go to a locked thread in a group forum (open or private so far), the same error is displayed on top as part of wp debug

    
    [16-Sep-2015 18:21:55 UTC] PHP Notice:  Undefined offset: 0 in /home/mysite/public_html/wp-content/plugins/bbpress/includes/extend/buddypress/functions.php on line 133
    [16-Sep-2015 18:21:55 UTC] PHP Notice:  Trying to get property of non-object in /home/mysite/public_html/wp-content/plugins/bbpress/includes/extend/buddypress/functions.php on line 133

    My site is currently locked down for beta testers. I could give you the address in private but I would need your IP address to whitelist you.

    #244467
    danbp
    Participant

    @bigkahunaburger,

    i completed the snippet so it comes with pagination.

    Here a great tutorial about pagination.

    #244465
    Lars Henriksen
    Participant

    Hello,

    I’m trying to setup a full-width template for all group pages.

    According to the documentation you can put a theme file (single.php) in

    /wp-content/themes/twentyfourteen-child/buddypress/groups/

    but my group pages are not picking up the template.

    What am I doing wrong?

    Thanks

    This my index.php:

    <?php
    /**
     * Template Name: Full Width Page
     *
     * @package WordPress
     * @subpackage Twenty_Fourteen
     * @since Twenty Fourteen 1.0
     */
    
    get_header(); ?>
    
    <div id="main-content" class="main-content">
    
    <?php
    	if ( is_front_page() && twentyfourteen_has_featured_posts() ) {
    		// Include the featured content template.
    		get_template_part( 'featured-content' );
    	}
    ?>
    
    	<div id="primary" class="content-area">
    		<div id="content" class="site-content" role="main">
    			<?php
    				// Start the Loop.
    				while ( have_posts() ) : the_post();
    
    					// Include the page content template.
    					get_template_part( 'content', 'page' );
    
    					// If comments are open or we have at least one comment, load up the comment template.
    					if ( comments_open() || get_comments_number() ) {
    						comments_template();
    					}
    				endwhile;
    			?>
    		</div><!-- #content -->
    	</div><!-- #primary -->
    </div><!-- #main-content -->
    
    <?php
    get_sidebar();
    get_footer();
    
    #244441
    danbp
    Participant

    @bravenguyen,

    you don’t know how to create a page with WordPress ? Hum… really ? 😉

    dashboard > pages > add new.
    Enter a title, save and you’re done .
    Go to BP page settings and select the one you created for activate. Do the same for register.

    Marquisdefunk
    Participant

    When looking at an individual users profile, the “view” link that directs to their recent activity points to my-domain/activity/p/127 but when I click on it the link directs me to a totally non-related page on my site.

    This is happening with every “view” link throughout the site and always directs to the same non-related page.

    Also, when I am viewing an individual users profile, the “Activity” link points to my-domain/members/username/activity/. But when I click on the link it directs me to the Site Wide Activity located at my-domain/activity/

    I am running:
    Tempera Theme – I am using a child-theme
    Wordpress 4.3.1
    bbPress 2.5.8
    BuddyPress 2.3.3
    BuddyPress NoCaptcha Register Box 1.1.3
    Membership2 4.0.0.5
    Nextgen Gallery 2.1.15

    I have tested with only WordPress and Buddypress activated with same results.
    This is a clean install and I have tested with TwentyFifteen theme with same results.

    #244431
    djsteveb
    Participant

    @swissprice – There are several “chat” plugins what “work with wordpress / buddypress” – it would be easy to establish a group chat room that allows registered and non-registered users to chat with each other via the main chat room – and they can private message each other there.

    As far as “begin chat with this user” – I think you would need something that says “User A” is online now – and a setting that would allow a non-registered, non-logged in person to send a “message”. I think I saw a thread a while back where someone was trying to adapt the “single user profile page” to allow guest comments, aka activity post on that profile / user’s activity page..

    Not sure exactly what you are going for here.

    deklein
    Participant

    I am trying to add buttons to my menu that are dynamic links to buddypress items. Since logging into wordpress and updating some plugins a few days ago all of the buttons are all of a sudden missing.

    I have a screenshot to help explain what my issue is:

    http://postimg.org/image/e0f9fdb2r/

    Any suggestions are appreciated! Thanks (:

    #244416
    danbp
    Participant

    hi @bigkahunaburger,

    Give this a try (goes to bp-custom.php or child-theme functions.php)

    function bpfr_get_user_comments_on_profile() {
    
    // number of comments to show per page
    define( 'DEFAULT_COMMENTS_PER_PAGE', 3 );
    
    $page = (get_query_var('page')) ? get_query_var('page') : 1;
    
    $limit = DEFAULT_COMMENTS_PER_PAGE;
    
    $offset = ($page * $limit) - $limit;
    
    $param = array(
    	'user_id' 	=> bp_displayed_user_id(),
    	'status'	=> 'approve',
    	'offset'	=> $offset,
    	'number'	=> $limit
    );
    
    $total_comments = get_comments(array(
    	'orderby' => 'comment_date',
    	'order'   => 'ASC',
    	'status'  => 'approve',
    	'parent'  => 0
    ));
    
    $pages = ceil(count($total_comments)/DEFAULT_COMMENTS_PER_PAGE);
    $comments = get_comments( $param );
    
    $args = array(
    	'base'         => @add_query_arg('page','%#%'),
    	'format'       => '?page=%#%',
    	'total'        => $pages,
    	'current'      => $page,
    	'show_all'     => false,
    	'mid_size'     => 4,
    	'prev_next'    => true,
    	'prev_text'    => __('&laquo; backward'),
    	'next_text'    => __('onward &raquo;'),
    	'type'         => 'plain'
    );
    
    // Output pagination
     echo paginate_links( $args );
    ?>
    
    <ul>
    <?php
    
    	foreach($comments as $comment) {
    
    	// short version
    	//echo '<li>'. ($comment->comment_content .'&nbsp;<a href="'. esc_url( get_permalink( $comment->comment_post_ID ) ) ).'">View post</a></li>';
    	
    	// long version
    		echo '<li>'. ($comment->comment_content .'&nbsp;<a href="'. esc_url( get_permalink( $comment->comment_post_ID ) ) ).'">'. get_the_title( $comment->comment_post_ID ) .'</a> Comment: '. get_comment_date( '', $comment ) .'</li>';
    	}
    ?>
    </ul>
    <?php
    
    }
    add_action ( 'my_profile_comment', 'bpfr_get_user_comments_on_profile' );
    
    function bpfr_comment_profile_setup_nav() {
    global $bp;
    
    	$parent_slug = 'comments';
    	$child_slug = 'comments_sub';	
    	
    	// Add nav item
    	bp_core_new_nav_item( array(
    	'name' => __( 'My comments' ),
    	'slug' => $parent_slug,
    	'screen_function' => 'bpfr_profile_comment_screen',
    	'position' => 40,
    	'default_subnav_slug' => $child_slug 
    	) );
    	
    	//Add subnav item 	 
    	bp_core_new_subnav_item( array( 
    	'name' => __( 'My latest comments' ), // as content title
    	'slug' => $child_slug, 
    	'parent_url' => $bp->loggedin_user->domain . $parent_slug.'/', 
    	'parent_slug' => $parent_slug, 
    	'screen_function' => 'bpfr_profile_comment_screen'
    	) );
    }
    
    		function bpfr_profile_comment_screen() {	
    			add_action( 'bp_template_content', 'bpfr_profile_comment_screen_content' );
    			bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'members/single/plugins' ) );
    		}
    
    		function bpfr_profile_comment_screen_content() {
    			do_action( my_profile_comment );
    		}
    
    add_action( 'bp_setup_nav', 'bpfr_comment_profile_setup_nav' );

    Reference: https://codex.wordpress.org/Function_Reference/get_comments

    To do the same for user’s post, see here:
    https://buddypress.org/support/topic/creating-a-custom-tab-that-takes-in-the-info-from-wp-recent-posts/

    #244415
    mmalaske
    Participant

    I haven’t been able to get the Activate and Register pages to work with the Genesis Executive Pro theme. I’ve done quite a bit of research and it doesn’t seem clear to me on whether BuddyPress creates its own Activate and Register pages or these are pages I need to create. We were able to verify in the BuddyPress directory there is a activate.php and register.php file but they are not in the dropdown selection when associating the WordPress page with the BuddyPress component directory.

    If I could get a simple yes/no answer to whether or not the two pages are indeed created by BuddyPress during install I would appreciate it!

    #244414
    boriskamp1991
    Participant

    Hi guys!
    Why is there no notification sent to a member when he/she is mentioned in a regular (wordpress) comment form on a blog post?

    I would really like this, how can I achieve this?
    Thanks!

    #244411
    djsteveb
    Participant

    – it’s the (or one of the) “default” wp themes ( https://wordpress.org/themes/twentyfourteen/ )
    about the only way you will get any kind of support with bp or / and rtmedia..

    it’s not the easiest thing to mod – but at least it works, and bp has some stylesheets included that massage it into something better than the average theme for some bp pages..

    I finally got deep into it to style some changes at the various media queries / screen sizes..

    btw – did you try changing your premium themes style.css to those changes to see if they work?

    if you search the bp forums for other premium themes you will see that even ones selling as “the best or the most popular buddypress theme” – seem to have issues and lack good support.. search the forums for “kleo” for example – lol

    I am sticking with twenty fourteen ’till things mature a bit (recent changes in wp and bp have made things complex in some ways) –

    #244392
    liharris
    Participant

    Hello,
    firstly this is my first ever wordpress website! http://www.liharris.com but i have ran into an issue with my premium wordpress theme “Empathy A Vcard Theme” whenever i have this theme active my profile redirects the profile pages to my home page.

    i have okay coding skills but don’t really know as much about PHP or CSS which is a pain

    Thanks In Advanced

    #244377
    Maddish
    Participant

    I’m trying to override the default /_inc/global.js file with a custom one, but after deregister the original one, every post_update is run twice, so each post is duplicated.

    I’m using

    Wordpress version 4.3
    buddypress version 2.3.3
    typal-makewp005 Chld theme

    In bp-custom.php:

    
    function deregister_bp_scripts(){
    
    wp_deregister_script( 'dtheme-ajax-js');
    wp_dequeue_script( 'dtheme-ajax-js');
    }
    add_action('wp_enqueue_scripts', 'deregister_bp_scripts');
    
    function mytheme_enqueue_scripts() {
    
    			$params = array(
    					'my_favs'           => __( 'My Favorites', 'buddypress' ),
    					'accepted'          => __( 'Accepted', 'buddypress' ),
    					'rejected'          => __( 'Rejected', 'buddypress' ),
    					'show_all_comments' => __( 'Show all comments for this thread', 'buddypress' ),
    					'show_x_comments'   => __( 'Show all %d comments', 'buddypress' ),
    					'show_all'          => __( 'Show all', 'buddypress' ),
    					'comments'          => __( 'comments', 'buddypress' ),
    					'close'             => __( 'Close', 'buddypress' ),
    					'view'              => __( 'View', 'buddypress' ),
    					'mark_as_fav'       => __( 'Favorite', 'buddypress' ),
    					'remove_fav'        => __( 'Remove Favorite', 'buddypress' ),
    					'unsaved_changes'   => __( 'Your profile has unsaved changes. If you leave the page, the changes will be lost.', 'buddypress' ),
    			);
    wp_enqueue_script( 'custom_dtheme-ajax-js', get_stylesheet_directory_uri() . '/js/global.js', array( 'jquery' ) );
    	wp_localize_script( 'custom_dtheme-ajax-js', 'BP_DTheme', $params );
    }
    
    add_action('wp_enqueue_scripts', 'mytheme_enqueue_scripts');
    

    I already tried to set different priority , to move this code to functions.php instead of bp-custom.php, to use the twentyfifteen theme, to make a child of the bp-default theme, but no way…
    What I need to do is to add some custom fileds to the activity form to create a facebook-like link-preview.

    I followed this post in which they say you have to add to global.js the new fields’ values, but I don’t want to change the global.js file directly (for next updates)

    https://buddypress.org/support/topic/adding-a-second-element-for-posting-with-an-activity/

    Does anybody know what am I doing wrong?

    #244366
    Prabin
    Participant

    may be it’s a permalink issue. Try editing your htaccess file.

    Navigation Links Return 404 Errors

    https://codex.wordpress.org/Using_Permalinks

    #244362
    loladam
    Participant

    Hello, I can not make a register page all I get is “404 not found”.

    I have checked in settings>Membership>Anyone can register (is checked).
    Settings>Buddypress>Pages>Register/Activate (Both of them have a page).
    I got wamp and wordpress 4.3

    When I go to the register page it says “404 not found”, what can be the problem and how can I fix this? This is a school project im working on right now.

    Some screenshots:
    https://gyazo.com/1ebae1a4b89bf5b75e83031520adda19
    https://gyazo.com/e79a4cc0d32b95ee9df41f25ed75d50b
    https://gyazo.com/05c372d466305993e18ed6337e330e98

    -Adam

    #244361
    danbp
    Participant

    No idea really, but see here if you find something
    https://wordpress.org/plugins/search.php?type=term&q=cookie+law

Viewing 25 results - 7,751 through 7,775 (of 32,687 total)
Skip to toolbar