Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 8,851 through 8,875 (of 32,519 total)
  • Author
    Search Results
  • #161829
    regevkamber
    Participant

    this is the code to disable it for the comments

    remove_action( ‘set_comment_cookies’, ‘wp_set_comment_cookies’ );

    #161827
    Robkk
    Moderator

    how did you disable it in the comments form , im sure the code will be similar.

    Robkk
    Moderator

    allows only admins and moderators to use shortcodes

    https://wordpress.org/plugins/bbpress-do-short-codes/

    allow any user to use shortcodes

    https://wordpress.org/support/plugin/bbpress2-shortcode-whitelist

    riccetto80
    Participant

    Hi!

    i set up a gallery in media uploader, inserted it in a topic i have in bbpres forum…

    the gallery not work, instead of show the thumbnail and the image, show the gallery code:

    [gallery link="file" ids="535,536,537,538,539,540,541,542,543,544,545,546,547,548,549,550,551,552,553,554,555,556,557,558,559,560,561,562,563,564,565,566,567,568,569,570,571"]

    the same code in article, pages etc, work just fine and visualize the gallery, only in bbpress pages seems to not work.

    wordpress last version, bbpress last version.

    myrko
    Participant

    In the php-template displaying the forums, I want to check if the current forum/topic/… displayed is below a certain bbpress subforum/category.

    The purpose of this is to show different wordpress menus depending on if the user is looking at the english part or the german part of the forums.

    My question is: Is there a php-code to handle this?

    Like:

    if (we are under the german category) display german menu; 
    else display english menu;

    Thanks! 🙂

    #161800
    hazedesigns
    Participant

    For anyone using the Warp framework from yootheme I found the resolution to compatibility issue that I was having:

    Copy all the files from the plugin core across to the theme folder as if you want to override every single one of them. The locations are explained here: https://codex.bbpress.org/theme-compatibility/

    That’s it – now bbPress works seamlessly with my warp7 based WordPress site!

    #161798
    Chad R. Schulz
    Participant

    I actually found the info/code I needed elsewhere:
    add_filter('bbp_admin_replies_column_headers' , 'custom function'); and
    add_action( 'bbp_admin_replies_column_data' , 'custom function', 10, 2 );

    Odd that this particular custom post type must go against the grain and use a non-standard naming scheme for the admin columns. I guess that’s just the bbpress way;)

    Thanks for a great forum plugin and being a great community.

    Chad

    #161790
    novicechess
    Participant

    Thanks for the reply Robkk! I’ve removed the Mojo Marketplace, and I plan on removing the “password recovery” tab relatively soon as well.

    The code I’ve added that I intended to have a site-wide effect is as follows:

    .site {
    	background-color: white;
    	max-width: 1260px;
    	position: relative;
    	margin: 0 auto;
    }
    
    .primary-navigation a {
    	font-size: 16px;
    }
    
    #container {
    	width: 690px;
    	padding: 30px 30px 0;
    }
    
    #content {
    	width: 400px;
    	margin-left: 200px;
    }
    
    .singlecol #content {
    	width: 550px;
    	margin-left: 200px;
    }
    
    .tag-links {
    	display: none;
    }

    I used it to expand the container of all the posts on the site, so they wouldn’t look narrow, but I’m not sure if that somehow broke the forum.

    #161783
    Chad R. Schulz
    Participant

    I’m trying to add sortable columns into the backend using
    add_filter('manage_reply_posts_columns' , 'custom function'); and
    add_action( 'manage_reply_posts_custom_column' , 'custom function', 10, 2 );

    I was able to add thes columns to ALL custom post types except replies/topics.

    Are Replies/Topics somehow handled differently than other Custom Post Types in WordPress?
    Is there a workaround/fix/patch that I can use to get this working?

    Not mission critical, just curious and love learning how machines work:)

    Thanks,
    Chad

    prospurring
    Participant

    Hi there! I am completely new to bbPress and forums. Assume I know nothing.

    What I would like to do is set up individual, forums between myself and a client. Let’s say I have 7 clients: A, B, C, D, E, F, and G. I’d like to create a forum between myself and client A, that clients B-G can’t see. And a separate forum between myself and client B, that client A and clients C-G can’t see. And so on. (And I’d like to have a main forum that all clients A-G can see, but I figure that’s much easier.)

    How would I go about setting up a forum for each individual client, that no one else can see? Are there plugins I would need? Code to hack?

    Thanks in advance for your assistance!

    #161781
    crzyhrse
    Participant

    Something related to this that I wanted to do, ad because I finally found the answer I want to put it here for others to maybe find…

    To remove the url link fro all author instances in bbPress but leave the author names intact you can put this in the child theme’s functions.php:

    /* Remove link urls from forum author instances...
    */
    add_filter( 'bbp_get_author_link', 'remove_author_links', 10, 2);
    add_filter( 'bbp_get_reply_author_link', 'remove_author_links', 10, 2);
    add_filter( 'bbp_get_topic_author_link', 'remove_author_links', 10, 2);
    function remove_author_links($author_link, $args) {
    $author_link = preg_replace(array('{<a[^>]*>}','{}'), array(" "), $author_link);
    return $author_link;
    }

    It was found here: http://www.digitspeak.com/web/wordpress/remove-bbpress-forum-profile-url-link/#comment-440

    Robkk
    Moderator

    @darkoned12000

    i think this CSS should fix your issue.

    there might be more areas for this to be added like on profile topics started and such , so i recommend looking through your style.css file and find lines similar to these and fix them so they dont affect bbPress as harshly.

    contact your theme author about help with this if you want.

    follow these two guides to make your theme fully compatible with bbPress.

    https://codex.bbpress.org/theme-compatibility/getting-started-in-modifying-the-main-bbpress-template/

    https://codex.bbpress.org/theme-compatibility/

    .single-forum .enigma_blog_post_content img,
    .forum-archive .enigma blog_post_content img,
    .topic-archive .enigma blog_post_content img {
      max-width: none !important;
    }
    .single-forum .avatar-14,
    .forum-archive .avatar-14,
    .topic-archive .avatar-14 {
      display: inline !important;
    }
    .single-forum .author_detail_img,
    .forum-archive .author_detail_img,
    .topic-archive .author_detail_img {
      width: auto!important;
      height: auto!important;
      float: none!important;
      margin-right: 0!important;
      margin-bottom: 0!important;
    }
    #161758
    Robkk
    Moderator

    also do this since it helps some users.

    https://codex.bbpress.org/theme-compatibility/

    #161756
    Robkk
    Moderator

    Mybe it is coded so closed topics are excluded from topic query?

    i just closed a topic in an empty forum , i didn’t see anything like this.

    Are you seeing anything that should be in a blog post in your bbPress forums.

    You did do all of the general issues troubleshooting steps?? like switch to a default theme and deactivate all your plugins except bbPress to find something conflicting??

    #161749
    Robkk
    Moderator

    You can follow the last entry i added to the very bottom.

    it should help with most of the topic icons.

    Layout and functionality – Examples you can use

    i will put how to use CSS at the bottom later.

    but the category/forum icons you might need a custom way to list the forums , im going to need more time on that.

    your CSS is wrong too .

    you can use these as examples

    .bbpress a.forum-title:before {
      font: normal 16px/1 'Fontawesome';
      content: '\f07c';
      margin-right: 5px;
      float: left;
      padding-top: 3px;
      color: #222;
    }
    .bbpress a.forum-link:before {
      font: normal 16px/1 'Fontawesome';
      content: '\f016';
      margin-right: 5px;
      float: left;
      padding-top: 3px;
      color: #222;
    }
    #161747
    comixfreak
    Participant

    I am using most current WP with a theme called news code. I have installed bbpress and after a brief search I found creating a bbpress.php file in my child themes directory might work. It has not and I am able to post new topics to the forum, however I cannot view any of the topics as shown in the image.

    If anyone can lead me in the right direction I would appreciate it. Thanks!

    Image

    #161746
    Robkk
    Moderator

    only thing i can recommend really is backup your site a few times then perform an upgrade to the latest version to see if that fixes the issue.

    also make sure you have the latest version of WordPress.

    and that your theme is upgraded to the latest version with and make sure you follow these guides if theme compatibility just doesnt work anymore.

    https://codex.bbpress.org/theme-compatibility/

    heres a guide for backing up your site
    https://codex.wordpress.org/WordPress_Backups

    #161743
    Robkk
    Moderator

    you can use the bbpress shortcodes

    codex.bbpress.org/shortcodes/

    but it will only affect that one page not the rest of the other ones.

    i suggest creatng a bbpress.php file , these two guides will help

    to find the file bbPress uses you can use the What the File plugin.

    https://codex.bbpress.org/theme-compatibility/getting-started-in-modifying-the-main-bbpress-template/

    https://codex.bbpress.org/theme-compatibility/

    Robkk
    Moderator

    You should follow this guide too, some users say that throwing all the templates into a child theme resolves theme issues too.

    https://codex.bbpress.org/theme-compatibility/

    #161727
    Robin W
    Moderator

    if you only have one forum, then use

    [bbp-single-forum id=$forum_id] – Display a single forums topics. eg. [bbp-single-forum id=32]

    and don’t use the index

    #161721
    hazedesigns
    Participant

    2nd finding:

    The answer was in the codex!

    https://codex.bbpress.org/theme-compatibility/

    This page explains the way to make copies of the files from the plugin directory into the theme directory and/or subdirectories in the theme directory for the purpose of customising those templates. Turns out that the only problem was that warp7 couldn’t find them in their default location within the plugin folder, so simply copying the /wp-content/plugins/bbpress/templates/default/bbpress folder into the /wp-content/themes/my-theme/ folder and then copying the files from /wp-content/plugins/bbpress/templates/default/bbpress/extras/ into the /wp-content/themes/my-theme/ folder seems to have rectified all issues! Yet to test completely but this is looking good – I was praying for an easy fix! Thanks so much to Robkk for pointing me in the right direction!

    #161719
    hazedesigns
    Participant

    Thanks Robkk, I will have a look at that what-the-file plugin and a look at the codex documentation and see what I can find. I’m really stretching my skills here so it’s interesting and informative but not always making much progress!

    I have traced some of the files involved in the page displays with warp7, it is pretty complex and convoluted! Basically so far I have it mapped out a bit like this:

    request > index.php (calls ‘warp’ system) > template.php (loads in the widget positions etc including calling for the content) > filtering to decide what kind of content ‘content’ is (ie page, archive etc) ##### AT THIS POINT BBPRESS TAKES OVER AND STARTS MAKING THE SPECIAL BBPRESS CONTENT #####

    > if still with warp, goes into styles > layouts > individual override templates

    > if now in bbPress goes into bbPress.php then to the bbPress template files, but somewhere here some of it gets lost!

    I could of course be completely wrong, I have never dissected a theme this thoroughly, let alone something of the complexity of the warp framework!

    Thanks for the offer of inspecting the theme for me, that would be great! As the website is live I can’t provide access to that site but I’ll get a version up and running elsewhere and not live and I’ll send you admin details. Hopefully there is a fairly simple solution that can be shared with others who are suffering this problem! Up until this hurdle I had nothing but love for the warp7 framework, now there is a bit of a cloud over it in my mind if it is indeed responsible for these issues. Whizz-bang features are great but not at the expense of overall integration with existing plugins etc!

    I will be in touch with login details!

    goldstatusuk
    Participant

    Hello

    I have been trying to find out a way to change my forums page title for about 10 hours now. I have created a forums page and added the forum index shortcode. I then added the title on that particular page using seo by yoast.

    But it does not change the title.

    Its so frustrating

    Any help would be much appreciated

    website: http://bit.ly/1Q3Zr1f

    #161706
    jesse09
    Participant

    Hey guys and gals

    Hope all is well!

    First off, thank you taking the time to help, it’s appreciated.

    I’ve started to build a wordpress blog ( Fat Burner Depot ) It’s wordpress 4.2.1, if that helps.

    I’ve seen a site where bbpress loads into a standard static wordpress page. Shouldn’t I be able to copy and paste the index code into the body of the page text? Just as long as the paths to the rest of bbpress files are right? Is there a better way to go about this?

    Anyone can help me out?
    Thank you!!

    #161702
    Robkk
    Moderator

    Really appreciate the response, I get NOTHING from yootheme which is a bit sad 🙁

    yeah ive seen quite a couple people not get support on their end for this common issue.

    i had a user with the similar issue say that the first wp fix resolved the issue they had with the warp7 framework.

    for now you can install this plugin and find the file your forums are using for bbPress.

    https://wordpress.org/plugins/what-the-file/

    then maybe copy that into a child theme and rename it to bbpress.php from it and remove any unwanted code.

    this guide will help hopefully

    https://codex.bbpress.org/theme-compatibility/getting-started-in-modifying-the-main-bbpress-template/

    you can also create an admin account for me so i can check out your theme files and see how to fix this. send the login details to my email.

    robkkdev.wordpress.com/contact

Viewing 25 results - 8,851 through 8,875 (of 32,519 total)
Skip to toolbar