Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'forum'

Viewing 25 results - 19,851 through 19,875 (of 20,259 total)
  • Author
    Search Results
  • #36126
    Trent Adams
    Participant

    Found another tip for you all if you have tried everything and it still won’t work….

    If you manage to have done everything and it seems to not work, check your bp_groups_groupmeta table and delete any entries that deal with the forum. Make sure you back things up before doing this though! If an existing entry is there for forums, it won’t allow you to create a new one!

    Burt Adsit
    Participant

    I was thinking about this kind of thing as well. In more general terms. I’m creating a bp member theme skin. Right now just trying to integrate it with the rest of the site. As I’m doing this I’m going over the features that are in that theme. Since I’m fooling with them, I’m thinking about them.

    What do I want to see in this theme. How would I change it. I was thinking more about how I operate on my site and other sites. What changes would I make that would make my life easier on the net.

    The first thing I would implement is a ‘favorites’ or ‘watch’ component. Kinda like rss feed aggregation. I make comments on people’s blogs. I start topics on the forums and reply to topics. I don’t remember all the junk I do in one day. So being reminded of *my* activity is important.

    Viewing my group’s activity is important. Some blog’s are important and I want to see posts from those select blogs. *Some* of my friend’s activity is important. Forum and blog posts for some of my friends.

    I’d like to be able to see *all* that stuff above and selectively see a subset of that. That subset is what’s important to me at the moment. It’ll change day to day.

    Favorites, watches. Things I want to monitor. I’d like to be able to just dynamically add and delete such things.

    I want to do this in one place. One screen. A bp/mu Heads Up Display. For me. I want ‘My HUD’.

    #36096
    Burt Adsit
    Participant

    What does this have to do with bp? This is a buddypress forum.

    Burt Adsit
    Participant
    #36066
    Maxaud
    Participant

    Also, noticed that the “Group Forums” section isn’t present in WPMU 2.7 but it is in 2.6.5

    It says the following and has the following options:

    “To enable forums for each group in a BuddyPress installation, you must first download, install, and setup bbPress and integrate it with WordPress MU.

    Once you have bbPress set up correctly, enter the options below so that BuddyPress can connect.”

    – bbPress URL

    – bbPress username

    – bbPress password

    – Cache requests

    – Caching enabled

    – Cache timeout

    #36035

    In reply to: Log Out Redirect Error

    Burt Adsit
    Participant

    I have a signature running on other forums that reads: “You’re not doing anything wrong. Stop trying to do it right.”

    In this case that’s appropriate. The stock behavior for mu and bp is to redirect back to the original url. But we don’t have to live with stock behavior. We got code.

    The offending hunk we’re talking about is the various places that bp allows a user to logout. In all cases it has ‘redirect_to=’ site_url(). This takes the user back to where the logged out from. site_url() is what you want to change.

    You need to say get_blog_option(1, ‘siteurl’) instead of that. That gets the url for the root/home blog in mu, blog id 1.

    You’ll see two logout lines wherever bp allows a logout option. One is for mu 2.7 and it reads: wp_logout_url(site_url()). The other just reads ‘redirect_to=’ site_url()

    The mu 2.7 version adds some security stuff to the mix and needs that wp_logout_url() call. In both cases and in all spots change ‘site_url()’ to get_blog_option(1, ‘siteurl’) and things will work as you want them to work.

    I see the header in the home theme, two places in the member theme and the admin bar as spots to change.

    header.php - www/wp-content/themes/buddypress-home line 48 <?php if ( function_exists('wp_logout_url') ) : ?>

    header.php - www/wp-content/member-themes/buddypress-member line 46 <?php if ( function_exists('wp_logout_url') ) : ?>

    bp-core-adminbar.php - www/wp-content/mu-plugins/bp-core line 81 if ( function_exists('wp_logout_url') ) {

    bp-core-templatetags.php - www/wp-content/mu-plugins/bp-core line 55 if ( function_exists( 'wp_logout_url' ) ) {

    Those line numbers may not be exact in all cases but it’ll be in the general vicinity.

    The problem that you have to be aware of is that you are modifying stuff that will get overwritten when you update your bp installation. You’ll have to make sure that if you use SVN things get merged in properly and if you’re not using SVN then you’ll manually have to go around and put the mods back in each time.

    #36016

    In reply to: Log Out Redirect Error

    Burt Adsit
    Participant

    elishahong, this forum is running with a cache operating. You have to refresh your browser to see your post. Sending your post and returning to the original page doesn’t do that. You had about half a dozen messages saying the same thing. :) Sometimes you see your post and sometimes you don’t. Gotta mention that to the powers that be.

    Let me go look at the source of those errors you are getting.

    #36015
    Burt Adsit
    Participant

    Perhaps I shouldn’t have so gleefully stolen sambauer’s magic clickable url function. I just remembered that I have to go over to bbpress forums and ask his help with some xmlrpc stuff in bbpress.

    Maybe he won’t notice (shhhh…)

    #36003
    Mike Pratt
    Participant

    I spoke to soon. On my test dev environment, a topic posted on the forum DOES show up in site wide activity. damn. now I need to figure out how I broke that!

    #35997
    Burt Adsit
    Participant

    Trent’s got WP schwag! Is it swag, shwag or schwag? :)

    #35996
    Burt Adsit
    Participant

    The above instructions on how to ‘solve’ the whacky chars and format stripping that is going on is just a stopgap solution really. We need to filter the text that goes into a post and that comes out of a post. We need to filter the text coming over and going to bbpress.

    We need that. This stuff is in core and we shouldn’t be screwing with it like this. I’m gonna just create a ticket that outlines the problems with text i/o in and around bp, mu and bbpress.

    The bbpress side of things needs some additional filtering. When stuff comes thru xmlrpc lots of things are escaped out and they are going directly to the db like that. Bad. Then when they come back out and get sent to bp, bp un-escapes them on this side. That leaves those of us who use bbpress as bbpress with trash in the db from the xmlrpc transport.

    Gotta fix that too.

    nicolagreco
    Participant

    Don’t paste code on the forum please, you should edit this variable $bp at the start of the file

    #35974
    Trent Adams
    Participant

    Best bet is create a ticket for this in https://trac.buddypress.org/ with the login credentials from this forum so that Andy knows he is breaking something again ;)

    #35970
    Trent Adams
    Participant

    That is great! I would imagine I will just make the little plugin myself ;) Thanks Burt!

    #35966

    In reply to: What are these tables?

    Trent Adams
    Participant

    These are great issues to bring up on the buddypress mailing list and I encourage you to do it. I do not develop WPMU or Buddypress and these are just my opinions. This is just background information as well. WPMU is known to be extremely server intensive as is.

    Right now, most scaling solutions have been implemented for WPMU and the database structure that is already developed and in place. Mainly, blog sites like wordpress.com and edublogs.org. They have implemented multi-database solutions where the request gets analyzed for the blog hash and directed to the proper database and the connection only occurs to the database that houses that data. Databases can reside on any server in any location.

    Images are also housed in directories created through the blog hash as well. This also allows you to have multiple image directories in multiple locations if you wanted. Some even offload some of their images to 3rd party services like S3.

    At present time, AFAIK, there is no solution for spreading around the buddypress data. It hasn’t been addressed yet.

    I am not going to argue and say this is the most ideal circumstance or setup. There are plenty of discussions on scaling both in the WPMU forums as well as in the WPMU Advanced Forums as well as on the WPMUDEV Premium Forums. Not to mention the WP Hackers list is also a great resource from the real developers and hackers of WP in general.

    Buddypress, like WPMU, are open-source communities and all input is not only welcomed, it is encouraged! Feel free to add anything that you feel would be better. I am sure Andy is welcome to hearing all feedback if you know a better way to do something.

    My previous comment on this topic was purely my opinion on how the current setup could be scaled based on my experience with already ongoing projects. Right or wrong, it is just my opinion.

    #35961
    nicolagreco
    Participant

    You’ve to copy the same function for wires 2 activity and just changing name

    #35943
    Burt Adsit
    Participant

    Oh ya. In my travels for the above, I found the magic little function in bbpress for magic links:

    bb-includes/functions.wp-core.php

    function make_clickable()

    line 274

    I gladly stole it, copied it over to my favorite php file today ‘bp-forums-filters.php’ renamed it my_damn_make_clickable() and hooked it up to the bp universe with this underneath it:

    add_filter( ‘bp_the_topic_post_content’, ‘my_damn_make_clickable’);

    We got bbpress magic urls in posts!

    You of course would want to put that fn in a little utility plugin that runs in mu-plugins.

    #35941
    Burt Adsit
    Participant

    Hey Mike. bp does a whole bunch of filtering before the post is sent to bbpress. About 1/2 dozen wp filters, then some bp filtering then it gets sent to bbpress. There is the bp helper plugin over on the bbpress side that does some more filtering, bbpress gets it finally and stores it. Evidently xmlrpc doesn’t want normal <> type tags so they get stripped out, replaced with [] tags instead for the trip to bbpress. To be replaced on the bbpress side with normal <> tags. Evidently we can’t have special chars such as single quotes, double quotes, ampersands and other things making the trip so bp escapes or converts them to something else for the xmlrpc trip.

    When these whacky little escaped and converted chars get to bbpress they are just stored.

    Viewing a bp created post in bbpress is ugly.

    But we’re not in bbpress were in bp where when we send our post from bp to bbpress it gets the post from bbpress unconverts, unfilters and unescapes all that stuff to display as the post we just sent.

    During this process the html markup that should be allowed like paragraphs and bold are stripped out somewhere along the line for display in bp even if they have successfully made this round trip unscathed.

    Now we’re gonna talk about excerpts which have another filtering process applied to them. No we’re not. No I’m not. If you really care, which I don’t anymore, after 4 hrs of tracking this wp action, filter insanity across two pieces of software and several transport mechanisms then you could:

    Comment out line: 741 in bp-core.php bp_create_excerpt()

    ‘strip_tags()’

    Comment out line: 41 in bp-forums-filters.php bp_forums_filter_decode()

    ‘wp_filter_kses()’

    You get excerpts in group forums and posts in group forums that look normal. You could probably copy these fns and do the approved action/filter thing. You could. I personally take great pleasure in deleting the offending lines at this point. :)

    #35940

    In reply to: forum keys

    Famous
    Participant

    Thanks Burtadsit

    #35936

    In reply to: forum keys

    Burt Adsit
    Participant

    I’m kinda guessing you are talking about getting bbpress and mu configured to share user tables and sessions.

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

    https://bbpress.org/forums/

    EDIT: the above was also posted in what seemed to be a topic at random on the bbpress forums.

    #35933
    plock
    Member

    Hey, I’m running http://www.pozlife.com. It’s a community for people affected but HIV and AIDS. I’m an activist :)

    I just finished ironing out the basics, and its a very limited BP install – no groups, no blogs, no access to the dashboard for non admins. They do have member profiles, and flickr for more photos. I’ve also integrated my wpmu DB with BB press for seamless logins.

    I’m going to add more stuff when people request it, but for now I think I can start to invite people to use it!

    I’m really thankful for all the help I’m receiving via the forums! Keep up the good work.

    fishbowl81
    Participant

    Did you use the same e-mail address that you used to register for this forum? I believe you maybe able to list multiple e-mail address under gravatar, so you may need to use the one which you registered for this forum with.

    Brad

    #35919
    Mike Pratt
    Participant

    Clarification and more INFO:

    Sometimes you feel better when you find the same problem on the test site!

    Here’s what’s happening (there too)

    When a message or forum post is initially sent (no manual page refresh) BP puts escape characters everywhere. If you manually reload the page (any browser) the messages/posts are reformatted and the characters removed. I guess the good news is my users are noticing as much (only when they submit.

    #35896

    In reply to: What are these tables?

    gogoplata
    Participant

    If you dig around the forums you’ll find the rationale behind this, which is that it’s much easier to scale a site with this database structure than storing all user information in a limited number of tables.

    #35886
    Burt Adsit
    Participant

    wardeh, sorry it took so long to get back to you. Been busy. From what I gather all wpmu and bp functions are available. However none of the actions and filters on the mu side are in effect. I’m still not sure what that means. Just something I’ve read.

    I don’t know if this deep integration is even what I want. I know it’s problematic at the moment. I think it’s going to take some time for sambauers and the gurus at bbpress to work out the kinks. I generate enough problems on my own. I’d like to keep the problems to *me*. I have a chance of fixing those. ;)

    I do know that xmlrpc works *now*. That’s what bp is using for the bp-forums component. Loading all of mu just to get at a few functions is kinda overkill. I think what I’m gonna do is create a couple of more xmlrpc methods on the wpmu side that will be called from bbpress. Such as:

    ‘get_all_group_forums’ – gets all bp groups that have forums and the forum id so that read-only-forums and hidden-forums can be automagicly configured. My plan is to configure all public group forums read-only and private and hidden groups hidden-forums.

    ‘get_all_group_members’ – Foreach group with forums get the members of that group and automagicly configure an override for each group member in that forum.

    So from the bbpress side to configure read-only and hidden-forums, we get all the groups that have forums and then all the members of those groups and make the two bbpress plugins work with that info. Should be enough.

    Using xmlrpc is better than loading all of wpmu just to do those two things. Especially since this deep integration is still flaky.

    xmlrpc has added benefits. It’s way cooler. ;) My forums don’t have to reside on the same server as my bp/wpmu install. I keep hearing rumblings, rumorings and hintings about xmlrpc. It’s kinda like sleeping and lurking. Getting ready for something. Comments by wpmu gurus about xmlrpc privately, Andy relying on it for forums. Something’s brewing.

Viewing 25 results - 19,851 through 19,875 (of 20,259 total)
Skip to toolbar