Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 28,426 through 28,450 (of 32,492 total)
  • Author
    Search Results
  • #62248
    nook77
    Member

    I had wordpress installed, i removed WP and uploaded BBPRESS to the same directory, put in my mySQL info, and it worked. I havent changed any setting,

    but, i have actaully changed this already to fix another problem:

    Your error *sounds* like this one:

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

    Site Management section under admin.

    Warning: Invalid argument supplied for foreach() in D:domainsrcct.bizwwwrootcrookedhook.netforumbb-adminplugins.php on line 7

    I have installed the online list plugin, and the print password to screen plugin. Could it be one of theses? If i check the forum, all the blugs are working properly.

    I think it could just be my very raw install of bbPRESS, maybe I just have to change a few settings.

    I’m running the latest version of BBPRESS

    Any help is most appreciated

    That fixed that one particular problem, but im still having the same problem with

    #58827
    ajg
    Member

    There is no additional space nor new line in front of the <?xml version="1.0"?> line in rss2.php

    This file is identical to the default (kakumei) theme rss2.php file

    I deleted the “old” and replaced it with the one from kakumei folder.

    And yes, I did upgrade to a newer version. ;)

    —-

    Update:

    It’s fine now. :)

    We had this _blah.php file in my-plugins dir that had just a typed space in it. I deleted it and now the rss feed is fine.

    Thanks for all your help

    I deleted the space from file and it’s fine now.

    #62222
    mazdakam
    Member

    hum such a good news some one finnaly wants to do what i want :)

    #62266
    mvh
    Member

    :) nice.

    btw, was it hard for you setting up pretty permalinks?

    #2756
    nook77
    Member

    Hey everyone I get this ERROR, when I try to open the Site Management section under admin.

    Warning: Invalid argument supplied for foreach() in D:domainsrcct.bizwwwrootcrookedhook.netforumbb-adminplugins.php on line 7

    I had a similar one after I upgraded, but I found a post with some code…after I put the new code in, everything worked.

    Any PHPers out their that can help?

    Cheers

    #62183
    delphinoy
    Member

    thanks! i hope i can make this work :( :)

    #60661

    In reply to: dutch translation

    Olaf Lederer
    Participant

    The dutch bbpress forum on wordpress is not very active :D

    Providing complete translations for a software in this stadium is very difficult…Prutser (cool nick name) you are on the way to become the most important contributor for the dutch translations :D

    #62217
    Olaf Lederer
    Participant

    I mentioned the DP (Digital Point) forum ;)

    #62215
    Olaf Lederer
    Participant

    Hi Filippo,

    I don’t think that someone will convert a theme for free, check the DP forums, there are a lot of good WP theme coder (some of them could be able to do this job for ~50usd)

    #62197
    Olaf Lederer
    Participant

    deactivating the AI plugin is the solution here…

    #62212
    Olaf Lederer
    Participant

    Hi just tried this code but therer is “is_forum_category()” function in my install (ver 0.83).

    Is this a new one for the next version?

    #62196
    Olaf Lederer
    Participant

    Thanks for pointing me on this, I will check the code from this plugin.

    btw. is there some plugin to use bb code instead of html elements?

    #62211
    Simon99
    Member

    Using latest trunk code, but bb_head works fine in combo with add_action here.

    #62210
    fel64
    Member

    bb_head appears to be a filter.

    #62209
    intellivision
    Participant

    Hmmm still not working. Something’s strange because even this doesn’t show:

    <?php
    /*
    Plugin Name: test stuff
    */

    add_action('bb_head', 'my_add_test_tag');
    function my_add_test_tag() {
    echo '<!-- testing here -->';
    }
    ?>

    I’ve tried activating/deactivating these plugins, and I’ve tried 2 browsers to ensure it’s not cache I’m seeing. Grr.

    #62208
    Simon99
    Member

    is_forum() doesn’t take any arguments, so I believe you’d have to use the global var $forum, like so:

    <?php
    /*
    Plugin Name: noindex stuff
    */

    add_action('bb_head', 'my_add_noindex_tag');
    function my_add_noindex_tag() {
    global $forum;
    if($forum->forum_id == 3) {
    echo '<meta name="robots" content="noindex" />';
    }
    else {
    echo '<!-- please do index -->';
    }
    }
    ?>

    #62207
    intellivision
    Participant
    <?php
    /*
    Plugin Name: noindex stuff
    */

    add_action('bb_head', 'my_add_noindex_tag');
    function my_add_noindex_tag() {
    if( is_forum(3) ) {
    echo '<meta name="robots" content="noindex" />';
    }
    else {
    echo '<!-- please do index -->';
    }
    }
    ?>

    I modified it a bit to see both conditions… but neither are showing up in my source. Any thoughts?

    I did see it in the plugins control panel, and activate it.

    #62204
    fel64
    Member

    What forum categories?

    You want a plugin like this:

    <?php
    /*
    Plugin Name: noindex stuff
    */

    add_action('bb_head', 'my_add_noindex_tag');
    function my_add_noindex_tag() {
    if( is_forum_category() )
    echo '<meta name="robots" content="noindex" />';
    }
    ?>

    That’s off the top of my head, so it may not work without some modification, but that’s what I think the structure needs to be. You’ll need a different conditional tag than is_forum_category(), probably is_forum() if you just wanted to not index forum pages.

    #52874
    Radja
    Member

    I have also problem with translating singular/plural forms that are handled in source code by __ngettext.

    in poEdit (version 1.3.7) I put __ngettext:1,2 to recognise both forms ( singular/plural), but when I try to translate them poEdit refuse to work and returns error:

    17:56:32: C:Documents and SettingshodisDokumenty13jazyk.po:2236: missingmsgstr[]’ section

    17:56:32: msgfmt: found 1 fatal error`

    So, is something wrong with poEdit?

    #62195
    fel64
    Member

    It’s a bug.

    I’ma guess you have Allow Images? At least for me, without AI backticks work fine, with AI they don’t – I guess one of the code handling functions is broken by AI.

    #2747
    Olaf Lederer
    Participant

    Hi,

    according this post form I have to put code between “Backticks”.

    This will not work (at least on my website), if I use the backticks most from the post will disappear. To show code I use the “code” html element, this works fine until I edit the post after submission. bbpress will replace the code tags with backticks.

    Is this a bug or a php limit? (I remember me somthing with the backticks and php)

    #62193
    Olaf Lederer
    Participant

    hehe, Trent that was easy thanks :)

    In the meantime enjoy:

    Moderator New Post Notification

    #2748
    Simon99
    Member

    I’ve recently enabled the hard cache, to see how it handles on a test forum with only a few users. The first problem I’ve come across has been an error with $bb_cache->get_forums() – the array it was returning when cached was 0, instead of containing the forum ids.

    I fixed it by a simple reversal of the sections of code within the get_forums() function in cache.php:

    $forums = (array) $bbdb->get_results("SELECT * FROM $bbdb->forums $where ORDER BY forum_order");
    if ( $this->use_cache && $normal && $forums )
    $this->write_cache(BBPATH . 'bb-cache/bb_forums', $forums);

    $_forums = array();
    foreach ( $forums as $forum )
    $_forums[(int) $forum->forum_id] = $bb_forum_cache[(int) $forum->forum_id] = $forum;

    After reversing them (the above are their original positions), I then made sure the write cache line was using $_forums, instead of $forums.

    No idea if this may have other consequences I’ve yet to unearth, but I thought it may be worth noting here.

    I’ve also used the “load all options” function from wordpress as a basis for creating a global array containing all topicmeta options. By default (even with cache enabled, although maybe I’ve missed a setting), there were several calls to to topicmeta, whereas only one was really required.

    #57269
    fel64
    Member

    You might find that it makes your designing easier if you use

    p + p {
    margin-top: 1em; }

    That’ll add a 1em margin to the top of every p immediately following another p. I find that helpful because then it’s easier to style the blockquotes and such without having to account for the p around it.

    #2743
    flschen
    Member

    Now the first theme is online. The first I created. Västervik is a simple theme and still in development status. Although it should work and works here quite well. :-) I am thank- and grateful for any hints and clues… You can get the theme here: http://dev.floeschen.ch/

Viewing 25 results - 28,426 through 28,450 (of 32,492 total)
Skip to toolbar