Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 25,251 through 25,275 (of 32,468 total)
  • Author
    Search Results
  • #73118
    rhammons
    Member

    Looks like the user table’s shared, as I can log in with all the various wpmu users into the forum, I just don’t have any admin privileges. I tried walking through the bb-config changes that are on here, looking especially at the cookie information, and I think I have it all right. Only thing I can’t find is the wp auth cookie code information… where should i find that?

    #72986
    sydarex
    Member

    I’ve solved.

    Listening to _ck_, I’ve worked a little around the settings in the database. I found that some settings are stored in the bb_topicmeta table. There are some records with topic_id “0”. Obviously there are no topics with id 0 – so I deduced that are general settings.

    I’ve just took the values generated by the fresh installation and put them in the old database. Now everything works fine.

    Thank you all for help; particularly to _ck_ that sent me to the right way.

    Bye bye! :)

    #6605
    rhammons
    Member

    Hello, I’ve run into this issue twice now upon trying this. I’ve got WPMU installed on a subdomain, added the BuddyPress plugin, and that’s it. Then I go to add my BBPress as a sub-directory to said subdomain and install it just fine, using the same database – set up an administrator account, etc. I log into it, and try to do the integration to WP, add the secret code, add the cookies line to my wp-config.php, tell it to share users, etc. Once I submit that integration page I’m logged out, and I can’t log in any more with the administrator account i made for BBPress, but I can log in with my WP Admin’s account, but here’s the ringer, I no longer have any administrative privileges – so the BBPress install becomes useless. What do you think I am doing wrong, or should be doing otherwise? My goal is to simply have this forum integrated into WPMU/BuddyPress. Any pointers would be appreciated, thank you!

    #73093
    bruinfelix
    Member

    Maybe when they realse the 2.8 version of WordPress ? ;-)

    #73080
    C Bog
    Member

    i wanted to modify my template, in order to send the user to the last page of the selected topic. (this was before i discovered the topic_last_post_link() function).

    in order to do this, i manually computed the last page number and send it to topic_link() through the $page parameter. nothing happened so i looked at the code and found the error i’ve mentioned. after replacing that line with the one i’ve suggested, everything seemed ok.

    any thoughts?

    #51937

    In reply to: Language

    bruinfelix
    Member

    Strange :-)

    I have a: “nl_NL” mo file in the folder: “my-languages” in the root of my installation of bbPress, and it just works just fine ;-)

    #5187
    C Bog
    Member

    i think that the following line:

    echo apply_filters( 'topic_link', get_topic_link( $id ), $id, $context );

    should be replaced with this line:

    echo apply_filters( 'topic_link', get_topic_link( $id, $page, $context) );

    this is inside the topic_link() function, in functions.bb-template.php file

    i use version1.0-alpha-6 and this line is number 855.

    please correct me if i’m wrong.

    #73064

    In reply to: How apply Do-follow?

    rafael_g_v
    Member

    Sorry I had a mistake whith my direction is http://www.comohacertuweb.com

    and Thank for all.


    I`m newbie and I have a directory “http://www.comohacertuweb.” the theme is open source , freeware software and I want use link do-follow .

    How apply?

    Sorry for my low level of english

    I don´t know where put this thread , sorry if it´s in other section.

    thank for all.

    #5184
    adv_user
    Member

    In this url:

    http://bbpress.org/forums/topic/sub-sub-forums#post-11762

    works:

    -Forum

    -Subforum

    Subsubforum1, Subsubforum2, Subsubforum 3

    But I need to change the style sheet to show:

    <div id="list">

    <div class="forum">- Forum</div>

    <div class=”subforum”>

    – SubForum

    Make a loop to show Subsubforum in the div SubForum and not below

    <div class=”forum”>Subsubforum1, Subsubforum2, Subsubforum 3</div>

    </div>

    <div class=”subforum”>

    – SubForum

    </div>

    <div class=”subforum last”>

    – SubForum – with LAST class.

    <div class=”forum”>Subsubforum1, Subsubforum2, Subsubforum 3</div>

    </div>

    </div> <!– close id “list” –>

    #72802
    grasn
    Member

    @chrishajer, thanks for the code, this one didn’t work for me, but the one on the page top. You can visit my forum http://deadrising2.de/?page_id=84

    If someone wants to know how i made it, I just removed stuff from the bbpress head.php so it looks like this:

    <body>

    <div id=”main”>

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

    and also the first </div> from the footer.php, I also removed the hot tags stuff from frontpage.php. Now I installed embed-iframe plugin for wordpress and modified the iframe.php like this:

    <div class="iframe-wrapper">
    <iframe src="<?php echo $url ?>" frameborder="0" id="youridnamehere" width=100%>Please upgrade your browser</iframe>
    </div>
    <script type="text/javascript">
    function resizeIframe() {
    var height = document.documentElement.clientHeight;
    height -= document.getElementById('youridnamehere').offsetTop;

    <code></code>// not sure how to get this dynamically
    height -= 150; /* whatever you set your body bottom margin/padding to be */

    document.getElementById('youridnamehere').style.height = height +"px";

    };
    document.getElementById('youridnamehere').onload = resizeIframe;
    window.onresize = resizeIframe;
    </script>

    Now I just modified the width of the bbpress style.css for head, main and footer, and also the cols/width of the textarea. I still have a scrollbar if there are more posts on one page, but I can live with.

    Thanks for your help!`

    #73063

    In reply to: How apply Do-follow?

    do follow is the opposite of no-follow, last I heard. Which is amusing since by default, it’s all do-follow ;)

    That link is interesting! Wonder if it actually happened (dated Oct 2007…)

    #73020
    _ck_
    Participant

    There are now three bbPress forums with over a million posts, the leader being Simon and Schuster’s site which appeared so suddenly that I suspect they must have imported their content from another forum that already existed for some time.

    Here are some other ranges by number of posts:

    1,000,000 + 	 	3
    100,000 - 499,999 11
    50,000 - 99,999 22
    10,000 - 49,999 70+
    5,000 - 9,999 70+
    1,000 - 4,999 300+
    100 - 999 1000+

    bbPress is being used in nearly 90 countries/regions.

    Here are the top 50 in order of highest use.

    (note that as we get lower in the list, the higher the chance of inaccuracy,

    some countries/languages are hard to detect)

    1. United States
    2. Germany
    3. Russian Federation
    4. Spain
    5. United Kingdom
    6. Italy
    7. France
    8. Turkey
    9. Canada
    10. Netherlands
    11. Sweden
    12. Denmark
    13. China
    14. Japan
    15. Brazil
    16. Europe
    17. Romania
    18. Poland
    19. Australia
    20. Norway
    21. India
    22. Argentina
    23. Ukraine
    24. Czech Republic
    25. Belgium
    26. Switzerland
    27. Finland
    28. Austria
    29. Indonesia
    30. Hungary
    31. Bulgaria
    32. Montenegro
    33. Iran
    34. Saudi Arabia
    35. Ireland
    36. Chile
    37. Latvia
    38. Niue
    39. Portugal
    40. South Africa
    41. Israel
    42. New Zealand
    43. Greece
    44. Malaysia
    45. Slovakia
    46. Lithuania
    47. Mexico
    48. Thailand
    49. Serbia
    50. Singapore

    #72801
    chrishajer
    Participant

    @tannar, I will only share this with you if you post a link to your forum. I would like to see this working because many people have asked about it, and I’ve never seen it working.

    From here: http://brondsema.net/blog/index.php/2007/06/06/100_height_iframe#c4631

    Add this to the bottom of the page you are including in the iframe.

    <script type="text/javascript">
    parent.window.document.getElementById("youridnamehere").height = document.body.offsetHeight +50;
    </script>

    You need to change youridnamehere to the id of the iframe in your wordpress page. So, if you did something like <iframe src="whatever.php" id="bbpressforum" ... /> you would change youridnamehere to bbpressforum because that’s the id of the iframe.

    Also, the +50 at the end just adds some space to the bottom (it’s probably in pixels I imagine.) You can try different numbers to be sure the forum fits in the frame. I can’t recall exactly what number I started out with there, but +50 worked for my application (not bbPress, BTW.)

    Good luck.

    #5180
    stockefeller
    Member

    My version of BuddyPress has bbPress installed successfully…. with only one glitch. Whenever I login through the WordPress login I get the following error message. If I then hit the back button and visit the site I never see the error again.

    Any ideas why this is happening?

    Thanks

    Byron

    —-error message below


    Warning: Invalid argument supplied for foreach() in /home/content/c/o/s/cossettera/html/wp-content/mu-plugins/oci_bp_group_forums.php on line 346

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/c/o/s/cossettera/html/wp-content/mu-plugins/oci_bp_group_forums.php:346) in /home/content/c/o/s/cossettera/html/wp-includes/pluggable.php on line 856

    #57463
    chrishajer
    Participant

    That is a very clear error message: the system cannot find the file you are trying to include in bbPress. You started the file path with /blog. which is an absolute path, starting at the root /. You will probably have more luck with this:

    require_once( '/home1/endingho/public_html/blog/wp-blog-header.php' );

    The $bb->WP_BB = true; part I am unfamiliar with. But the error is indicating that you have the path wrong.

    #72799
    chrishajer
    Participant

    @tannar: you can make iframes appear without borders, if you like. You need this in the iframe tag: frameborder="0"

    I have heard of a couple people trying it, but I have not yet seen it done. Can you post a link to this when you have it working? Thanks.

    @RichBrown: If you want bbPress to *look* like your WordPress installation, you are going to need to use a bbPress theme that matches or approximates you WordPress theme. There are a couple of matching themes out there for bbPress and WordPress. What versions of bbPress and WordPress did you install?

    The best way I know of right now to integrate the look of bbPress with the look WordPress is to create a theme for bbPress that looks like your WordPress theme. We’re spoiled with so many good themes for WordPress right now, and not so many for bbPress. We’re not used to creating themes; we’re used to installing themes (at least that has been my experience with WordPress.) bbPress is not quite there yet in terms of popularity and community support (i.e. themes and plugins.)

    I don’t believe you can make bbPress live inside a WordPress page: bbPress is not a forum plugin for WordPress. And I have not yet seen the iframe hack work.

    #71046

    Hey guys, I really recomend you to stop trying to make 2.7 work with BB alpha.

    Use the undergrade cookie plugin to wordpress and everything is resolved. It’s so simple that you don’t need to do nothing.

    Besides that, you will be able to use CK plugins without any problems and be able to make a much safer upgrade when 1.0 is released.

    Sorry for english :)

    #72969
    bruinfelix
    Member

    I dont have facebuddy installed ;-)

    #72968
    nicolagreco
    Member

    facebuddy is a css make up ( so it’s not a new bp theme :) )

    it means integrating the default one, you’ll have facebuddy theme working :)

    #67241
    nicolagreco
    Member

    cookie integrations are available on wpmu 2.7 (or above) :)

    #73012
    chrishajer
    Participant

    Looks like you are using an Apache web server. If that’s the case, edit the .htaccess file in the root folder of the website, and make the index page for the site whatever you want. It might look like this is you want a static page home.html to be the home page for the domain:

    DirectoryIndex home.html index.html index.php

    That says “look for a file called home.html first, and serve that if it’s present. If not, look for index.html next and then index.php.” It’s good to have at least two in there, so if the first one is not present, it can fall back on the second one.

    If you host does not allow this override in the .htaccess, then you will need to do something different. This is the easiest way. Post your results after you try it.

    #72967
    bruinfelix
    Member

    I even have managed to insert the ‘buddypress admin-bar” (with some functionality, not all!) in my theme :-)

    So, it still has need some any further development ….

    _ck_
    Participant

    Here’s a mini-plugin that will allow higher roles to skip akismet, if you turn the throttle bypass on for any member, they will also bypass akismet with this:

    <?php

    /*
    Plugin Name: Skip Akismet
    Description: Allow moderators, admin and specified roles to bypass Akismet filter
    Author: _ck_
    */

    // add any other custom roles to this list
    $skip_akismet=array('moderator','administrator','keymaster');

    add_action('bb_init','skip_akismet');

    function skip_akismet() {
    global $bb_current_user,$bbdb;
    if (empty($bb_current_user->ID)) {return;}
    $capabilities=$bbdb->prefix."capabilities";
    $role=reset(array_keys($bb_current_user->data->$capabilities));
    if (in_array($role,$skip_akismet) || bb_current_user_can('throttle') || bb_current_user_can('moderate')) {
    remove_action( 'pre_post', 'bb_ksd_check_post', 1 );
    remove_filter( 'bb_new_post', 'bb_ksd_new_post' );
    remove_filter( 'pre_post_status', 'bb_ksd_pre_post_status' );
    }
    }

    ?>

    #72925
    Tecca
    Participant

    Oh, how dumb of me. I just needed to remove &amp;#8212 ; from the line. =)

    EDIT: Apparently the code above keeps changing even between backticks.

    #73007
    _ck_
    Participant

    ah it needs the topic id, sorry, try this

    <?php  remove_action('topicmeta','bb_polls_pre_poll',200); bb_polls_pre_poll($topic_id); ?>

Viewing 25 results - 25,251 through 25,275 (of 32,468 total)
Skip to toolbar