Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'theme'

Viewing 25 results - 4,676 through 4,700 (of 31,073 total)
  • Author
    Search Results
  • #251951
    ripulkr
    Participant
    #251909
    shanebp
    Moderator

    You can put it in your theme/functions.php or in bp-custom.php.

    #251868

    In reply to: ATT: Moderator

    Dono12
    Participant

    If you guys want to keep it for other people facing similar issues, please remove or add a space holder here: .../wp-content/themes/Starkers-Child-2/images/vidimage.jpg

    shanebp
    Moderator

    If they’ve logged in, they should have a last_activity entry – without which they won’t appear on the Members page.

    If you aren’t concerned about existing last_activity entries for those who currently do appear, paste this function in your theme/functions.php.
    It will create a last_activity entry for all users and set it to the current time.

    Load the site once and then remove this function so that it does not run again.

    function brad_add_last_activity() {
        global $wpdb;
        foreach ( $wpdb->get_col( "SELECT ID FROM $wpdb->users" ) as $user_id ) {
            bp_update_user_last_activity( $user_id, bp_core_current_time() );
        }
    }
    add_action('bp_init', 'brad_add_last_activity' );
    #251822
    danbp
    Participant

    Hi,

    you tried the complicated way. 😉 Let’s do it simple & stupid (it’s easter).

    Assuming you want to link only to one group, whatever the post.

    1) simplest way
    Pick up the join group url by hovering over the button on the group directory.
    Something like your-site.com/groups/group_name/join?_wpnonce=5b8355ee81d
    Above the post, write “Join group X” as text and add the url. You’re done !

    2) lazy way
    add a shortcode button on the text editor (not visual), with button text and url.

    Add both snippet to bp-custom.php or child-theme’s functions.php
    In this example, my group page is named groupes and the group name is Horseshoe
    Change that to your credentials for $href var (see 1) to get the url).

    function my_join_button($atts, $content='') {		
    
    	extract(shortcode_atts(array(
    	'class'=>'post-join-group' // css class name
    	), $atts));
    
    	$href = get_home_url().'/groupes/horseshoe/join?_wpnonce=6b826ee77d';
    
    	$output = '<span><a href=" '. $href .' ">Join the Horse group</a></span>';
    	if ( $content != '' ) {
    		$output = "$class $content";
    	}
    	return $output;
    }
    add_shortcode('join_my_group','my_join_button');
    
    /* Add a shortcode button to html (text) editor */
    
    function add_quicktags() {  ?>
    <script type="text/javascript" charset="utf-8">
    	QTags.addButton( 'aq_jmg', 'Join my group', '[join_my_group]', '', '', 'Join my group' );
    </script>
    <?php
    }
    add_action( 'admin_print_footer_scripts','add_quicktags');
    #251813
    carson7634
    Participant

    Version 4.4.2 of WP

    http://www.dynamicdigitalpursuits.com/SportsRecruiters

    Theme:
    Sydney

    Plugins:
    BuddyPress
    BuddyPress Profile Tabs (Deactivated)
    Page Builder
    s2Member
    Sydney Toolbox
    Theme My Login

    #251790
    valuser
    Participant

    A possible way to achieve what you want.

    Networks+ and bp-multi-network

    Each network can have absolutely completely separate Activity Streams, Groups, Forums, and sites/blogs as well as separate plugin and theme structures.

    I only say MAY because the usermeta is shared and once a user visits another network that user is added to the Members of that network.

    However AFAIK users have separate bp-profile data on each network

    I fully understand that this may not be exactly what you are looking for but it certainly is a very good start.

    #251759
    @mcuk
    Participant

    Hi,

    Copy the line file activity-loop.php into your child theme (maintaining the same file structure), and replace the line:

    <?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) ) ) : ?>

    with the line:

    <?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) . '&per_page=10' ) ) : ?>

    #251727
    davidkey772
    Participant

    Thank you SO much for engaging and for your optimism…

    The site is hosted with a small company called Green Web.I have several other sites hosted with them using WP and they all send email form the sites fine. For this reason, I don’t think it’s a server issue. None of these other sites have BP though.

    The site that has BP – the one I have the issue with – has a plugin that sends emails to notify about new blog posts: that works fine. Also, other WP admin notifications (password changes, new registrations, etc.) all work fine.

    The theme is custom built – but as I mentioned, other types of email notification are working fine with this theme. It’s just the BP email notifications…

    ngoegan
    Participant

    I figured out what was causing the redirect – I had “Enable Security” selected in Theme My Login plugin. When I unselected it, it allowed me (when I’m logged out) to access the register page!

    I don’t know why when I deactivate the plugin it still causes the issue though.

    Either way, it’s a TML issue.

    Now I just have to figure out how to exclude the “register” page from the site security.

    So glad to at least know the cause!

    #251720
    Paul Wong-Gibbs
    Keymaster

    We should be able to figure this out. 🙂

    Where is your website hosted?

    Does your site send WordPress emails, without any other plugin activated, and using the default theme? For example, comment moderation / notification emails.

    ngoegan
    Participant

    I wouldn’t know funny if I saw it, but here is the only thing relating to redirects or registering that I could tell from my theme’s function.php file. Does any of it look funny to you?

    add_action( ‘template_redirect’, ‘twentytwelve_content_width’ );

    /**
    * Register postMessage support.
    *
    * Add postMessage support for site title and description for the Customizer.
    *
    * @since Twenty Twelve 1.0
    *
    * @param WP_Customize_Manager $wp_customize Customizer object.
    */
    function twentytwelve_customize_register( $wp_customize ) {
    $wp_customize->get_setting( ‘blogname’ )->transport = ‘postMessage’;
    $wp_customize->get_setting( ‘blogdescription’ )->transport = ‘postMessage’;
    $wp_customize->get_setting( ‘header_textcolor’ )->transport = ‘postMessage’;
    }
    add_action( ‘customize_register’, ‘twentytwelve_customize_register’ );

    /**
    * Enqueue Javascript postMessage handlers for the Customizer.
    *
    * Binds JS handlers to make the Customizer preview reload changes asynchronously.
    *
    * @since Twenty Twelve 1.0
    */
    function twentytwelve_customize_preview_js() {
    wp_enqueue_script( ‘twentytwelve-customizer’, get_template_directory_uri() . ‘/js/theme-customizer.js’, array( ‘customize-preview’ ), ‘20141120’, true );
    }
    add_action( ‘customize_preview_init’, ‘twentytwelve_customize_preview_js’ );

    #251657
    ripulkr
    Participant

    I also have the WPLMS theme, there is switch in the theme which enables this.
    The switch is located in WP Admin – WPLMS – BuddyPress – Member meta info

    #251655
    ripulkr
    Participant

    You can also integrate Gmail for sending Emails using the WP SMTP plugin : http://www.wpbeginner.com/plugins/how-to-send-email-in-wordpress-using-the-gmail-smtp-server/

    For the WPLMS theme, the developers are working on migrating their course related emails to Buddypress.

    #251651

    In reply to: Users Sell Items

    ripulkr
    Participant

    I am also using the WPLMS theme, based on the information I have they’re already working on similar module integrating with this plugin :http://codecanyon.net/item/booked-appointment-booking-for-wordpress/9466968?s_rank=1

    #251648
    @mcuk
    Participant

    I was just taking a shot in the dark, that if line 107 was the one :

    if ( $image = genesis_get_image( array( ‘format’ => ‘url’, ‘size’ => genesis_get_option( ‘image_size’ ) ) ) ) {

    then change the = to ==.

    But the problem maybe something incorrect prior to the = sign. A missing semicolon, bracket etc. Does the function work properly in its original state (i.e. before alterations were made?).

    May be useful to ask your theme support as to where the link from Shane should go, as I’m not familiar with it.

    #251635
    riseUp
    Participant

    Hm….when I copied and pasted your suggested code, I get the following message:

    Parse error: syntax error, unexpected ‘=’ in /home/content/p3pnexwpnas06_data03/32/3122732/html/wp-content/themes/streamline-pro/functions.php on line 107

    What do you think? How do you think I should adjust this code? Thank you!

    r-a-y
    Keymaster

    I turned off all Plugins except WordPress and Buddypress and this issue still occurs.

    Are you sure you disabled all plugins except BuddyPress? If so, check for any rogue code snippets in your theme’s functions.php or wp-content/plugins/bp-custom.php.

    Once that is done, delete all registration pages you have set up in WordPress. Create a new WordPress page to be used for BuddyPress registration. Just enter a post title and hit “Publish”. Also, ensure all your pages in the “Pages” trash are deleted.

    Next, go to “Settings > BuddyPress > Pages” and set the “Register” page to the page you just created.

    #251613
    @mcuk
    Participant

    You need to get the css selectors for the title and the button to style them. Easily done using the developer tools on your browser (hit F12 in your browser).

    Then you’ll have something like this to remove the title:

    #idoftitle {
        display: none; 
    }

    and to style your button something like:

    #idofloginbutton {
        border: 1px solid #ff00ff;
        border-radius: 4px;
        background: #ff00ff;
        color: #fff;
    }

    etc.

    There are lots of variables that go into styling so the above are just examples. Put your custom code in your style.css file within your child theme and your changes will show.

    danbp
    Participant

    Hi,

    you have to debug your install. It’s probably a theme conflict or a cache issue, related to a content.

    Activate a twenty theme and deactivate all your plugins except BuddyPress and clear your cache. Test WP+BP+Theme. If ok, reactivate plugins one by one untill you find a culprit.

    Please take advice from here.

    #251593
    johnkim1968
    Participant

    Hi Shane,

    I tried the 2015 theme and had the same problem. Just to confirm, http://yourURL/members/member name/friends/requests/ – gave you the correct friend requests and not all members? If so, you are correct and I need to keep digging. Thanks.

    ds123
    Participant

    thanks for the reply its a themeforest theme called vivacity and here are the plugins i have installed:

    Akismet
    Version 3.1.8 | By Automattic | View details

    Audio player
    Version 2.0.4.1 | By Martin Laine | Visit plugin site

    Auto Post Thumbnail
    Version 3.3.4 | By Aditya Mooley , Tarique Sani | View details

    BuddyPress
    Version 2.5.1 | By The BuddyPress Community | View details

    CloudFlare
    Version 1.3.20 | By Ian Pye, Jerome Chen, James Greene, Simon Moore, David Fritsch, John Wineman

    Dashboard Widget Remover
    Version 1.0 | By Zihad Tarafdar | View details

    Disable wp new user notification
    Version 0.100323 | By Corey Salzano | View details

    Google Analytics by Yoast
    Version 5.4.6 | By Team Yoast | View details

    LayerSlider WP
    Deactivate | Edit
    Version 5.6.2 | By Kreatura Media | Visit plugin site

    Log Report Plugin
    Keeps Stop Spammer logs in CSV file
    Version 1.0 | By Keith P. Graham | Visit plugin site

    Mail From
    Version 1.0.1 | By Andrew Hamilton | View details

    Select SI CAPTCHA Anti-Spam
    Version 2.7.7.7 | By Mike Challis | View details

    Stop Spammers Spam Control
    Version 6.15 | By Keith P. Graham | View details

    Vivacity Plugin
    Version 1.2 | By GhostPool

    WP Maintenance Mode
    Version 2.0.3 | By Designmodo | View details

    WP Super Cache
    Version 1.4.8 | By Automattic | View details

    WP Widget Cache
    Version 0.26 | By Andrew Zhang | Visit plugin site

    WPBakery Visual Composer
    Version 4.9 | By Michael M – WPBakery.com | Visit plugin site

    Yoast SEO

    Henry Wright
    Moderator

    Which plugins do you have active and which theme are you using?

    #251576
    ds123
    Participant

    Thanks for the reply paul …. they have never worked for me … i tried switching to the wordpress 2016 theme and then the classic theme to rule out my own theme being responsible …the cover images are there where they should be in the buddypress uploads directory ..but they don’t show up ..any ideas?

    #251574
    shanebp
    Moderator

    I cannot duplicate your issue using a standard WP theme, like 2015, and no custom code other than the filter discussed in this thread.

    I suspect an issue with your customized version of the members loop or some custom function re members and / or friendships.

Viewing 25 results - 4,676 through 4,700 (of 31,073 total)
Skip to toolbar