Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 27,751 through 27,775 (of 32,495 total)
  • Author
    Search Results
  • #60765

    In reply to: PHPBB3 Converstion

    Sam Bauers
    Participant

    Import/Export is being improved as part of a Google Summer of Code project. We will hopefully have some results from that to share by the end of it.

    The basic idea is to create export plugins for other forum software which can export to a standard format. Then we will have one importer to import that standard format into bbPress.

    #63888

    In reply to: upgrade error

    chrishajer
    Participant

    You’re absolutely right. Sorry about that. This is how it was done before the 0.9 release. Now it looks like that option was moved into the database. In the database in the bb_topicmeta table, there is an entry with a meta_key of uri that holds this value. I think that means it was entered when you went through the installation, and gets inserted into the database. I just tried another installation with 0.9.0.2 and that value is prefilled in the form.

    Site address (URL):

    We have attempted to guess this, it's usually correct, but change it here if you wish.

     

    The correct URL was prefilled here. When I clear it out and submit, I get the following error:

    Site address (URL): • This value is required to continue.

    So, for some reason, it looks like this error check did not work for you, or the value that was inserted into the database is not valid. Can you use a tool like phpMyAdmin to look at the database and see if you have a bb_topicmeta table, with a record that has a meta_key of uri and see that the value is? The record is meta_id 3 in my installation.

    If you can’t do that, can you reinstall if you have not used the forum yet?

    Also, I see you’re on IIS. I wonder if there are any differences with hosting there from what I am used to, which is Linux and Apache.

    #64584
    dexter78
    Member

    Hello people, I use bbpress but I don`t know how can I use in posts backticks… :-(

    #3313
    gerikg
    Member

    I would like to put some plugins from bbpress into the WP widget.

    For example: The Simple Online By Thomas Klaiber would be great on a widget.

    If I put the code on WP widget it errors when on WP but comes up when on BB.

    I guess I just need an if-then statement? but I don’t know how to write it.

    #64713
    kernow
    Member

    I unfortunately have the same problem :(

    #63885

    In reply to: upgrade error

    chrishajer
    Participant

    Looks like that comes from bb-settings.php (line 156 in 0.9.0.1):

    // Die if no URI
    if ( !$bb->uri && ( !defined('BB_INSTALLING') || !BB_INSTALLING ) ) {
    bb_die( __('Could not determine site URI') );
    }

    I think that says “If there is no $bb->uri defined AND you’re not installing, then die with this message.”

    So, in your bb-config.php, what do you have defined for $bb->uri?

    #60763

    In reply to: PHPBB3 Converstion

    yazerty
    Member

    Wow, there isn’t any tool to move from phpbb3 to bbpress ? How bad it is :-(.

    I hope there will be soon :))…

    #3310
    Bloggsbe
    Member

    I’ve made a plugin that lets you set your own default gravatar.

    You can also choose to use Identicons, Wavatar or monsterID as the default gravatar.

    You set the size and the rating you want.

    This plugin overrides the built in Gravatar function, but you still have to choose to show the avatars in the standard options page, but all other gravatar options from that page is ignored.

    I’ve tested it on bbPress 0.9.0.2 and 1.0-dev (from trunk), but it should work on all 0.9.x versions.

    You can download the plugin from here.

    I’ve also submitted it to the plugins list here on bbpress.org, and will (hopefully) show up there to :-)

    RG

    #3311
    #64690
    Sam Bauers
    Participant

    It is in bb-includes/plugable.php

    #3308
    harryworld
    Member

    I have successfully integrated TinyMCE to my editor in bbpress, which I found that is so easy.

    However, when doing the submit, TinyMCE submits the HTML code on behind to bbpress. I found that each line TinyMCE created a <p>…</p> tags, but bbpress is not allowing this. Finally, <p></p> comes to the screen when viewing the post.

    Is there any workaround for this?

    #3306
    richcon
    Member

    I updated my web site today to bbPress 0.9.0.2 and WordPress 2.5.1. Cookie integration settings got out of whack and I put them back, but now the two are in conflict.

    I’ve verified (by clearing cookies and watching as new cookies are registered) that both bbPress and WordPress are using the same cookie for login info — same name, path, etc.

    However, when logging into WordPress I am logged out of bbPress, and when logging into bbPress I am logged out of WordPress. So they appear to be using the same cookie and overwriting it as I login to each section.

    Note that the SECRET_KEY and BB_SECRET_KEY definitions in each respective config files are identical.

    The cookie seems to be broken up into three parts: user name, a shortish numerical code (in decimal), and a long hexadecimal code. The name and shortish numerical code are identical between bbPress and WordPress but the long hex code changes every time. Does this help provide a clue?

    #55031
    so1o
    Participant

    i have created the plugin.. people willing to test the plugin out for me please mail me.. aditya at adityanaik point com.

    oh by the way if any one wants to pay me.. by all means :)

    cheers

    #64688

    I would say it possible with a plugin,

    doesn’t exist one already?

    The bb_new_user() function is pluggable,

    so you are able to write your own one.

    #64031
    affacat
    Member

    Not sure what you mean – the code I had above should do what I say it did, it just didn’t do what I wanted.

    That said? I now have it working the way I wanted.

    This code:

    Gets the bbPress avatar, if it exists.

    Checks to see if it’s an Identicon…

    No? Display it.

    Yes? Display Gravatar… but with the URL of the Identicon set as the default in case none exists.

    Problem solved.

    Note: I believe Gravatar recently integrated Identicons as a default setting, so you can probably do this now without Identicons setup in bbPress by modifying the code some. But this works.

    PROFILE.PHP:

    $ava = avatarupload_get_avatar($user->ID,1,1,0);

    if ( avatarupload_get_avatar($user->ID) && !(usingidenticon($user->ID) )) {

    avatarupload_display($user->ID);

    }

    else {

    echo bb_get_avatar($user->ID,48,$ava[0]);

    }

    POST.PHP:

    $ava = avatarupload_get_avatar(get_post_author_id(),1,1,0);

    if ( avatarupload_get_avatar(get_post_author_id()) && !(usingidenticon(get_post_author_id()) )) {

    avatarupload_display(get_post_author_id());

    }

    else {

    post_author_avatar(48,$ava[0]);

    }

    #64636
    _ck_
    Participant

    I suspect this is the the same problem as you or someone else had with a non-standard template with bbpress.

    Make sure in your header.php template that you have

    <?php bb_head(); ?>

    just before the

    </head>

    or bbPress plugins won’t work properly (like you are seeing now)

    #3298
    Janka
    Member

    Hi, i have the bbpress 0.9.0.2 installed.

    I try to enable BBemoticons for Private Messaging Plugin.

    I modified the file bb-emoticons.php add at last line this command:

    bb_add_filter(‘pm_text’, array(&$bbemoticons, ‘convert_smilies’));

    I have add the line:

    <?php bb_do_action(‘bb_grins’); ?>

    into file pm-user-form.php

    And i have add the line:

    <script type=”text/javascript” src=”‘. bb_get_option(‘uri’) .

    ‘my-plugins/bb-emoticons.php?bb_grins_output=javascript”></script>

    before

    </head>

    in the file header.php of template.

    I see the emoticons in the private messages :-)

    but when i click on the smile,

    i see an exception in the javascript :-(

    the plugin run correctly in the normal message of forum.

    Can you help me?

    Thank’s

    #50416

    In reply to: Importing from vanilla

    yes please!

    I’d even be willing to kick in some cash if we want to get together, hire someone to write it, and then donate the code back to the bbpress project.

    #58950
    citizenkeith
    Participant

    I think I need a little help with this one. I’m running 0.9.0.2 now.

    Here’s the section in functions.php:

    function get_profile_info_keys() {
    return apply_filters( 'get_profile_info_keys', array(
    'user_email' => array(1, __('Email')),
    'user_url' => array(0, __('Website')),
    'from' => array(0, __('Location')),
    'occ' => array(0, __('Occupation')),
    'interest' => array(0, __('Interests')),
    ) );
    }

    function get_profile_admin_keys() {
    global $bbdb;
    return apply_filters( 'get_profile_admin_keys', array(
    $bbdb->prefix . 'title' => array(0, __('Custom Title'))
    ) );
    }

    So if I move that section up to get_profile_info_keys, it should look like this, correct?

    function get_profile_info_keys() {
    global $bbdb;
    return apply_filters( 'get_profile_info_keys', array(
    'user_email' => array(1, __('Email')),
    'user_url' => array(0, __('Website')),
    'from' => array(0, __('Location')),
    'occ' => array(0, __('Occupation')),
    'interest' => array(0, __('Interests')),
    $bbdb->prefix . 'title' => array(0, __('Custom Title')),
    ) );
    }

    That pretty much removes everything from get_profile_admin_keys, so do I just take that entire section out?

    Thanks for the helping hand…

    #64568
    hamman
    Member

    No, I didn’t install any SMTP functionality on the server. Like I said, I’m new to this and I guess I didn’t realize when I asked the question last night that I needed that functionality installed.

    After looking through other posts and the code, I think I’ll be able to figure it out. It will work better for me and the nature of the website for the forum to not email the password, but to display it instead. So I am going to go that route. Sorry for any inconvenience.

    #55029
    monstr
    Member

    hm. i’d also like to have such a function… perhaps anyone will code it some time. i don’t think it’s that complicated.. :/

    #64638
    gerikg
    Member

    I’m not a php person but I think it’s <?php search_form(); ?>

    For the main page you have to put it in frontpage.php in the Kakumei folder.

    #49961

    In reply to: En español

    Covi
    Member

    Muchas gracias ggnard ;)

    Yo también empecé a traducirlo pero, a falta de saber si se pueden combinar varios catálogos .po, preferí esperarme a la nueva versión de la traducción. La que hay en el SVN creo que es de la 0.8.3… por eso lo dejé ya que en WordPress el cambio de versiones en algunas ocasiones no era del todo compatible e imagino que en BBPress tampoco :(

    PD: Ahora que caigo… estoy usando la que tenía acabada de la 0.8.3 xDD

    Ya la colgaré también por ahí ;)

    #3294
    benjeewest
    Member

    Hi folks, there seem to be many people out there having similar issues, but I’ve spent all evening looking through for a solution and still no luck.

    I’m trying to do a full integration of bbPress 0.219 and WordPress 2.51, full integration meaning that bbPress should load WordPress functions and vice versa.

    WordPress appears to be playing very nicely and loading bbPress template tags with no problems at all. I’ve done this using

    //BBPress Integration

    if ( !defined('BBDB_NAME') )

    require_once(ABSPATH.'forum/bb-load.php');

    at the very end of my wp-config.php file, as per the tutorial at

    http://www.adityanaik.com/integratepress-part-i/ . As I say, no problem so far.

    It’s when I try to load WP functions into bbPress that I run into trouble. When I’ve attempted either of the following two mods to bb-config.php, it has disabled user login, as well as blocking me from /bb-admin (which re-directs straight back to home). The two mods to bb-config.php I have tried are:

    // WordPress Integration //

    define('WP_BB', true);

    if ( !defined('DB_NAME') ) {

    require_once( dirname(__FILE__) . '/../wp-config.php');

    }

    // **Wordpress Variables ** //

    $bb->wp_table_prefix = 'wp_'; // your wordpress db prefix is

    $bb->wp_home = 'http://localhost/bloomag';

    $bb->wp_siteurl = 'http://localhost/bloomag';

    or simply

    require_once( 'C:testingserverwwwbloomagwp-blog-header.php');

    With both these mods, the bbPress page loads up with no problems but, as I say, both /bb-admin and any attempt to log-in give no response and just redirect to the hompage.

    Has anyone got any suggestions for what might be going wrong and the correct method to call WP functions into bbPress?

    Thanks a lot,

    >Ben

    #64627
    monstr
    Member

    haha jehaw, this rocks! :) thank you

    is there a option that lets you disable the thingy for the topics? i’m using the other plugin flying around here, because i want the topics to be also indicated when you have not posted to them before…

    e: okay, i did this in css now, by simply giving the forums a different class and excluding the style for the topics. well i think there is a better solution somehow :D

    e: the coolest solution would be your plugin having a setting wich you can activate so that the topics & forums are also marked if you didn’t post to them before. perhaps you could do this :)

    thank you alot for this so far. i really was praying someone would do this :)

Viewing 25 results - 27,751 through 27,775 (of 32,495 total)
Skip to toolbar