Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 16,126 through 16,150 (of 32,581 total)
  • Author
    Search Results
  • #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 :)

    Nicola
    Member

    Sorry for another post since I can’t edit above. I got rid of the share plugins that were causing the problem.

    Still seeing the buddypress notice though.

    andrea.ressell
    Participant

    Hi there.

    I desperately need threaded discussion and I have installed the plugin for this, but it’s not displaying correctly :-( The reply links for each post are there, but there’s no indentation.

    I’m using WordPress 3.3.2 with BuddyPress and the Frisco theme, which is a child theme of BuddyPress Default 1.5.5.

    Any suggestions?

    Nicola
    Member

    Update:”I was then able to select the new forum page as the forum in buddypress and remove the notice.” – sorry this is wrong.

    It was still causing the redirect problem so I had to select the buddypress page as ‘none’.

    Which means I’m still getting the notice of “The following active BuddyPress Components do not have associated WordPress Pages: Discussion Forums”.

    Nicola
    Member

    I installed BBpress via Buddypress – site wide forums.

    I then set up up the slugs and the forum was working fine. I have a theme that already includes styling in the style.css file so customising colours and such wasn’t a problem. However I wanted to have the ability to add other content to the page which I couldn’t as the forum page didn’t actually exist in my wordpress pages.

    I then noticed a message saying “The following active BuddyPress Components do not have associated WordPress Pages: Discussion Forums”. After I created the page named forum and associate it with the forums, it stops working in the front end when navigating to my site and redirected to the homepage. So within the created Forum page I added this shortcode

    [bbp-forum-index]

    I was then able to select the new forum page as the forum in buddypress and remove the notice.

    The forum is now still located at mysite.com/forum which is great. I prefer this method I want to have the ability to add content to the created forum page as I said above.

    But now the forum page seems to have added in the share and twitter plugins and I’ve no idea how to fix this! please help.

    http://stylereaction.com/forum

    #113701
    Lynq
    Participant

    Yes you can use bbp_has_forums() and pass it some arguments to filter the query. for example something like:

    if ( bbp_has_forums( array( 'posts_per_page' => 1, 'max_num_pages' => 1 ) ) )
    bbp_get_template_part( 'bbpress/loop', 'forums' );

    This will filter the loop depending on what arguments you pass bbp_has_forums. I am not too sure on what filter or action you could use that to get that working on all queries.

    Default arguments for bbp_has_forums.

    // The default forum query for most circumstances
    $default = array (
    'post_type' => bbp_get_forum_post_type(),
    'post_parent' => bbp_is_forum_archive() ? 0 : bbp_get_forum_id() ,
    'post_status' => implode( ',', $post_stati ),
    'posts_per_page' => get_option( '_bbp_forums_per_page', 50 ),
    'orderby' => 'menu_order',
    'order' => 'ASC'
    );

    No problem for helping btw, I try to help as much as I can, I may just get in the way sometimes :p

    #113822
    Jarret
    Participant

    Running Win7 and checked in latest release versions of Chrome, Firefox, Safari, IE and Opera.

    The only issue I can see is in IE and Opera as you mentioned and from clicking around it looks like there is just an issue with the ad in your sidebar.

    It doesn’t appear to have any clear: right/both; applied to it so it sits to the left of the searchform. I applied

    style="clear: right;"

    to

    <div align="center">

    and it fixed the issue in both IE and Opera.

    #113803

    Pull up the functions.php in you *WordPress* theme (not bbPress theme) – place that snippet at the very bottom. Right before ?> if your file has it.

    :)

    #113774
    Stephen Edgar
    Keymaster

    bbPress out of the box will not support [shortcodes] so JW Player will not work in forum posts.

    If you want to enable [shortcodes] in bbPress topics & replies then give this a try.

    https://wordpress.org/extend/plugins/bbpress2-shortcode-whitelist/

    And then install a ‘whitelist supported’ video player eg.

    https://wordpress.org/extend/plugins/vipers-video-quicktags/

    #113802
    DarwinsDream
    Member

    here is my issue with jwplayer in a nut shell—

    working video player

    (tested on my 404, because no one should be there anyway):

    http://www.soundhampton.com/404_page_not_found

    non working video player

    (inside forums shortcodes not being read):

    http://www.soundhampton.com/the_knowledge_forum/topic/why-its-important-to-research-your-business-and-domain-name

    #113801
    DarwinsDream
    Member

    Thanks Jared :D you have no clue how good it is to have you on my side on this one hahaha

    I saw You and John write that exact answer on another post and my lack of knowledge in actual hand PHP scripting cause me to kill my site wich is about 70% bbpress i killed my functions.php so i had to download a new version of bbpress and replaced the files i touched with new ones.

    I am positive (*crosses fingers*) that this do_shortcode script will work for me.

    Main Issue: I have NO clue where in the functions.php to put it, can you give my sad non PHP reading butt an example of where it should go or would you like me to post my functions page here.

    One more question:Do you mean my wordpress theme folder or my bbpress theme folder.

    As always Jared you my friend are the freaking man and thank you :)

    #113800

    You should be able to put that snippet (running do_shortcode on the bbP content) in your theme’s function.php file – that’s the safest place :)

    DarwinsDream
    Member

    Wow i had no clue anyone was here in this bbpress forum, seems like everyone is posting on this topic. There are other topics going too guys. Like one’s that haven’t been addressed in 5 days… just saying :P

    John?

    Jared?

    Anointed?

    Can someone please take a look at my most recent topic that I posted. While waiting for an answer Ive crashed my site twice(worse than i ever had before) bringing it back twice and then rebuilt it totally again once in about 48 hours. I really need some help. I soooo don’t want to do a complete redesign in a new platform, but that is an option that has crossed my mind. I’m so happy with my wordpress/bbpress site. But I need to get this video player working.

    Jason Dadarria

    Executive Director

    Soundhampton Technologies

    NY,NY

    http://www.soundhampton.com

    http://www.soundhampton.com/the_knowledge_forum

    #44664
    sonld89
    Member

    Dear all, I have a wordpress website and in website have a bbpress forum. I want comment in a topic of website sort by post date desc but reply in a topic of forum sort by post date asc.

    I was config “Setting -> Discussion: Comments should be displayed with the newer comments at the top of each page” and add filter:

    add_filter( 'bbp_has_replies_query', 'bbp_reverse_reply_order' );
    function bbp_reverse_reply_order( $query = array() ) {             
    
                // Bail if no query
    if ( empty( $query ) ) return;
    
                // Change the order
    $query = 'ASC';
    
                // Return the adjusted query
    return $query;
    }

    BBPress order reply when query the replies by post date asc but when paging the replies is sorted by post date desc on a page.

    Please help me resolved this issue. Thanks!

    #110934

    In reply to: Appearance submenu

    rexgoode
    Member

    Use add_submenu_page( ‘themes.php’, … ); See https://codex.wordpress.org/Function_Reference/add_submenu_page.

Viewing 25 results - 16,126 through 16,150 (of 32,581 total)
Skip to toolbar