Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '+.+default+.+'

Viewing 25 results - 6,276 through 6,300 (of 6,780 total)
  • Author
    Search Results
  • #2729
    goldfiinger
    Member

    Changed my config information & followed the steps at DevLounge

    Now when i try to go to the install page @

    http://the3rdplace.co.uk/home/bbpress/

    I get this error :

    Fatal error: Call to undefined function: __() in /home/the3eco/public_html/home/bbpress/bb-includes/

    default-filters.php on line 81

    This is line 81 :

    bb_register_view( ‘no-replies’, __(‘Topics with no replies’), array( ‘post_count’ => 1 ) );

    Anyone have any advice on what i should do ?

    Many thanks in advance :)

    #62054
    livibetter
    Member

    The workaround won’t work for plugins.

    @sambauers: I think there is no complete working solution if you don’t touch the core files.

    First, load_default_textdomain and load_plugin_textdomain are WordPress version, they only look language files in WordPress directories. So, in bbPress, all text won’t be translated since language file are not loaded because WordPress load_*_textdomain won’t find language files in bbPress’ directories.

    Second, WordPress and bbPress both use default as textdomain when calling __() or _e() without assigning textdomain, that means we can only use either WordPress’ or bbPress’ language files at the same time, not both.

    (edit: plugin’s problem can be solved by add a bb_load_plugin_textdomain, but bbPress’s part. If we don’t want to use something like bb__(), bb_e(), maybe we can try to merge bbPress translations into WordPress’ in runtime? or search bbPress’ first, then WordPress’ if can’t find)

    #62052
    livibetter
    Member

    Sorry, didn’t read bbPress source carefully. Replace first if clause with

    if ( defined('BBLANG') && '' != constant('BBLANG') ) {
    if ( function_exists('load_default_textdomain') ) {
    global $l10n;

    $locale = BBLANG;
    $mofile = BBPATH . BBINC . 'languages/' . "$locale.mo";
    if ( is_readable($mofile) ) {
    $input = new CachedFileReader($mofile);
    $l10n['default'] = new gettext_reader($input);
    }
    }
    else {
    include_once(BBPATH . BBINC . 'streams.php');
    include_once(BBPATH . BBINC . 'gettext.php');
    }
    }

    PS. That “..” is how you put variable to be parsed in string in PHP ( Variable parsing )

    #62045
    livibetter
    Member

    This is a quick workaround:

    if ( defined('BBLANG') && '' != constant('BBLANG') ) {
    if ( function_exists('load_default_textdomain') ) :
    global $l10n;

    $locale = BBLANG;
    $mofile = BBLANGDIR . "$locale.mo";

    load_textdomain('default', $mofile);
    else:
    include_once(BBPATH . BBINC . 'streams.php');
    include_once(BBPATH . BBINC . 'gettext.php');
    endif;
    }
    if ( !( defined('DB_NAME') || defined('WP_BB') && WP_BB ) ) { // Don't include these when WP is running.
    require( BBPATH . BBINC . 'kses.php');
    if ( !function_exists('load_default_textdomain') )
    require( BBPATH . BBINC . 'l10n.php');
    }

    It should drops WordPress’ language file, and replaces with bbPress’. That means translations need to be done in WordPress won’t be translated since this code drops language file. This wont happen when you read your blog. However, I don’t have any language files, so this is coded by guessing.

    This is not a solution, just a temporary fix. I will file a ticket.

    #62025
    dupola
    Member

    thanks chrishajer.

    #62024
    chrishajer
    Participant

    Sounds like you are having a problem with db-mysqli.php. It’s been covered in the forums here (search for threads tagged 745 and you’ll see what I mean) or just look at this recent post:

    https://bbpress.org/forums/topic/installation-errors-every-time-db-issue

    #62026
    chrishajer
    Participant

    It will support a host name, but are you trying to use a port or a socket? I use MySQL servers on different hosts all the time, but they are always on the default port of 3306.

    Can you post the BBDB_HOST line from your config.php?

    Also, you didn’t post the actual warnings: what were those?

    #51694
    edwinfoo
    Member

    The default for this (when an account is created) is unchecked.

    How do I go about changing that so that the default for Favorite Notification is “checked” when the account is created?

    #2706
    dupola
    Member

    I use BBPress 0.8.3 here:http://bbpress.org.ru

    but I can’t see my custom themes even the default theme in the panel.I can only see”Dashboard Users Content “when I login to panel…

    Why?

    Update:My forum has upgraded to 0.8.3 from 0.8.2,I find there add two options about Mysql Datebase in the config.php of the new version(0.8.3) .It set the Datebase CHARSET and COLLATE to utf8.

    Then I created a new Mysql datebase and set the config.php correctly,but when I install it,it said:

    “Warning: mysql_get_server_info() [function.mysql-get-server-info]: A link to the server could not be established in /home/.lewis/okokb/bbpress/forums/bb-includes/db-mysqli.php on line 80”

    then I check the line 80 of the file,db-mysqli.php,it looks seem that the version of my Mysql Datebase must be 4.1.0?

    isn’t it? but my Mysql datebase are all above 4.1.0.

    But I saw that,when I signup with a new Datebase,I can see my custom themes in the panel.

    Now I want to know,if BB require only 4.1.0(the version of the mysql datebase)….

    I’m very sorry about that my English is not good,I hope you can understand what I mean….

    Thanks all.

    dupola

    #61974
    Trent Adams
    Member

    Logins and such are best used with default everything until you know they work. Try the default template again and report back any specific things you have going on there. As well, once you start fiddling with integrating with WP in the config.php it will use the WordPress members. Another thing if you don’t have Akismet setup would be to put:

    $bb->akismet_key = false;

    Trent

    #2682

    Topic: BB Poll Plugin

    in forum Plugins
    Doobus
    Member

    I was wondering if there was a way to make all post have a default poll question. Im starting a freebie forum, where users can submit free stuff they find online, I would like to set each post started to have a simple yes/no poll, like did this freebie offer work? Can this be done?

    #2679
    Doobus
    Member

    Very nice theme, however I am getting this error when I click edit:

    This topic is

    Fatal error: Call to undefined function topic_resolved() in C:wampwwwwrdp2bbp2bb-templatesfeelinggrayedit-post.php on line 35

    I’m not getting this with the default them Kakumei. Suggestions?

    #54421

    In reply to: Add nofollow to links

    livibetter
    Member

    You can simply add that line into bb-includes/default-filters.php

    or

    create your own plugin file with that line.

    #54213
    chrishajer
    Participant

    I wouldn’t put them in bb-templates at all (no good reason for saying that other than “they don’t go there.”) Just drop them into my-templates.

    The my templates folder should be 0755.

    The template folder itself should be 0755.

    The files in the template folder should be 0644.

    (well, that’s what they are in my installation, by default, and they work)

    If those permissions are correct, then is it possible you didn’t create a folder under my-templates? Should be something like:

    my-templates  (directory)
    -crystal (directory)
    - all the php and css for the crystal theme here
    -superbold (directory)
    - all the php and css for the superbold theme here

     

    The other thing is that the style.css needs to have a line in it like this:

    Theme Name: Crystal

    If the Theme Name is not unique, I think bad things happen. At least you see what appears to be a theme of the same name in multiple places in the admin panel. I know WordPress doesn’t like themes with the same name too much, and I suspect bbPress is similarly picky.

    Please post when you find the solution because I am sure it will help other people. Thanks.

    #54212
    viveksivaram
    Member

    I have this issue. I tried to copy the “crystal” and “superbold” themes into

    //bb-templates

    and

    //my-templates

    yet, on the admin console , i only see the default kakumei

    what am i doing wrong? is there some CHMOD issue?

    #61842
    ruilouis
    Member

    I reply to myself (This forum is auto-curative ;P)

    So for the people who are endeavouring the same errors here is the deal:

    * a format specification for argument 1 doesn’t exist in ‘msgstr’ : This error is due to a missing variable in the translated string -> In my case a %s was missing.

    * field `Language-Team’ still has initial default value : This error means that you have to update information in ” Catalog / Settings / Project info ” -> In my case the Project name and version was something like “bbpress trunk”, the Language wasnt defined, nor wad the Country, Charset and Source code Charset. I still do not have info in the Plural Forms but it’s running.

    Don’t hesitate to contact me if you encounter problems with ja.po or ja.mo (Or if you want those files and cannot found them).

    バイバイ

    Rui

    #2663
    ruilouis
    Member

    Hello all,

    I found on this site an address leading to “よくきたBlog” where ja.po and ja.mo files were available. I could use it for my forum but I realize that some part really needing to be modified. I tried then to open the ja.po file in PoEdit, which I managed to do. The problem is that when I try to save the file, it prompt me 2 errors:

    09:57:33: msgfmt: K:..bb-includeslanguagesja.po: field `Language-Team’ still has initial default value

    09:57:33: K:..bb-includeslanguagesja.po:323: a format specification for argument 1 doesn’t exist in ‘msgstr’

    09:57:33: msgfmt: found 2 fatal errors

    When i turn off the “create automatically an *.mo file”, the program save the *.po file correctly. I wonder how I can fix those errors (Cause it seems that the program will not create a new ja.mo file untill those errors vanish).

    Thanks for reading

    Rui

    #60990
    peterwsterling
    Participant

    Matt, the file does exist – it is in the template you are using. If you don’t have one (a template, or a template without this file), bbPress will be using the default one in “bb-templates/kakumei”

    #58224

    In reply to: bbSync

    sheatsb
    Member

    I’m having a couple of issues:

    -Is it just me, or are a few files missing from the package. There are claims in the documents of a

    stylesheet and another file outside of bbsync.php.

    -When I put the <?php bbrepliestext(); ?> tag in my theme, it shows nothing, then I try <?php felbbreplies(); ?> and I get Fatal error: Call to undefined function felbbreplies() in /Applications/MAMP/taos.htdocs/woodfin/wp-content/themes/default/single.php on line 56

    I’ve integrated WordPress and bbPress with the database and plugins. Is there something I’m missing to make this work, because this is a great plugin.

    #2642
    Null
    Member

    Hi,

    I thought there already was a plugin for this, but I can’t find it.

    What I am looking for is a way so the admin can put the forum in undercontruction-mode. Visitors will see a default underconstruction-page until the admin removes it again (with a selection option in the admin?). Very handy when updating a forum.

    _Null

    #49638

    In reply to: Emoticons For bbPress?

    mattpeckham
    Member

    Has anyone been able to get this working with the ‘bbpress-forum’ template (the one that mimics this forum) and bbPress 8.3? I had this working fine in my older install using the default template, but 8.3 seems to break things, and ‘bbpress-forum’ doesn’t have the post-form.php and edit-form.php files.

    #59680

    In reply to: OpenID for bbpress

    baptiste
    Member

    Did anyone find that you could piggyback onto the WordPress integration/authentication when using the OpenID plugin? It didn’t work for me. I had the plugin activated on my WordPress site and was able to login and create users just fine, but bbPress didn’t know about the credentials and wouldn’t login.

    I need to get more familiar with how the integration is working – I thought it would work fine since it created a normal WordPress user record. But it kept saying the userid was unknown… Will probably dig into it later. The WP plugin is great – the persona fill in stuff is very cool. Only quirk was my ‘Display As’ defaulted to the userid even though a name was included. But I digress.

    #61649

    In reply to: Suggestions and misc

    vafaaaan
    Member

    Now .. ive managed to make WP and bbp share same theme. Dont know if its god but it works.. im running right now.

    wp-content/theme/header.php

    <?php
    include(ROOT . '/theme/header-start.php');
    ?>
    <title><?php bloginfo('name'); ?> - <?php if ( is_single() ) { ?> &raquo; Archive <?php } ?> <?php wp_title(); ?></title>
    <?php
    wp_head();
    include(ROOT . '/theme/header-end.php');
    ?>
    <body>
    <?php
    wp_head();
    include(ROOT. '/theme/body-start.php');
    ?>

    my-themes/theme/header.php

    <?php
    include(ROOT . '/theme/header-start.php');
    ?>
    <title>MyWebsite - <?php bb_title() ?></title>
    <?php
    bb_feed_head();

    if ( is_topic() && bb_is_user_logged_in() ) : ?>
    <script type="text/javascript">
    var lastMod = <?php topic_time( 'timestamp' ); ?>;
    var page = <?php global $page; echo $page; ?>;
    var currentUserId = <?php bb_current_user_info( 'id' ); ?>;
    var topicId = <?php topic_id(); ?>;
    var uriBase = '<?php bb_option('uri'); ?>';
    var tagLinkBase = '<?php bb_tag_link_base(); ?>';
    var favoritesLink = '<?php favorites_link(); ?>';
    var isFav = <?php if ( false === $is_fav = is_user_favorite( bb_get_current_user_info( 'id' ) ) ) echo "'no'"; else echo $is_fav; ?>;
    </script>
    <?php
    bb_enqueue_script('topic');
    endif;

    bb_head();
    include(ROOT. '/theme/header-end.php');
    ?>
    <body id="<?php bb_location(); ?>">
    <?php
    include(ROOT . '/theme/body-start.php');
    if ( is_bb_profile() ) profile_menu();
    ?>

    my-themes/theme/footer.php

    <?php
    do_action('bb_foot', '');
    include(ROOT . '/theme/body-end.php');
    ?>

    wp-content/theme/footer.php

    <?php
    include(ROOT . '/theme/body-end.php');
    ?>

    theme/header-start.php

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    <head profile="http://gmpg.org/xfn/11">

    theme/header-end.php

    <link rel="stylesheet" href="<?php echo URL; ?>/theme/default.css" type="text/css" title="Default style" media="screen" />
    <link rel="alternate" href="<?php echo URL; ?>/?feed=rss2" type="application/rss+xml" title="RSS Feed" />
    <link rel="pingback" href="<?php echo URL; ?>/xmlrpc.php" />
    <link rel="EditURI" href="<?php echo URL; ?>/xmlrpc.php?rsd" type="application/rsd+xml" title="RSD" />
    <link rel="wlwmanifest" href="<?php echo URL; ?>/wp-includes/wlwmanifest.xml" type="application/wlwmanifest+xml" />
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
    <meta name="generator" content="WordPress 2.3.1" />
    </head>

    theme/body-start.php

    <div id="wrapper">
    <?php
    get_sidebar();
    // Etc...
    ?>

    theme/body-end.php

    <?php
    // Etc...
    wp_footer();
    ?>
    </div>
    </body>
    </html>

    Hope its all there.. ;)

    URL and ROOT is defined in wp-config.php

    Edit: you can of course cut BODY to include different sidebar wp / bbp :)

    #61547

    In reply to: How Do I Do This?

    chrishajer
    Participant

    For WP header and navigation, or the logo and navigation back to WP, everything you need is in the theme files and the stylesheets. I would make a copy of the default template (create a new folder of a different name, then copy all the files from the stock theme into that new folder, and open style.css and change the Theme Name: Kakumei to Theme Name: ChgoGrrl99), then make your modifications in those files. If you break it, just revert to the stock theme.

    But, adding links, adding the WP header and navigation, can all be done in the theme files.

    #2624
Viewing 25 results - 6,276 through 6,300 (of 6,780 total)
Skip to toolbar