Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 60,201 through 60,225 (of 64,535 total)
  • Author
    Search Results
  • #2275
    #60044
    adriengeille
    Member

    After a few tests it seems the problem comes from the last paragraph

    // The rest is only useful if you are integrating bbPress with WordPress.

    // If you’re not, just leave it as it is.

    $bb->wp_table_prefix = ‘wp_’; // WordPress table prefix. Example: ‘wp_’;

    $bb->wp_home = ‘http://www.subventions.fr’; // WordPress – Options->General: Blog address (URL) // Example: ‘http://example.com’

    $bb->wp_siteurl = ‘http://www.subventions.fr/wordpress’; // WordPress – Options->General: WordPress address (URL) // Example: ‘http://example.com’

    $bb->cookiepath = ‘/’;

    $bb->cookiedomain = ‘.subventions.fr’;

    define(‘WP_BB’, true);

    require_once(‘/wordpress/wp-blog-header.php’);

    /* Stop editing */

    if ( !defined(‘BBPATH’) )

    define(‘BBPATH’, dirname(__FILE__) . ‘/’ );

    require_once( BBPATH . ‘bb-settings.php’ );

    ?>

    Where is the error guys?

    #60141

    In reply to: help with new install!

    chrishajer
    Participant

    Sounds like your server does not support mod_rewrite, or there are other rewrite rules in another .htaccess file (for WP?) that are conflicting.

    There were a couple good posts by SamBauers regarding the rewrite rules. Here’s one:

    https://bbpress.org/forums/topic/pretty-permalinks-not-working?replies=24#post-7743

    I think if you turn off the pretty permalinks and take that stuff out of your .htaccess file, you’ll find things work again. Then, you just need to figure out how to get them working on your server.

    #60064

    In reply to: top 100 bbPress sites

    novellino
    Member

    What about mine?

    http://www.inblog.it/forum/

    bobbyh
    Member

    I had a user write a post with this title:

    =)

    This creates a post like this:

    * http://www.kosmosity.com/forums/topic/?replies=1#post-2

    I’m using the “slug” option on this test forum which uses the default theme and bbPress 0.8.2.1. It looks like the =) is being sanitized to “” (an empty string), which confuses bbPress and leads to that topic resolving to an error page. On the test forum to which I just linked, I have no plugins except WordPress Integration.

    Has anybody else run into this bug? Is there an existing workaround? If other people can replicate this bug, I’ll create a ticket in Trac. Also, if there’s no existing workaround, I’ll try to create a plugin workaround.

    Thanks,

    Bob

    #60162

    In reply to: Wrong user count

    Elias
    Member

    Oh, thank you SamBauers – this is the information missing on this site…

    But as I read at the trac site, the problem is already known. It is fixed by changeset 867 – at least in my test environment. I’ll upload it to the real server, it seems to be okay and of course it will be better than my quick and dirty “solution”…

    #60140

    In reply to: help with new install!

    Andrew
    Member

    Oh, and I went to http://www.thisisroanoke.com/bb-admin/rewrite-rules.php, copied the text there, and added it to my .htaccess file. (I even copied that file into my bbPress installation directory. No luck.)

    Clicking my profile link tries to take me to http://thisisroanoke.com/forum/profile/1, but ends up giving me my home page (or maybe it’s supposed to be a 404 page — I haven’t set up a proper 404 yet).

    Help! (And thanks!)

    #60173
    fabianzaf
    Member

    infact.. when a user logs into wp-login.. I’d like to know whether I can set the redirect to any custom location without having to add the ?redirect_to=%2F after wp-login.php

    edit:

    Found a plugin

    “Plugin Name: Force Login

    Description: No one can see your forums unless they are logged in.

    Plugin URI: https://bbpress.org/forums/topic/117

    Author: Michael D Adams

    Author URI: http://blogwaffe.com/

    Version: 0.8″

    It redirects the user to the templates /login.php.. its nice but I’d really like it to go to wp-login, but only if I can figure out why its constantly redirecting to the control panel and why it wont let me anywhere else >_> apart from the blog, ofcourse.

    #60172
    fabianzaf
    Member

    Actually… that wasnt such an elegant solution @_@ If logged in it redirects me to the control panel.. and when I access bbpress directly it still redirects :/ Maybe its because I dont have an ifelse going on.. not sure.

    Out of curiosities sake.. isnt there a way I can disable the wordpress control panel for subscribers and have them redirect to the bbpress profile page? That would be awesome…

    >_>

    #60171
    fabianzaf
    Member

    Hey man.. thanks for your reply. And yes I’ve went extensively through all the hacks. (By the way you made some wicked ones… without your contributions bbpress wouldnt be so awesome)

    Vbulletin might have been around for a very long time but its so generic it makes my head hurt. Every vbulletin site you come across looks the same and its pretty hard to customize. Sure you can edit the templates quite heavily but it still heavily depends on tables and executes one massive css file.. even though most of their style attributes is stuck on tables @_@ Sure bbpress uses tables but definitely in a more elegant way.. (frankly I wouldnt want any tables on my page to start with.. will make a theme later thats css only)

    I like the idea of having a very small bare bone forum install that can be extended from there.. I’m sure in no time the plugins will be in the core where its just a matter of switching it on in the admin panel. Either way, the plugins are pretty easy to install anyway.

    As for my problem.. I made a relatively elegant fix! :)

    add this at the top of your header.php

    <?php if ( !bb_is_user_logged_in() ) { ?>

    <?php

    header("location:http:/......../wp-login.php?redirect_to=%2F");

    exit;

    ?>

    <?php } ?>

    Got my site almost sorted now.. just need to find a way to make a tickbox in “post-form.php” that sets the thread to go to favourites :)

    As well as perhaps a tickbox next to the comment button ;)

    #60170
    _ck_
    Participant

    Well vbulletin is king-of-the-hill for a reason, many years of development, but it costs, costs, costs for everything.

    But like I keep trying to suggest around here, bbpress’s easiest audience will be wordpress users, then next anyone who wants a more custom forum that doesn’t just have a vertical “brick” style.

    In any case, if you poke around here you’ll discover there are have a dozen hacks and plugins you will need to make wordpress and bbpress work together more perfectly, but they are available and “proven” at this point. Look for the integration tag. I’ve been meaning to try to put them altogether in one post but keep getting distracted with stuff like paying the bills so the lights (and computer!) stay on… LOL

    Forcing all logins through wordpress is possible (I do it on two sites now) but it requires a little bit of core hacks, which means the next time you upgrade it will have to be hacked again.

    Forced login for entirely member only forums is also very possible, I believe there is a specific plugin or hack around here for it.

    #2270
    baduist3
    Member

    Am i missing something?

    I’m used to edit themes in WordPress through the admin panel, is it not possible for bbPress -do i have to edit offline?

    #60169
    fabianzaf
    Member

    now is how I can get BBpress to use wp-login

    Oops. I might confuse people with this line.. what I mean that is that if people dont have enough permissions with the registered only plugin that they can redirected to

    /wp-login ^^

    #2269
    #60147
    _ck_
    Participant

    I ported GamerZ’s useronline plugin for wordpress to bbpress awhile back. Been meaning to clean it up and release it one day.

    It can not only count members and guests but since it keeps a list of the top bots, it can track those seperately. It also tracks where the users are (last browsed). So I have that working across a wordpress/bbpress install.

    Actually, knowing my style, I will rewrite it from scratch at some point to work a little cleaner. I don’t like how it discards the data after the timeout period which loses valuable information about the user’s last activity before leaving.

    It’s always bothered me that wordpress/bbpress doesn’t even natively track the last time a user logged in, only when the account was originally created, so you can’t even tell how dormant the account is.

    I’ll probably bundle this with my ip2country routines so we can have pretty country flags next to member avatars as well as a list of what countries are currently visiting the forum.

    #60161

    In reply to: Wrong user count

    Sam Bauers
    Participant

    I would not have that expectation unless you report a bug in the trac site.

    http://trac.bbpress.org

    Login with the same details you use here.

    #60160

    In reply to: Wrong user count

    Elias
    Member

    Arrgh! Horrors!

    The problem is caused by the bb_append_meta invocation in line 2075 of functions.php. The query destroys the last SQL_CALC_FOUND_ROWS and so the count is wrong. A quick and dirty workaround is to change 'append_meta' => false to 'append_meta' => false in the $defaults array in line 2021 of functions.php. But this only works if the append_meta argument is not given in the bb_user_search call.

    Now the problem is more complicated as I suspected earlier. It is a problem for the hackers that make bbPress. No further searching for bugs from me, the problem should be clear. (It is clear enough to me after reading lots of code from other people.) I expect it to be fixed in the next release.

    #60159

    In reply to: Wrong user count

    Elias
    Member

    I found something that can help to fix this bug. In the following I use wordpress_ as prefix for my WP tables.

    My wordpress_usermeta table has 65 rows, and 65 users are displayed now in the bbPress dashboard. It seems to be a wrong SQL statement for querying the number of users.

    Instead of the (by me assumed) select count(*) from wordpress_usermeta there should be used either select count(*) from wordpress_users or select count(distinct user_id) from wordpress_usermeta to get the number of users.

    (Oh yes, I know that there will be a where-clause…)

    I suspect line 2046 in bb-includes/functions.php, but I’m not familar with the source.

    #56548

    In reply to: Strut Your bbPress!

    Elias
    Member

    A forum and a blog of an association of artists from Hannover, Germany (in german language) – very clean und lightweight, thanks WP and bbPress and the integration plugins.

    Blog: http://whitedarkness.de/

    Forum: http://whitedarkness.de/forum

    #2268
    Elias
    Member

    I use bbPress 0.8.2.1 for a small forum. My user table is shared with a wordpress blog. My bbPress plugins are UseDisplayName 0.7.2, AllowImages 0.7.1, Private Forums 5.0, Forums Moderators 1.0, Google Analytics 0.68. I use the german localisation file, it is a german forum.

    There is a strange bug in the user list. At the moment, 8 users are registered. But the Users/Find admin panel displays a wrong number of users. It says there are 61 users.

    I took a screenshot a few days ago with six users, displayed as 48, if you don’t understand the problem, take a look in my weird numbers. And I thought that reckoning is something a computer can do.

    Is the problem caused by one of my plugins, or by another reason? And is there a workaround? It is a bug that does not harm me now, but it is a strange one I do not understand.

    #2266
    dennylin93
    Member

    I installed bbPress version 0.8.2.1 on Windows XP Pro SP2 with Apache 2.2.4 and PHP 5.2.3. I installed a few plugins, and everything worked fine. However, when I tried to register a new user for testing, I couldn’t receive the e-mail with the password.

    I checked the error log and found this:

    [Sat Aug 18 21:18:09 2007] [error] [client 127.0.0.1] PHP Warning: mail() [<a href='function.mail'>function.mail</a>]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in D:\Program Files\Apache Software Foundation\Apache2.2\htdocs\forums\bb-includes\registration-functions.php on line 105, referer: http://127.0.0.1/forums/register.php

    Most things on Apache and PHP are set to default, so I’m not sure if I skipped any processes. I’ve been having trouble with SMTP for a long time now.

    #59828
    chrishajer
    Participant

    That php _e(‘Freshness’) just echoes the table header. A couple lines beneath that you will find the call to the function that provides the time elapsed (i.e. the Freshness):

    <?php topic_time(); ?>

    Instead of that topic_time, you could just insert the code like _ck_ has shown, modified a little bit, so instead of this in your template files:

    <?php topic_time(); ?>

    use this:

    <?php echo date("date format here", strtotime($topic->topic_time)); ?>

    where date format here is some combination of characters from here: http://www.php.net/date

    For example:

    <?php echo date("D M j Y G:i:s", strtotime($topic->topic_time)); ?>

    prints like Sun Aug 19 2007 1:53:54 right now, but it would be based on the topic time of the post in your case.

    You would need to look at these files, at least, in your template directory:

    ./favorites.php

    ./forum.php

    ./front-page.php

    ./tag-single.php

    ./view.php

    It’s safe to modify your own template files. You’re not modifying the core bbPress files. But maybe this would be better as a plugin, I’m not sure.

    Good luck.

    #60010
    howtogeek
    Member

    Yeah, all other forums do a “diff” patch approach to creating mods, which is the main thing that drove me to use bbPress in the first place… the plugin architecture is so much simpler.

    I really like the idea of making “pluggable” actions the way bbPress does, but I’m not entirely fond of the filters. In most cases I don’t use the filters in my theme, but change the theme to directly output the data.

    #57813
    Omegacool
    Member

    I already sent a copy to you of the file and I have corrected it of the unloading page.

    #60009
    _ck_
    Participant

    I’ve discovered another interesting approach that SMF takes – their “plugins” are actually true mods where it’s a sort of “diff” file that patches the sources. Keeps it running very fast no matter how make addons you use. To a certain degree it keeps working between minor version changes (ie. 1.1.1-1.1.3) but major changes will break many of them. Still, it’s an interesting approach and very different to bbPress.

    They also do virtually everything in memory as arrays (roles, etc) where bbPress runs through a big bunch of code to return a value ie. bb_current_user_can(“administrate”).

    I know wordpress.org’s forum has distributed backup servers but it operates as a single server correct? I’m wondering just how far bbpress can scale on a single server. Once you offload mysql & email functions, that’s about as far as you can go easily on a single server.

Viewing 25 results - 60,201 through 60,225 (of 64,535 total)
Skip to toolbar