Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress'

Viewing 25 results - 21,801 through 21,825 (of 26,895 total)
  • Author
    Search Results
  • ganzua
    Member

    That is with bbPress 1.0 right? the object_type is for 1.0

    Yes, it is bb 1.06a with wp 2.7 :)

    I tried with get_var and I get the same error for get_var;

    Fatal error: Call to a member function get_var() on a non-object in….

    but then I changed $bbdb for $wpdb and it works. Why? I don’t understand this.

    #4986
    dphs
    Member

    Hi,

    There is an answer to this question posted a year ago, but when I open the header.php file from my bb-templates/kakumei folder all that is there is “>”. I tried adding the code there, but it deleted the header. Is it located in another place?

    I’m using bbpress 0.9.0.4 and wordpress 2.7.1.

    Thanks!

    _ck_
    Participant

    That is with bbPress 1.0 right? the object_type is for 1.0

    You get nothing using get_results because it returns an array – use get_var instead

    <?php
    global $bbdb;
    $result=$bbdb->get_var("SELECT SUM(meta_value) FROM bb_meta WHERE object_type='bb_topic' AND meta_key='views'");
    echo $result;
    ?>

    #72382
    dphs
    Member

    Hi,

    I ended up deleting everything and then starting over. It seems to be ok now. I don’t understand however, why when asked to use my wordpress login to login to the forum, I am told the login failed. Can you explain?

    Thanks!

    ganzua
    Member

    I need more info than “didn’t work”

    Fatal error: Call to a member function get_results() on a non-object in wordpress/wp-content/themes/mytheme/header.php on line 149 (line where I placed the code)

    Try replacing $bbdb with $wpdb

    no error but what I want is to query bbpress data base. Whenever I echo $results there is no answer.

    #64254

    In reply to: Norwegian translation

    Bloggsbe
    Member

    Norwegian translation of 0.9.0.4 -> here

    Norsk oversettelse av 0.9.0.4 -> her

    Rune

    Norsk WordPress og bbPress forum

    _ck_
    Participant

    I need more info than “didn’t work”

    Try replacing $bbdb with $wpdb

    ganzua
    Member

    and remember to use $wpdb on WordPress pages, vs $bbdb on bbPress pages

    I want to query $bbdb from a wp page. In particular, I want to fetch the total amount of views from your bb Topic Views plugin. This code didn’t work;

    <?php
    global $bbdb;
    $results=$bbdb->get_results("SELECT SUM(meta_value) FROM bb_meta WHERE object_type='bb_topic' AND meta_key='views'");
    $results=$bbdb->get_results($query);
    ?>

    WordPress is installed in /wordpress/ and bbpress in /wordpress/bbpress/ both deep integrated. What’s missing?

    #64931
    trouwen
    Member

    I’m going to try this today! I hope it works, because I love WordPress and BBpress..

    #66144
    andyimages
    Member

    Thanks Ann, so far so good…..no problems on that end.

    #72386
    chrishajer
    Participant

    If you undo the integration (don’t include WordPress inside the bb-config.php) does it still happen?

    Also, are you using a language other than English?

    #72388
    chrishajer
    Participant

    What version bbPress are you using? Is it integrated with WordPress, and if so, what version? Are you using a language file other than English?

    #4981

    When I post code samples in my bbPress install, all quote marks show up like this:

    &quot;

    This includes when I use backticks and/or buttons. Neither work.

    For instance, when I post this code:

    <div class="box">This is a box</div>

    It becomes:

    <div class=&quot;box&quot;>This is a box</div>

    I am using the beta version of bbPress with WordPress integration. I have deactivate all plugins and switched themes, so I know it is a problem with my bbPress code.

    Thoughts?

    [code] buttons. Neither work.

    For instance, when I post this code:

    <div class="box">This is a box</div>

    It becomes:

    <div class=&quot;box&quot;>This is a box</div>

    I am using the beta version of bbPress with WordPress integration. I have deactivate all plugins and switched themes, so I know it is a problem with my bbPress code.

    Thoughts?

    #72381
    chrishajer
    Participant

    What versions did you integrate? What bbPress or WordPress plugins have you installed?

    #71830
    chrishajer
    Participant

    oops johnjamesjacoby: must have missed your reply a month ago. I am using the Fold Page List plugin for WordPress. I suspect those classes come from that.

    http://www.webspaceworks.com/resources/wordpress/30/

    #71829
    westy808
    Member
    #71828
    westy808
    Member

    Chris-

    I am attempting to build a VERY similiar navigation to what you have linked to. As in, tabs along the top and a growing tree down the side, with the current tab selected for child pages. Could you expand a bit on your previous post on how you achieved this?

    -Westy

    #68016
    jdavey
    Member

    Thanks Chris,

    Simple mistake. I just had an extra folder in there somewhere!

    #4980
    #68015
    chrishajer
    Participant

    You have the URI to the site wrong somewhere, I think. Your forum is here:

    http://gpsobsessed.com/forum/bbpress/

    But I think you want it in one of these two places:

    http://gpsobsessed.com/bbpress/

    http://gpsobsessed.com/forum/

    So, somewhere it’s gotten mixed up. At the full URI, the path to the stylesheet is wrong as well, which is why it looks so strange there.

    #66143
    superann
    Member

    Btw, when you do cookie integration please keep in mind that there are some login hooks in pluggable that might not be called in either WP or bbPress depending on which side your user logged in from. This might affect the functionality of some plugins.

    For example, after rerouting all my bbPress logins to WP I realized that the ‘bb_set_current_user’ action hook on a bbPress plugin I used was no longer being called, so I had to incorporate it in on the WP side using the ‘set_current_user’ hook.

    #4080
    #66142
    andyimages
    Member

    Got the problem…..when copying the secret from the options.php in wordpress to enter into the WP INtegration in BBpress, on submit bbpress (or something) was stripping the final character off the secret string. I checked this twice to make sure it was happening, and then edited the record by just pasting in the “).” Voilla. Ann’s cookie worked!

    #66141
    _ck_
    Participant

    Do not even “try” the alpha as you can then never go back to 0.9

    Many plugins will not work with the alpha and won’t for some time.

    You want to downgrade the wp cookies. Use Ann’s plugin.

    #66140
    andyimages
    Member

    CK I installed the plugin with the salt keys, etc……and there is evidentally a little progess as the cookies do not conflict as before, but the integration hasn’t worked either. Not sure what the issue is but in the docs there are not a precise definition of the secret key. Is the database secret key that you refer to the key I have defined in the config, php that holds the database name, password, etc…..or is that the “secret,” randomly derived string that is listed through options.php as “secret”? Also, since I am using .9, where exactly are the bbpress integration settings in wp……there was a new-plugin, but that was for 1. alpha, right…..not for .9?

    Excuse me because I am new to this, but does it make sense for me to upgrade to the alpha version, is that easier to integrate? Or do I want to go the other direction and downgrade the wp cookies.

    Thanks in advance>>

    Andy

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