Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 10,001 through 10,025 (of 32,519 total)
  • Author
    Search Results
  • #155417
    Robkk
    Moderator

    its probably because the way you have it setup it is not in the header.

    maybe this will work

    a.bbp-forum-permalink, 
    a.bbp-topic-permalink, 
    a.bbp-reply-permalink {
    display: none;
    }

    if it doesnt try to look into the source code with inspect element and find a selector to put the before each a. link

    #155411
    xprt007
    Participant

    Hi

    The recipe plugin seems to have had separate issue in addition as its links where not accessible at the expected urls according to default settings.
    That was dealt with.
    Around that same time as I was first using that plugin & also setting up the bbpress forum is when I noted something wrong with bbforum forum at /forums.
    That is when I turned to bbpress.
    It seems to be the case as I found after repeated testing the other day as I now need to finish the site & hence visiting the issue again, that if you install bbpress first & use default settings, and later after activating recipepress reloaded,the recipe plugin links do not work.
    I also discovered that if on the other side you deactivate bbpress, the existing recipe plugin links work.

    So to sum it up, this specific issue is still there, as described above.
    If it was possible to use the short code method you suggested & still be able access bbforum settings from its admin page, etc, I would settle for that, but the time I last tried settting up a forum, I got the impression one has to use shortcodes all thru, with no equivalent centralized settings page, which made it rather complicated to administer the forums & have an overview.

    Of course better would be if there was no apparent conflict.

    Regards

    #155409

    In reply to: Replies can't be seen

    kannued
    Participant

    Stephen, this was news as whenever I looked in import before, there was nothing referring to bbpress. So I checked out here, https://bbpress.org/forums/topic/import-bb-data-from-csv-file-to-bbpress-forum/. I reset everything to WP 4.0.1, and bbpress 2.5.4. and tried to follow through your instructions. But mapping fields was way too complicated for me since I would put down post-id but there wasn’t another column with a “map to”. I was ready to go back to bbconverter as the only problem I had was html code in the topics and replies which I would have to strip. Minor, as my old forum is not very big, but still tedious enough.

    But then I tried this. I reset everything to WP 3.6 and bbpress 2.0.2. Checked the Tools > Import, and what do you know, there was a bbpress standalone link! Following through I converted everything over. Reviewed the test site: forums, topics, replies, voices, users, tags, and any stray html code in posts. WOW, everything was there, exactly where it should be, with exact content duplicated!

    For any integration on bbpress standalone into wp, I highly recommend integrating with WP 3.6 and bbpress 2.02.

    Robin W
    Moderator

    The underlying questions may be perfectly valid, since I am not clear about what you want I can’t say..

    I suggest you post a new topic, and rather than post vague what you don’t like suggest what is needed.

    On the speed front, the next release does have some plans to improve performance.

    On nodal, finegrained permissions , I presume you have seen

    https://codex.bbpress.org/bbpress-user-roles-and-capabilities/
    https://codex.bbpress.org/bbpress-user-roles-and-capabilities/

    so please detail what further fine graining you would like

    On ‘serious security’ again please specify what you see as needed, and what is lacking

    #155400
    xprt007
    Participant

    Hi

    I’m back after a while. 😉
    After a lot of research, enabling, disabling this & that, I discovered this issue only comes up if the recipepress reloaded plugin is activated.

    It is recommended for the main recipe page to be at /recipes.
    If you first install this, then whatever you do, bbpress will not be accessible at the recommended & preferred /forums.
    Instead as explained above, if you try to access the forums at /forums, whereas the url remains correct & pointing to /forums, the content of the blog front page is loaded & if I remember well, any latest forum content appears listed as one of the normal blog posts!

    I tried however to uninstall bbpress & disabled all other plugins, including the recipe plugin, then re-installed bbpress. The set up run normally & the forums were accessible at /forums. When I reactivated recipepress reloaded, all its links, including /recipes returned a page not found error. It is only when bbpress is disabled that the recipe pages are accessible again.

    Conclusion: both plugins cannot run together, at least with default settings (?).

    Quite perplexed regarding what to do next since the site has to shortly go online & both the recipe & forum sections are integral partS. I cannot put off the issue any longer.

    In suggestion above, you suggested an alternative solution of using shortcodes.
    I discovered at the that the forum I created, or at least it seemed works independent of the settings on the bbpress settings & admin pages & everything had to be done with shortcodes(?), or is there a possibility of an equivalent central admin area?
    Or am I mistaken?

    Ideally, a solution to the apparent conflict between the 2 plugins would be great, but if it cannot be gotten (any time soon/at all), is there any equally easy way to manage forums created via shortcodes?

    Some further guidance would be very much appreciated.

    Regards

    #155313
    Robin W
    Moderator

    Sorry for delay in replying – have been v. busy lately !

    bbpress has a rich set of capabilities which you can use to create custom roles – read the attached and you should be able to create roles to suit your needs

    Custom Capabilities

    https://codex.bbpress.org/bbpress-user-roles-and-capabilities/

    #155311
    Dirk
    Participant

    Hello,

    I recently started to use bbPress v 2.5.4 with WP v 4.0.1.
    Everything worked fine until I changed the user_login in of a user in the mySQL database, who had the bbPress moderator-role and started two forums before.
    Now this user (and every other „moderator“) can´t see the menu-item „forum“ in the Dashboard anymore. Any other bbPress-role works like it should.
    As a workaround I created a testpage with the shortcode [bbp-forum-form] and tried to start a new forum as „moderator“. It worked, but I only could start a child-forum under an existing parent. So the „keymaster“ has to change it to „parent“ everytime a „moderator“ starts a new forum.
    That´s a wortkaround but not a solution.

    I found a post here in the forum https://bbpress.org/forums/topic/moderator-role-cant-create-or-manage-forums/, where you speak of a known issue, that a moderator can´t see the „forum“ menu in the dashboard anymore. The problem described there seems to be quite similar to mine but is 1 year old. So, is this issue solved in the meantime? And if not, perhaps my problem helps to address the issue.

    Thanks for any assistance.

    pazzaglia
    Participant

    I’ve searched these forums and found mostly technical replies from developers (I’m semi-technical so making up some code from scratch and knowing where to stick it is out of my league).

    I’ve tried “Everything Search” which does not index topics.

    I’ve tried free “Relevanssi” search which has a check-box for tpics but shows them as “not public” (https://wordpress.org/support/topic/does-relevanssi-search-include-bbpress-forms-topics-and-replies?replies=3)

    I’ve tried various snippets that I found via google search – each with additions to functions.php a couple don’t work, and a third actually works, but it blanks-out the topic pages (the page is still there but the text of the topic and replies is missing).

    I’ve enabled Jetpack “omnisearch” which has no options but still doesn’t show the topics in the search results.

    Please point me to where I can find information to modify my WordPress, Theme, or BBPress installation so that search results from the main form include topics!!!

    Thank you!!!

    L

    P.S. My website http://www.hippressurecooking.com – I have lots of forum topics discussing Christmas Puddings but if you search for “pudding” on the main website all you get is the posts & pages with the word “pudding” and none of the topics with valuable info.

    P.P.S. I have search enabled in the forums, but in addition to that I would like the results all in one place from the basic WordPress search that shows up on every page.

    #155364
    jawittdesigns
    Participant

    I still haven’t been able to find where the & character conversion is taking place, but I have managed to get it to work.

    Here’s the class I’m using

    class JPM_BBP_Support {
    
        /**
         * Initialize the class and set its properties.
         */
        public function __construct() {
            add_action( 'plugins_loaded', array( $this, 'custom_jetpack_markdown_support' ) );
            // Remove the back_code_trick filter
            remove_filter( 'bbp_new_reply_pre_content',  'bbp_code_trick',  20 );
            remove_filter( 'bbp_new_topic_pre_content',  'bbp_code_trick',  20 );
            remove_filter( 'bbp_new_forum_pre_content',  'bbp_code_trick',  20 );
            remove_filter( 'bbp_edit_reply_pre_content', 'bbp_code_trick',  20 );
            remove_filter( 'bbp_edit_topic_pre_content', 'bbp_code_trick',  20 );
            remove_filter( 'bbp_edit_forum_pre_content', 'bbp_code_trick',  20 );
    
            add_filter( 'bbp_get_reply_content', array( $this, 'custom_con_char' ), 6 );
            add_filter( 'bbp_get_topic_content',  array( $this, 'custom_con_char' ), 6 );
        }
    
        /**
         * Replace instances of < and >
         * with < and > when pulling the content
         * from the databse to display
         * 
         * @param  string $content the content stored in the database
         * @return string          the formated content
         */
        public function custom_con_char( $content = '' ) {
            $content = str_replace( '<', '<' , $content );
            $content = str_replace( '>', '>' , $content );
            return $content;
        }
    
        /**
         * Add Markdown support for BBPress Froums
         */
        public function custom_jetpack_markdown_support() {
            add_post_type_support( 'topic', 'wpcom-markdown' );
            add_post_type_support( 'reply', 'wpcom-markdown' );
        }
    }
    
    $jmp_bbp_support = new JPM_BBP_Support();
    #155356
    Dirk
    Participant

    Hello,

    I recently started to use bbPress v 2.5.4 with WP v 4.0.1.
    Everything worked fine until I changed the user_login in of a user in the mySQL database, who had the bbPress moderator-role and started two forums before.
    Now this user (and every other „moderator“) can´t see the menu-item „forum“ in the Dashboard anymore. Any other bbPress-role works like it should.
    As a workaround I created a testpage with the shortcode [bbp-forum-form] and tried to start a new forum as „moderator“. It worked, but I only could start a child-forum under an existing parent. So the „keymaster“ has to change it to „parent“ everytime a „moderator“ starts a new forum.
    That´s a wortkaround but not a solution.

    Deactivating all plugins made no difference., also changing the capabilities with “bbPress Advanced Capabilities”.

    I found a post here in the forum “Moderator role can’t create or manage Forums”, where you speak of a known issue, that a moderator can´t see the „forum“ menu in the dashboard anymore. The problem described there seems to be quite similar to mine but is 1 year old. So, is this issue solved in the meantime? And if not, perhaps my problem helps to address it.

    Thanks for any assistance.

    #155353
    pazzaglia
    Participant

    I used the first code snippet above in my functions.php with ‘post’,’page’,’topic’ in the array. It DID show the topics in search results BUT, unfortunately, it blanked-out my topic page (no topic or reply text just the title and reply form).

    However, I took a chance and installed the super-old “Search bbPress” plug-in and edited the script to NOT add ‘replies’ to the search results and it worked!

    Thought I’d share my experience in case anyone else has been hunting for a solution to this for weeks, like me.

    Ciao,

    L

    #155336
    Robkk
    Moderator

    first remove all the CSS code you just posted , from where you are putting this custom css

    it looks all jenky..haha

    im going to use most of the CSS code i posted here

    How do i change the color of the text and box?

    /* header and footer that says AUTHOR , POSTS , VOICES, TOPICS , FORUMS */
    
    #bbpress-forums li.bbp-header, 
    #bbpress-forums li.bbp-footer {
    background: #000 !important;
    border-top: 1px solid #eee;
    font-weight: bold;
    padding: 8px;
    text-align: center;
    }
    
    /* this is the background of the forums and topics that display the title, the freshness stats and so on. */
    
    #bbpress-forums li.bbp-body ul.forum, 
    #bbpress-forums li.bbp-body ul.topic {
    border-top: 1px solid #eee;
    overflow: hidden;
    padding: 8px;
    background: #000;
    }
    
    /* this is the header that shows the post date and post ID */
    
    #bbpress-forums div.bbp-forum-header, 
    #bbpress-forums div.bbp-topic-header, 
    #bbpress-forums div.bbp-reply-header {
    background-color: #000;
    }
    
    /* try to make these two different types of dark shades if you care about having an AB color pattern of replies/topics/forums. */
    
    #bbpress-forums div.odd, 
    #bbpress-forums ul.odd {
    background-color: #000;
    }
    
    #bbpress-forums div.even, 
    #bbpress-forums ul.even {
    background-color: #000;
    }

    here is the code to remove the text decoration from the forum titles

    .bbp-forum-title,
    .bbp-forum-title a {
    text-decoration:none;
    }
    Applesauce
    Participant

    Hi, I’ve changed the background color in my bbpress forum but for some reason the background color is not affecting the padding (or so it seems). I’ve searched online and found I may need to add overflow:hidden and even overflow:auto. I’ve tried to add this to many many variations and combinations of IDs and CLASSes (there are so many!) but I can’t figure it out.

    I’m using a child theme from the 2014 WordPress theme but didn’t change too much.

    My forum is at: http://www.pippenings.com/rv-living/rv-motorhome-life-forum/

    Here is the CSS styling I’ve added to the forum so far (minus the child theme’s styling which was mostly used for changing colors…)

    Can you please help me out?

    #forums-list-0 .bbp-forum-title {
    	font-size:1.6em;
    	text-decoration:none;
    }
    
    #forums-list-0 .bbp-forum-title a:link {
    	text-decoration:none;
    }
    
    #entry-content #bbpress-forums {
    	background-color:#232d36;
    	overflow:auto;
    
    }
    
    #bbpress-forums ul, #bbpress-forums li {
    	background-color:#232d36;
    		overflow:auto;
    
    }
    
    #bbpress-forums ul.bbp-replies, bbp-body, #bbpress-forums p {
    	background-color:#232d36;
    }
    #bbpress-forums ul.forums-list-0 li.bbp-body {
    	background-color:#232d36 !important;
    		overflow:auto;
    }
    #155332

    In reply to: Change forum color

    Applesauce
    Participant

    Hi, I can’t figure out how to create a new topic so i’m choosing this topic to post in because its topic title is the closest to what I’m needing help with.

    I’ve changed the background color in my bbpress forum but for some reason the background color is not affecting the padding (or so it seems). I’ve searched online and found I may need to add overflow:hidden and even overflow:auto. I’ve tried to add this to many many variations and combinations of IDs and CLASSes (there are so many!) but I can’t figure it out.

    I’m using a child theme from the 2014 WordPress theme but didn’t change too much.

    My forum is at: http://www.pippenings.com/rv-living/rv-motorhome-life-forum/

    Here is the CSS styling I’ve added to the forum so far (minus the child theme’s styling which was mostly used for changing colors…)

    Can you please help me out?

    #forums-list-0 .bbp-forum-title {
    	font-size:1.6em;
    	text-decoration:none;
    }
    
    #forums-list-0 .bbp-forum-title a:link {
    	text-decoration:none;
    }
    
    #entry-content #bbpress-forums {
    	background-color:#232d36;
    	overflow:auto;
    
    }
    
    #bbpress-forums ul, #bbpress-forums li {
    	background-color:#232d36;
    		overflow:auto;
    
    }
    
    #bbpress-forums ul.bbp-replies, bbp-body, #bbpress-forums p {
    	background-color:#232d36;
    }
    #bbpress-forums ul.forums-list-0 li.bbp-body {
    	background-color:#232d36 !important;
    		overflow:auto;
    }
    #155331
    22colors
    Participant

    Very strange! I was setting up my new forum (newest WP, newest bbpress) and the subforum pages are looking just fine. Also the topic pages looked good – until recently. Now, the topic page is only displaying the core content (starting with the breadcrumb-path of the forum topic), but no design at all!

    When I look at the sourcecode of a topic page, it starts like this:

    <div id="bbpress-forums">
    <div class="bbp-breadcrumb">

    Where is all the beginning of the page, with the usual html elements for the page design?

    I activated another theme and it has the same problem.
    Do I have to reinstall bbpress?

    Unfortunately, I cannot post a link here, the forum is only visible for logged-in users.

    Thanks for any help!
    Nils

    #155330
    Robkk
    Moderator

    @schneidi76

    add this anywhere you can put custom css

    add !important at the end if it doesnt work at first too.

    to shrink username , change 12px to something lower if you want to go smaller

    #bbpress-forums div.bbp-reply-author a.bbp-author-name, 
    #bbpress-forums div.bbp-topic-author a.bbp-author-name {
    clear: left;
    display: block;
    font-size: 12px;
    }

    to make user role disappear

    #bbpress-forums div.bbp-forum-author .bbp-author-role, 
    #bbpress-forums div.bbp-reply-author .bbp-author-role, 
    #bbpress-forums div.bbp-topic-author .bbp-author-role {
    display: none;
    }

    the IP is only seen by keymasters , and it is very useful if you want to block users who are spammers, but if you want to remove it just use this CSS.

    span.bbp-author-ip {
        display: none;
    }
    #155327

    In reply to: Change forum color

    Robkk
    Moderator

    @dvdfever

    ok this CSS changes every link color in bbPress to black

    #bbpress-forums a {
    	color: black;
    }

    and this CSS is for if you want any links in the topic/reply content to be a different color like blue, just like blog posts usually have.

    #bbpress-forums div.bbp-topic-content a,
    #bbpress-forums div.bbp-reply-content a {
    	background: none repeat scroll 0 0 transparent;
    	border: medium none;
    	display: inline;
    	font-weight: normal;
    	margin: 0;
    	padding: 0;
    	color: blue;
    }

    also use some of the CSS that i posted here since you have a dark background.

    How do i change the color of the text and box?

    #155320
    Robkk
    Moderator
    .bbp-forum-header a.bbp-forum-permalink, 
    .bbp-topic-header a.bbp-topic-permalink, 
    .bbp-reply-header a.bbp-reply-permalink {
    display: none;
    }

    add this anywhere you can put custom css

    #155317
    Robkk
    Moderator

    for forum topics/replies

    try this code robin posted in the topic you linked to

    #bbpress-forums .bbp-topic-content p, 
    #bbpress-forums .bbp-reply-content p {
    font-size:  16px;
    }

    this is for breadcrumbs

    #bbpress-forums div.bbp-breadcrumb p {
    margin-bottom: 10px;
    font-size: 16px;
    }
    #155312
    Toby
    Participant

    Still not completely sure why this is happening, but I think it’s because of the way the forum is being displayed using the BuddyPress group tabs/screen hooks. Digging into the is_bbpress() function, none of the WP_Query information is being set so it doesn’t pass any of the is_ functions.

    You can filter is_bbpress in bbpress > includes > extend > buddypress > groups in the setup_filters() function and get it working, but I can’t see a way of doing this without modifying the plugin code.

    #155300
    jawittdesigns
    Participant

    I’m trying to integrate bbPress with Jetpack Markdown.

    The problem I’m having is the formatting of the saved data.

    If I leave bbPress as is.The fenced code blocks with the three back-ticks get all screwy. I’ve found this is because of the bbp_code_trick() function on the bbp_new_reply_pre_content filter.

    If I remove that filter the fenced code block works, but the inline code doesn’t. Somewhere the & character is being escaped to & and messing everything up. For instance, instead of < it ends up being saved to the database as &<. I cannot find where this is happening.

    #155284
    SatanicDogooder
    Participant

    Thank you crzyhrse, your code was very helpful! Took a little bit of picking and choosing and adding an !important here and there but my site is looking much better!!!

    izzyian
    Participant

    The only plugin I found so far that could be of use is the BadgeOS plugin and BadeOS Community Add-on. But I want the badges to appear under the users avatar, for example like under my avatar on this page that I am posting a topic in.

    I asked for some help here, and they provided some code which I dont know how to make use of it : https://wordpress.org/support/topic/how-can-i-get-badges-to-appear-under-users-avatars-in-forum-topics?replies=3#post-6301447

    kriizz
    Participant

    Hi,

    just had the same Problem with “bbp_new_topic_handler”.
    Maybe my solution will help:

    /*
    	After all Plugins are loaded, remove bbp_action hook.
            Remove it after all plugins are loaded, because hook'S maybe not available at the   moment you want to remove it. 
            After that, override the add_Action with a copy of the original function. Do all your changes in your own function
    
    */
    function remove_bbp_new_topic_handler() {
    	remove_action('bbp_post_request', 'bbp_new_topic_handler',10);
    	add_action('bbp_post_request', 'my_bbp_new_topic_handler',10);
    }
    add_action( 'plugins_loaded', 'remove_bbp_new_topic_handler' );
    
    function my_bbp_new_topic_handler( $action = '' ) {
      /* copy of bbp_new_topic_handler and your changes */
    }
    #155211
    hassebasse
    Participant

    Hi, I havn’t notices your answer earlier.

    I installed bbPress as a try, but when I noteiced that it screwed up the roles I took it away, but to no use, and that is the situation today.

    Configuration:

    4.01
    Responsive by CyberChimps

    Plugins
    Advanced Access Manager
    Aksimet
    Clef (i just took it awy but not differnce)
    Contact Form
    Download Monitor
    Exportez les données utilisateurs.
    Facebook
    FooBox Free Image Lightbox
    iFeature Slider Free
    MailPoet Newsletters
    Photo Gallery
    Responsive Add Ons
    Shortcodes Ultimate
    Spreadsheet
    TablePress
    The Events Calendar
    UpdraftPlus – Backup/Restore
    WP Super Cache

    I am 100%sure that the problems arrived with bbPress.

    Today I am the only with admin rights, but I the user list I am given the role as Keymaster but as said, I am defacto an Administrator.

    NOte that Administrator does not exisit in the list !!!

    For the others, I can give them the roles as keymasters but defacto they rights will not be higher than Editors.

    NOTE that bbPress is not intalled but the roles availbel are (a mix of English and French):

    Keymaster
    Participant
    Moderator
    Blocked
    Spectator
    Abonné (French)
    Contributeur (French)
    Auteur (French)
    Editeur (French)

    Thankful for all help because I really must give the roles as editors to some more peoples.

    Hans

Viewing 25 results - 10,001 through 10,025 (of 32,519 total)
Skip to toolbar