Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 27,951 through 27,975 (of 32,481 total)
  • Author
    Search Results
  • #63812
    Swap
    Member

    CK, I guess they released 0.9 stable just when I was working on the beta build. What do you recommend? Should I do a file refresh or stick with whatever I have? :)

    #3113
    retrospec
    Member

    bbPress makes things look just lovely :)

    i’ve got a work in progress set up based on a theme I found, then modified it to my own needs.

    http://retrospec.sgn.net/forums/

    What does anyone think?

    #63901
    12thharmonic
    Member

    From the upgrade instructions “The installer will either create a new config file or show you the contents to paste into a file manually. As soon as your new config file is created and validated by the installer, you should be redirected to your bbPress front page.”

    This did not occur. It continued as new. I tried a third time with a fresh upload.

    The errors at the top of the page I neglected to include in the first post:

    bbPress database error: [Table ‘headonra_forum.bb_users’ doesn’t exist]

    SELECT ID FROM bb_users WHERE user_login = ‘admin’

    bbPress database error: [Table ‘headonra_forum.bb_users’ doesn’t exist]

    SELECT ID FROM bb_users WHERE user_nicename = ‘admin’

    bbPress database error: [Table ‘headonra_forum.bb_users’ doesn’t exist]

    INSERT INTO bb_users (user_login,user_pass,user_nicename,user_email,user_url,user_registered) VALUES (‘admin’,’$P$BvJa/4bE7omVr/FndtNTXivJARhjWM1′,’admin’,’12thharmonic@gmail.com’,”,’2008-04-03 10:58:26′)

    bbPress database error: [Table ‘headonra_forum.bb_usermeta’ doesn’t exist]

    SELECT * FROM bb_usermeta WHERE user_id = 67 AND meta_key = ‘bb_capabilities’

    bbPress database error: [Table ‘headonra_forum.bb_usermeta’ doesn’t exist]

    INSERT INTO bb_usermeta (user_id,meta_key,meta_value) VALUES (’67’,’bb_capabilities’,’a:1:{s:9:”keymaster”;b:1;}’)

    bbPress database error: [Table ‘headonra_forum.bb_users’ doesn’t exist]

    SELECT * FROM bb_users WHERE ID = 67

    Warning: Cannot modify header information – headers already sent by (output started at /home/headonra/public_html/forum/bb-includes/db-mysql.php:106) in /home/headonra/public_html/forum/bb-includes/functions.php on line 2248

    ___________________________________

    I could not log in with new or old details.

    Restoring old version one more time till some advice comes down.

    #63844
    olgaberrios
    Member

    Hi! Thanx! I have a question. Installer says:

    bbPress is already installed, but appears to require an upgrade.

    Perhaps you meant to run the upgrade script instead?

    I click on upgrade script and it says:

    You’re running in safe mode which does not allow this upgrade script to set a running time limit. Depending on the size of your database and on which parts of the script you are running, the script can take quite some time to run (or it could take just a few seconds). To throw caution to the wind and run the script in safe mode anyway, remove the first few lines of code in the bb-admin/upgrade.php file. Backups are always a good idea.

    Any idea?

    #63899
    Ivan
    Member

    I resolved! I have tried a new install and this time i create a new keymaster with a different name that my old moderator name and it works!! (i think was this).

    I didn’t anything else different that my first install

    :)

    #3111
    Ivan
    Member

    I have upgraded to bbpress 0.9 with some critical problems:

    I cannot create de keymaster

    When i have gone to my forum the post not appeard (I out the correct database)

    When i tried to login i anly see a blanl page :(

    #63824
    serimu
    Member

    _ck_ thanks for your reply,

    I contacted to technical service, and they said they opened multiview option. But it did not work. And they gave me virtual host configuration:

    The error I saw is, ” page not found error”

    I use wordpress in my root directory, and I use bbpress in subfolder named as forum. I think wordpress’ .htaccess file do not interfere with the one for forums.

    I also asked for httpd.conf settings, but the technical stuff said, directadmin uses very clean httpd.conf settings, and their virtual host setup is nearly the same thing, so they gave virtual host settings:

    <Directory /home/abc.com/public>

    Options +Includes -Indexes +MultiViews

    </Directory>

    Technical stuff also, did not figure out why this problem occurs. And he also said multiviews option could reason some security problems.

    #3104
    sgatz
    Member

    I’ve written my own custom plugin to have bbPress use my site’s authentication system (it’s not wordpress). It’s working beautifully (for the most part). I replace bb_is_user_logged_in and bb_current_user (and the latter sets bb_set_current_user).

    The problem is this: AJAX calls to add a new tag, to remove an existing tag (your own or as admin), or to delete a post all fail with a “you don’t have permission to do that”. I see that other plugins have had that problem too. However, if I submit the request using the old school (non-AJAX) url, it works just fine.

    So I’m guessing there’s something unique in the AJAX calls and that code seems dense to me. Can anyone suggest some places to check first?

    #57792
    kinthehouse
    Member

    macbis, after 8 months since you posted I kept hitting this when I tried to install bbPress in a subdirectory inside WPMU. Your fix worked just dandy! Thank you.. now on to doing the rest of the integration. :-)

    chrishajer
    Participant

    No listing in the plugins tab means the plugin is malformed and is seen as just a file in that directory, not a plugin. You are going to need a plugin header, something as simple as this:

    <?php
    /*
    Plugin Name: No 404s
    */
    ?>

    https://codex.wordpress.org/Writing_a_Plugin

    #62932
    Shagalaga
    Member

    Thx!!! nice support here :-)

    #63801
    chrishajer
    Participant

    Seems pretty silly to me too. They could at least put that code in the template and comment it out if they don’t want it to appear, like you see in WordPress themes sometimes.

    icesar
    Member

    Thanks for the reply Chris. Yes, I’m using 2.3.3 right now. The content of the plugin code is exactly as above:

    function mbob_flush_rewrites() {
    global $wp_rewrite;
    $wp_rewrite->flush_rules();
    }
    add_action('init', 'mbob_flush_rewrites');

    function mbob_add_rewrites($wp_rewrite) {
    add_rewrite_rule('forums/topic', 'forums/topic.php');
    add_rewrite_rule('forums/forum', 'forums/forum.php');
    add_rewrite_rule('forums', 'forums/index.php');
    $wp_rewrite->rules = array_merge($wp_rewrite->non_wp_rules, $wp_rewrite->rules);
    }
    add_action('generate_rewrite_rules', 'mbob_add_rewrites');

    And I’m not getting a specific error really. Simply that when I upload no404s.php with this code to my wp-content/plugins directory, there is no listing in the Plugins tab to even activate it.

    #63810
    kernow
    Member

    I have xammp (installed on a USB key) and upgraded to WP 2.5 and since then the forum no longer works. Will test on localhost first before I go live I think :)

    #58947
    parabolart
    Member

    in functions.php find function get_profile_admin_keys() {, and move $bb_table_prefix . 'title' => array(0, __('User Title')) from that function’s array to function get_profile_info_keys()

    icesar
    Member

    So close! I have this same issue with my regular installation of WP, and I only realized today (after 3 months) that this is the reason my forums – http://argentinastravel.com/forums/ – are not getting indexed!

    I tried creating a plugin from the code above, but I couldn’t activate it. Can someone please help me with a step by step fix for a regular WP install? Gracias!

    #63808
    chrishajer
    Participant

    Well, it was imminent 19 hours ago :-)

    https://bbpress.org/forums/topic/bbpress-084-release-date?replies=39#post-14842

    It will be here soon enough. Hang in there.

    #63804

    In reply to: Conditional tag?

    chrishajer
    Participant

    How about in your WordPress header.php try to wrap the breadcrumb call with something that happens only on bbPress pages. So, if your forum is in a directory called “forum” or something, maybe you could check the REQUEST_URI for the presence of forum. Then you wouldn’t show the breadcrumbs if you were on a forum page. Something like that?

    #63819
    chrishajer
    Participant

    Looks very nice, nice job.

    I clicked on a link in one of the forums though, and Firefox wanted to open the file with WordPad rather than open in the browser. This was the link:

    <a href="http://www.refueled.net/forum/topic.php?id=106">No Page Templates to Chose From?</a>

    PHP files normally open just fine for me on the Internet, this seemed sort of weird.

    UPDATE: the second time I clicked the link, it opened fine in the browser. I always forget to take a screenshot when this happens since i figure it will just happen again. Oh well. Sometimes, I think Apache or PHP fail to parse the PHP files and they get sent through with the wrong mime type or something. I have had this happen once before where I saw the source of a PHP file, which would be bad, since there are sometimes passwords and connection details in there. Of course, I didn’t capture a screenshot of that either.

    Anyway, your forum looks very nice. Nice job.

    #63796

    In reply to: plugin directory

    chrishajer
    Participant

    Right now, go ahead and create these two directories in the same folder where your config.php is:

    my-templates
    my-plugins

     

    Then, put your plugins into the my-plugins directory. I think these bare directories should be included in the download package. Maybe there’s a good reason they’re not, but it just seems silly to me.

    #63799
    chrishajer
    Participant

    No plugin, just add this code wherever you want the search to appear (probably header.php):

    <?php search_form( $q ); ?>

    I agree, this should be better documented. Or maybe it is documented and I just never read the docs.

    #63365
    Sam Bauers
    Participant

    There are two people committing code for bbPress and one of them (mdawaffe) was heavily involved with the WordPress 2.5 release.

    If there have been two release candidates for WordPress, that means there have been changes to WordPress that we have to match in that time.

    It’s just a matter of limited resources at this stage. We also have identified one blocker which needs to be fixed before we can release 0.9

    #3094

    Topic: plugin directory

    in forum Plugins
    darksprite
    Member

    i see no where to add these plugins?? where is my main bbpress directory???

    please help :)

    #63789
    chrishajer
    Participant

    I can access this:

    http://cialar.com/foro/bb-images/bbpress.png

    Which means the files (at least that file) are there.

    I can also access these and get directory listings:

    http://cialar.com/foro/bb-admin/

    http://cialar.com/foro/

    That tells me that the index.php file in each directory is not getting processed by the web server. Looks like some sort of configuration problem with the server.

    Can you put a simple file in the foro directory, call it info.php and put this into it:

    <?php
    phpinfo();
    ?>

     

    Then access that at http://www.cialar.com/foro/info.php. See what that tells you. If that is not processed by the web server, then it’s a problem with the server, not bbPress.

    I don’t have a lot of experience on an IIS server, so there may be something simple I’m not familiar with that would cause this.

    I am guessing PHP is not enabled here:

    http://www.cialar.com/foro/ (IP: 74.208.22.70)

    It is however enabled here:

    http://www.foro.cialar.com/ (IP: 74.86.125.241)

    Those are two completely different machines. The one where phpBB is now is a Linux/Apache machine with PHP 5.2.5. The cialar.com one if IIS.

    I am pretty sure this is a configuration thing with your server, and where you have bbPress installed does not support PHP.

    #3091
    nisus
    Member

    I really like the new theme they are using and was wondering if anyone knew if they had released it or where they got it from?

    Also on a non-bbpress note, how do you turn avatars on in WP2.5? I can’t find it at all. =/

Viewing 25 results - 27,951 through 27,975 (of 32,481 total)
Skip to toolbar