Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 30,951 through 30,975 (of 32,688 total)
  • Author
    Search Results
  • Adam Jay Doolittle
    Participant

    I’ve just installed a fresh install of the latest BuddyPress and WordPress MU, so far everything has been successful. Expect for creating a base profile field stetup for extended profiles. First off, it says I have no groups, then when I Add New Group; it tells me ‘There was an error saving the group.’

    The issue is twofold because not only am I unable to add a profile group but I also unable to add groups as in “My Groups > Create a Group”

    I’ve searched and at this point I have no idea what could be triggering this…any help would be extremely helpful.

    btw, this install is, yes, sadly on a shared host with a subdomain pointing to a folder within the account. (http://community.silvermonthly.com)

    #48736
    Jeff Sayre
    Participant

    You are running the single-user version of WordPress–most likely WP 2.8. BuddyPress will not work with single-user WP.

    You must run WordPress Multiuser (aka WPMU or WordPress Mu) which can be downloaded from this link: https://mu.wordpress.org/download/

    #48728

    In reply to: External Blogs

    peterverkooijen
    Participant

    Here’s the code I use in the current version of my site – Kunal17 asked about it:

    // Include the SimplePie library
    require_once 'simplepie.inc';
    require_once 'shorten.php';

    // Because we're using multiple feeds, let's just set the headers here.
    header('Content-type:text/html; charset=utf-8');

    // These are the feeds we want to use
    mysql_connect(localhost,$db_username,$db_password);
    @mysql_select_db($db_name) or die( "Unable to select database");

    $query = "SELECT id, email, firstname, surname, rssfeed FROM members WHERE rssfeed != ''";
    $result = mysql_query($query);

    $feeds = array();
    $id_array = array();
    $first = array();
    $user = array();

    $userinfo = array();

    while ($cur_feed = mysql_fetch_assoc($result))
    {
    $feeds[] = $cur_feed['rssfeed'];
    $userinfo[$cur_feed['rssfeed']] = $cur_feed;
    }

    // This array will hold the items we'll be grabbing.
    $first_items = array();

    // Let's go through the array, feed by feed, and store the items we want.
    $ix = 0;

    foreach ($feeds as $url)
    {
    $user_id = $id_array[$ix];
    $firstname = $first[$ix];
    $surname = $sur[$ix];
    $email = $user[$ix];
    $ix++;

    // Use the long syntax
    $feed = new SimplePie();
    $feed->set_feed_url($url);
    $feed->init();

    // How many items per feed should we try to grab?
    $items_per_feed = 1;

    // As long as we're not trying to grab more items than the feed has, go through them one by one and add them to the array.
    for ($x = 0; $x < $feed->get_item_quantity($items_per_feed); $x++)
    {
    $first_items[] = $feed->get_item($x);
    }

    // We're done with this feed, so let's release some memory.
    unset($feed);
    }

    // We need to sort the items by date with a user-defined sorting function. Since usort() won't accept "SimplePie::sort_items", we need to wrap it in a new function.
    function sort_items($a, $b)
    {
    return SimplePie::sort_items($a, $b);
    }

    // Now we can sort $first_items with our custom sorting function.
    usort($first_items, "sort_items");

    $counter=0;
    foreach($first_items as $item)
    {
    $feed = $item->get_feed();
    $info = $userinfo[$item->feed->feed_url];

    $counter++;
    if($counter >= 7)
    break;

    if ($img_size = @getimagesize('members/img/avatars/'.$info['id'].'.jpg'))
    $avatar_field = '<img src="members/img/avatars/'.$info['id'].'.jpg" alt="" />';
    else
    $avatar_field = '<img src="members/img/avatars/nopicture.png" alt="" />';

    $picture = '<div id="feedpicture"><a href="members/member.php?id='.$info['id'].'" title="'.$info['firstname'].'\'s Member Page">'.$avatar_field.'</a></div>';

    // Begin the (X)HTML page.
    ?>

    <h3><?php echo $picture; ?><a href="<?php echo $item->get_permalink(); ?>" target="_blank"><?php echo html_entity_decode($item->get_title(), ENT_QUOTES, 'UTF-8'); ?></a></h3>

    <!-- get_content() prefers full content over summaries -->
    <? echo trim(substr((str_replace("\n", ' ', str_replace("\r", ' ', strip_tags($item->get_description())))),0,300)); ?>
    ... <i>more</i></a><br />

    <p class="info"><a href="members/member.php?id=<?php echo $info['id']; ?>" title="<?php echo $info['firstname'].'\'s Member Page'; ?>"><?php echo $info['firstname'].' '.$info['surname']; ?></a> | <a href="<?php echo $feed->get_permalink(); ?>" target="_blank"><?php echo $feed->get_title(); ?></a> | <?php echo $item->get_date('M j, Y | g:i a'); ?></p>
    <br />

    <?php
    }
    ?>

    It shows the latest blog posts from members on a page, if they have an RSS feed in the database. It uses SimplePie. The code above is customized from regular SimplePie feed code. Member management in my current site is based on PunBB, not WordPress.

    I’d have no clue how to modify this code for Buddypress. Can’t figure out member management in Buddypress for starters, with x-profile vs wpmu and similar data stored in different places. It all looks kinda messy and inconsistent to me.

    Doubtful you should take this as starting point. I’ll wait for the integrated solution.

    #48726
    21cdb
    Participant

    We need a “global language filter” for all content, depending on what the user set as his preferred language in the wp-admin.

    WordPress.com has such an language filter. You can choose “preferred language” and will be redirected to f.i. to de.wordpress.com (only content of people who set up their language and blog-language to german) or es.wordpress.com (only spanish).

    Anyone also interested?

    @Grosbouff: Maybe we should add this feature request as an official ticket?

    #48718
    Sam Bauers
    Participant

    Those experiencing difficulty with posting should find their problems are now gone.

    This generally only happened to people who had registered elsewhere (like bbPress.org or WordPress.org) and were trying to post on these forums for the first time.

    Burt Adsit
    Participant
    #48676

    In reply to: Buddypress Fatal Error

    thebigk
    Participant

    Hello everyone!

    First of all, thank you for your responses. The problem is now solved. However, I don’t know how! I wrote to the web host describing the problem and to the best of my guess, they changed few PHP.INI settings [Don’t know how it got messed?]

    The system did not have bbpress. I’ve upgraded buddypress to latest stable and everything seems to be working fine now.

    To answer the questions :-

    1. Are you running WPMU 2.7.1 or WordPress 2.8? You mention that you were running WPMU before. Did you upgrade to the beta version of WPMU 2.8 from trunk? Or, did you accidentally upgrade to WP 2.8? WPMU 2.8 is not yet in public release.

    -> I did not upgrade accidently. In fact, one of the members reported that there was an error. The system was running fine with WPMU 2.7.1 and BP 1.0 (the first stable release) and then suddenly the error popped up.

    2. What other plugins besides BP do you have activated? Have you tried removing them all except BP and see if you can get back to the plugins page?

    -> I do not have any other plugin than BP.

    3. Have you tried removing BP and then seeing if the plugins page returns? If it does, then deactivate all other plugins and reinstall BP. What happens?

    -> No, I didn’t try that. I could not deactivate any plugins, because I couldn’t see the plugins in the admin panel!

    From the overall experience, it looks like the issue was with me signing in as site-admin but ending up in blog admin panel (anyone knows why this happened?)

    #48669

    In reply to: Buddypress Fatal Error

    Jeff Sayre
    Participant

    I agree with Burt. My three questions and suggestions were going to be this:

    1. Are you running WPMU 2.7.1 or WordPress 2.8? You mention that you were running WPMU before. Did you upgrade to the beta version of WPMU 2.8 from trunk? Or, did you accidentally upgrade to WP 2.8? WPMU 2.8 is not yet in public release.
    2. What other plugins besides BP do you have activated? Have you tried removing them all except BP and see if you can get back to the plugins page?
    3. Have you tried removing BP and then seeing if the plugins page returns? If it does, then deactivate all other plugins and reinstall BP. What happens?

    #48643

    In reply to: Buddypress Fatal Error

    thebigk
    Participant

    I think I’m one step closer now:

    I verified, when I log in as a normal user, I don’t see wordpress version in the bottom of admin panel.

    So in my current status, I’m NOT getting logged in as an administrator!

    Can anyone tell me how do I login as an admin? {PS: I’m not a novice, and have performed admin functions many times. However, I think I’m forcefully being logged in as a non-admin even when I enter admin credentials}

    #48635

    In reply to: Buddypress Fatal Error

    thebigk
    Participant

    This is really strange :( . I overwrote all the wordpress installation files but still don’t see the ‘plugins’ option in the admin panel.

    Also, even though the default theme is there, I can only see the default buddypress theme in ‘active’ theme. Other installed themes are not available.

    “Buddypres” option is also missing from the left sidebar of admin panel.

    #5701
    thebigk
    Participant

    Dear friends, I need your help urgently on the issue I’ve began facing on a live site. Whenever I go to the site domain, I get following error:-

    Warning: require(BP_PLUGIN_DIR/bp-core/bp-core-signup.php) [function.require]: failed to open stream: No such file or directory in /nfs/c04/h03/mnt/65663/domains/<snipped>/html/wp-content/themes/bphome/functions.php on line 70

    Fatal error: require() [function.require]: Failed opening required ‘BP_PLUGIN_DIR/bp-core/bp-core-signup.php’ (include_path=’.:/usr/local/php-5.2.6-1/share/pear’) in /nfs/c04/h03/mnt/65663/domains/<snipped>/html/wp-content/themes/bphome/functions.php on line 70

    The site was running fine with Buddypress 1.0 stable release and WPMU 2.7.1.

    Following are few observations I made:

    1. I can login to admin panel.

    2. “Plugins” section is missing from the menu options.

    3. In the wordpress footer in the admin panel, I don’t see version number. I know its 2.7.1

    Questions:

    1. How do I fix this? Need urgent help!

    2. Is this a hacking attempt? As the site was running perfectly fine earlier.

    #48614
    peterverkooijen
    Participant

    You probably need this plugin. It’s an annoying WPMU issue.

    #48608
    Mohit Kumar
    Participant

    i am trying to add video in my blog in wordpress mu+buddypress website.Everything else is fine but i am unable to see video..

    here is the link http://buzzlyf.com/buzztv/2009/07/05/kailasa/

    #48603
    r-a-y
    Keymaster

    Hi mohitkro5,

    It sounds like you’re trying to use WordPress shortcodes in Buddypress fields.

    Where are you trying to embed your videos?

    BuddyPress doesn’t allow WordPress shortcodes to work in profile fields, wire posts and group forum posts.

    bbPress has a few plugins to parse videos.

    #48594
    r-a-y
    Keymaster

    I’m up and running on bbPress 1.0 as well!

    Integration appears to work!

    FYI, I was on bbPress 1.0 alpha 6 with BP 1.0.2.

    Here’s what I did:

    -Thanks to Burt and Sam (over at bbPress) for their instructions

    1) Backup database

    2) Backup bbPress forum plugins and themes

    3) Deactivate all bbPress plugins from the bbPress admin area.

    4) Comment out only the cookie-related lines in wp-config.php (Do not remove your defined KEYS or SALTS)

    5) Manually upgrade bbPress to 1.0 (basically download bbPress 1.0 and overwrite the old bbPress files).

    6) Download bbPress Integration plugin into your WPMU plugins folder (/wp-content/plugins)

    https://wordpress.org/extend/plugins/bbpress-integration/

    7) Log in to WPMU and activate the bbPress Integration plugin.

    8) In WPMU admin area, go to “Settings > bbPress Integration”.

    Enter in your bbPress URL (eg. http://example.com/forums/) and for WordPress type, select “WordPress MU”.

    Hit “Save Changes”.

    9) Copy the now-generated “Manual Cookie Settings” to line 2 of your wp-config.php file.

    Copy the bbPress define line into your bb-config.php file.

    10) Log into your bbPress admin area.

    At this point, a bbPress message should pop up asking you to upgrade the database. Do so.

    Hopefully, bbPress should have upgraded successfully at this point.

    11) Now login into the bbPress admin area, go to “Settings > WordPress Integration”.

    Everything should already be set (if you used TheEasyButton’s tutorial for 1.0 alpha 6 that was the case for me!).

    Hit “Save Changes”.

    12) Reactivate all bbPress plugins.

    13) Clear your browser cookies and attempt to login to WPMU and head to your bbPress forums URL. If you’re logged in to bbPress, mission accomplished!

    14) If you have BuddyPress group forums enabled, login to your BuddyPress Groups (eg. http://example.com/members/YOURUSERNAME/groups/).

    Go into each group’s admin settings area, and uncheck “Enable Discussion Forum” and “Save Changes”. Then re-check “Enable Discussion Forum” again and “Save Changes”.

    —

    This is what worked for me… can’t say it will work in all cases though!

    Step #11 will probably differ for some depending on what they did before.

    Now I got to update my custom bbPress theme for all the new changes made since 1.0 alpha 6!

    #48593
    Jeff Sayre
    Participant

    Since BuddyPress requires WPMU, this is really a WPMU question. Search their forums.

    Here are a few threads to get you started, but do a more thorough search than just relying on the few posts I’ve linked below:

    https://mu.wordpress.org/forums/topic/10028

    https://mu.wordpress.org/forums/topic/13072

    #48586
    Jeff Sayre
    Participant

    I tried very hard to get this to work, and I can not get that code to work, even in the default template or even by creating a blank .php with pasting in the code listed above to upload to the mu-plugins directory.

    First of all you should not be placing the code in mu_plugins. Either place it in your bp-custom.php file, create your own plugin that resides in /wp-content/plugins/, or put the code in your member theme’s functions.php file.

    But, in the BP Profiles section, the users can simply change their login username to anything they want. This will obviously lead to database errors and people changing their usernames to cause conflicts.

    Where do you see the option in BuddyPress to change your login username? The only option you have is to change your display name. This is an entirely different piece of datum.

    Yes, when a user registers for a new account, if they choose to enter the exact same datum in the username field as the “Full Name” field, then that is their choice. But, this data is stored and used in different ways. The datum from the “Full Name” field gets placed in two different tables: it populates the display_name field in the wp_users table and it is recorded in the wp_bp_xprofile_data table corresponding to the meta field entitled “Full Name” in the wp_bp_xprofile_fields table.

    When a user decides to edit their “Full Name” field via BuddyPress, the changes to that piece of datum have no affect on the login username field stored in the user_login field of the wp_user WordPress table.

    So, on the same registration page, you have two questions requesting for what their username is going to be. This is quite ridiculous, and so far their is no way to shut that part off. Does anyone have any ideas?

    This is not correct. These fields serve different purposes as detailed above. One field is the user_login, the other is the user’s display name.

    #48582

    In reply to: How to add images.

    r-a-y
    Keymaster

    You can use HTML code in the Text Widget, and probably in the Welcome Widget as well.

    Sample code:

    <p>This is my message in the widget!</p>
    <img src="PATH TO IMAGE" alt="This is my image in the widget" />

    Remember to upload an image to WordPress first, then grab the link of the image.

    boonika
    Participant

    Sorry for posting this on both, WPMU and BuddyPress forums. Please delete this thread if this is a problem.

    —

    I’m running WPMU 2.7.1 and BuddyPress 1.0.2

    I created a group (as one of members, not as admin) and everything went fine. Well almost everything. I was not able to create avatar but this was workaround:

    http://mu.wordpress.org/forums/topic/11689?replies=3#post-77721

    However that is not what is bothering me. When I tried to create another group I ran into HUGE problem. At least for me it is. The new group I was creating was actually overwriting the one I created before. Any idea on how to fix this problem.

    Cheers

    #5689
    ralfsohl
    Participant

    hello im running WordPress MU 2.7.1 and buddypress 1.0.2.

    on my front page (im running BuddyPress Default Home Theme 1.0.2 as a theme) there is a site activity. the problem is that the time on the site activity is 9 hours wrong on the time – all other places on the website the time markers a right – what could be wrong?

    Ted Mann
    Participant

    Is there a way to prevent the buddypress admin bar from loading on certain themes?

    In particular, I want to get Alex King’s WordPress Mobile Edition on my Buddypress site, but currently the admin bar always loads with the mobile version of the sites — thus slowing down load time significantly and sort of undermining the point of having the mobile edition in the first place.

    I’ve used the methods of disabling the admin bar sitewide, or via a plugin, but I was hoping that there might be a simple line of code I could add to the mobile-edition theme to force it to not load the bar.

    #48530
    Burt Adsit
    Participant

    Hello.

    1) Doesn’t really matter what you were upgrading from. Just install bbpress 1.0.

    2) I don’t trust the auto upgrade process so I manually upgrade

    3) No buddypress enable plugin is needed. You do have to be running the right version of php though. See:

    http://josephscott.org/archives/2009/03/conclusion-of-libxml2-issues-use-php-529-libxml2-273/

    http://josephscott.org/archives/2009/03/wordpress-libxml2-episode-iv-a-new-plugin/

    4) Don’t know what the issue is there

    5) Yes this user switching is needed.

    Don’t forget to enable pingbacks and xmlrpc. Also my test group forum didn’t work right away. I disabled the group’s forum component in the group admin page, saved the settings and then re-enabled it. Worked after that.

    #48528
    TheEasyButton
    Participant

    I have a couple of questions because I still can’t get my discussion to activate in groups. Integration is fine, but that dang “you must configure forums” warning won’t go away no matter what combination of codes & plugins I use.

    1. “Upgrade to bbpress 1.0”

    Upgrade from what? I’ve never been able to get an RC version to work so I’m running alpha 6.

    2. By upgrade, do you mean install the new version or should I find an upgrade button somewhere? (not seeing one on alpha 6)

    3. Buddypress enable plugin (from buddpress>>bp-forums)

    Where did you put this? In my-plugins or bb-plugins or nowhere?

    4. “Go into bbpress admin and the wordpress integration settings. Fill out the forms properly”

    Anytime I EVER EVER (haha) try to change stuff in there, it totally boots me out of all of the bbpress logins. No login name/pw will work.

    That’s it for now but I’ll probably be back with more questions. =D

    **Edit — #5 (told ya I’d be back) Did you put the “allow user switching” code at the bottom of the bb-config?

    Thanks =D

    Jason Pelker
    Participant

    The Post Haste WP plugin: https://wordpress.org/extend/plugins/posthaste/ could replicate some of the functionality of P2, and it has the advantage of theme portability.

    It took me weeks to find it, but I think it’s pretty great, especially for buddypress themes.

    #48523

    In reply to: buddypress + p2 theme

    Jason Pelker
    Participant

    I recommend the Post Haste WP plugin: https://wordpress.org/extend/plugins/posthaste/ to replicate some of the functionality of P2, but having the advantage of theme portability.

    It took me weeks to find it, but I think it’s pretty great.

Viewing 25 results - 30,951 through 30,975 (of 32,688 total)
Skip to toolbar