Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 58,126 through 58,150 (of 94,561 total)
  • Author
    Search Results
  • #110846
    @mikey3d
    Participant

    @r-a-y @djpaul Here’s what happens:

    Mikey3D wrote:

    Hi,

    I just saw your new (hosting name) layout but something is missed in my database. Here’s the problem:

    https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/all-old-topics-in-the-forum-page-is-gone/

    There are no older topics.

    I did not post at buddypress yet because after I saw Paul Gibbs posted. This below will be post after you.

    =====================================================
    “The DB table is “wp_bb_posts”. If there are posts in that table, then that’s good! You could then try repairing the database table.”

    Yes, there are posts in that table wp_bb_posts. I just did repair this wp_bb_posts table.

    “Could also be a plugin conflict. If you’re running any caching plugins, try flushing the cache, or disabling the plugin.”

    I disabled W3TC and all plugins except BuddyPress. Also empties the bp-custom.php and functions.php.

    All that it’s still the same problem. Huh? Why?
    ======================================================

    John S. wrote:

    > Hi,
    >
    > I just saw your new (hosting name) layout but something is missed in my database. Here’s the problem:

    When we changed the control panel over we did nothing to the MySQL installs on our machines. Just the front-end has changed, so it could not have affected your database.
    That being said we would have no info based on what you provided on why you would be having that issue.
    We have backups of the site and database on file for the past 10 days, if you would like to check against them.
    Please let us know if you have any more questions.

    Mikey3D wrote:

    >>>We have backups of the site and database on file for the past 10 days, if you would like to check against them.

    Please I would like to have backup database for 10 days old ago. If the backup database still have the same problem. I may do, how would I give buddypress folk the permission to go into my site?

    Ryan S. wrote:

    Hello,

    > Please I would like to have backup database for 10 days old ago.

    Alright, we have restored the database backup from 10 days ago.

    > If the backup database still have the same problem. I may do, how would I give buddypress folk the permission to go into my site?

    We don’t know. There may not be a way. As we said, we have not made any changes to your database, and if the problem happened more than 10 days ago (but you only noticed it recently), then the oldest backup will have the same problem. In this case, you may need to restore from an even older backup that you have made yourself, and forfeit all additions since that point.

    Mikey3D wrote:

    WOW!!!! It works.

    John, can you tell me why buddypress folks are right? It’s database. I spend a half a day to figure it out why there was no older post. Why is it, John?

    Ryan S. wrote:

    > Can you tell me why buddypress folks are right? It’s database. I spend a half a day to figure it out why there was no older post.

    The Buddypress folks are not right.

    They said it’s a host problem. But it’s not a host problem.

    Yes, we have database backups, so we helped you to restore an older backup. But the problem was caused by your application. The application broke the database. Restoring the database backup fixed the problem.

    In the future, you should also keep your own database backups, too.

    Hope that helps!

    ================================
    Have I been misleading?

    Mikey3D

    ShotgunWizard
    Participant

    I did a lot of searching and could not find any posts that matched my issue.

    I migrated my WordPress server from GoDaddy to another hosting service. Everything went fine, SQL data, etc… and the site loads just fine. The only thing that doesn’t load, is the forums. I get a “page is forbidden”.

    I did some searching around, and found I had to reconfigure my forums in BuddyPress >> Forums Setup. It had not updated to the new location, which after I did some rooting around ended up being

    ‘/home/earfnet/public_html/wp-content/plugins/buddypress/bp-forums/’

    I get a page that tells me my forums are setup completely, but then nothing shows up when I try to access the forums from my site.

    I then looked at bb-config.php in the bb-forums dir under /wp-content/plugins/buddypress/ and I find
    `<?php
    /***
    * *** IMPORTANT ****
    * This file will stop people from accessing your bbPress installation directly.
    * It is very important from a security standpoint that this file is not moved.
    * Your actual bb-config.php file will be installed in the root of your WordPress
    * installation once you have set up the forums component in BuddyPress.
    */

    header(“HTTP/1.0 403 Forbidden”); die;
    ?>`

    I looked at the sample config file, and it looked nothing like this, but this is the exact file from when my server was running correctly!

    Any help would be much appreciated.

    #110830

    In reply to: Add a new Tab

    tubruk
    Participant

    @r-a-y thank you very much I found a way and it works fine :) :

    1. in ajax.php I added this:

    		if ( 'english' == $_BP_COOKIE ) {
    $user_id = ( $bp->displayed_user->id ) ? $bp->displayed_user->id : $bp->loggedin_user->id;
    $qs[] = 'forum_id=17';
    }

    2. Then added this in forums/index.php :
    <li id="forums-english"><a href=&quot;">English</a></li>

    thanks again. I hope this will help other members too.

    #110823
    r-a-y
    Keymaster
    #110822

    In reply to: Add a new Tab

    r-a-y
    Keymaster

    “YOUR LINK” is the link you want to set. This is only useful if you want to link to a new page (like your new forum loop) and you don’t want to use AJAX.

    However, it seems like you want to use AJAX, so you’ll have to manipulate the AJAX querystring so BuddyPress knows how to load your new custom forum loop. If you go this route, remember to remove the “no-ajax” CSS class from your tab.

    The way you name your tab class is important.

    In the example above, “forums-newtab”, BP’s AJAX will see “newtab” as the forum’s scope. You’ll then need to manipulate the AJAX querystring to add your forum IDs only when the forum scope is set to “newtab”.

    Check out the bp_dtheme_ajax_querystring() in /bp-default/_inc/ajax.php and try to analyze lines 43-50. See how when the scope is set to “personal” that BP changes the `user_id`. You’ll need to do something similar with the `forum_id` parameter when the `scope` is set to “newtab” and when the `object` is set to “forums”.

    Once you get a grasp of this, then you can write your filter to do your manipulation.

    #110820
    hugesuccess
    Member

    Also, it’s not so much a matter of table size as it is table design. A properly designed database would not have a problem with handling 1 million or 10 million cells in a table.

    #110818
    #110817

    In reply to: Add a new Tab

    tubruk
    Participant

    <li id="forums-newttab no-ajax"><a href="YOUR LINK">Another Forum Loop</a></li>

    @r-a-y thank you very much. What is “MY LINK” ? I created another forum loop but whats the url of it?

    I only changed this in the new forum loop.php :

    #110809
    José M. Villar
    Participant

    I can see on @aliceembroid site that it shows as “show comments”. I would like to have a comments count as “show comments (x)” being x the total number of comments.
    So each visitor can know at a first glance if that activty has any comments or not before pressing “show comments”

    #110806
    JamieWade
    Member

    @boonebgorges Hmmm I tried adding these codes into the files but it broke the other subnavs? Groups (x) and @username mentions only displayed the activity stream for the whole site? They didn’t show Group activity/mentions respectively.

    #110804
    Timothy Tarmon Jr
    Participant

    Glad its working now alice, and i think the css isn’t needed, but if you want to test it -> wp-content-> themes -> bp-columns ->custom.css
    What i usually do is scroll down to the very bottom and type this
    `/* Custom Modifications */`
    then my css code, to keep it separate from the default css

    where would you like to show the comments? Buddypress does this by default for logged in user via the reply link : reply(#comments).

    #21521
    tess2n
    Member

    It seems like buddypress profile pages are displaying inaccurate links. Most of the information our user input in their profile shows up as a link on their page when it shouldn’t. All the links point back to http://www.site/members/?=”usersprofilefieldinput”.

    Any ideas on how to fix this?

    @mikey3d
    Participant

    All Old Topics in the Forum Page is Gone

    Latest WP and BuddyPress

    I have developing the site for over six months. Today, I just looking at forum page and there is “All Topic (0).” Huh? So at first I reinstall forums setup and refresh the forum page still no show but when I create a new group (Enable discussion forum) it show in the forum page “All Topic (1)” and “My Topic (1).

    What is happens to all my old topic posts? And the “forum topic tags” on the sidebar mostly are “Sorry, there were no forum topic found” except one that I just created is found. Can the old topic posts and topic tags get it back in the forum page? What is causing the problem?

    Mikey3D

    #110797
    José M. Villar
    Participant

    Nice, very nice, thanx @timothyjunior and @aliceembroid for sharing this.
    Now, how would I add a comments count field ? I mean, showing the comments count if there are any comments or showing nothing if there are not. Am I clear enough ?

    #110794
    Nahum
    Participant

    thanks @r-a-y

    has anyone brought in tags meta into the activity loop’s items? I think as you said, activity loop should be less taxing but I tend to use the switch_to_blog regardless of taxation. :)

    I do have sitewide tags in place and that might be the option I’m looking for. Am I going to insert the xprofile comma seperated terms into wp search of posts?

    As for s_w_b function being so taxing…I’ve read that everywhere! But I haven’t seen solutions to making it less “taxing” I never understood why it exists if its so bad. I use it all the time for things because there’s no better way to work with sitewide posts that I’ve seen, the activity loop blog posts is too limiting as far as customizing.

    #110793
    Paul Wong-Gibbs
    Keymaster

    Can you report that as a bug on http://trac.buddypress.org please? Your username and password from this site will work there. Thanks.

    #110791
    aljuk
    Member

    There’s another issue with dates and Buddypress profiles – perhaps it’s related?

    When an Admin performs an edit from the front end of the site on a user’s profile that contains a date field, that date field is automatically populated with the corresponding value from the Admin’s profile ie. I can’t edit a user’s profile on the front of the site without re-setting the user’s birthday to the same date as my own.

    This is with BP single, latest versions, out of the box.

    #110790
    finni3
    Participant
    JamieWade
    Member

    I did this to my website and it works a treat. This applies if you are using the default BP theme, or a child theme. You will need to go to <b>wp-content/plugins/buddypress/bp-themes/bp-default/header.php</b>

    At approximately line 47, you will see the opening tags <div id="header"> Look to about line 52, and you will see the code for the home tab. Replace the code with this

    <li class="selected">
    <a href="yoursite.com/activity" title=""></a>
    </li>

    <b> Remember to add http: // before the yoursite.com/activity, for some reason it doesn’t show when I type the full URL in here.</b>

    If you look below that, you should see the code for the activity tab, delete this code. You should now have removed the activity tab from the menu, and the Home tab has now been changed so it directs to the activity stream. Any problems message me.

    #110787
    saphrym
    Member

    I’m having the same problem. My site is set as UTC. The Birthday plugin works and puts the right date in the widget. When editing, it says the right date. But in the public profile, it is one day earlier. (ex. July 10 is showing as July 9) Using latest version of Buddypress, BuddyPress Corporate 1.3.4 Theme, and WordPress 3.1.1.

    Also, when requiring a date on registration, the date field acts as if it’s not filled out. Keeps showing red and saying “Required Field.” I was putting in a date of January 1, 1970.

    #110785
    Brandon Allen
    Participant

    After seeing more of what you’re trying to do here (https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/how-to-display-the-user-post-count-in-topic-php/#post-96750) I should also point out, that this will only work if the person has logged in since you started using the code. What the code I gave does is to retrieve and save the user’s IP address each time they log in. If you can get in touch with someone who has an account with a different IP address than yourself, you can have them log out, the log in, and you should then see their IP address. To recap, here is the code you need in your bp-custom.php:

    `function my_get_IP( $user_id = false ) {
    if ( empty( $user_id ) )
    return false;

    $ip_address = esc_attr( trim( get_user_meta( $user_id, ‘ip_address’, true ) ) );

    if ( $ip_address = esc_attr( trim( get_user_meta( $user_id, ‘ip_address’, true ) ) ) )
    return $ip_address;
    else
    return false;
    }`

    `function my_update_user_IP() {
    $user_id = (int) get_current_user_id();

    if(!empty($_SERVER)) {
    $ip_address = $_SERVER;
    } else if(!empty($_SERVER)) {
    $ip_address = $_SERVER;
    } else if(!empty($_SERVER)) {
    $ip_address = $_SERVER;
    } else {
    $ip_address = ”;
    }
    if(strpos($ip_address, ‘,’) !== false) {
    $ip_address = explode(‘,’, $ip_address);
    $ip_address = $ip_address[0];
    }

    if ( update_user_meta( $user_id, ‘ip_address’, $ip_address ) )
    return $ip_address;
    else
    return false;
    }
    add_action( ‘wp_login’, ‘my_update_user_IP’ );`

    then add the following to your group/members.php template:

    ``

    #110783
    r-a-y
    Keymaster

    The function you’re looking for is:
    `bp_get_profile_field_data()`

    An example use case:

    `
    $field = bp_get_profile_field_data(
    array(
    ‘field’ => 1, // where 1 is the field_id or it can be the field name
    ‘user_id’ => bp_displayed_user_id()
    )
    );

    echo ‘Schedule link‘;`

    #21516
    nginx
    Member

    Hello,
    I’m using wordpress with buddypress.
    What I want is to get the value of a specified profile field of buddypress for each logged user to replace it in a link i have in one of my pages.

    to explain more what i have done is for a university. each student has one class code. i have made a field to let them write their class code.

    it is like “sc10002” for example.

    what i want is to replace this “sc10002” in a link which send them to their class time schedule which is like:

    hxxp://university.com/shchedule.jsp?[classid]

    how can i do it? i mean how can i order this link to replace class id with what has been set in student profile?

    i’d appropriate your help.
    thanks.

    #110781

    Hey ray, i have a quick question.

    I have wp-ban installed, and it adds a function that fetch’s the IP address of the user logged in i think, it’s the standard function for calling it.

    the full code is here: https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/having-trouble-with-ip/#post-96715

    What i did is I put the function in the topic.php so it would show the poster’s IP address. Now knowing that that function only retrieves the current logged in user IP, I thought I could override this with your function above, (my_topic_poster_id) so it would display the IP address of the forum poster. (like the member stats), so put in topic.php

    `. `

    Will it pass the topic poster ID so it shows the forum poster’s IP and not mine?

    #110780
    r-a-y
    Keymaster

    You want to search sitewide blog posts? That would be taxing!

    An efficient method would be to use the activity loop and filter by blog posts and the “search_terms” paramater (which in this case would be your xprofile field).

    One problem with this approach is blog posts, by default, are truncated when they are saved as an activity stream item, so your xprofile field might not match the blog post if the post content is cut off.

    —

    An alternative method is having a sitewide blog that aggregates all your blog post data and passing your search term directly to that blog’s post loop. However, this is the “taxing” method I was speaking of because you’ll have to use the switch_to_blog() function and that uses a significant amount of DB queries.

Viewing 25 results - 58,126 through 58,150 (of 94,561 total)
Skip to toolbar