Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 81,876 through 81,900 (of 94,570 total)
  • Author
    Search Results
  • @mercime
    Participant

    BP1.2trunk/WPMU2.9.1, custom child theme of bp-default. For dev site where I limit blog creation to 2 per user (increase limits on user by user basis), I wanted to change part of introductory text from

    “There is no limit to the number of blogs you can have, so create to your heart’s content, but blog responsibly.” to “Please blog responsibly and observe copyright information before adding content to your blog.”

     

    Traced the intro text to bp-blogs/bp-blogs-templatetags.php specifically in “function bp_show_blog_signup_form” wherein

    display_name) ?>

     

    Since I don’t want to change core files, I had to – create a remove function, then call to remove such function during BP initialization, created mercime_replacement function, then added the action to replace the original function – which resulted to additional 45 lines in child theme’s functions.php (without spacing and comment lines) to change that one sentence.

     

    What would have been the easier or simpler way to do this? Thank you.

     

    #61149
    berchman
    Participant

    hi Arturo,

    I don’t see a link to your example. Can you post it?

    Just to clarify you have BuddyPress (latest trunk) running with a standalone WordPress 2.9.1 (NOT MU) and BBPress 1.0.2?

    Thanks.

    #61147

    In reply to: Wire Posts in bp 1.2

    Richard Venable
    Participant

    I think one of the crucial issues is that you are mixing content with meta data. Twitter does this for obvious reasons, such as making it work well with text messaging. I like what Andy said about BuddyPress not being Facebook or Twitter, but one thing BuddyPress is… is WordPress.

    WordPress does a great job of separating content from meta data. Blog Posts have content and they have tags. Why not use something similar here? Why not let the meta data be separate?

    Just add a tag box! Any tag that starts with @ means that the tag name is really a username. Now think about the WP tag box. You type any tags in, separated by commas and press ‘Add tag’. The tags automagically get separated into their own little icons. A similar thing could happen in BP, but when @user tags are added, they get displayed as the user’s full name. You could have an interface that allows for entering @username or just allows the user to type a full name and have it autocomplete. Using auto complete is easier in a tag box than in a content box.

    WARNING: Whatever you do, be very careful! If you merge content and meta data now, it may be very difficult to separate them later. In 1.1, wall posts had their content separated from the meta data specifying whose wall it was on. Now with 1.2 it sounds like all of my wall content will be modified to say who I was talking to. Then, if you change your mind and want to separate them out again in 1.3, you will have to modify the content again to remove the meta data.

    #61146
    @mercime
    Participant

    edit – didn’t notice that was from 8 months ago :=0

    #8392
    osasko
    Participant

    Hi,

    I would like to know how to add user location to my registration form please.

    A drop down list with example – Country

    State

    City

    This would also make it better to sort users according to location.

    I am on the latest version of Buddypress and WPMU.

    Thanks a lot!

    #61138
    Mark
    Participant

    An alternative way of accessing the admin panel – WARNING – this could be a big security problem is left in place, depending on your setup:

    — copy your bb-config.php file from your WPMU root dir into the /wp-content/plugins/buddypress/bp-forums/bbpress directory.

    — load up the bbPress admin panel in a browser and do what you need done (activate plugins, etc)

    — DELETE the bb-config.php file in your /wp-content/plugins/buddypress/bp-forums/bbpress directory because if you don’t then someone could access the forum directly.

    #61135
    @mercime
    Participant

    @peternicholls – It looks like you created sub-blogs “members” “blogs” and “groups” which you shouldn’t have done. Delete those sub-blogs. Let BuddyPress automattically generate those pages when you click on the links. Just tested the theme and it’s working great on 1.2-rare bp-sn-parent.

    If that’s not the case, it would help us help you if you answer these questions – https://buddypress.org/forums/topic/when-asking-for-support

    foodin65
    Participant

    Okay. I’ve got CometChat and I’m trying to get it to work with buddypress. The developer says it will work just fine with the proper edits to the config.php file so that it can talk to the database properly.

    I’d Like to get it working so I can post the config for other Buddypress Users.

    I have two sets of things that I need help with – I need to make sure I’m calling the database propery here:

    /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

    /* DATABASE */

    include_once dirname(dirname(__FILE__))."/wp-load.php";

    define('DB_SERVER', DB_HOST );

    define('DB_PORT', '3306' );

    define('DB_USERNAME', DB_USER );

    define('DB_PASSWORD', '******' );

    define('DB_NAME', '**************' );

    define('TABLE_PREFIX', $table_prefix_wp );

    define('DB_USERTABLE', 'wp_1_useronline' );

    define('DB_USERTABLE_NAME', 'displayname' );

    define('DB_USERTABLE_USERID', 'userid' );

    define('DB_USERTABLE_LASTACTIVITY', 'timestamp' );

    /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

    I’m pretty sure that all of the above is correct. As I’m no longer getting database errors. But What I really need help with is the FriendList Functions. These are the default functions in the config.php file:

    /* FUNCTIONS */

    function getUserID() {

    global $current_user;

    get_currentuserinfo();

    $userid = 0;

    if (!empty($current_user->ID)) {

    $userid = $current_user->ID;

    }

    return $userid;

    }

    function getFriendsList($userid,$time) {

    $sql = ("select DISTINCT ".TABLE_PREFIX.DB_USERTABLE.".".DB_USERTABLE_USERID." userid,

    ".TABLE_PREFIX.DB_USERTABLE.".".DB_USERTABLE_NAME." username,

    ".TABLE_PREFIX.DB_USERTABLE.".".DB_USERTABLE_LASTACTIVITY." lastactivity,

    ".TABLE_PREFIX.DB_USERTABLE.".".DB_USERTABLE_USERID." avatar, ".TABLE_PREFIX.DB_USERTABLE.".".DB_USERTABLE_USERID." link,

    cometchat_status.message, cometchat_status.status

    from ".TABLE_PREFIX."friends join ".TABLE_PREFIX.DB_USERTABLE."

    on ".TABLE_PREFIX."friends.toid = ".TABLE_PREFIX.DB_USERTABLE.".".DB_USERTABLE_USERID."

    left join cometchat_status on ".TABLE_PREFIX.DB_USERTABLE.".".DB_USERTABLE_USERID." = cometchat_status.userid

    where ".TABLE_PREFIX."friends.fromid = '".mysql_real_escape_string($userid)."'

    order by username asc");

    return $sql;

    }

    function getUserDetails($userid) {

    $sql = ("select ".TABLE_PREFIX.DB_USERTABLE.".".DB_USERTABLE_USERID." userid, ".TABLE_PREFIX.DB_USERTABLE.".".DB_USERTABLE_NAME." username, ".TABLE_PREFIX."useronline.timestamp lastactivity, ".TABLE_PREFIX.DB_USERTABLE.".".DB_USERTABLE_USERID." link, ".TABLE_PREFIX.DB_USERTABLE.".user_email avatar, cometchat_status.message, cometchat_status.status from ".TABLE_PREFIX.DB_USERTABLE." left join cometchat_status on ".TABLE_PREFIX.DB_USERTABLE.".".DB_USERTABLE_USERID." = cometchat_status.userid left join ".TABLE_PREFIX."useronline on ".TABLE_PREFIX."useronline.userid = ".TABLE_PREFIX.DB_USERTABLE.".".DB_USERTABLE_USERID." where ".TABLE_PREFIX.DB_USERTABLE.".".DB_USERTABLE_USERID." = '".mysql_real_escape_string($userid)."'");

    return $sql;

    }

    function updateLastActivity($userid) {

    $sql = ("update ".TABLE_PREFIX."useronline set timestamp = '".getTimeStamp()."' where userid = '".mysql_real_escape_string($userid)."'");

    return $sql;

    }

    function getUserStatus($userid) {

    $sql = ("select cometchat_status.message, cometchat_status.status from cometchat_status where userid = '".mysql_real_escape_string($userid)."'");

    return $sql;

    }

    function getLink($link) {

    return '';

    }

    function getAvatar($image) {

    return"http://www.gravatar.com/avatar/".md5($image)."?d=identicon";

    }

    function getTimeStamp() {

    return current_time('timestamp');

    }

    function processTime($time) {

    return $time;

    }

    The First Three Function are the most important to get right and I don’t really know how to edit them so they will pull the right information from the right tables.

    function getUserID()

    function getFriendsList($userid,$time)

    &

    function getUserDetails($userid)

    The instructions for modifying these functions is located here:

    http://www.cometchat.com/support/page/documentation?record=16

    But being rather new to SQL queries within PHP – the instructions don’t make much sense to me.

    Thanks in advance for your help

    #8389
    Mark
    Participant

    Couple of questions regarding Buddypress 1.2 and bbPress integration: Is there going to be a way to somehow get to the admin interface for bbPress? And is there going to be a way to add and activate bbPress plugins?

    At the moment I don’t see anything in BP 1.2 that allows for either of those things to happen.

    #61132

    In reply to: Buddy Press Header Bar

    @mercime
    Participant

    What BuddyPress version are you one? Which theme are you using? In other words https://buddypress.org/forums/topic/when-asking-for-support

    #61125
    peterverkooijen
    Participant

    what needs to happen is to delay building BP_Group_Twitter until BP_Group_Extension is loaded.

    … the best way to make your groups API plugin work in BP 1.1.3 is to force BP to load at the beginning of your plugin

    How could I achieve that? Add required …/buddypress.php (?) at the top of the plugin?

    Will Andy update/fix these plugins?

    #61121
    Bowe
    Participant

    I don’t have a solution for all your problems but assigning different “user” types to your site is easy:

    – Create a xprofile field in your BuddyPress admin. For example: What kind of user are you:

    a. Swimmer

    b. Skater

    c. Surfer

    – Install the BP Member filter plugin: https://buddypress.org/forums/topic/bp-member-filter

    – Users can now filter members on the member directory page to find certain usertypes

    The only thing you might want to look into is to show/hide specific xprofile fields for different groups. That’s more advanced and requires some new code to be written by someone ;)

    Good luck!

    edit: Maybe if you combine both tips from Boris and me you just got your solution ;)

    ps: I’m interested in the jquery profile fields stuff as well.. sounds handy!

    #61119
    Psyber
    Participant

    I would like to bring up this topic again, as it is very crucial to the development of my website and I want to see if there have been any updates in the 10 months since this was posted. Right now I have blogs disabled, the main purpose of the site is to have different types of users interact on the site, and be able to search the site based the different details in their profiles..

    Multiple profile types:

    For my website I would like to have 4 profile types, all profiles have the same permissions, they just have different details listed in their public profile. These details can be defined during the registration process.

    2-Stage registraion:

    When the user decides to register, they are prompted with a page where they will select their profile type. Upon selecting their profile type, they will be taken to a second part of the registration process where they will fill in their profile information, each type of profile having a different form to fill in.

    This should go along the lines of what Dev posted, minus the permissions. This is a huge hurdle for me to overcome, and if I can there will be one more addition to the Buddypress Community. :-) Any help or direction is appreciated.

    #61117
    nig3d
    Participant

    cool, that something I didn’t know, but still, I can’t understand what the reason is. Why is the standalone version somehow different than separate one, since even the php files look the same?

    Same question, why can’t I access to the admin panel?

    Just to know if there is a specific reason.

    And just to be sure, once I install the external version, and I integrate it in buddypress, will buddypress show the bbpress plugin including the support forum one? Because I don’t have any intention to let the users access to the general forum anyway, it must work like it works with buddypress, that is accessing only through the groups.

    #61115
    dpolant
    Participant

    I don’t think that bp 1.1.3 has a bp_init action, just to clarify. In fact I don’t think 1.1.3 has any do_actions that fire as the plugin is being loaded, before plugins_loaded, although I could be wrong.

    If I am correct, it means that in bp < 1.2, there is no add_action that can hook your plugin into loading classes or other code on a Buddypress load event.

    In 1.2, bp_init solves this by firing at the end of the load of the buddypress files. bp_init does not depend on any WP action to fire. If you hook into bp_init, your plugin will have instant access to all Buddypress classes and functions.

    As far as I can tell, the best way to make your groups API plugin work in BP 1.1.3 is to force BP to load at the beginning of your plugin. As to why 2.9.1 brings these issues to the forefront, I have absolutely no idea, but I have tested this as well and it definitely seems to be the culprit. There may be a performance it if you load BP this way, but I have checked and it at least does not load things twice.

    #61113

    In reply to: Widget logic 1.2

    Michael Berra
    Participant

    Hmmm – yes, this plugin sounds logic :-) (and would be the forum-titel… :-). That is exactly the question, for I am not a php-guru. Can anyone point me in the right direction, who that would work with buddypress (example: how could I show a widget with that plugin just on a users profile…?)

    #61111
    Michael Berra
    Participant

    Good to hear you’re still up! none of the other chat-solutions seemed quite like what I need. Yours seemd a couple of month ago already ahead :-). Looking forward…!

    #61103
    gpo1
    Participant

    @M keep up the good work,but please can you extend your twitter plugin with a page for user’s followers tweets & avatar? “

    #61100
    5720378
    Inactive

    Hi please help thie BP noob :)

    I’m testing BP with view to upgrade site to this.

    The theme works on the main page: http://cre8radiofm.net/v2/

    but! http://cre8radiofm.net/v2/blogs and you see what happens.

    The theme totally disappears! This is just a standard installation as described in the set up guide, what am I missing here?

    Thanks for your help

    #61099
    osasko
    Participant

    Thanks guys!

    Brajesh’s way is probably easier , but I suppose I will have to change it everytime Buddypress updates.

    So I think I will try creating a child theme. Not really that knowledgeable , but will give it a try.

    Cheers

    #61098
    Paul Wong-Gibbs
    Keymaster

    To use bbPress plugins, you need a seperate bbPress install, not the integrated sort installed by BuddyPress.

    #61097
    crsneil
    Participant

    I think we’re kind of in the same boat – and the help I was given in another thread was that for THAT kind of control, you need to disable bbpress within BuddyPress and do bbpress as its own, separate install.

    Of course, if I’m off on that, someone will likely pounce in short order.

    #61096
    D Cartwright
    Participant

    Hi everyone.

    Just thought I’d give people a heads-up (in the hope of getting some testers) and let you know that we should hopefully have a demo site for people to play with by Friday this week. I then hope to have a beta version of the plugin available to some people on here a week or two after that.

    I’ve posted a rather rambling update in reply to David Lewis here:

    https://buddypress.org/forums/topic/message-all-group-members

    There’s a few images of how the site is working at the moment and some details on the state of development.

    #61095
    nig3d
    Participant

    thanks for the answer!

    I use the internal one, do I need then to install an external one to use the plugin?

    Even though, I use the forum only through the buddypress groups, will be the support forum visualization enabled under buddypress group forums?

    Thank you very much.

    #61093
    me
    Participant

    have you a PO files oin buddypress for translate to Other Languages?

    How can I translate to another language

Viewing 25 results - 81,876 through 81,900 (of 94,570 total)
Skip to toolbar