Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 16,076 through 16,100 (of 32,503 total)
  • Author
    Search Results
  • 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.

    #45087
    DarwinsDream
    Member

    I cant get my jwplayer shortcode to work in bbpress. I am aware of the shortcode issue in bbpress. But I need all shortcodes to work in bbpress. Security is not an issue at this point.

    I tried the (get_shortcode)code in the theme fuctions.php file with no result. Not really sure if I was supossed to put it in the wordpress theme or the bbpress theme. Maybe im writing the code in the wrong spot, I’m not the strongest on php my strengths are html, css, and design. This issue has been a thorn in my side for about a week. So if anyone can tell me exactly where to place the–

    add_action( ‘bbp_get_reply_content’, ‘do_shortcode’);

    php script so I can get this thing flowing, I would def owe you a buck.

    also i get an error when i try and install shortcode whitelist and bbcode

    #113255

    In reply to: URL detection fails

    Torsten Landsiedel
    Participant

    Great! Works like a charm … :-) Thank you for fixing!

    #113698
    Lynq
    Participant

    You can copy and paste a current loop file and rename to something like loop-custom-forums.php then when you want to call that loop you can use:

    <?php bbp_get_template_part( 'bbpress/loop', 'custom-forums' ); ?>

    Good luck!

    #112167
    Lynq
    Participant

    If you learn to copy function names and do a search for them through your whole bbpress plugin folder, you can pretty much find out how anything works, this is how I worked this out. Think I had to go through a trail of 5 or 6 files until I worked it out :)

    This is great advice for anyone wanting to customize their bbPress. I have found out many different bits and pieces by doing exactly this.

    demonboy
    Participant
    May I ask:
    I am looking at simple:press versus bbPress. So I am interested in: WHY would you like to go for bbPress over simple:press?

    I can answer that. SimplePress have just started charging for their support! My wife was encouraged by the developers to use their new version 5 when she was looking for a forum plug-in to her WordPress blog. Just when she was up and running they started charging and coincidentally she developed a bug in her forum at the same time after an update. She did not even receive notification that this was going to happen. I’m pretty disappointed with them for not telling her this was in the pipeline because she would have taken this into account and we’d have gone for BBPress in the first place.

    She is so desperate now she’s almost at the point of paying for the support to sort the problem out but I would rather manually migrate to another forum just on principle.

    We have tried contacting the developers at SimplePress but they are not interested.

    #113779

    In reply to: Register on Multisite

    murrayac
    Participant

    Tried the shortcode [bbp-register] it still redirects.

    #113682
    jjman
    Participant

    I’m using the bbpress 2.1 and the inclusion of the fancy editor was really great. Thanks for your job!

    @sniper kitten, is there a quick way to add the smiley button to the editor?

    I was looking at the code but can’t see work it out. Some help would be appreciated.

    :)

    #112166
    rorymorris
    Member

    I just had to work this out for myself too…

    I think you can use this wherever you need to in your topics loop or template / whatever..

    <? $curTopicStatus = bbp_get_topic_status( $topic_id );
    if($curTopicStatus == 'publish'){ ?>

    This topic is still open

    <? } else { ?>

    This topic is now closed

    <? } ?>

    If you learn to copy function names and do a search for them through your whole bbpress plugin folder, you can pretty much find out how anything works, this is how I worked this out. Think I had to go through a trail of 5 or 6 files until I worked it out :)

    #45046
    DarwinsDream
    Member

    Hi, I just downloaded the licensed version of JW Player. I have it working fine on my websites main pages but not in bbpress. The div tag for the player is called in

    as such:

    <p style=”text-align: center;”><div id=”jwplayer-1-div” class=”Soundhampton Player”>

    <div id=”jwplayer-1″></div>

    When I post a video in Buddy Press the 2 Plugins don’t seem to be interacting. All i get is the shortcode posting in my forum.

    as such:

    [jwplayer config=”Soundhampton Player” mediaid=”1754″]

    Can someone please tell me how to call the jwplayer div tag into bbpress in PHP? I think I understand what is happening, I just dint know how to get JW Player called into bbPress. Ive already checked the bbpress forum with no luck. This seems to be a first. Ive been researching this and tweaking my site for three days now.

    Here is the working JW PLayer —-

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

    And the non working one in Buddy Press


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

    Thank you very much in advance for you help.

    jason@soundhampton.com

    #45014
    Milan Petrovic
    Participant

    GD bbPress Toolbox Pro is a new premium plugin from Dev4Press.com to expand bbPress plugin powered forums. Plugin adds attachments, quotes, BBCodes, signatures and much more.

    Plugin prices starts from $39.00, and fore the next 2 weeks (until June 11 2012) you can get additional 20% discount:

    GD bbPress Toolbox:

    http://www.gdbbpbox.com/

    Release announcement:

    http://www.gdbbpbox.com/blog/releases/gd-bbpress-tools-pro-1-0/

    Get 20% discount:

    http://www.gdbbpbox.com/blog/news/get-20-discount-until-june-11-2012/

    #113739
    Lynq
    Participant

    I forgot you might need to grab the current user id, depending on where you are trying to use that code.

    <?php bbp_user_profile_url( bbp_get_current_user_id() ); ?>

    I just tried it and it works perfectly in my header. Good luck.

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