Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 28,151 through 28,175 (of 32,481 total)
  • Author
    Search Results
  • #63210
    _ck_
    Participant

    I think they are trying to integrate/convert the main WordPress.com site to the new cookie method which is more secure and it’s affecting here.

    I just hack the cookie and change the expire time to 2018 and that solves the re-login ;-)

    #2947
    Onion
    Member

    I’m new to bbpress, and was playing around with an install. I noticed that it doesn’t allow all forms of line breaks, only the current proper one that is self closing.

    <br> and <BR>

    Do not seem to work properly. This was an issue because I noticed that my users are sloppy HTML coders and the tags would just print out.

    I don’t know if it has been covered before. I searched and found nothing. I did get it to work with a small php tweak.

    In formatting-functions.php, I put the following under bb_encode_bad:

    $text = preg_replace('|& lt;BR& gt;|', '', $text);
    $text = preg_replace('|& lt;br& gt;|', '', $text);
    $text = preg_replace('|& lt;br /& gt;|', '', $text)

    (The code tag won’t output the code correctly, so I put a space after the &, so they wouldn’t get converted.)

    It works, but all three forms now convert to<br>, instead of

    Which works well enough, but even self closing br tags will now drop the /

    I’m not strong at PHP. Only enough to get by. What do you think. Is there another way to do it? Or a better way? Or hell, a plugin?

    #63203
    _ck_
    Participant

    Awh, thanks! Well not sure about “vigilant” as I wax and wane here as I have the time and energy but I try to help when I can. Hope it’s helping someone! bbPress installs seem to have doubled since October 2007 so that’s probably a good sign… appreciate the hugs, I needed that…

    ps. that would be guys and gals! ;-)

    #63223

    In reply to: php fail.

    saintmain
    Member

    I joined IRC #bbpress last night, and a kind soul figured it out.

    It was all because of the plugin. After installing the plugin, all went great.

    #chrishajer; on my server, the admin-tool lets me turn glob on and off. “off default”

    and, it IS an error when I cant login :)

    This plugin-problem should be in the FAQ.

    Thank you both.. :)

    #63193
    Trent Adams
    Member

    I would like to, but the plugin I am using is restricted to WPMU exclusively (not normal wordpress) and was purchased through WPMUDEV Premium services and the copyright is so that you have to pay them to use it.

    If you are looking at a combination avatar plugin, have you searched google for “wordpress bbpress common avatar” or something similar? Have you checked out the plugin directory to see what is offered here for avatars up and above the “service” company avatars like gravatar?

    Trent

    #63171

    In reply to: Private Forums Problem

    janellers
    Member

    Hi Trent,

    thanks for your reply. I’am using this plugin:

    https://bbpress.org/plugins/topic/private-forums/

    The hide-option is checked, and tested in both themes. The unregistered user can only Enter the Forums flagged “open for all” but that is useless when they cant see them ;)

    Jan

    #63192
    stereopoly
    Member

    Can you give me a short introduction, howto? =) Just some step by step thingy? Pleease ;)

    #63170

    In reply to: Private Forums Problem

    Trent Adams
    Member

    JanEllers are you using the plugin from so10 from the plugin browser? Do you have the following checked?

    Hide Private Forums and Topics

    I have this working fine for me. Does it work with the main theme (for testing)?

    Trent

    #63191
    Trent Adams
    Member

    It can be done as I am using a custom avatar plugin that I use with my wpmu install that pulls the avatar from the wpmu side when comparing the user id from bbPress and the wpmu user (as they are the same with integration).

    In terms of normal wordpress, I am not sure if one exists. I know lots have used gravatar or mybloglog as their base avatar system (myself included) just to make integration easier :)

    Trent

    #63221

    In reply to: php fail.

    chrishajer
    Participant

    I don’t believe register_globals and the glob() function are the same thing. If the glob function is disabled on your server, the administrator would have to re-enable it.

    How about creating a bb-plugins folder in your forums directory, then putting a blank file called _dummy.php (that’s underscorewhatever.php) in that directory? It would look like this:

    /forums/bb-plugins/_dummy.php

    That would ensure the plugin directory is there, and that there is an underscore plugin there for this function to find. At least this part won’t fail any more.

    BTW – it’s just a PHP warning, not an error.

    Warning: Invalid argument supplied for foreach() in /customers/cobain.dk/cobain.dk/httpd.www/forums/bb-settings.php on line 294

    You should be able to continue past it, despite the warning. Once you knock this one down, it’s on to the next one if you’re still unable to log in.

    #63190
    stereopoly
    Member

    Users of our site should not upload their avatar twice and thats why i’d like to let them work together. any other simply idea?

    #63220

    In reply to: php fail.

    saintmain
    Member

    “PHP – Register globals” = “glob”?

    I can turn that on if it helps. did that ones, Ill try again.

    I made a fresh installment using the trunk.. still cant log in :/

    kehlers
    Member

    Hi, I’m having the same problem. I’m running bbPress 0.8.3 with allow-images, fix bbPress, notification, and private-forums plugins. Except for the problem (below), everything is running fine.

    Basically, if a regular member clicks “ADD NEW” link on the front page of the forum, their Pick a Section dropdown list is blank, and if they go ahead and submit the new post form, they get an error that the forum topic is closed.

    If same user clicks on a forum and posts from there – works fine. If an adminstrator clicks from front page, it works fine. If I deactivate the private-forums plugin, it works fine.

    Can anyone suggest a way to fix this? Besides deactivating private forums,that is. ;)

    #2948
    chrishajer
    Participant

    The past couple weeks, I have noticed that nearly every time I access the forums here at http://bbpress.org/forums/ I need to log in. It didn’t used to be like that. It seemed like the cookie lasted for months.

    When I look at the cookies after logging in here, I have two bb_org session cookies, plus:

    name: bb_org_user

    value: chrishajer

    There is no bb_org_pass cookie.

    When I look at cookies for a non-integrated 0.8.3.1 install, I see:

    name: bb_user_838717f68fe05f4ed4c22bc08ae180c8

    value: chrishajer

    name: bb_pass_838717f68fe05f4ed4c22bc08ae180c8

    value: 6429e15ef02ba9f2d7a89cab0ed845a4

    (values slightly obfuscated)

    Any idea what’s going on? It’s no problem to just log in again, but it wasn’t like that before, and I don’t think it’s intended to work like this.

    I cleared all the domain cookies and logged in again, but the cookies are the same. Anyone else seeing the same thing? BTW, using Firefox 2.0.0.12 on Windows XP.

    #63189
    darkling235
    Member

    You probably could but I think retroengineering the plugin to work in both wordpress and bbpress would be more trouble than its worth. My site just uses two very simple avatar plugins that work basically the same, 68-gravatar and 4avatars. I know one plugin would be simpler to maintain but I think the amount of work required to make it function in both would be counter productive unless you had a really good reason to want the same one in both

    #63198

    In reply to: empty site

    saintmain
    Member

    Hehe, I think I figured it out, but Im at work, so Ill try when i get off.

    That damn mysqli.. well hope this works :)

    #63197

    In reply to: empty site

    saintmain
    Member

    think I found it.. cant see why bbpress not simply makes mysql standart, if it works just as well.

    https://trac.bbpress.org/ticket/745

    https://trac.bbpress.org/ticket/757

    Still dont know how to fix the problem :(

    #63196

    In reply to: empty site

    saintmain
    Member

    Now, some text is pupping up:

    Warning: Invalid argument supplied for foreach() in /customers/cobain.dk/cobain.dk/httpd.www/bbpress/bb-settings.php on line 169

    Warning: Cannot modify header information – headers already sent by (output started at /customers/cobain.dk/cobain.dk/httpd.www/bbpress/config.php:1) in /customers/cobain.dk/cobain.dk/httpd.www/bbpress/bb-includes/pluggable.php on line 37

    Warning: Cannot modify header information – headers already sent by (output started at /customers/cobain.dk/cobain.dk/httpd.www/bbpress/config.php:1) in /customers/cobain.dk/cobain.dk/httpd.www/bbpress/bb-includes/pluggable.php on line 37

    Warning: Cannot modify header information – headers already sent by (output started at /customers/cobain.dk/cobain.dk/httpd.www/bbpress/config.php:1) in /customers/cobain.dk/cobain.dk/httpd.www/bbpress/bb-includes/pluggable.php on line 164


    bbPress and WordPress have different table prefixes

    bb_forums

    bb_posts

    bb_tagged

    bb_tags

    bb_topicmeta

    bb_topics

    bb_usermeta

    bb_users

    wp_comments

    wp_links

    wp_options

    wp_postmeta

    wp_posts

    wp_terms

    wp_term_relationships

    wp_term_taxonomy

    wp_usermeta

    wp_users

    #63195

    In reply to: empty site

    saintmain
    Member

    It is a standard installation, no language or mod.

    I have installed WordPress on the same server but not in the same folder, is that a problem?

    Im using PHP4, should I upgrade to PHP5 to make bbpress work?

    The server has “PHP – Register globals” set to OFF.

    *update. php5 is now installed on the server, still ampty site :(

    #63194

    In reply to: empty site

    chrishajer
    Participant

    That looks like a server error, probably error code 500. Hard to say since the errors are not shown in the browser. If you have access to error logs, finding the problem will be easier.

    Did you try to integrate bbPress and WordPress? Are you using a different language file? Anything else modified from a standard installation?

    #2942
    stereopoly
    Member

    Heya,

    i’ve installed a wordpress plugin for avatars which is integrated into my wordpress by the following code:

    <?php if(function_exists(cmd_show_avatar)) cmd_show_avatar(avatar); ?>

    Is there any possibility to embed this code into my bbpress just for showing the wordpress avatar (because of saying my bbpress to require wp-blog-header in the config.php)?

    stereopoly
    Member

    i’ve tried it and the error is changing:

    Fatal error: Cannot redeclare class streamreader in /homepages/14/d166908482/htdocs/stereopoly/forum/bb-includes/streams.php on line 26

    #63139
    stereopoly
    Member

    this is what my htacces looks like in my root:

    # BEGIN WordPress

    <IfModule mod_rewrite.c>

    RewriteEngine On

    RewriteBase /

    RewriteCond %{REQUEST_FILENAME} !-f

    RewriteCond %{REQUEST_FILENAME} !-d

    RewriteRule . /index.php [L]

    </IfModule>

    # END WordPress

    RewriteEngine on

    RewriteCond %{HTTP_HOST} !^www.stereopoly.de$

    RewriteRule ^(.*)$ http://www.stereopoly.de/$1 [L,R=301]

    Redirect /feed feed://feeds.feedburner.com/stereopoly

    chrishajer
    Participant

    I believe you should be using a filesystem path, not a URL. Something like:

    require_once( '../wp-config.php' ); if wp-config.php is one level up from your forum directory.

    I have no idea if that will work, but I’m pretty sure you need to load it from the filesystem not over http.

    stereopoly
    Member

    Hey guys,

    i’d love to integrate my bbpress ( http://www.stereopoly.de/forum ) into my wordpress ( http://www.stereopoly.de ), but when saying to fetch the wp-blog-header (even when taking an absolute link, my bbpress is completely giving up its job and says

    Failed opening required ‘http://www.stereopoly.de/wp-blog-header.php&#8217;

    this is what my bbpress’ config.php last lines look like:

    /* Stop editing */

    if ( !defined('BBPATH') )
    define('BBPATH', dirname(__FILE__) . '/' );
    require_once( 'http://www.stereopoly.de/wp-config.php' );
    require_once( 'http://www.stereopoly.de/wp-blog-header.php' );
    require_once( BBPATH . 'bb-settings.php' );

    ?>

    can anyone please help!?

Viewing 25 results - 28,151 through 28,175 (of 32,481 total)
Skip to toolbar