Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 42,951 through 42,975 (of 64,495 total)
  • Author
    Search Results
  • #90544
    chrishajer
    Participant

    So long as your URL is not using the forum installation that was at http://www.example.com/wp-content/plugins/bbpress/ (maybe it’s http://www.example.com/bbpress/ ?) than you can safely delete the files. You might want to look at the bb-config.php and see what the database settings and see if you’re using another database as well, or if you are somehow using the same database and tables.

    #90548
    chrishajer
    Participant

    Why such an old version of WordPress?

    #86239
    zaerl
    Participant

    Hi Kevin. I found a “solution”. But I’m not proud of my code:

    add_action('bb_topic.php', 'the_function');
    add_action('bb_edit-post.php', 'the_function');
    add_action('bb_forum.php', 'the_function');
    add_action('bb_front-page.php', 'the_function');
    add_action('whatever_other_template_page.php', 'the_function');

    Basically speaking I hook those template pages that I need. The files in the root folder call:

    bb_load_template('template_file.php', some_stuff);

    in the very last line. That function calls the action bb_template_file.php, include() template_file.php and than calls the action bb_after_template_file.php

    Maybe there’s a better solution. I’m not a bbPress expert.

    #90551
    zaerl
    Participant

    Quoating and Posting reply: https://bbpress.org/plugins/topic/ajaxed-quote/

    Allowed quicktags: You mean the html tags that can be used in posts? bb_allowed_tags()

    Automatic tags: ?

    XU3E
    Member

    Hello to developers,

    I really love bbPress! Simple and fast! Integration options to WordPress is good way but I really love a idea about stand alone forum solution. Before that, there is few things that should be consideret to next release.

    Unread post/topics – Is it really hard to made this? This is main problem of all lightweight forums scripts – no marknig of unread post and parent topics. Just put that to the core and give options to admin. If they are interested about that fetahure they’ll enable it. Or just give us some up-to-date plugins that works and are supported by official dev team.

    Quoating and Posting reply – Light weight doesnt mean “no bbcode” or another nice code like !Texy. But please, no HTML or worst – XHTML STRONG tag as formating for messages! I really like simple way to add comments but i cant stay manual formatin of text with HTML. Its such waste of our time!

    And where is Quoting support like WP has?

    Allowed quicktags – Please, give me options set allowed tags from admin. Or just give better documentation! WordPress is the best because good documentation! I cant spend all day looking for right file just because its not at documentation and sometimes its impossible find some reasonable answers on google.

    Automatic tags – This is not serious problem. Just consider…

    Slug – Slug like WP. I miss this feathure. Its hard to fix slug problem if i cant directly acces to that from admin. Only way i can do it is mysql.

    Thats it! Nothing more. I am new here and i dont follow main goals of project but this is my opinion why is bbPress so uncomfortable to me and my friends.

    Its just my opinion and I hope you will consider make some serious progress on it.

    Sorry for my english.

    Thanks

    PS: I hope there will be more good ideas. Topics like this should be general, sticked.

    Greg
    Participant

    Hmmm, I have always specified the keys in my config files. When I’ve got a moment I will see whether the nonce thing is still an issue.

    BTW, here is the BuddyPress thread where Andy confirmed that I needed deep integration. Of course, this may be outdated by now.

    #90479
    Greg
    Participant

    _ck_, I would agree if it were just a matter of a clone theme. I operated our site like that for a couple of years. But when your customization goes beyond just a theme, then the costs of “cloning” get high in their own way.

    To repeat this thread, the duplication results in higher dev cost, more complexity to maintain and more bugs (to use a Rails-ism, the code isn’t very DRY).

    No question that it gets more performance and uses less resources though.

    #90478
    _ck_
    Participant

    I’ve been talking about this for years.

    The “performance” tag has a few gems in there I’ve written over time.

    bb-benchmark will also show you all the queries via the same method and a few other details, unfortunately the newest version is not in the plugin section right now because of how bbpress.org is broken.

    Part of the problem on the WP side is many times the plugins do not set their options to autoload (and have a whole bunch of options). I believe bbPress 1.x now has the same problem (it was avoided in 0.9 but re-introduced with backpress).

    I have a mini-plugin somewhere for 1.x to load all options with one query.

    Some setups can take hours to get the queries down, it’s exhausting

    Next you should notice that WP 3.0 + bbPress 1.x takes nearly 1 megabytes of code per instance and in some cases won’t even run on shared hosts because it goes over the PHP ini default setting of 32MB during runtime.

    If you are using a tag cloud, my “hot tags plus” will cache the complex query for the tag cloud and all rendering becomes static.

    ps. the real answer is not to do deep integration – just make a clone theme for bbpress, it’s worth the effort – the good thing about that is if WP is down, bbpress can still run

    Really helpful “Reboot Now”, thanks alot.

    Your first issue about the nonce value, I’ve never had it on any normal/shallow integration since I started specifying the all the keys in my config file. Yes it’s double handling but it’s made a huge difference.

    the bb-config file asks for this info:

    define( 'BB_AUTH_KEY', 'put your unique phrase here' );
    define( 'BB_SECURE_AUTH_KEY', 'put your unique phrase here' );
    define( 'BB_LOGGED_IN_KEY', 'put your unique phrase here' );
    define( 'BB_NONCE_KEY', 'put your unique phrase here' );

    The bb-config file tells you to get it form this location: https://api.wordpress.org/secret-key/1.1/bbpress/ . But really what you should have in the bbPress config file should be from the wordpress salt generator https://api.wordpress.org/secret-key/1.1/salt/

    I make sure I have an exact copy of my WordPress keys and a copy of my wordpress keys with “BB_” infront of them – and bam, that little issue went teh way of the dodo.

    define('AUTH_KEY',         '1');
    define('SECURE_AUTH_KEY', '2');
    define('LOGGED_IN_KEY', '3');
    define('NONCE_KEY', '4');
    define('AUTH_SALT', '5');
    define('SECURE_AUTH_SALT', '6');
    define('LOGGED_IN_SALT', '7');
    define('NONCE_SALT', '8');

    define('BB_AUTH_KEY', '1');
    define('BB_SECURE_AUTH_KEY', '2');
    define('BB_LOGGED_IN_KEY', '3');
    define('BB_NONCE_KEY', '4');
    define('BB_AUTH_SALT', '5');
    define('BB_SECURE_AUTH_SALT', '6');
    define('BB_LOGGED_IN_SALT', '7');
    define('BB_NONCE_SALT', '8');

    FYI incase anyone new to bbPress is reading this: If I do a clean bbPress install I strongly strongly advise using https://api.wordpress.org/secret-key/1.1/salt/bbpress/ instead which returns 8 lines (we get salts too) which WordPress has needed for 2 years.

    #90476
    Greg
    Participant

    I have now (1) figured out how to measure the number of queries correctly for both sides and (2) removed some very silly overhead that was immediately revealed after I achieved (1).

    The result is that both Kakumei and my custom theme do around 40 queries on the front page of the forum.

    Apologies for all the noise in the two posts before this one — a great illustration of more haste less speed.

    ps. One mod to Kevin’s extremely useful suggestion regarding the use of SAVEQUERIES to see where those queries are going… in bbPress you need to print the queries for BOTH the bbPress and WP databases. In other words, you need the following in your forum footer:

    global $wpdb, $bbdb;

    print_r($wpdb->queries);

    print_r($bbdb->queries);

    Or just to get the number of queries for both…

    global $wpdb, $bbdb;

    echo ‘WPDB Queries: ‘ . $wpdb->num_queries;

    echo ‘BBDB Queries ‘ . $bbdb->num_queries;

    Of course, the “>”s that appear in my code above should be greater than signs.

    Greg
    Participant

    My reasons for deep integration generally fall into two categories:

    A: niggly issues like the fact that I couldn’t get WP and BBP to share the same nonce value for safe logout. These all magically go away with deep integration (e.g. I now only use WP’s login/logout functions).

    B: it is much easier to create a custom user experience that crosses from blog to forum. My biggest example here is a site wide reputation system. So I need to display display profile pictures, badges and levels alongside forum posts and blog comments in the exact same way. I could do this without deep integration but then I would need to duplicate some functionality across WP and BBP plugins (e.g. writing a function on the bbPress side to get the avatar location).

    I think at its core deep integration is about a trade off between [raw performance + server cost] on the one hand and [dev cost + ttm + maintainability] on the other.

    So to your second question… the data I pull across is mainly user metadata as I described above.

    And regarding plugins… very few plugins that aren’t custom.

    One other thing: the deep integration we’re talking about is one way. I also integrate the other way (e.g. showing forum posts on blog pages) and this is done without deep integration. That is, I have created functions on the WP side to query the db for forum data.

    Ryan’s plugin is nice, very nice indeed.

    It works in the same way as my hack/plugin for WP2.3 bbP0.8 in that it outputs a hardcoded file (obviously Ryan’s code it a heck of a lot better, and more up to date). Whats not great for me is that (the last time I checked) it attempts to output a hardcoded file once every hour, so any changes you make take 60 mins to appear on the bbpress site. You can lower that time ofcourse, but in that instance you’re going to struggle with things like SEO etc.

    #90547

    I haven’t recently installed plugins on bbpress but I had some plugins on WP side.

    Could you tell us which plugins?

    #34637
    lndasa
    Member

    I had recently upgraded to bbpress 1.0.2 and I using 2.6.2 WP.

    It was working perfectly until recently it started to go to

    “This topic has been closed”. I haven’t recently installed plugins on bbpress but I had some plugins on WP side.

    Please visit http://absolutetruth.in/forums/

    #90542
    chrishajer
    Participant

    That’s the wrong location for the files. They should not be in the WordPress plugins folder. I imagine if you don’t try and activate it as a WordPress plugin from there, the worst that happens is you have to access your forum at

    http://www.example.com/wp-content/plugins/bbpress/

    which just looks silly. I think it would work though.

    I would just make sure that bbpress folder and my-plugins folder inside that have 755 permissions.

    What plugins did you install that you cannot see?

    And why did you have to create the my-plugins directory? Wasn’t it there when you installed bbPress?

    #34634
    rajada
    Member

    I’m relatively new to this, so bare with me…

    I’ve got a WordPress site integrated with a BB Press forum (one login for both) and I have created a my-plugins directory in my base directory and the permissions on it is 755 numerically. Even though I believe everything is set up correctly, and the forum itself works absolutely perfect, a total of 0 of my installed plugins show up on the administrative plugins list (default ones show up still). If I am not mistaken, someone mentioned that BB Press is not a plugin in itself, but the directory is in fact in my plugins folder.

    In other words, I install my BB plugins to:

    ftp and website address stuff…/wp-content/plugins/bbpress/my-plugins

    Every file in my-plugins is 755, and no one else seems to have this exact problem when they use plugins. So does anyone know what exactly is going on?

    WordPress version is the most up to date one, I’m using the default green theme (for the forum), and these should easily be compatible plugins.

    #90474
    Greg
    Participant

    [EDIT] Scratch the below. It seems I was only counting the bbpress-related queries. I now see 51 queries (for a logged in user), which is a lot to pay for the convenience of calling wordpress functions. I look forward to hearing more about what you come up with during those two weeks.


    These stats are not consistent with my experience.

    I have a site with deep integration between bbPress 1.0.2 and WordPress MU 2.9 (BuddyPress). The number of queries for the front page is:

    18: logged out

    23: logged in

    I switched the theme back to Kakumei and this drops to:

    14: logged out

    19: logged in

    The deep integration here is requiring ‘wp-load.php’ from bb-config. How did you do the deep integration to get the results above?

    Or is WP3.0 doing something odd when integrated with bbP?

    Also, although 56 queries is really heavy for a standard deep integration, I wouldn’t be overly concerned about that number for a sophisticated site. And you really want to know what those queries are. Not all queries are created equal.

    #90538
    hpguru
    Member

    I think there are just 2 posts. Thank you, now it was deleted. Just Googled and i not found more related topics.

    #90527
    chrishajer
    Participant

    Right, I figured it was however they are getting the bbPress information into WordPress for the front page at https://bbpress.org/

    #90537
    chrishajer
    Participant

    Those were posts that were either marked as deleted, or marked as spam. Back when that was done, deleting the only post on a topic didn’t delete the topic, it broke it. I just deleted the topics so it should be OK now. Let me know if you find more.

    #87895
    JDMojo
    Member
    #87894
    JDMojo
    Member

    Hey truthlighthouse,

    First I just want to say THANK YOU! The directions from GoDaddy for setting this up is feeble, to say the least. They should put your instructions up for everyone to see because they are straightforward and simple (and awesome!).

    The only problem I’m having is over at number 18. I uploaded my bbPress folder (which I renamed Forums) to the remote system, but for the life of me I can’t get the installation thing to pop up when I type in the URL in my browser (http://example.net/Forums). I tried moving the Forums folder into the WordPress folder (where wp-admin resides) and still no luck.

    Any ideas? Anyone?

    #90536
    hpguru
    Member

    Maybe Chris able to delete it?

    #90535
    Gautam Gupta
    Participant

    Those are very old posts, and bbPress wouldn’t have been that stable at that time.

    #34633
    hpguru
    Member
Viewing 25 results - 42,951 through 42,975 (of 64,495 total)
Skip to toolbar