Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 8,451 through 8,475 (of 32,519 total)
  • Author
    Search Results
  • Anonymous User
    Inactive

    Hello robkk,

    Thank you for pointing me to the functionality plugin. I did not know that such thing exists. I also have a theme with filters + hooks in the theme options:

    If I knew where to place the code, I might not need the plugin.

    Nicole

    #163715
    Cyberdogs7
    Participant

    When I edit a reply I get a white screen with a 500 error code. Refreshing the page brings the reply back up just fine.

    Running on a dedicated server with plenty of memory, tested with multiple themes, including twenty fifthteen, and even made sure the wordpress memory was increased in the wp-config.php file.

    Anything else I can do to get rid of this issue?

    #163713
    Robkk
    Moderator

    This is usually caused when customizing theme or plugins. It also could be a memory limitation but try the theme and plugin route first.

    Blank Pages

    Robkk
    Moderator

    I have found a way to hide most notices by CSS. Question is, can I keep it that way, or will there be any important notices not showing up later when the user is interacting with the form:

    Well that is the thing , I would have to know what is important to you. The notice that shows when a users post is in moderation might be useful so that they know the moderator has to approve their post , but that will not be in til 2.6 of bbPress. Some plugins might hook into that , and some notices might be for post flooding and maybe some users might think their is a bug on your site if they do not know why they couldn’t post.

    The Topic/Forum descriptions could also be removed with some PHP using this function and you can place it in a plugin like this.

    https://wordpress.org/plugins/functionality/

    It should be Plugins > Edit Functions. You can place any code snippet you might see useful into this.

    You can place the snippet after the plugin information.

    add_filter( 'bbp_get_single_forum_description', 'ja_return_blank' );
    
    add_filter( 'bbp_get_single_topic_description', 'ja_return_blank' );
    
    function ja_return_blank() {
    
        return '';
    
    }

    The users plugin you suggest is from 2 years ago; I would not install that. I am told again and again by my hoster and main plugin providers that old plugins are one of the greatest vulnerabilities.

    It should be fine , it is a fairly small plugin and very well coded.

    You can see the plugins main code functionality in the link below. There is also an empty languages folder and a readme.txt file also in the plugin.

    https://gist.github.com/jaredatch/3868274

    And then I had to turn off the buttons for html because they are badly formatted, barely legible in white text on light-grey background.

    You can fix that with some CSS too. Here is a simple black background to fix it.

    #bbpress-forums #qt_bbp_reply_content_toolbar input,
    #bbpress-forums #qt_bbp_topic_content_toolbar input {
      background-color: #000;
    }

    I also would like to offer my clients a possibility to create a profile page with some background on themselves and the business project they are working on.

    There is a bunch of plugins that add custom fields like BuddyPress some premium plugins add social features too , just like BuddyPress. The thing I am guessing you want is to highlight it on the Home of the users profile page with the forum role and user stats. This would require some PHP coding to achieve. By default the user can add a description and it would show up on the front-end , nothing too crazy.

    Anonymous User
    Inactive

    Hello robkk,

    Thank you very much for your answers. They helps me get started.

    I have found a way to hide most notices by CSS. Question is, can I keep it that way, or will there be any important notices not showing up later when the user is interacting with the form:

    /* bbpress */
    div.bbp-template-notice.info {
    display: none;
    }
    
    div.bbp-template-notice {
    display: none;
    }
    

    The bbpress pages cause me headaches. The original bbpress pages for forum index and user page all come out unformatted in my theme, practically useless. I have created a forums page by using shortcodes for forum index and topics index. That is well formatted and informative. But only with one level of hierarchy.

    The users plugin you suggest is from 2 years ago; I would not install that. I am told again and again by my hoster and main plugin providers that old plugins are one of the greatest vulnerabilities. Isn’t there a way to block all access to pages containing mysite/forums/users/* in .htaccess or something like that?

    And then I had to turn off the buttons for html because they are badly formatted, barely legible in white text on light-grey background.

    I also would like to offer my clients a possibility to create a profile page with some background on themselves and the business project they are working on. I have tried BuddyPress but it is not for me. I cannot code and this seems to be necessary to effectively use BuddyPress. So, I have not found a good solution for that yet. For the moment I have chosen to go with the wordpress.com/gravatar profiles and encourage people to introduce themselves and their project in the forum.

    Nicole

    #163702
    jamborambo7
    Participant

    Hello everyone,

    I am having an issue with trying to make my bbpress forum full-width. I’ve looked through several troubleshooting guides and nothing has seemed to work. I am using Marketica theme with bbpress plugin.

    From this link below:
    https://codex.bbpress.org/theme-compatibility/getting-started-in-modifying-the-main-bbpress-template/
    I’ve located the file it is pulling from (through What the File plugin) and it is from bbpress.php (since I copied a page.php file and renamed it to bbpress.php and added it into my Marketica child theme) file directory.

    I then changed the style.css file in the Marketica child theme and injected:

    .bbPress #primary {
    display: none;
    }
    .bbp-forums {
    width: 100%;
    }

    I’ve tried other css stylings that I found online and nothing seems to have worked. Can someone please help me? I’m running out of ideas! Thank you all in advance.

    #163701
    Nuchaz
    Participant

    I am having the same issue right now and was wondering if a solution was ever found? I tried the bbpress-do-short-codes plugin and it seems to work for google chrome, but not firefox. I would ok to just disable image captions from the tinymce editor too. I’ve been trying to figure out the css code so I could just slap it with a display:none, but haven’t had any luck.

    I’m using WP v4.2.2 and BB Press 2.5.4.

    Garrett Hyder
    Participant

    Hi @viratsteelgroup,
    You can check out the documentation here – https://codex.bbpress.org/
    If you’d like assistance with anything specific I suggest opening a new topic as this is an old unrelated one so no one is going to read your post.
    I did notice you’re with wordpress.com and not a self-hosted wordpress.org instance so you won’t be able to use bbPress as it’s an installable plugin for wordpress.org instances. You can look into creating a free forum on another site, more information here;
    https://en.forums.wordpress.com/topic/how-to-add-forum-capability?replies=17
    Cheers

    #163690
    Nuchaz
    Participant

    I guess I jumped the gun on asking for help on this. A little more digging and I found my answer. I found a way to automatically load my default style sheet in place of the tiny mce style sheet and this basically automatically styled the editor to look like everything else.
    Just had to add this to my functions.php:

    if ( ! function_exists('tdav_css') ) 
    {
        function tdav_css($wp) 
        {
            $wp .= ',' . get_bloginfo('stylesheet_url');
    	return $wp;
        }
    }
    #163689
    Nuchaz
    Participant

    Hello bbPress community, I am currently building a theme for my website (started with the underscores theme) that uses bbPress and I’ve hit a snag. So, as per the bbPress codex here on enabling the visual editor, I have that enabled. I also hid the tabs to switch between the visual editor and the html editor (just using css display:none) since I only want my users to access the visual editor. Ok, that works fine. Now I need to style the visual editor.

    So how would I go about styling the tinymce editor? I would like to change the font family and add some styling to the block quotes so they match everything else.

    Looking at the code via the chrome dev tools it looks like the tinymce editor loads its own style sheets inside the tinymce form. I’m not sure how to override them.

    Thanks in advance to anyone who can help me figure this out. This is my last major thing I think I need to do before I can call my theme done and move it from my local dev environment to my staging server and start building out all my content.

    Carliff
    Participant

    Hi,

    I was trying to customise my theme and the next thing I know is I can’t access my website anymore. White screen.

    First, i went to my files in cpanel and deleted the bbpress plugin. Not fixed.

    Then I set the WP_DEBUG to true in wp-config.php file and this is the message i got:

    Fatal error: Call to undefined function listify_theme_mod() in /home2/saba2359/public_html/wodchaser.com/wp-content/plugins/code-snippets/includes/snippet-ops.php(446) : eval()’d code on line 5

    Please somebody help me.

    I have been searching and reading forums about this for 12 hours and I still have no idea at all what to do about it.

    Note: WordPress and bbpress is latest version (newly installed and updated)

    monica44
    Participant

    I created a new page, and put the following short code on it:

    [bbp-forum-index]

    Then I uploaded it to the front end of my site.

    Now when I try to put any type of new page under the Forum parent page, it uploads but then it gives me the “sorry this cannot be found” message if I click on the new sub-page on the front end…

    #163654
    Robin W
    Moderator
    #163646

    In reply to: Forum comment spam

    Robkk
    Moderator

    There is more I would have to write like identifying spam for moderation.

    And also knowing the difference between human spam vs robot spam and what suggestions I listed in the guide would help fight each one.

    Hopefully though it helps you fight spam in bbPress.

    https://codex.bbpress.org/getting-started/user-submitted-guides/dealing-with-spam/

    Robin W
    Moderator

    If you want to change it everywhere then put this in your functions file

    //This function changes the text wherever it is quoted
    function change_translate_text( $translated_text ) {
    if ( $translated_text == ‘Forum’ ) {
    $translated_text = ‘new text’;
    }
    return $translated_text;
    }
    add_filter( ‘gettext’, ‘change_translate_text’, 20 );

    Functions files and child themes – explained !

    #163633
    Mark Marino
    Participant

    Where does this code go?

    #163621
    Robkk
    Moderator

    Try some troubeshooting and also double check in settings > forums in the Topics and Replies Per Page section make sure to set 9 replies per page.

    Troubleshooting

    #163620
    Robkk
    Moderator

    You can try this but I don’t know if this would affect the other links from loading or not.

    .forum-archive #bbpress-forums {
      display: none;
    }
    #163619
    Robkk
    Moderator

    Try this custom css

    .bbp-reply-form #bbp_anonymous_website,
    .bbp-topic-form #bbp_anonymous_website,
    label[for="bbp_anonymous_website"] {
    	display: none !important;
    }
    #163617
    Robkk
    Moderator

    You guys might need to hire a developer to design this for you. I think it would require a bunch of if statements.

    bbPress Conditional Tags

    #163615
    Robkk
    Moderator

    Try some troubleshooting , it could be a plugin issue.

    Troubleshooting

    #163613
    JeffBerrier
    Participant

    That’s what Im trying to do but i can’t find the code that is doing this.

    #163612

    In reply to: Losing Sidebars

    Robkk
    Moderator

    Try some troubleshooting first

    Troubleshooting

    Also I guess see if you set up the two themes the same.

    #163607
    Robkk
    Moderator

    I am still not able to understand it. First I dont know how to create a child theme and second I dont know how to do what you are suggesting. I am also facing some issues with buddy press. The buttons are not displaying properly.
    Can you suggest any other good community plugin?

    There is no plugin to just fix it. bbPress is inheriting a template from your theme that is causing this issue. Since all themes are different creating a plugin to fix them all would be really difficult.

    To create a child theme you can read this: https://codex.wordpress.org/Child_Themes

    If you need help with anything , please tell me exactly what you need help with or at least tell me what you understand.

    And what buttons are not displaying properly?? This is probably CSS so I could do this for you easily.

    Also since you are using a paid theme (Canvas) , you might want to consider contacting your theme author for help.

    I cant just do it for you for free, you can contact me through email if you want me to do it for you.

    Contact

    #163605
    Robkk
    Moderator

    use the topic form shortcode.

    [bbp-topic-form]

    Shortcodes

    It would be supper nice to be able to put a general “Start a Discussion” button on various pages

    Ive explained to users bunches of times how to do this kind of functionality. Search the forums and search “new topic button”

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