Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 21,801 through 21,825 (of 32,495 total)
  • Author
    Search Results
  • #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. :)

    #84900
    paulhawke
    Member

    @crosescu – there’s an interesting argument that would say more people would use wordpress (and for that matter bbPress too) if the codebase werent a monolithic structure. For instance, the ability to swap out user authentication to do single-signon against a Kerberos server rather than the built-in user-auth, or against the code in Mediawiki, should I want to integrate there. My hope is that merging yet more code in wont cause the entire house of cards to collapse around our ears.

    #84899
    Cristian
    Member

    It makes perfect sense for making bbPress a plugin for WordPress.

    Now that WordPress MU code has been merged into WordPress 3.0 making bbPress a plugin should be even easier. bbPress already barrows a lot of code from WordPress anyway and also bbPress uses the exact same database tables (ie taxonomy tables)

    A lot more people would be using bbPress on their WordPress powered websites if the issues related to the integration of the two separate login systems no longer existed and people were also able to easily use the same theme they have on their blog.

    The standalone bbPress should probably stay but i think bbPress would be used by a lot more people than it is now if it was made a plugin.

    #85958
    Arturo
    Participant

    create a new kay and change it to bb-config and wp-config

    go to bbpress wp integration and check again the key… follow the step

    after this download and install bbpress integration for wordpress plugin add the code to your wp-config file

    i’ve followed this step with my 2 site wp-bb and all works good with wp last version and bbpress 1.0.2.

    #85835

    In reply to: username function

    Arturo
    Participant

    in profile.php i’ve found this <?php echo get_user_name( $user->ID ); ?> but in post.php don’t print nothing… i don’t know bbpress very good to recreate the function :(

    any idea for a simplest way?

    thanks!

    #85516

    In reply to: Toggle Forums

    Guys how to make such menu? You Can explain to me?

    I will be very grateful to you! =)

    #85894

    In reply to: Username

    leander8728
    Member

    Does anyone know’s the tag for the Nicename of the Login name? And not the Display name (with this tag: bb_get_current_user_info(‘name’);)

    #33779
    dboze
    Member

    I’ve seen some threads here and there that suggest its just a matter of using the header and footer code from your wordpress theme and applying it to your bbpress theme.

    I’m a real disaster when it comes to doing a whole lot with code. I can only edit and rearrange it. I have no experience with writing any code.

    I was wondering if there was anyone more experienced with performing this that I could send the needed wordpress theme files to and maybe I could receive some help with the process?

    I am willing to pay for help if needed, I appreciate such generous help.

    Contact me at dbozeman2 @ gmail.com

    #85940
    dboze
    Member

    I realized it was still acting up so I followed the rest of the directions and now it doesn’t work AT ALL :(

    #85939
    dboze
    Member

    It was one of the first problems listed there, I had my blog URL including the www. and my forum one did not. Changed it and it fixed it :)

    Thank you, that topic should be in the documentation for sure!

    #85937
    dboze
    Member

    So these two work.. (logout on forum and it logs out on site) (login on forum and it logs in on site)

    The “logout” link on the website won’t work when logged in on the forum as well.

    The one most important one (login on site and it logs in on forum)

    does not work either :(

    #85915
    chrishajer
    Participant

    You just want the text removed so it doesn’t show, even if people can still use it? If so, just edit your template files post-form.php and edit-form.php and remove the line that says:

    <p><?php _e(‘Allowed markup:’); ?> <?php allowed_markup(); ?>.
    <?php _e(‘Put code in between backticks.’); ?></p>

    If you actually want to change that or prevent the use of those tags, then you need to add a filter.

Viewing 25 results - 21,801 through 21,825 (of 32,495 total)
Skip to toolbar