Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 16,051 through 16,075 (of 32,503 total)
  • Author
    Search Results
  • #110911
    Lynq
    Participant
    if ( bbp_has_topics( array( 'post_parent' => $postmeta["forum_id"] ) ) )
    bbp_get_template_part( 'bbpress/loop', 'topics' );

    You see the part about $postmeta["forum_id"] you need to grab the post meta data with <?php $meta_values = get_post_meta($post_id, $key, $single); ?>

    https://codex.wordpress.org/Function_Reference/get_post_meta

    Then once you have all the post meta data in an array you can grab the forum ID and put it in the arguments.

    I’ve followed bbPress’ development off and on since it first came out (aww, when it was a wee thing). It’s made many, many functional improvements since (good job, everyone!), but it’s lacking in the documentation department, and documentation is what has always made WordPress so great and accessible. For bbPress to really become a part of WordPress, even just as a plugin, the documentation needs to be better.

    After so many years in development, I expected there to be more documentation when I gave bbPress a try this time around. Instead, there was a lot of teeth grinding and guesswork on my part, mainly because there’s so much conflicting information about how things work, not to mention all the old information that’s no longer relevant. But I did figure it out (screenshot of my work to prove it!).

    I know bbPress 2.1 is in development and (may be) coming out soon with many new bells and whistles in regard to themes, but I feel for anyone struggling to get the current version to work. As such, I wrote some documentation. Which may or may not be placed in the wrong location of the Codex because there were no instructions for it, either, that I could see. (Sorry, admins!)

    bbPress is still geared to the web-savvy at the best of times, I’d say, so I didn’t try to go into minute detail with all my instructions; rather, I tried to make it clear what should be done for the current version. I hope it helps someone!

    #113818
    DarwinsDream
    Member

    Isn’t there a way to open only one shortcode to be allowed or apply the jwplayer div attributes to my reply-content attributes. It is a shortcode issue. But merely because the shortcode calls the div

    what if i called the div for every reply-content table then if a video was playing it would use the player that was called.

    I’m also looking for another solution to use as a user interface and back end for a media sharing site. To completely replace this issue :( any suggestions? Im’m not leaving bbpress i like it a lot just it’s not working out for soundhampton.com I guess…. Can some one advise me on a solution please?

    #113817
    DarwinsDream
    Member

    Thank you Key Master :) Wish I was the damn gate keeper cause then i would understand what’s going on here. lmao!!!!

    Here is my issue at hand and then I guess I will have to decide whether or not to move forward. I am trying to make a media sharing site that is merely a “forum” of my site ( http://www.soundhampton.com/the_knowledge_forum ) to lead traffic back to my business site ( http://www.soundhampton.com ).

    I was going to use bbpress for the forum side but the more I try and implement it the deeper I get into issues that take me months to figure out. Every issue I have been able to handle except this one.

    John I totally under stand why shortcodes are not allowed. It makes complete sense. I read up on the security issue post you wrote about from day one of this media player issue and did not take your advice :P now…. here I am.

    To be honest I kind of always knew that even if I did get the shortcodes to work. I would have to make changes in the future to secure my forums from shortcodes.

    so, moving forward :)

    Can you guys suggest a proper media sharing community plugin / addition to wordpress I can even point the URL to a different folder. Now Im just rambling.

    I have no clue how to build a plugin :P

    #113815

    Shortcodes are explicitly prevented from working inside of bbPress.

    The reason is because Shortcodes do not care who uses them in what context. If you enable them, all shortcodes will work for all users. This allows all of the bbPress shortcodes to work, inside of bbPress, which enables normal users to embed forums inside of topics and replies. No good.

    You’re on your own if you want to go down this road, but I wouldn’t suggest it. Shortcodes are transparent, and a poor experience for most users (since they are completely invisible in the UI.)

    Instead, I’d recommend building something for bbPress 2.1 (still in development) and write a plugin to tap into the power of TinyMCE.

    #113810

    Try add_filter instead of add_action.

    kirby23
    Member

    I just spent about 8 frustrating hours failing to accomplish a very basic task with bbpress.

    I want my forums & their descriptions grouped grouped by category on the index page. A long jumble of forums on different topics, only ever displayed in “most recently updated” order, or alternatively without displaying the forum descriptions, is totally unusable. I don’t want people to have to hunt through subpages to find which forum is correct to post in for an issue.

    I just want an index page that shows ALL the information: Forum titles, Categories, and Descriptions, for all forums, on a page. In some sort of order that isn’t going to leave the users scratching their heads as to where to find what they want. Is that really too advanced to expect bb software to do?

    Some sort of organization, on the index page, or at least headings, is really a basic feature of, uh, every single forum I’ve ever seen. Organizing information into sensible sections been a fundamental part of information design since… the printing press? The written word? Hieroglyphics? I don’t know. But bbpress’s index page is an unfriendly, unusable mess, and the only feature you provide for grouping forums makes the situation worse, not better.

    I went with a plugin based solution because I didn’t want to sit and code a solution myself. After spending all day on this problem, I am aware that there are complicated, far-over-my-head solutions which may or may not work, telling me I must do things I don’t understand, and which sound to me like they may be wiped out and need to be re-entered every time a theme or plugin is updated.

    I can’t put any more time into this simple need. We have multiple users in my group who are going to be able to create new categories and forums, and it needs to _just_work_ , and display an index that makes sense to users, without hours upon hours of troubleshooting and administration.

    #113809
    DarwinsDream
    Member

    forgot to add this, even with all those changes it doesn’t work…. :)

    but still a little :/ lol

    #113808
    DarwinsDream
    Member

    k, I switched to twentyeleven theme and disabled all my plugins except bbpress and jwplayer for wordpress. I verified the div of the bbpress content box with firefox inspect element and put extra code in my functions.php to compensate for missed div tag code in the functions.php. here is what i put on top on functions.php as an injected php script within functions.php

    <?php

    add_action( ‘bbp_reply_content’, ‘do_shortcode’);

    add_action( ‘entry_content’, ‘do_shortcode’);

    add_action( ‘bbp-reply-content’, ‘do_shortcode’);

    add_action( ‘entry-content’, ‘do_shortcode’);

    ?>

    <?php

    /**

    * slidingdoor functions and definitions

    blah blah blah php blah blah blah

    then also a double attack at the end of fuctions.php is here

    }

    endif;

    add_action( ‘bbp_reply_content’, ‘do_shortcode’);

    add_action( ‘entry_content’, ‘do_shortcode’);

    add_action( ‘bbp-reply-content’, ‘do_shortcode’);

    add_action( ‘entry-content’, ‘do_shortcode’);

    —funtions.php ends here–

    -I see other plugins intereacting fine with short codes ie [video] in my bbpress forum but not [jwplayer] can i attach this in css ?

    -Is there a very messy way to go about this and edit every file in my bbpress plugin folder?

    -Am i better off installing bbpress as stand alone instead of plugin?

    -I’m I going about creating a media based user interactive site the wrong way when choosing wordpress w/ bbpress?

    I’ve literally spent 90% of my time just trying to get what I want to work and edit it so its all tight. This issue is a brick wall and everything is stopped until this issue is resolved. So really am i just going nuts trying to reinvent the wheel?

    Thanks guys…..

    The fix it for payment offer always stands until its fixed. That goes for everyone not you Jared :) But feel free lol

    #113807

    If you are putting it in your theme’s function.php file and it is not working then either the code is wrong or a theme/plugin is doing something wrong.

    #113806
    DarwinsDream
    Member

    Anyone else know exactly where to put this code? I’m using slidingdoor theme. We are willing to pay someone to fix this for my company. I need it done asap!!! I can paypal you the fee. Please contact me at jason@soundhampton.com This is an urgent issue……

    #113851
    stoeffel-media
    Participant

    I dont have a widget area on my homepage, ist is a full with page.

    #110599
    redrudolf
    Member

    I hope as soon as possible, its 97% sooo..:)

    #113850

    The easiest way will be to use the widget that is included with bbPress.

    Just create a new widget area and place it whenever you want it to go on the homepage.

    #113856
    briggsy326
    Member

    Let me try that just now and I will get back to you if it works (or if it doesn’t). ;)

    #113854
    briggsy326
    Member

    Thanks for your response. :)

    At the moment I think I need to create a ‘child theme’ of the bbpress so that any changes will not be affected by a future update – after which, it is time to play with the css. How? I’m not quite sure (yet). ;)

    #113853
    redrudolf
    Member

    Hi!

    Dropbox’s forum is quite nice, I am also trying to make a look-alike forum.

    You have to play with the css :D

    #45149
    briggsy326
    Member

    I’m something of a novice when it comes to bbPress, sorry to say. And although I have spent a fair amount of time searching for how to do what I want to achieve I can not find a way that I can follow!

    I am using WordPress and have installed the bbpress (version 2.0.2) plugin and I want to alter the layout of it.

    I was looking at this link: http://wp.smashingmagazine.com/2011/11/15/getting-started-with-bbpress/

    and currently the layout I see very much looks like this:

    http://media.smashingmagazine.com/wp-content/uploads/2011/10/sm-bbpress-forums.png

    but I very much want it to resemble this (not exactly):

    http://media.smashingmagazine.com/wp-content/uploads/2011/10/sm-bbpress-dropbox.png

    Sorry if this seems like such an obvious thing to do, but I really am at a loss of where to start.

    Thank you kindly in anticipation of any help. :)

    injua
    Participant

    This code is a little unsafe. It doesn’t filter out posts in hidden or private forums. Is this possible?

    #45148
    stoeffel-media
    Participant

    Hello.

    Unfortuantely I couldnt find a plugin for recent posts in bbpress 2.0!

    Does somebody have a clou to find one?

    I dont need this in a widget, I would like to display it in the homepage content area.

    Thx again for your help guys!

    #113839

    I’ll have to take a look and see why it doesn’t use the media settings.

    In the mean time all you need to do is something like

    #bbpress-forums iframe,
    #bbpress-forums embed {
    width: 500px !important;
    height: auto !important;
    margin: 0 auto; /* if you want it centered */
    }

    #45131
    injua
    Participant

    bbPress 2.1-r3920.

    Really think there should be a role setting or a simple off-on setting to turn off akismet checking for logged in users.

    With the current governmental paranoid craziness regarding online privacy. More and more users are turning to proxies or VPN with shared IP. This leads to a lot of ham being caught in the process.

    Hope to see it in the future.

    In the BBP_Akismet class in bbb-extend-akismet.php there are this function with a do_action call. Do anyone know a quick and simple way to turn it off from here with code in functions.php?

    // Spam
    if ( 'true' == $post_data['bbp_akismet_result'] ) {
    
    // Let plugins do their thing
    do_action( 'bbp_akismet_spam_caught' );
    
    // This is spam
    $post_data['post_status'] = bbp_get_spam_status_id();
    
    // We don't want your spam tags here
    add_filter( 'bbp_new_reply_pre_set_terms', array( $this, 'filter_post_terms' ), 1, 3 );
    
    // @todo Spam counter?
    }
    
    #113805
    DarwinsDream
    Member

    btw….. thanks for everything bro :)

    #113804
    DarwinsDream
    Member

    Thanks again man. my functions page does not have the ?> code at the end just the endif; statement so i placed the code in the end of that and still nothing. here is the code I placed with the end of my functions.php page:

    // Prints the string, replacing the placeholders.

    printf(

    $posted_in,

    get_the_category_list( ‘, ‘ ),

    $tag_list,

    get_permalink(),

    the_title_attribute( ‘echo=0’ )

    );

    }

    endif;

    add_action( ‘bbp_get_reply_content’, ‘do_shortcode’);

    Is there another page where that php script continues on it seems to not end in functions.php but like I said i’m not the greatest at PHP. I so don’t want to pay to have this thing finished :( at least if I know that the “allow shortcode” script is in the right place i can see if its a file permissions issue but I dont think it is. What do you think?

    #113825
    Jarret
    Participant

    If I knew more about mobile development I’d gladly help but haven’t yet to learn that so I wouldn’t be of much use :)

Viewing 25 results - 16,051 through 16,075 (of 32,503 total)
Skip to toolbar