Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 21,526 through 21,550 (of 32,481 total)
  • Author
    Search Results
  • #87060
    mr_pelle
    Participant

    @cNc: well, I believe my plugin actually is pretty easy to use: you just have to make it able to write on your config file and then activate it. I don’t know how it could be more simple!

    Regarding making it better, sure I will, because it is going to be used in the forum of the company I’m currently having internship in!

    It would be just great to test it in different bbPress installation, that’s why I uploaded it in the repository: I’m waiting for your feedbacks! =)

    #87078

    In reply to: Compatibility ….

    evilgeek23
    Member

    PM , Avatar , Latest discussion , signatures , bbcode , smilies …..

    will i get all these features via plugins , with 0.9 ?

    #86149
    Shivanand Sharma
    Participant

    bforeste: Thanks for pointing that out. (It’s kinda difficult developing, blogging, proofreading and marketing all alone.) :)

    #86148
    bforeste
    Member

    varun – checking out your page now & noticed this first thing in your feature description:

    Character comes with nop-notch SEO tweaked

    I’m assuming you mean: “top-notch”

    ;)

    cheers

    bforeste

    #87124

    Yes it may have been a little different if you did the integration with older releases. The best thing to do is to upgrade WordPress to the latest version, then bbPress, and then do the integration. Rather than integrate the scripts and then upgrade them. :)

    #84333
    Ryan Hellyer
    Participant

    This is now been released as a beta and includes a lot of improvements.

    http://pixopoint.com/products/pixopoint-theme-integrator/

    You can see another example of it in action on the GreekBerry forum (case study). It would be great to see an example of it in use with bbPress too :)

    #34050
    lleger
    Member

    I’ve been trying to delete a post via the XML-RPC API and just haven’t had any luck. I’m communicating fine with the API, sending and receiving works as expected, and the user has correct permissions. Everything else (as far as getting posts and making new posts) is also worked as expected. However, I’m always getting a return value of ‘0’ from the API, even though the post isn’t already deleted. I’m trying to accomplish this from Buddypress using bbPress Live. Any ideas on how to do this?

    My request and response:

    <?xml version="1.0"?>
    <methodCall>
    <methodName>bb.deletePost</methodName>
    <params>
    <param><value><array><data>
    <value><string>forumadmin</string></value>
    <value><string>******</string></value>
    <value><struct>
    <member><name>post_id</name><value><int>59</int></value></member>
    </struct></value>
    </data></array></value></param>
    </params></methodCall>

    <?xml version="1.0"?>
    <methodResponse>
    <params>
    <param>
    <value>
    <int>0</int>
    </value>
    </param>
    </params>
    </methodResponse>

    Here’s the code I added to the bbPress_Live class

    function delete_post( $post_id )
    {
    global $current_user;
    if ( !$delete = $this->fetch->query( 'bb.deletePost', array( $post_id ), $current_user->user_login ) ) {
    return false;
    }

    $key = md5( 'post_' . $post_id );
    $this->cache_delete( $key );

    return true;
    }

    #87148
    Shivanand Sharma
    Participant

    bbPress isn’t going anywhere. If you are worried about the lack of initiative in the direction of development, be assured that it will be also be there in bbPress closing down. :)

    They’ve decided to convert bbPress into a WordPress plugin. But that’s been pending for months now. And when that does happen you’ll sitll have bbPress around. Don’t worry… use bbPress. It’s not got some premium themes and plugins too. The community is working on it behind the scenes.

    #87123
    jakshi
    Member

    Al – I glad that my investigation help somebody :)

    Kevin Muldoon – Thank you, may be it help some people that have trouble with integration. You article about integration very useful and clear. May be difference between my site and site that you setuped – My site has been upgraded from 2.1.x to 2.9.x during using and bbpress was upgraded from 0.9.x to 1.0.x, but you setup new sites.

    #87122

    Hi jakshi,

    I’m surprised you had this problem as I did the integration process several times and never had a problem with this. Not sure if this is something that is caused my a setting on a websites host or something similar. I’ve updated the article with your suggestion though so that others will know to try this solution :)

    Kevin

    #86147
    Shivanand Sharma
    Participant

    Sorry to rush you the info. I must admit that I’m the developer of Character Theme. The site was still being updated and the promos are still being setup as the release was done on 12th April. I’ve included the Demo link on the site so you can find out more about it yourself.

    {I also develop open source but may be Matt is going to ban me for developing Character. Ready to check out the theme now? :) }

    #73891
    timskii
    Member

    Footnote: Due to Wowhead URL changes wowhead.com/?item needs to become wowhead.com/item (just below the edit options section of the code). You can also change wowhead.com/?search to wowhead.com/search , but that’s less critical.

    #57480
    cnc
    Member

    @ vilimaunula….. where did you include this code? in which file? in which line?

    <?php if ($forumpage == TRUE) {

    bb_title();

    echo ” :.: AKN&I”;

    } else …

    to add the forum feed:

    <?php if ($forumpage == TRUE) bb_feed_head(); ?>

    and are you sure this code is right.. for getting bbpress title?

    Thanks,

    cNc

    #86990
    chrishajer
    Participant

    B) won’t work because the database schema changed. You wouldn’t be able to import into the 1.0 database from 0.9.

    Why not create a 0.9 installation with 0.9 database and files, then import all your 0.9 stuff back into the database from a dump (or just hook up the .9 database to an installation of 0.9 files?) Using the stock theme with no plugins, update the files to 1.0.* whatever, then run the upgrade script. Now you have a 1.0 installation with all your old data imported. Then you can bake whatever you need to bake.

    What went wrong with the upgrade last time? (I think I recall seeing a post about it…)

    #34017
    bforeste
    Member

    I have been working on a DEV site for several months now – integrated WP + BB.

    I ran into some issues ‘upgrading’ bbPress from my legacy 0.9 install to the new 1.0.2 release, and the first ‘clean’ way I was able to get it done was to wipe out the bb tables & re-install from scratch.

    I have now got the integration & theme down (thanks gerikg) on bbPress…but I would like to refresh with all my old posts, topics, forums, etc from the 0.9 days.

    My question is approach: Is it better / easier for me to…

    A) Rip out the ‘baked’ 1.0.2 install…go back to 0.9 (files and DB)…and try the upgrade again (assuming I figured out what went wrong…I think I can)

    -or-

    B) Attempt to ‘import’ my 0.9 backup (bb_ tables only) into my current 1.0.2 db?

    Naturally – I’m sure there are other things I’m not considering & maybe some other approaches too. Regardless – I appreciate the suggestions.

    bforeste

    #86146

    It is possible, but honestly, its probably not worth the hassle.

    You either connect to the WP database yourself to test (no integration required), but that can be a bit hit and miss – especially with child themes etc.

    Or you use deep integration to test for the current theme. Which is simple as long as you have deep integration working (which in itself is very hit and miss).

    Bluntly, unless you had a very good reason to do this (and you might, you’ve been v helpful with bbPress recently mate) I’d not take on the challenge. But if you want pointers and some code, lets start a new thread :)

    #87054
    cnc
    Member

    @ chrishajer…. Yes I had made my last 2 posts but I was thinking you delete them.. but its amazing that when I login these post show but when I logout theses post goes hide.. I think its bbpress bug (sorry to say) .. I know you’ll talk about them .. that’s why I saved a screenshot regarding my 2 post.. and you’ll see what happen..

    here is its screenshot

    http://car-n-car.com/array.jpg

    Now what you think? why array happened? I think there was another issue not Akismet matter :)

    =========

    @ gerikg now what should I do? should I show wp header and footer files? and please tell me how can I call bb_head() & do_action(‘bb_foot’) into wp header and footer … and where there place and lines?

    ============

    @ pelle .. Ok dude I’ll try again… :D

    #87050
    gerikg
    Member

    1) That is your header.php and footer.php file in your bbPress theme but you’re NOT using them. You’re using your WordPress theme’s header.php & footer.php. I did a view source on your site and the first two lines after body is:

    <body> <div id="header"> <div id="logo">

    If you were pulling what you pasted before it should of been:

    <body id="xxx"><div id="wrapper"><div id="header" role="banner">

    So you’re not pulling bb_head() & do_action(‘bb_foot’)

    #87049
    mr_pelle
    Participant

    “First Forums” URI is http://car-n-car.com/forums/first-forums// and topics URIs look like http://car-n-car.com/forums/first-forums/topic-name/: there is an / in excess in every URI.

    Nicer Permalinks does not add slashes to topics URIs, so it’s coming from somewhere else…

    Deactivate the plugin, restore your original .htaccess and turn off permalinks. Then re-do everything from the beginning as described in my Installation instructions, trying to see exactly when links do not work anymore.

    EDIT: I also noticed that Forum links in header and footer are different, but they work the same… 0_o”

    #87048
    cnc
    Member

    @ pelle… I tried it again… nothing happened.. still show

    http://car-n-car.com/forums/forums/first-forum

    and

    CAR FORUMS ยป PAGE NOT FOUND!

    Page not found!

    I’m sorry, but there is nothing at this URL.

    what should I do?

    ======================================

    @ gerikg…… here is my header file

    <?php

    $_head_profile_attr = ”;

    if ( bb_is_profile() ) {

    global $self;

    if ( !$self ) {

    $_head_profile_attr = ‘ profile=”http://www.w3.org/2006/03/hcard”&#8216;;

    }

    }

    ?>

    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.1//EN” “http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd”&gt;

    <html xmlns=”http://www.w3.org/1999/xhtml”&lt;?php bb_language_attributes( ‘1.1’ ); ?>>

    <head<?php echo $_head_profile_attr; ?>>

    <meta http-equiv=”X-UA-Compatible” content=”IE=8″ />

    <meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ />

    <title><?php bb_title() ?></title>

    <link rel=”stylesheet” href=”<?php bb_stylesheet_uri(); ?>” type=”text/css” />

    <?php if ( ‘rtl’ == bb_get_option( ‘text_direction’ ) ) : ?>

    <link rel=”stylesheet” href=”<?php bb_stylesheet_uri( ‘rtl’ ); ?>” type=”text/css” />

    <?php endif; ?>

    <?php bb_feed_head(); ?>

    <?php bb_head(); ?>

    </head>

    <body id=”<?php bb_location(); ?>”>

    <div id=”wrapper”>

    <div id=”header” role=”banner”>

    <h1>“><?php bb_option(‘name’); ?></h1>

    <?php if ( bb_get_option(‘description’) ) : ?><p class=”description”><?php bb_option(‘description’); ?></p><?php endif; ?>

    <?php if ( !in_array( bb_get_location(), array( ‘login-page’, ‘register-page’ ) ) ) login_form(); ?>

    <div class=”search”>

    <?php search_form(); ?>

    </div>

    </div>

    <div id=”main”>

    <?php if ( bb_is_profile() ) profile_menu(); ?>


    and here is my footer file

    </div>

    </div>

    <div id=”footer” role=”contentinfo”>

    <p><?php printf(__(‘%1$s is proudly powered by bbPress.’), bb_option(‘name’), “http://bbpress.org&#8221;) ?></p>

    <!– If you like showing off the fact that your server rocks –>

    <!– <p class=”showoff”>

    <?php

    global $bbdb;

    printf(

    __( ‘This page generated in %s seconds, using %d queries.’ ),

    bb_number_format_i18n( bb_timer_stop(), 2 ),

    bb_number_format_i18n( $bbdb->num_queries )

    );

    ?>

    </p> –>

    </div>

    <?php do_action(‘bb_foot’); ?>

    </body>

    </html>


    I’ve convert my wp theme into bbPress

    here is my forums link

    http://car-n-car.com/forums

    ====================

    now what next? help please

    Regards

    cNc

    #87046
    mr_pelle
    Participant

    I’ve just added +FollowSymlinks to nicer-htaccess: I don’t know if this was another config detail missing… give it a try!

    #87045
    mr_pelle
    Participant

    Sorry, you probably misunderstood me: I was trying to say that your URIs http://car-n-car.com/forums/forums/first-forum are different from mines http://my-host.com/my-forum-name/forum/my-first-forum-name not because you chose forums while I chose my-forum-name, of course, but because appended to the forum path I have the word forum while you have forums. That’s not a detail!

    As I said here, it seems that my forum (with just name based permalinks on, no plugins) would look like /my-forum-name/forums/my-first-forum-name too, but in the end it does not! It looks like /my-forum-name/forum/my-first-forum-name, exactly the same as the bbPress forums we are posting on.

    In this very moment your forum URIs look exactly as they should, but they are not working correctly: I’m pretty sure the reason is you did not update nicer-htaccess forum path before activating the plugin.

    Please let me know if this is the problem, in the meanwhile I will update Nicer Permalinks plugin page specifying everyone has to do this before activating it.

    #86969
    Xevo
    Participant

    The minus tells the script to remove the categories from the loop, without it, it tells the loop to focus on only those. It is logical when you think about it. :)

    #86968
    master5o1
    Participant

    Strangely, it works. I suppose I can mark this resolved :D

    #87072

    In reply to: Compatibility ….

    evilgeek23
    Member

    btw , i want these features …

    PM , Avatar , Latest discussion , signatures , bbcode , smilies …..

    what version should i go with ?

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