Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 58,826 through 58,850 (of 64,515 total)
  • Author
    Search Results
  • #61671

    In reply to: User Registration

    Sam Bauers
    Participant

    Looks like it may be rejecting the mail due to the “From” email address being invalid. Try this code in a plugin and make sure your admin_email option is a valid email address:

    <?php
    if ( !function_exists( 'bb_mail' ) ) :
    function bb_mail( $to, $subject, $message, $headers = '' ) {
    if (!is_array($headers)) {
    $headers = trim($headers);
    $headers = preg_split('@r(?:n{0,1})|n@', $headers);
    }

    if (!count($headers) || !count(preg_grep('/^from:s/im', $headers))) {
    if (!$from = bb_get_option('admin_email'))
    if ($uri_parsed = parse_url(bb_get_option('uri')))
    if ($uri_parsed['host'])
    $from = 'bbpress@' . trim(preg_replace('/^www./i', '', $uri_parsed['host']));

    if ($from)
    $headers[] = 'From: "' . bb_get_option('name') . '" <' . $from . '>';
    }
    $headers = trim(join("rn", $headers));

    return @mail($to, $subject, $message, $headers);
    }
    endif;
    ?>

    #62310
    rslater
    Member

    Sam.. Can you take a look at this thread and see if there is anything you know of to fix this issue. Chrishajer has been helping me thus far and been a tremendous help. We just cannot figure out this email issue.

    https://bbpress.org/forums/topic/user-registration?replies=17

    #62550
    Göran
    Member

    I did not get them working together and using bbSync. I have looked at the examples mentioned in other threads but I have not found any webbsite where the posts in the blog have generated a new comment in the forum. Are there any such examples? It seems to me that all of them have links back and forth but where is bbSync used? And using another language than English seems to have given problems to many more than me.

    I really liked the idea of generating forum posts from a blog which would give a more equal discussion than comments to a blog. But where can I find a working example in a non-English language?

    #62572
    chrishajer
    Participant

    As an experiment, I created 1000 users automatically with long text for the username, website, interests, email, etc. I also inserted meta info for them (so, 1000 new user rows, 4000 new meta rows.) I checked the size of the Data_length and Index_length in MySQL.

    With 5 users, I had this:

    bbpress_users Data_length: 524 bytes

    bbpress_users Index_length: 3072 bytes

    bbpress_usermeta Data_length: 708 bytes

    bbpress_usermeta Index_length: 5120 bytes

    With 1005 users, I had this:

    bbpress_users Data_length: 384,524 bytes

    bbpress_users Index_length: 142,336 bytes

    bbpress_usermeta Data_length: 280,708 bytes

    bbpress_usermeta Index_length: 146,432 bytes

    So, 1000 additional fake user registrations used about 1MB of disk space. In reality, the data I used for the fake registrations is far longer than any spam registration I’ve ever gotten. In fact, the average row length for bbpress_users went from 107 bytes to 382 bytes since the fake data I used was so ridiculously long. The bbpress_usermeta didn’t go up as much: from an average row length of 52 bytes to 69 bytes.

    Bottom line: 1000 spam registrations, if they actually did occur, would not hurt anything at all. To prevent those registrations in the first place though, I would use Akismet and the “enhanced registration” plugin. Then you don’t need to worry about the registrations at all.

    #62565
    starnet
    Member

    Thanks chrishajer and Trent. That was what I was leaning towards doing. I thought maybe there’s a way to incorporate bbPress’s loop inside WP’s.

    Now back to the drawing board creating the site’s common theme for bbP and WP.

    #61935

    In reply to: Excerpts

    vedmak
    Member

    This is great excerpt , but i have 2 problems:

    1. excerpt don’t work with Sticky Topic
    2. how to make plugin from this code?

    Thanks anyway livibetter.

    #62549
    fel64
    Member

    You need to have wordpress and bbpress more fully integrated, that is, require wordpress before bbpress is run in bb’s config.php file. I think all that is in that link, under the last section.

    #62224
    tomimaila
    Member

    I made a post on this subject to another thread:

    https://bbpress.org/forums/topic/file-attachments?replies=24#post-13317

    #51529
    tomimaila
    Member

    I made a post on this subject to another thread:

    https://bbpress.org/forums/topic/file-attachments?replies=24#post-13317

    #61668

    In reply to: User Registration

    rslater
    Member

    that looked extremely promising. Unfortunately still did not send. Do you think this is a serverside permission issue? I cannot believe as previously stated everything else works except bbpress registration emails and lost passwords.

    #54861
    Göran
    Member

    I inserted your code:

    Code:
    include_once(BBPATH . BBINC . ‘streams.php’);
    include_once(BBPATH . BBINC . ‘gettext.php’);

    in ‘bb-settings.php’ but it did not quite work. My blog http://www.goranlin.se/blogg/wordpress/ is slower and website adm disappeared. And my forum http://www.goranlin.se/blogg/wordpress/bbpress/

    still do not show the posts from the blog which was planned. I use bbSync to try to get that, but no success so far.

    #62570
    Olaf Lederer
    Participant

    Because we are talking about spam and bbpress, at the moment I don’t have problems with spam (I guess the spammers didn’t about my forum)

    how is the spam protection works it the same way as in WP? In WP akismet is filtering more than 99% of the spam.

    Here in bbpress it’s different: a well written spam post is not “under moderation”

    #61261
    Trent Adams
    Member

    I have found that as long as you change your Site Admin => Options and tell WPMU not to use the blog name of your forum in the signup process, you can use the normal bbPress .htaccess method. It works fine for me on http://onvertigo.com anyways.

    Trent

    #62564
    Trent Adams
    Member

    If you search in https://wordpress.org/extend/plugins/ there is actually a plugin to do this for wordpress if I am not mistaken as well, but I use the way that chrishajer suggests myself as RSS feeds are easy to change and doesn’t require bbPress be in the same database ;)

    Trent

    #54860
    Göran
    Member

    I seems to have the same problem. I get

    Fatal error: Cannot redeclare class streamreader in /mnt/home/_g/goranlin/www.goranlin.se/blogg/wordpress/bbpress/bb-includes/streams.php on line 26

    I want both wp and bbpress to be translate so maybe I can put your code into ‘bb-settings.php’. Would that work?

    #62548
    Göran
    Member

    Thanks for help. I am moving forward. I deleted both WP and bbPress and started again and made progress. The blog and the forum are integrated but I cannot get bbSync to work. Both work by temselves and I can log in with same id and password but cannot get posts into forum.

    Installation:

    Blog at http://www.goranlin.se/blogg/wordpress/

    Forum at http://www.goranlin.se/blogg/wordpress/bbpress/

    WordPress 2.3.2 installed 22 january 2008

    theme WordPress Default 1.6 changed colors in head with panel

    bbPress 0.8.3.1 installed 22 january 2008

    sv_SE.mo for WP installed 22 january 2008

    sv_SE.mo for bbPress installed 22 january 2008

    bbSync version 0.94 installed 22 january 2008

    bbSync gave message “It needs your config!:)

    I did that! succesfully I thought.

    But when trying to write new post in blog:

    Fatal error: Cannot redeclare class streamreader in /mnt/home/_g/goranlin/www.goranlin.se/blogg/wordpress/bbpress/bb-includes/streams.php on line 26

    but going back to blog the new post is there but still not in Forum

    line 24-26 in streams.php is:

    // Simple class to wrap file streams, string streams, etc.

    // seek is essential, and it should be byte stream

    class StreamReader {

    // should return a string [FIXME: perhaps return array of bytes?]

    function read($bytes) {

    return false;

    I have no clue how to do anything about this! All help is welcome!

    #62566
    Olaf Lederer
    Participant

    I have more than 1000 registrations now, I’m not sure what happens if some but will start to register fake accounts. If this becomes a problem you need to something else.

    bbpress works with akismet and this works fine on wordpress

    #56116

    In reply to: New Topic Notification

    Olaf Lederer
    Participant

    on the plugin site here :D

    https://bbpress.org/plugins/

    #2821

    Hi All

    Could someone please tell me how well BBPress works in fending of spam registrations please? Is it a case of using every means possible or is there a flawless way of doing it?

    I am also wondering is there a user limit for BBPress. i.e. How many users would it support please? 100,000 – 1,000,000 or more?

    I have a client that has been told that she will get a 1,000 spam registrations a day and that open source software cannot support more than a few thousand users. I want to direct her to this post. So hopefully we can encourage her.

    Many thanks

    Rich

    #2820
    starnet
    Member

    I have WP on root, and bbP under /forum folder.

    How can I show the ‘Latest Discussions’ that is in the bbPress front page in the WP front page?

    Thanks in advance.

    #61667

    In reply to: User Registration

    chrishajer
    Participant

    Do you have access to the logs on your server to check for SMTP errors?

    Did you try this plugin by sambauers?

    https://bbpress.org/forums/topic/email-wont-send-from-anyhting?replies=8#post-13217

    This fix is checked into trunk as well, but the plugin might be the easiest way to try the fix.

    #62547
    fel64
    Member

    You do need a localisation file, but if one doesn’t come with the topic it’s typically the sort of thing you can do for yourself.

    Some wp themes let you set the colour scheme in the admin panel (Mandigo for one), but it’s a fairly simple task to open the style.css file and change the hex colour-codes (once you understand what they are).

    Having bb as a subdirectory of wp is a good start but it’s not necessary as far as I know. My wp install is in a folder /wordpress/, while bb is in the forums subdomain. This should be everything you need to know on integration: https://bbpress.org/documentation/integration-with-wordpress/

    #62546
    Göran
    Member

    Dear fel46 I have just seen that you have created bbsync so you seems very compentent to answer my elementary questions! I suspect all the answers are somewhere in the support pages for wp and bbpress but it is not easy to put all the pieces together and find out what to do.

    #62545
    Göran
    Member

    Thank you for your answer. Localization demands that there is a translated .mo-file for the theme to work, does it not?

    I like the WP-K2beta2 theme but I am unsure how to change color scheme. Some wp-themes are easier to change color for than others I think, is that correct?

    I think what I want to achieve can be done with the wp plugin bbsync but wp and bbpress are supposed to be integrated for that and I do not know how to do that. Is it a good start to first create a folder called blog and place wp in there and them create a new folder within that called bbpress and place bbpress in there?

    All suggestion and advice are most welcome, this is my first attempts with WordPress and bbPress.

    #62544
    fel64
    Member

    It doesn’t matter what theme you use, you can localise your installs of bbpress and wordpress to translate everything to Swedish. Sandbox is a commonly used theme starting point but I’d just start with whatever looks most similar to the end-effect you want to achieve.

    Do you have any questions about what you’re trying to do?

Viewing 25 results - 58,826 through 58,850 (of 64,515 total)
Skip to toolbar