Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 58,726 through 58,750 (of 64,431 total)
  • Author
    Search Results
  • #62626
    chrishajer
    Participant

    The bug you have run into is fixed in the latest trunk release, or you can see this thread and this post specifically about the change to make:

    PHP Error Messages

    It’s been discussed before as well:

    https://bbpress.org/forums/topic/warning-invalid-argument-supplied-for-foreach-in-bb-settingsphp-on-line-173

    https://bbpress.org/forums/topic/installation-problem-cannot-modify-header-information

    It’s just a php warning, and your server is configured to show warnings, so you see it. It does point to a problem with the code, but even with the warning, everything still works fine.

    #2832
    danludus
    Member

    I’ve installed the bbpress forum, but I received this error:

    Warning: Invalid argument supplied for foreach() in /var/www/vhosts/etichettando.com/subdomains/forum/httpdocs/bb-settings.php on line 169

    You can see here: http://forum.etichettando.com/

    May you help me, please?

    #2831

    Topic: Theme editing problem

    in forum Themes
    #61676

    In reply to: User Registration

    The bbpress mail funcion is just something I can’t really understand. When I tried to use it with my favorite notification plugin I got some problems, so I decided to hardcode the mail-function into my plugin.

    mail( $userdata->user_email, bb_get_option('name') . ':' . __('Notification'),

    sprintf( $message, $topic->topic_title, get_user_name($bb_current_user->ID), get_topic_link($topic_id) ),

    'From: ' . bb_get_option('admin_email') );

    I just kept it simple there. Did someone of you try to hardcode the mailing into the registration function? Would be interesting to see if it works then?!

    #2828

    Topic: TalkPress

    fel64
    Member

    Not sure who reads the WP feeds, so here’s an interesting snippet:

    Mullenweg says he’ll use the new cash to fund more projects, including a new forums product. Called TalkPress, he said it will be “smaller, lighter, with fewer features but a richer customization API.”

    In other words, it will work a lot like WordPress, which is a basic framework upon which users add the features they really need. Mullenweg some time ago created a forum program, BBPress, and the TalkPress service will be built on that.

    “I spend a lot of time on forums, and they drive me crazy,” he said. “They haven’t changed in 10 years.”

    http://blogs.chron.com/techblog/archives/2008/01/the_importance_of_being_matt.html

    #62393
    Beau Lebens
    Participant

    @starnet – The best way is to have it in an auto-load WPMU plugin, which means stick it in a file called “no-404s.php” or something in wp-content/mu-plugins/.

    #62314
    rslater
    Member

    I am trying to think if there is a work around // using what works .. I.E wordpress. Since the passwords would be the same for both.. Maybe there is an angle I can take there.. Sign them up in wordpress and dump the new users into bbpress to edit profile/ or add the additional bbpress profile fieldsto wordpress profile edit.. Just thinking out loud..

    #62583
    chrishajer
    Participant

    Good question. I’m inclined to say it’s hotmail right off the bat, since they make it through to gmail, but maybe it’s something that bbPress does with the email that hotmail finds objectionable.

    Who does the email arrive from, at gmail (and the first time at hotmail for that matter), and if the mail were rejected, where would the bounced message go? In my installation, emails appear to come from bbpress@domain.com – but that email doesn’t exist, so any mail that fails to get delivered is just gone forever. If your email comes from a real email address, is that address getting rejection emails from hotmail?

    #2827
    intellivision
    Participant

    I get the first:

    “If you wanted to reset your password, you may do so by visiting the following address:

    http://appleswitcher.com/wp/forum/bb-reset-password.php?key=4d8981628df36c3

    If you don’t want to reset your password, just ignore this email. Thanks!”

    Click that link which takes me to my page:

    “Password Reset

    Your password has been reset and a new one has been mailed to you.”

    But the email never gets to my account, not even in Junk. Gmail *does not have this problem.* I just checked. It’s just Hotmail. Don’t know if it’s “them” or bbPress.

    #61674

    In reply to: User Registration

    rslater
    Member

    I have tried all different ways of entering email addresses. I am baffled. The only thing I can think is the following:

    bbpress resides in folder one up from Word press. I am wondering if there is a file permission issue for that folder. But again the odd thing is.. the favorites notification works just fine and it is in the same plugin folder as the plugin Sam had me upload. I do not know. I hope Sam may have more ideas.

    None of this makes sense. It has to be a BBpress email php coding issue.. But why is it so different from wordpress and the bpress plugin “favorites notification” that work fine.

    #2826
    healthstatus
    Member

    We are setting up bbpress to work with WP and a Perl program we developed in house. We have most of it working, except the forum always returns No Entries found and their isn’t a link to add a post, edit a post or anything, and in WP you can’t make comments. (other than that it is perfect). We would also like to make an attempt to login from either bbpress or WP get routed over to our system login page which uses our Perl program. please contact me at gwhite [at] healthstatus . com

    #61673

    In reply to: User Registration

    chrishajer
    Participant

    One thing I always thought was interesting was that mail appears to be sent from bbpress@yourdomain.com, whether or not that is a valid email. So, if you responded to your password email or something, it would be sent to that bbpress@ address, which might be invalid, so it would bounce.

    I wonder if bbpress@yourdomain.com has to be set up as a valid email account on the server, so if the SMTP server says “let me make sure this is one of my users before I sent out email for him” it will work. Since you wouldn’t normally have a bbpress@yourdomain.com address already set up, maybe some MTAs don’t like it and give up on the mail altogether.

    Why wouldn’t the email just be sent from the admin email address since we’re asked to enter it in config.php anyway?

    Any thoughts?

    #62578
    chrishajer
    Participant

    The $bb->name setting in config.php is the name for the whole site and the name you see in Admin > Content > Forum is the name of the categories or sub-forums (however you want to think about it – see the bottom of http://bbPress.org/forums/ for “Installation”, “Troubleshooting”, “Themes”, etc – that is what you’re changing in Admin > Content > Forums). Changing it there does indeed change the display (look at the bottom of the front page to see the name you are changing in the admin panel: it’s under “Forums”). If it’s not working like that in your installation, there’s another problem I’m not familiar with.

    Anyway, being able to change the site name in the admin panel might be a good suggestion. You can make feature requests at http://trac.bbpress.org .

    #2825

    Topic: Transpose Email

    in forum Plugins
    citizenkeith
    Participant

    I couldn’t find anything here on the bbPress site… I would like for email addresses that appear in posts to be transposed to something like “user [at] domain [dot] com”.

    Is there a plugin, or an easy way to do this?

    #2801
    charliestout
    Member

    File uploads and attachments: like many others, I am highly interested in such a plugin. While I agree with the intent of the developers to keep bbPress light and awesome (which it is,) it certainly seems a shame to have to abandon bbPress because it does not provide for file uploads.

    It’s my understanding that each post is given a unique identifier, visible as a URL parameter: id=38 for post 38, id=39 for post 39, etc.

    Functionally, it seems a matter of creating an /uploads folder, and using a PHP upload/file management script to create a folder with the same name of the post ID in the /uploads folder.

    I think one could add some PHP code in the topic page loop to parse the /uploads folder for folders whose names match the numbers of the post id’s displayed on that page, if-then display links to any files contained within those folders, if-not, then don’t.

    Do I have the technical know-how to pull this off? Of course not. I barely got the forums installed and avatar plugin running on my server. But others lurking here with any PHP ninja skills might be able to.

    Of course, there might be horrendous security risks that I’m not thinking of with this method. And the PHP code that scans the uploads folder for foldernames that match post id’s might ridiculously slow down the forums, as it constantly scans the filesystem instead of performing a quick database lookup.

    But it might be a good start. Between all of us here in these forums, I am confident that we’ll eventually stumble across this much-needed functionality. Necessity is a mother…

    #62361

    In reply to: PHP Error Messages

    Sam Bauers
    Participant

    @j8h9

    I’ve got 3 fixes for you to choose from:

    1. Make the above changes

    2. Upgrade the version of PHP you are using

    3. Download the current trunk (rev 1071) here

    Or go back to phpbb, your choice.

    : )

    #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

Viewing 25 results - 58,726 through 58,750 (of 64,431 total)
Skip to toolbar