Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 32,001 through 32,025 (of 32,678 total)
  • Author
    Search Results
  • #3806
    Andy Peatling
    Keymaster

    A good starting point if you are thinking of creating a BuddyPress theme, or BuddyPress component:

    Download Skeleton Component

    Skeleton theme is included in the BuddyPress download package.

    #39448

    Haha Thanks! Happy to help! :D

    I’ve also noticed that WordPress can be particular about the jquery version it’s using also. I’ve tried upgrading to the newer versions just to be on top of things, and it usually breaks something.

    #39441

    In reply to: Post length limit?

    If this is in regards to making a new blog post, than unfortunately that falls more into being a WordPress MU support question than one we can accurately diagnose here.

    However, I can tell you from experience that I’ve never experienced any issues saving even extremely huge content and HTML element heavy blog posts.

    (I’m going to change this to “not a support question” since it’s a little out of our scope, so that no one else sees this as a BP issue.)

    #39440

    Looks like you’re going to need to use sub directories instead of subdomains. Don’t worry, as they work identically, but instead of blog.yourdomain.com, you’ll have yourdomain.com/blog

    (This is also more of a WordPress MU support question, but because others may benefit from this too, lets discuss…) :)

    Stop me if you’ve heard this, but it should be a semi-easy fix.

    in wp-config.php, change…

    define('VHOST', 'yes');

    to

    define('VHOST', 'no');

    and make sure…

    $base = '/';

    Then, you’ll want to dive into either phpMyAdmin, or each of your blogs admin panels and edit them individually, just making sure that the paths to each of the blogs are correct.

    #39436

    In reply to: Facebook connect

    My brief experience with the Facebook Connect plugin for WordPress was that the necessary edits took away from the pluggable nature of WordPress plugins, and the file includes made the site feel pretty sluggish.

    Fix those issues and it could be a super popular plugin.

    Now correct me if I’m wrong, but doesn’t this allow Facebook users that have not registered through your website to still login to your site as if they were verified users? I think when they do that, they are assigned a pseudo-name in the wp_users table, which then only allows them to sign in using FBConnect and nothing else, correct?

    Call me a disbeliever, but while I can see the value in this, I also see how once it’s installed and relied upon, that you’re very much stuck with that method for those individuals.

    What do you do when 4 years from now, no one uses Facebook anymore? (Friendster anyone?) If your site takes off, and those users have previously only used their Facebook id to login to your site, now they need to create a new duplicate profile without it.

    Maybe I’m being selfish here, but I like my users to register with me, and keep their files and data within my sites.

    #39429
    felix2009
    Participant

    I’ve just started with BuddyPress at:

    http://wordpress-blog.nl/

    It’s all in the Dutch language ;-)

    #3798
    Riolec
    Participant

    I compose a message to a friend … the problem is when I write the Name at SEND TO box, some message shown below my friend’s name

    WordPress Database error you have an errorin your SQL syntax; check the manual that correstponds to your MySQL server version for the right syntax to use near ‘) AND initiator_user_id) OR (initiator_user_id IN () AND friend_user_id = 1)’ at line 1 for query SELECT count(id) FROM wp_bp_friends WHERE (friend_user_id IN () AND initiator_user_id = 1) OR (initiator_user_id IN () AND friend_user_id = 1) made by friend_search_friends, BP_friends_friendship->search_friends

    how can i fix it? Does anybody could help me?

    #39422

    In reply to: Facebook connect

    gpo1
    Participant

    Here some info on the Facebook connect,maybe if it works with wordpress Mu then it could work for BP.

    What do you think?

    https://mu.wordpress.org/forums/topic.php?id=10351

    #39408
    modemlooper
    Moderator

    You can use any page template as a home page. In the admin of mu just have the front page as a static page choose the page, it could be called home, and then select the page template you want. I think page templates are the most under utilized feature of wordpress. You can make it anything you want.

    If you do not know how to create custom page templates the search on wordpress. many tuts.

    #3794
    xealinc
    Member

    I hate doing this on my first post. I tried searching around, maybe someone can point me in the right direction.

    I’m setting up a site at ajmember.com using wordpress mu 2.7. We want to use buddypress for a social area, but want to use our existing home page. Do I install buddypress in a subdirectory or can the buddypress home page just be another page in the root?

    Any advice?

    Thanks!

    Tony

    #39393
    nicolagreco
    Participant

    if (the group is XBOX) add_action(‘wp_print_styles’, ‘your style hook’)

    i made a good set of functions in bpdev theme to add stylesheet with condition, look here:

    http://trac.bp-dev.org/plugins/browser/trunk/bpdev-theme/bpdev-theme-extra.php

    look line 9:

    function bpdev_theme_register_style( $slug, $name, $callback, $default = 'off', $admin_show = 'on', $condition = true, $priority = 1 ) {

    it means that with this function you will be able to add styles in wordpress/buddypress integrating them in the bpdev admin interface to activate or deactivate them,

    in your example you need a plugin like that called for example my-styles-bpdev.php

    <?php
    /*
    Author: Nicola Greco
    Author URI: http://nicolagreco.com
    */

    require_once( 'bp-core.php' );
    require_once( 'bpdev-core.php' );

    function bpdev_search_css() {

    global $group_obj;

    bpdev_theme_register_style(
    'my-styles', // your style slug name
    'XBOX Styles', // your style name
    'xbox_styles_function', // callback
    'on', // status "on" on default
    'off', // off will not display it in admin interface
    $group_obj->id = 1; // the group ID
    );

    }

    function xbox_styles_function() { // example of css content
    ?>
    #header {
    background: #FFF;
    }
    <?php
    }

    add_action( 'bpdev_theme_extra_setup_globals', 'bpdev_search_css' ); // it will add the style

    ?>

    bigkill
    Participant

    okay.. for future BP installers if you get 500 error after mu install and your host doesn’t like your .htaccess file

    the default htaccess.dist looks like this

    RewriteEngine On
    RewriteBase BASE/

    #uploaded files
    RewriteRule ^(.*/)?files/$ index.php [L]
    RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
    RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]

    # add a trailing slash to /wp-admin
    RewriteCond %{REQUEST_URI} ^.*/wp-admin$
    RewriteRule ^(.+)$ $1/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule . - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*.php)$ $2 [L]
    RewriteRule . index.php [L]

    <IfModule mod_security.c>
    <Files async-upload.php>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </Files>
    </IfModule>

    But…

    notice line #2

    RewriteBase BASE/

    this should read

    RewriteBase /

    so if you get 500 error.. this could be the culprit – works for me

    source – https://mu.wordpress.org/forums/topic.php?id=11076

    #39388
    Burt Adsit
    Participant

    I ran across something similar.

    https://wordpress.org/extend/plugins/art-direction/

    Allows ‘per blog post’ custom css. Cool.

    In the case of bp the css gets queued up on a very selective basis. This is from bp-groups-cssjs.php in /mu-plugins/bp-groups:

    function groups_add_structure_css() {

    /* Enqueue the structure CSS file to give basic positional formatting for components */

    wp_enqueue_style( ‘bp-groups-structure’, site_url( MUPLUGINDIR . ‘/bp-groups/css/structure.css’ ) );

    }

    add_action( ‘bp_styles’, ‘groups_add_structure_css’ );

    We got actions too. Hook ‘bp_styles’ and define an override for the defaults. You might have a problem getting it in the sequence properly.

    function my_custom_group_css(){

    // check if the file exists and if it does queue it up

    ‘group-custom-‘ . $bp->groups->slug . ‘.css’

    }

    add_action(‘bp_styles’, ‘my_custom_group_css’, 99);

    #39383
    GiovanniCaputo
    Participant

    Ok I have tried how to:

    In this link readme standard: https://wordpress.org/extend/plugins/about/readme.txt

    bigkill
    Participant

    johnjamesjacoby – so what should my directory look like where wordpress lives?

    /.htaccess

    /htaccess.dist

    or that the content of htaccess.dist and place into .htaccess?

    I have been fighting this and my php.ini.. so if I knew the correct way I need to start there.

    TIA

    #39358
    Burt Adsit
    Participant

    Not sure what you mean. You want to create a different role system or just create a ‘visitor’ account? There’s a plugin called ‘role manager’ that might do what you want.

    https://codex.wordpress.org/Roles_and_Capabilities

    http://www.im-web-gefunden.de/wordpress-plugins/role-manager/

    #39346
    Michael Berra
    Participant

    I am using this plugin for that case – i think it’s great :-):

    https://wordpress.org/extend/plugins/tdo-mini-forms/

    #39340
    bloggus
    Participant

    WPMU

    To translate the WPMU, which I think you want to do, do this:

    1. Download the POT file for regular WordPress, current version. WPMU have a lot of strings that are the same. You save a lot of work.

    2. Download PoEdit, http://www.poedit.net , install it

    3. Download current WPMU

    4. Open the POT file for the regular WP

    5. Change the path in PoEdit to the path where you have your sorce files to WPMU

    6. Run “Update from source” in the PoEdit. That will create you a POT file for WPMU, but will also keep a lot of phrases translated, so you save work.

    BuddyPress

    Same software can be used to extract and create POT file.

    #3778
    javi95
    Member

    Hi,

    Ive had wordpress MU installed and working for a long time. Installing budypress causes a blank screen. I already checked permission and searched for answers but cant find any. My error logs show nothing. I load the page over and over again and its simply blank and reports 0 errors.

    I noticed that if I remove the bp- files from mu-plugins folder then the site returns visible, just the files being in the folder cause everything to go blank.

    How do you see php errors here? changed error_reporting to E_ALL on wp-settings.php, didnt show any error.

    Any suggestions appreciated. Thanks

    #39330
    tufancetin
    Member

    help please!

    #39328

    In reply to: Where to start theming

    Andy Peatling
    Keymaster

    It’s okay to do anything you want with the theme files, just as you would do in WordPress.

    You don’t need the loader.php stuff if you don’t want to, however, it does add some extra functionality, such as cross theme CSS and the ability to selectively load styles.

    You should also read this:

    https://codex.buddypress.org/getting-started/using-the-buddypress-themes/

    plrk
    Participant

    I have no idea what the problem is really, but you should be using subdomains for your wpmu blogs if running WordPress MU, afaik. Otherwise you are bound to get in trouble.

    #3769
    Andy Peatling
    Keymaster

    A quick heads up for anyone that has made a BuddyPress plugin.

    Please head on over here: http://wordpress.org/extend/plugins/add/ and add your plugin to the WordPress plugin repository.

    Make sure that you add the tag: buddypress to your plugin readme file so that it will show up on the new BuddyPress site.

    By adding your plugin you will also allow people to automatically download, install and update your plugin, all from within their WordPress/BuddyPress installation. Users will also be able to find and download your plugin on the BuddyPress site.

    #3764
    gpo1
    Participant

    With all these media data like photo’s & video and maybe mp3. There is an effective way to scale your site to easily handle large spikes in traffic and share load of your server.

    http://tantannoodles.com/toolkit/wordpress-s3/

    Maybe this could provide a solution or needs adapting for BP?

Viewing 25 results - 32,001 through 32,025 (of 32,678 total)
Skip to toolbar