Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 25,276 through 25,300 (of 32,481 total)
  • Author
    Search Results
  • #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); ?>

    #73006
    Dave
    Member

    Thanks ck, much appreciated. I’m glad you like it. Thanks for all the great work on bbpress.

    It very nearly works :-) The polls show up correctly, but also this error:

    Warning: Missing argument 1 for bb_polls_pre_poll(), called in /home/content/b/l/o/blogdave/html/forums/bb-templates/blank2rbbpress/topic.php on line 11 and defined in /home/content/b/l/o/blogdave/html/forums/bb-plugins/bbpress-polls/bb-polls.php on line 47

    #73005
    _ck_
    Participant

    Very nice clean layout, I like it alot.

    The poll puts itself by default wherever the topicmeta is, however you can change that. Just a guess, untested, try putting this near the top of your topic.php template:

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

    #5160
    #72989
    chrishajer
    Participant

    svn is short for “subversion” a version control system:

    http://en.wikipedia.org/wiki/Subversion_(software)

    “The latest SVN” means checking out the latest version of the code using the software called subversion. You can do that instead of downloading and unzipping, and it makes upgrades and modifications easier as well.

    #72893
    _ck_
    Participant

    There isn’t any site “larger than recommended” for bbPress ;-)

    There is a bbPress site with nearly 2 million posts and another with 8 million users, so there aren’t any limits.

    I’ll look at the approve plugin and see how hard it is to make work with 1.6

    #72869

    Thanks _ck_,

    It worked perfectly!

    #57461
    bruinfelix
    Member
    #72839

    Awww Jeeeaaaah…. :D

    #72977
    _ck_
    Participant

    A fixed list of avatars would be easy to do, you just upload them yourself into a folder you decide and then have php do a glob of the files in that directory and present them to the member as a form with a radio select. Whatever they chose gets written by name to the user metadata.

    Then you just need simple code in the display post template to show their chosen avatar.

    It would be much safer and faster than other avatar methods.

    #72966
    bruinfelix
    Member

    I started with the ‘default’ buddypress theme, that comes with the package, as i may think it is more generic and easier to study on how things are done ;)

    And thats why i choose the ‘blue’ things .. ;)

    But, first thing first .. Just altering and tweaking the buddypress them a lot right now, and the next step whould be the bbpress theme, so it matches ;)

    #72965
    zeronix
    Member

    Thats great to hear.

    I also love the original theme but selected the Facebuddy because it looks more professional.

    Maybe you try it out and use it too.

    Anyways, if you´d convert one of these themes you´d be my god :)

    #72964
    bruinfelix
    Member

    Currently i’am working on a own BuddyPress theme, based on the original theme provided by the BuddyPress developers. And yes, it will include a matching bbPress theme ;)

    http://wordpress-blog.nl

Viewing 25 results - 25,276 through 25,300 (of 32,481 total)
Skip to toolbar