Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 21,776 through 21,800 (of 32,481 total)
  • Author
    Search Results
  • #86025
    chrishajer
    Participant

    Looks like that information is stored in the bb_meta table in the bbPress database, with the following values:

    meta_id: autoincrement

    object type: bb_option

    object_id: 0 (always zero in my case)

    meta_key: these 4

    user_bbdb_name
    user_bbdb_user
    user_bbdb_password
    user_bbdb_host

    meta_value: your database name, user, password and host.

    Screenshot: http://chrishajer.com/bbpress/cloner-userdatabase.png

    HTH

    #85906
    arpowers
    Member

    here’s a second one for ‘deep integrating’ with WP ( our customers struggle with that :)

    http://www.pagelines.com/posts/deep-integration-with-bbpress/

    Wait, is this just an installation procedure or integration procedure?

    First is installing bbPress, second is deep integrating..

    #86023
    cloner
    Participant

    Chris,

    The forum was set up and functoned for years with the split databases. Posts are saved in the bbPress db, whilst users are saved in the WordPress db. Now, for some reason, bbPress cannot read the user info from the WordPress db. I’ve tried to reinstall, but once I’ve completed “Step 1” and click the button to move to “Step 2”, the page is redirected to the forum homepage and I never get an opportunity to get to “Step 2”. I assume the installation script realized that there is already an installation of bbPress present and refuses to go further.

    My questions is, how (in the code) are bbPress and WordPress tied together? What could be fouled up that makes it impossible for bbPress to read the existing user data from WordPress?

    #86068

    In reply to: BBCODE not working

    johnhiler
    Member

    bbPress markup sounds suspiciously like hyper text markup. :-)

    #86067

    In reply to: BBCODE not working

    benbt-japan
    Member

    bbpress markup requires < > not [ ] around the tags.

    #33812
    benbt-japan
    Member

    This new forum has just been installed, but I have noticed – as I write a guide for non-English users of the forums in Japanese – that bbcode does not seem to be working. The url is http://www.language-global.com/language/forums/ but it might be quicker just to tell me if the following bbcode ‘tags’ work on bbpress :

    [ul][li][/li][/ul] & [strong][/strong]

    The message beneath the posting box includes all of those in the list of allowed markup, but none of them are working at the moment. Have also searched the admin area for some control over bbcode but couldn’t find any.

    Very happy with the look and feel of bbpress after wrestling with a certain WP plugin for almost two days without achieving what I have achieved with this forum in one afternoon.

    #86021
    johnhiler
    Member

    What do you mean about the bbPress querying the WordPress database for user data? I thought most posts are showing up as Anonymous?

    If they are different database, then that explains the problem. You want to install both WordPress and bbPress inside of a single database, if they are going to share users. This guide to integration might be useful.

    https://bbpress.org/forums/topic/wordpress-and-bbpress-integration-101

    It’s a bit outdated, but I’m guessing it will give you a nice lay of the land. :-)

    #86011
    cloner
    Participant

    OK…..in bb-config.php, there is a line that reads:

    // of the “SECRET_KEY” in the WordPress file wp-config.php

    define(‘BB_SECRET_KEY’, ‘6koHWRD9d{XOEQ-S5+T[Or|TK[at.G8Qo~s,Z$]n:Yt:Ts%+uVpO.]MI3$’); // Change this to a unique phrase.

    Then, in wp-config.php, there’s a line that reads:

    define(‘LOGGED_IN_KEY’, ‘6koHWRD9d{XOEQ-S5+T[Or|TK[at.G8Qo~s,Z$]n:Yt:Ts%+uVpO.]MI3$’|P]tL’);

    Notice the line in bbpress is missing the characters: ‘|P]tL’

    I don’t know if the ‘ between and | is the end of the phrase and the P[tl is code, or if the whole ‘|P]tL should be added, but it seems odd that they don’t match EXACTLY.

    Reckon this is an issue? I don’t know why it would have changed, but something’s askew.

    #86057

    In reply to: Hidden posts

    guarda-faro
    Member

    I already know that plugin. In fact I found the operative version of the same and I proved it. It has some deficiencies that I did not like. I rejected to use it. I do not understand the reason bbPress does not include the use of static pages. He is not so complicated. On the other hand, I prefer not to use plugins, if I can avoid it. For that reason I prefer to find another form through some function that I can incorporate to the code of my template.

    Thank you

    #77524

    In reply to: All RSS Feeds Broken?

    yoyopop
    Member

    @ kawauso

    I applied the patches suggested via the trac and your comments but my rss feed is still returning invalid in Chrome, Opera and Firefox (in Safari it works fine)

    it does seem to be something wrong with the markup via an extra space in front of the xml declaration somewhere…

    Anyone have any ideas??

    Chrome:

    error on line 1 at column 6: XML declaration allowed only at the start of the document

    Opera:

    XML parsing failed: syntax error (Line: 1, Character: 1)

    Error:XML declaration not at beginning of document

    and it shows a space in front of the initial <? xml

    Firefox:

    XML Parsing Error: XML or text declaration not at start of entity

    Location: /rss.php?topic=2074

    Line Number 1, Column 2: <?xml version=”1.0″ encoding=”UTF-8″?>

    -^

    #85996

    Update: I seem to have gotten it working, by inserting the following code directly to function bb_safe_redirect within functions.bb-pluggable.php, right before the line checking against $allowed_hosts:

    $allowed_redirects = array();

    $allowed_redirects[] = 'offsite-feedback-forum.com';

    $allowed_redirects[] = 'base-blog-url.com';

    $allowed_redirects[] = 'base-blog-url.com/wordpress-installed-directory';

    add_filter('allowed_redirect_hosts', 'add_allowed_redirect_hosts');

    I originally tried to do this from a plugin, as the code above is copied from a handy WordPress plugin, but I was not able to get it to work without sticking it right within the pluggable.php file. If anybody has a better suggestion, I’d love to avoid editing the core files if possible!

    #86002
    johnhiler
    Member

    Three quick questions to help scope out the situation. :-)

    1) Which versions of bbPress and WordPress did you have working together?

    2) What version of WordPress did you upgrade to?

    3) Where did your users disappear – just in bbPress, or also in WordPress?

    Also – is this your forum?

    http://www.mh900e.org/

    #33795
    #33800
    H
    Participant

    I am working on an ajax function, and currently I write a plugin which gives the last post of the logged-in user.

    The post should be displayed using the post.php template of the current theme.

    I try to get the last post from the DB as an object, and give it to the bb_post_template() function, like written below, but that doesn’t work.

    What should I do?

    I have $user = 2 as an example.

    $lastpost = $bbdb->get_results("SELECT * FROM bbpress_posts WHERE poster_id = ".$user." ORDER BY post_time desc LIMIT 0, 1");

    foreach ($lastpost as $bb_post)
    {
    $id = $bb_post->post_id;
    $post = bb_get_post($id);
    if($post)
    {
    bb_post_template();
    }
    }

    #85837

    In reply to: username function

    Ben L.
    Member
    <?php
    $user = bb_get_user( get_post_author_id() );
    echo $user->user_login;
    ?>

    #85965
    leander8728
    Member

    Thanks, it works :)

    #85885

    In reply to: licence agreement

    Kevin Ryman
    Participant

    No problem, Alex! :)

    #85987

    In reply to: How to use bbvideo?

    Kevin Ryman
    Participant

    I haven’t use TinyMCE (for comments) with BBvideo. Why not try using BBcode Lite? https://bbpress.org/plugins/topic/bbcode-lite/ It works with BBvideo.

    #85986

    In reply to: How to use bbvideo?

    johnhiler
    Member

    When I just add a normal YouTube link, the video embed shows up for me when bbVideo is activated!

    But I had to turn off bbVideo, because it didn’t work with TinyMCE enabled and the rich text editor turned on… I guess that extra a href code threw it off?

    #85985

    In reply to: How to use bbvideo?

    Kevin Ryman
    Participant

    Hello there! BBvideo supports 14 video streaming portals. They are listed below.

    Adult website links were removed for this post. However, they are still listed above. ;)

    Example

    All you need to do is copy the video url and paste it in your post. No embed code needed!

    Please read:

    http://neodeviants.com/beta/forum/topic/post-videos

    #74663

    In reply to: Testing Embeded Video

    analytico
    Member

    How to embed video using bbcode ? What syntax?

    #85981
    Gautam Gupta
    Participant

    1) Yes, you’ve heard correct that project is almost dead as no development is taking place for weeks. Also, more chances are that it will be converted into a WordPress plugin (but some methods might be made available to transfer your data from the bbPress install to the plugin).

    2) bbPress 1.0 was almost a rewrite of 0.9, so a lot of code changed and the plugins became incompatible. _ck_, a major plugin developer and contributor to the project left because the project was not getting attention from months. You can check her website – http://bbshowcase.com

    3) Can’t say anything about the timings….

    4) That has been reported in #1181

    #68054
    imcoach
    Member

    Yeah, I’ve just spent the last 2 hours trying to figure this out… At first I thought I was just reading the instructions wrong. I’ve been trying to read into it and plop code randomly. I’ve gone over the instructions as to which file to put where about 5 times……..

    …I’ll let you know if I figure it out, lol.. if I don’t give up shortly and go back to phpbb. ;)

    #85866
    inerxia
    Member

    Thanks, here is the php:

    And one final question , there is a way to reinstall using the same database and directory ?

    <?php
    /**
    * The base configurations of bbPress.
    *
    * This file has the following configurations: MySQL settings, Table Prefix,
    * Secret Keys and bbPress Language. You can get the MySQL settings from your
    * web host.
    *
    * This file is used by the installer during installation.
    *
    * @package bbPress
    */

    // ** MySQL settings - You can get this info from your web host ** //
    /** The name of the database for bbPress */
    define( 'BBDB_NAME', 'organica_foro' );

    /** MySQL database username */
    define( 'BBDB_USER', 'organica_ineFORO' );

    /** MySQL database password */
    define( 'BBDB_PASSWORD', '********' );

    /** MySQL hostname */
    define( 'BBDB_HOST', '' );

    /** Database Charset to use in creating database tables. */
    define( 'BBDB_CHARSET', '' );

    /** The Database Collate type. Don't change this if in doubt. */
    define( 'BBDB_COLLATE', '' );

    /**#@+
    * Authentication Unique Keys.
    *
    * Change these to different unique phrases!
    * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/bbpress/ WordPress.org secret-key service}
    *
    * @since 1.0
    */
    // edited keys chrishajer 19 March 2010
    define('BB_AUTH_KEY', 'gUpvcuMfP+tDsXUus|(|9|/G4Owo@=;C697V[[ZPd+|W)BVK-[U,fi/H2r+VOj');
    define('BB_SECURE_AUTH_KEY', 'sf8;HNH}7%N#_|=$d4(_(yV8Wt&R($kL+)JS@}Kno-Q2jfkOm|BUL-i**&f_Wg');
    define('BB_LOGGED_IN_KEY', 'm}Xc?tvc 3;o)JUVdxDm%F[V96V<+zyka239SbV<^2)o[/tV>Q4&kW$B4ik(NA');
    define('BB_NONCE_KEY', ';k,c^0G4nz9eZS#-cF7((.smjv.GtAz+.WZd<G544PzG.Mz*Cztr]|Gaw:-(!=');
    /**#@-*/

    /**
    * bbPress Database Table prefix.
    *
    * You can have multiple installations in one database if you give each a unique
    * prefix. Only numbers, letters, and underscores please!
    */
    $bb_table_prefix = 'bb_';

    /**
    * bbPress Localized Language, defaults to English.
    *
    * Change this to localize bbPress. A corresponding MO file for the chosen
    * language must be installed to a directory called "my-languages" in the root
    * directory of bbPress. For example, install de.mo to "my-languages" and set
    * BB_LANG to 'de' to enable German language support.
    */
    define( 'BB_LANG', 'es_ES' );
    ?>

    ipunkbali
    Member

    thank you chrishajer. it works!

    But I changed my mind, i prefer latest discussion on top. :)

Viewing 25 results - 21,776 through 21,800 (of 32,481 total)
Skip to toolbar