Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 6,326 through 6,350 (of 22,683 total)
  • Author
    Search Results
  • #235324
    danbp
    Participant

    Wow stunning ! Are you on a local server ? MS or single install ?

    Could be that something went wrong during upload.
    Erase the BP folder and add a new copy.

    And remove your theme from the theme directory while testing with Twenty.

    #235321
    Travis
    Participant

    @danbp

    I just setup a fresh new WordPress install and installed the BuddyPress plugin. The error is appearing here as well.

    #235312
    Jozef de Beer
    Participant

    I am having the same issue. The regular WordPress search box will not display any content from my Groups page. I think it is hilarious that when I go to create a group, under settings the public and private options say that group content will show up in search results. I have tried relevanssi and that didn’t help.

    #235298
    danbp
    Participant

    @rosyteddy,

    snippets published on the forum are generally related to a specific topic/question. And of course, dependant of theme and/or bp version, if not php or mysql or server settings. Over the time, they stop working or can’t be used anymore because the Core changed or because of other evolutions….

    Despite having a kind of snippet store accessible by forum menu seems to be a usefull idea, it is not. Each usage case is different and can not be extended to all case. FYI information, i had the same idea a few years back, and was quickly discouraged to do so by our Core dev. I was first disapointed, but i finally had to admit they where right. And today, i’m absolutely persuaded and on the same line.

    That’s why you have Codexes. For WP, BP or bbP with general explanation of default usage and more rarely, with usage examples. If you find a snippet example in Codex, in 95% of cases, you have to adapt it to your personnal usage.

    To answer your question, as you know, BuddyPress is (only) a WordPress plugin. When installed, the site continue to work with WordPress and WP dashboard. Nothing is modified in WP Core, only that BP was added to the site. As a plugin.

    How to handle WordPress is explained and widly documented in his Codex.
    Menu management, CPT management or how to modify menu items on Toolbar or Admin bar is also documented. And the’re so many sites giving WP tips (from excellent to awfull), you can read.

    Hugo Ashmore
    Participant

    What do your WP settings page ‘general’ show for urls, specifically ‘Site Address (url)’? Did you check the values here after the change over?

    WP codex guide on this aspect:
    https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

    Did you also visit the permalinks page under ‘settings’, just to ensure permalinks are re-freshed?

    This is really a WP support issue as the problems rest with how WP is configured rather than issues specific to BuddyPress working.

    rosyteddy
    Participant
    rosyteddy
    Participant
    #235260
    rosyteddy
    Participant

    Hi @danbp Thanks.
    I asked there a long time ago ๐Ÿ™‚

    marketraisen
    Participant

    https://wordpress.org/plugins/user-submitted-posts/

    I’m using a plugin, within the plugin it asks you to assign an authors name to the submitted posts, which obviously is required for wordpress. On the frontend the name chosen by the author is displayed on the post using <?php the_author(); ?>.

    I’m trying various ways around this, such as adding text to the content but I’m a total newbie with all coding and wordpress. I don’t care if the username is linked anywhere or any other information is displayed, I’d just like to be able to use the <?php the_author(); ?> line on the activity stream but I know its not that simple.

    #235251
    Klosurdo
    Participant

    Thanks for the reply danbp,

    The Theme I am using is KLEO by Seventh Queen
    Buddy Press version Version 2.2.1

    I am looking to hide menu items for non logged in visitors in members profiles See example here.. I want to have only the โ€œmediaโ€ menu and possibly the documents icons viewable to non logged in visitors.

    I would like all icons viewable to only those members that are logged in.

    Thanks

    Other Plugins
    Akismet
    bbPress
    BuddyPress Cover Photo
    K Elements
    MOJO Marketplace
    Paid Memberships Pro
    PMPro MailChimp Integration
    PMPro Register Helper
    PMPro Set Expiration Dates
    Register Helper Example
    Revolution Slider
    rtMedia Pro for WordPress, BuddyPress and bbPress
    The Events Calendar
    WPBakery Visual Composer

    #235246
    @mercime
    Participant

    @tendersqatar Enfold is a premium WordPress theme which we have no access to so it would purely be guesswork to assess what’s going on in your installation.

    Please change to the Twenty Thirteen or Twenty Fourteen theme and check if registration is working in your local installation. If you encounter the same issue using those themes, could you give a step by step instruction on what you did and where in the registration process the error occurred.

    #235245

    In reply to: Theme & Plugin Issues

    @mercime
    Participant

    for some reason my nav bar (which has dropdowns to sub-pages of the site) doesnโ€™t work properly


    @themusicbusinessnetwork
    For this issue, please contact the theme developer as we have no access to the premium theme.

    … where I canโ€™t set up user registration properly. I have the fields setup but something with the pages that I direct them to donโ€™t work

    Could you please clarify what you mean by “pages that I direct them to”? Are you referring to template redirect after submitting registration form or something else?

    I also am having issues updating the Theme. WordPress is giving me an error message saying the data is already there and it canโ€™t install.

    As mentioned above, we have no access to the premium theme. But to help you find the possible causes, change to Twenty Thirteen or Twenty Fourteen theme, are the issues resolved or still there? That way, you could provide the theme author more information about the issue. Recommend that you share what shows up in error logs.

    #235224
    danbp
    Participant

    You’ll have more chance by asking for this on the plugin support ! ๐Ÿ˜‰

    AfromanJ
    Participant

    Basically Ive been asked to fix this field problem on someone elses website, Ive just been given access to FTP so can now make changes to the server files.

    They are using a theme called Huddle and have BuddyPress install on the latest version:
    http://themeforest.net/item/huddle-wordpress-buddypress-community-theme/835549

    The theme folder has a members folder in for BuddyPress, which i assumed was the standard for BuddyPress. I have overridden the templates you suggested in /themes/huddle/members/single and the issue is still present.

    I switched to a default WordPress theme to test compatibility and the fields are working like normal. So the issues is with the Huddle theme, now that its using the correct profile-loop and edit templates im not sure what the problem can be?

    #235222
    danbp
    Participant

    Hi @rosyteddy,

    since BP 1.7 theme compatibility was introduced, which allowed the use of almost every theme on a BP powered site. Previously, you could practicaly only use bp-default theme. Since bp-default was removed (7569) from the install package, that theme lives his own life. A few time later, it was decided to publish the source code of the bp-default custom theme used on bp.org…

    I wonder then why BP is not releasing this as a default theme for BP!

    Don’t wonder ! Because devs wanted to concentrate on their plugin, not on a specifical theme. It tooks hard working to isolate bp-default. And certainly not to introduce a new one today. ๐Ÿ˜‰

    You have access to the source code. You’re free to use it and to skin it to your needs.

    If you don’t see colors or any other elements, you have to check your work and redo it if you comes if you have errors or omissions.

    Difficult to tell you what you did wrong. IMO nothing, but if you’re mixing your theme and bp-default ร  la bp.org, you missed probably somethings.

    If you don’t know how to do this, you can hire somebody on BP Job Board forum.

    #235221
    giuseppecuttone
    Participant

    Hi @alexterchum and @sbrajesh
    I think Alex is right.
    The other BuddyPress Notifications disappears when user visit the page.
    Also the others notifications generated with the others plugins that sbrajesh has developped (BP Group Activities Notifier and BuddyPress Activity Comment Notifier) run well.
    For example if the USER A send a message to USER B, USER B receive one notification.
    When USER B visit the page whin the message (http://URLWEBSITE/members/USER-NAME/messages/view/xx/) – clicking in the notification or by other way… – the notification will be dissapear.
    Also in the page http://URLWEBSITE/members/USER-NAME/notifications/, when user visit the page with the message, the message automatically will go to the section UNREAD and it is not necessary that the user must to mark as READ the message in order to dissapear the notification.

    I have the same problem with FORUM notification (using https://wordpress.org/support/plugin/bp-forum-notifier).

    sbrajesh, can you solve the problem in the plugin “BuddyPress Notify Post Author on Blog Comment”?

    Thank’s very much

    #235182
    Hugo Ashmore
    Participant

    This is likely an issue with necessary changes BP had to make setting is_page() to zero for BP pages, sadly causing a WP bug to manifest, WP has been patched to handle this issue.

    You can apply this patch to WP core in advance of it being released to correct the problem – if that is this is the issue.

    https://core.trac.wordpress.org/attachment/ticket/24674/24674.2.diff

    AfromanJ
    Participant

    Hey, I could be using the wrong view and edit templates as they do not look the same as the profile pages on buddypress.org.

    I do not have full access to replace files on the server manually, I have updated WordPress and BuddyPress to the latest versions.

    Do I need to manually replace the legacy files on the server with these files?
    https://github.com/buddypress/BuddyPress/tree/master/src/bp-templates/bp-legacy/buddypress

    I thought this would correct itself when the plugin is updated.

    Hugo Ashmore
    Participant

    I ran across this the other day, and it’s been ticketed and will be looked into:
    https://buddypress.trac.wordpress.org/ticket/6167

    #235131
    shanebp
    Moderator

    Now in the WP plugin repo:
    https://wordpress.org/plugins/bp-local-avatars/

    And still available here: PhiloPress

    #235114
    SimpleOne
    Participant

    @hnla thank you for the guidance. FWIW, I did try doing as much research as possible (and trying out a few things) before posting my question here.

    I reviewed the information contained in the link you provided. Thanks for that. But after reading through that information, what I’m still unclear about is how/what template I should modify in order to affect ONLY the BP Registration page. (FYI, I’m not a php developer, so I do need a bit of hand holding for some of this kinda stuff.)

    I read through the info on how to “Customize the layouts of BuddyPress pages within the WordPress Default Themes”. However, the instructions provided there seem to apply to scenarios where a site admin is wanting to make page template changes that apply to all BP pages on a site (i.e., by placing a customized buddypress.php file in the child theme folder).

    In my case, I’m only wanting to change a single page (the Registration page) to remove the headers and footers. So I’m still unsure how I would go about doing that (even after reading through the info). Thank you very much for any specific guidance you can provide me with to accomplish this.

    #235083
    leanneoleary
    Participant

    Thanks for your help with this but I am still not sure what I need to do. The function I posted was just an example that I had found from an earlier forum, I do not need to add videos and pictures to the activity stream.

    I need to add details of a custom post type every time a custom form is submitted from the frontend by a user. The custom post type is “Files”. Below is a class for the form and it is within the CMB (custom meta boxes) plugin folder. Can you advise on how to implement the code to record these forms posts in the activity stream?

    class uploadForm {
    
        // Set prefix
        public $prefix = '_cmb_'; 
    
        /**
         * Construct the class.
         */
        public function __construct() {
            add_filter( 'cmb_meta_boxes', array( $this, 'cmb_metaboxes' ) );
            add_shortcode( 'cmb-form', array( $this, 'do_frontend_form' ) );
            add_action( 'init', array( $this, 'initialize_cmb_meta_boxes' ), 9 );
           /* add_action( 'cmb_save_post_fields', array( $this, 'save_fields' ), 10, 4 );*/
            add_action( 'save_post', array( $this, 'save_fields' ), 10, 4 );
           /*add_filter( 'bp_blogs_record_comment_post_types', 'add_activity' );   IS THIS CORRECT?  */ 
        }
    
        /**
         * Define the metabox and field configurations.
         */
        public function cmb_metaboxes( array $meta_boxes ) {
    
            /**
             * Metabox for the "Memorials" front-end submission form
             */
            $meta_boxes['upload_files_metabox'] = array(
                'id'         => 'files',
                'title'      => __( 'Upload files', 'cmb' ),
                'pages'      => array( 'Files' ), // Post type
                'context'    => 'normal',
                'priority'   => 'high',
                'show_names' => true, // Show field names on the left
                'fields'     => array(
                    array(
                        'name'       => __( 'File description', 'cmb' ),
                        'desc'       => __( 'File title or description', 'cmb' ),
                        'id'         => $this->prefix . 'title',
                        'type'       => 'text',
                    ),
                    array(
                        'name'     => __( 'Project stage', 'cmb' ),
                        'desc'     => __( 'select stage (optional)', 'cmb' ),
                        'id'       => $this->prefix . 'category',
                        'type'     => 'taxonomy_select',
                        'taxonomy' => 'stages', // Taxonomy Slug
                    ),
                    array(
                        'name' => __( 'Link to website', 'cmb' ),
                        'desc' => __( 'Add url to website (optional)', 'cmb' ),
                        'id'   => $this->prefix . 'url',
                        'type' => 'text_url',
                        'protocols' => array('http', 'https', 'ftp', 'ftps', 'mailto', 'news', 'irc', 'gopher', 'nntp', 'feed', 'telnet'), // Array of allowed protocols
                        // 'repeatable' => true,
                    ),
                   array(
                        'name' => __( 'Upload image', 'cmb' ),
                        'desc' => __( 'Upload an image or enter a URL.', 'cmb' ),
                        'id'   => $this->prefix . 'image',
                        'type' => 'file',
                    ),
    
                  array(
                      'name'         => __( 'Upload files', 'cmb' ),
                      'desc'         => __( 'Upload or add multiple images/attachments.', 'cmb' ),
                      'id'           => $this->prefix . 'file_list',
                      'type'         => 'file_list',
                  ),
                  array(
                    'name' => __( 'oEmbed', 'cmb' ),
                    'desc' => __( 'Enter a youtube, twitter, or instagram URL. Supports services listed at <a href="https://codex.wordpress.org/Embeds">https://codex.wordpress.org/Embeds</a>.', 'cmb' ),
                    'id'   => $this->prefix . 'embed',
                    'type' => 'oembed',
                 ), 
                ),
            );
    
            return $meta_boxes;
        }
    
        /**
         * Shortcode to display a CMB form for a post ID.
         */
        public function do_frontend_form() {
    
            // Default metabox ID
            $metabox_id = 'upload_files_metabox';
    
            // Get all metaboxes
            $meta_boxes = apply_filters( 'cmb_meta_boxes', array() );
    
            // If the metabox specified doesn't exist, yell about it.
            if ( ! isset( $meta_boxes[ $metabox_id ] ) ) {
                return __( "A metabox with the specified 'metabox_id' doesn't exist.", 'cmb' );
            }
    
            // This is the WordPress post ID where the data should be stored/displayed.
            $post_id = 0;
    
            if ( $new_id = $this->intercept_post_id() ) {
                $post_id = $new_id;
                echo 'Thank You for your submission.';
            } 
    
            // Shortcodes need to return their data, not echo it.
            $echo = false;
    
            // Get our form
            $form = cmb_metabox_form( $meta_boxes[ $metabox_id ], $post_id, $echo );
    
            return $form;
        }
    
        /**
         * Get data before saving to CMB.
         */
        public function intercept_post_id() {
    
            // Check for $_POST data
            if ( empty( $_POST ) ) {
                return false;
            } 
             
            
    
            // Check nonce
            if ( ! ( isset( $_POST['submit-cmb'], $_POST['wp_meta_box_nonce'] ) && wp_verify_nonce( $_POST['wp_meta_box_nonce'], cmb_Meta_Box::nonce() ) ) ) {
                return;
            }
            
            // Setup and sanitize data
            if ( isset( $_POST[ $this->prefix . 'title' ] ) ) {
                           
              
                //add post data to database    
                $this->new_submission = wp_insert_post( array(
                    'post_title'            => sanitize_text_field( $_POST[ $this->prefix . 'title' ] ),
                    'post_author'           => get_current_user_id(),
                    'post_status'           => 'publish', // Set to draft so we can review first
                    'post_type'             => 'file',
                ), true );
    
                // If no errors, save the data into a new post draft
                if ( ! is_wp_error( $this->new_submission ) ) {
                    
                    return $this->new_submission;
                    
                   
                } 
    
            }
    
            return false;
        }
    
        /**
         * Grant temporary permissions to subscribers.
         */
        public function grant_publish_caps( $caps, $cap, $args ) {
    
            if ( 'edit_post'  == $args[0] ) {
                $caps[$cap[0]] = true;
            }
    
            return $caps;
        }
        
       
        
    
        /**
         * Save custom fields and uploaded files 
         */
        public function save_fields( $post_id, $post  ) {
    
                if($_POST['_cmb_category'] != ''){
                    add_post_meta( $post_id, '_cmb_category', $_POST['_cmb_category'], true );
                }
                if($_POST['_cmb_url'] != ''){
                    add_post_meta( $post_id, '_cmb_url', $_POST['_cmb_url]'], true );
                }
                if($_POST['_cmb_image'] != ''){
                    add_post_meta( $post_id, '_cmb_image', $_POST['_cmb_image'], true );
                }
                if($_POST['_cmb_image_id'] != ''){
                    add_post_meta( $post_id, '_cmb_image_id', $_POST['_cmb_image_id'], true );
                }
                if($_POST['_cmb_file_list'] != ''){
                    add_post_meta( $post_id, '_cmb_file_list', $_POST['_cmb__file_list'], true );
                }
                if($_POST['_cmb_embed'] != ''){
                    add_post_meta( $post_id, '_cmb_embed', $_POST['_cmb_embed'], true );
                }
           
    
        }
    
        /**
         * Initialize CMB.
         */
        public function initialize_cmb_meta_boxes() {
    
            if ( ! class_exists( 'cmb_Meta_Box' ) ) {
                require_once 'init.php';
            }
    
        }
        
        /**
         * Add to buddypress activity timeline. - HOW???
         */
        public function add_activity($post_types) {
    
           /* $activity_id = bp_activity_add( $args );
            
            return $activity_id;*/
    
           /*   $post_types[] = 'file'; 
              return $post_types;*/
        }  
        
    
    } // end class
    
    $uploadForm = new uploadForm();
    
    #235081
    wolfied
    Participant

    I’m not an expert on wordpress and I am afraid, I’m not sure as to how I can create the forum outside of groups. But my question is, if a group is set to public, it should be reffering that it’s visible to anyone and it must NOT be compulsory to join the group for the public groups. Why can’t this be done?

    Any guide for carrying the whole forum outside the groups ? how would it effect me?

    #235077

    In reply to: Search Member

    Henry Wright
    Moderator

    Hi @aymanomar85

    Have you tried BP Profile Search?

    #235069
    mvaneijgen
    Participant

    This works

    // hook failed login
    add_action('wp_login_failed', 'my_front_end_login_fail'); 
     
    function my_front_end_login_fail($username){
        // Get the reffering page, where did the post submission come from?
        $referrer = $_SERVER['HTTP_REFERER'];
     
        // if there's a valid referrer, and it's not the default log-in screen
        if(!empty($referrer) && !strstr($referrer,'wp-login') && !strstr($referrer,'wp-admin')){
            // let's append some information (login=failed) to the URL for the theme to use
            wp_redirect($referrer . '?login=failed'); 
        exit;
        }
    }

    http://www.wpinsite.com/code-snippets/how-to-redirect-wordpress-failed-logins

Viewing 25 results - 6,326 through 6,350 (of 22,683 total)
Skip to toolbar