Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 7,701 through 7,725 (of 32,505 total)
  • Author
    Search Results
  • #167347
    mica123
    Participant

    @robkk I have now tried your code and it works beautifully. The links show up in the sub-header-menu. The login and logout redirect works too. As I am trying this out on my local computer I don’t know if the reset and lost password redirect would work as well?

    There is another problem: if I click on login or reset or lost password button without giving a user name and password, it goes to the standard WordPress login page which is not good at all. Can this be remedied? We are almost there.
    Many, many thanks.

    #167328
    GreatOldiesDJ
    Participant

    Hi and thanks for that update. I saw that little icon but I didn’t realize what it was. Your code change took care of it.

    #167325
    Robkk
    Moderator

    I think you just copied form-user-register.php into your theme and added that text, not entirely sure though.

    #167318
    Robkk
    Moderator

    Use background: none; in the submit buttons CSS. The little icon image is showing.

    I edited the other reply I posted code, so you can just copy over the code over again.

    #167316
    tkse
    Participant

    Wow, I’m sorry. I didn’t realize I had forgotten this line.

    I noticed the second line I had in my code was to disable the HTML editor, not teeny. However, is it possible to display the HTML editor only for moderators and above?

    #167314
    GreatOldiesDJ
    Participant

    Hi again. This code worked perfectly. Thanks you very much for your help!

    #167313
    Robkk
    Moderator

    Here try some of this custom CSS, put it in your child theme or in a custom css plugin.

    This is for the submit button

    #bbpress-forums #bbp-search-form input[type=submit], 
    #bbpress-forums #bbp-search-form input[type=submit] {
        text-indent: 0;
        background: none;
        background-color: #3F51B5;
        color: #fff;
        width: auto;
        height: auto;
        border-radius: 0;
        margin-top: 0;
    }

    This is for the search input.

    #bbpress-forums #bbp-search-form input[type=text], 
    #bbpress-forums #bbp-search-form input[type=text] {
        border: 1px solid #3F51B5;
    }
    #167312
    Robkk
    Moderator

    You did add this argument right?? Having this at false shows the full editor. Some button may be not usuable for the forums though, so you need to move them around in the TinyMCE advanced plugin settings.

    $args['teeny'] = false;

    #167309
    BewitchingFiction
    Participant

    As a minor update, even the word cocktails appears to be blacklisted though I have no idea WHERE this blacklist is – is it possible to just remove that ‘check blacklist’ code from BBPress because it’s ridiculous – I don’t want it to check something that I have no control over just because, especially when I don’t even know where this list is.

    #167306
    project_subdomain
    Participant

    thanks @robkk. makes sense, think it’s not in the codex.
    I’ve got a navigation menu with links to specific topics (made with the backend’s customizer). Would like to add the correct count to each navigation menu link.

    Suppose that it would be easier to create a new custom navigation menu via functions as it’s not that easy to target the specific locations, right?

    But in case you have an idea how to target those customizer created links to add a count, this surely would help for many other things as well.

    #167290
    Robkk
    Moderator

    Here is the code for that exact error notice. bbp_check_for_blacklist is checking the comment blacklist in Settings > Discussion. Since you said that you do not have anything in the blacklist do you have another plugin with a blacklist that could be hooking into the default comment blacklist??

    /** Reply Blacklist *******************************************************/
    	if ( ! bbp_check_for_blacklist( $anonymous_data, $reply_author, $reply_title, $reply_content ) ) {
    		bbp_add_error( 'bbp_reply_blacklist', __( '<strong>ERROR</strong>: Your reply cannot be created at this time.', 'bbpress' ) );
    	}
    nikhilnaik
    Participant

    Hello @8ball106,

    I was looking for this code! I want to know the forums that user is subscribed to! Can you tell me how do I use this code to view the user’s subscribed forums?

    #167278
    iron_cP
    Participant

    Hello to ALL!

    First, my English is not perfect. But i hope some people understand my problem.

    I use the Theme great! But the this theme make same troubble with bbpress. The Answers will displayed in the top of Page, behind the Black Admin Bar. If i change the Theme to Twenty Fifteen it Looks fine! In the Documentation i read, i have to move a page to bbpess.php .. but it will not work .. can anyone tell me what i have to do. i only want the twenty Fifteen Forum Theme code use in my Great! Theme !

    Thanks and greets!

    IRoN

    #167275
    Robkk
    Moderator

    You can use this CSS to remove it. Add the CSS where you can add custom css.

    .bbpress p.howto {
        display: none;
    }
    #167274

    In reply to: Remove author column

    Robkk
    Moderator

    Well you can easily customize bbPress by creating a child theme and placing the bbPress templates into that child theme and edit them with no worries.

    Theme Compatibility

    The author column should be in the loop templates, for example loop-single-reply.php for replies of course. It should be in a div with the class bbp-reply-author. It would be bbp-topic-author if you have are editing the loop-single-topic.php template and so on.

    #167273
    Robkk
    Moderator

    Wait the original code really still doesn’t work.

    It really did work for me, and I have the latest version of WP too.

    #167271
    Robkk
    Moderator

    Sorry I missed your reply.

    The bbPress error is displayed when there is another plugin causing it.

    It is detailed here.

    bbp_setup_current_user was called incorrectly

    You did to see if was a cache, theme, and plugin issue right, and received no resolutions?

    Can you tell me the url you are being directed to instead of the topic pages?? Can you check in your browsers dev tools to tell me the url in the link?

    You are experiencing this issue as a logged in registered user right??

    Did you try reinstalling bbPress as a last resort?? It is possible for an issue to happen during installation because of some server hiccup.

    Has bbPress worked fine before, then it just broke all of a sudden, or was it just broken during a fresh installation??

    #167269
    Robkk
    Moderator

    This is more suited for topics.

    bbp_topic_reply_count()

    Not entirely sure what you are going for to really help more.

    #167268
    Robkk
    Moderator

    The reply form border styles is inherited from your theme.

    Do you want to remove the topic and forum descriptions too??

    This php code snippet will remove the descriptions. Place this code snippet in your child themes functions.php or in a functionality plugin.

    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 '';
    }
    #167261
    Robkk
    Moderator

    This user said they got forums, but not topics from forums with the code posted in this topic.

    How to query recently active topics from user subscribed forums?


    @casiepa

    Thanks for sometimes helping out here in the forums.

    #167260
    Robkk
    Moderator

    Did you try some troubleshooting to see if it could be a possible theme issue. Some theme frameworks do not play nice with bbPress’s theme compatibility, so try to check in a default theme to see if it works fine.

    Troubleshooting

    I guess you can also ask these questions too.

    Did you import any users?
    Are you allowing users to register with their email?

    #167254
    Robkk
    Moderator

    How about having a shortcode that just does it?

    Won’t work since profiles are dynamic public pages, might work if it was private profile pages though.

    I didn’t see a bbpress ‘users’ shortcode amongst those listed in the documentation.

    Because there is none.

    @joopstringer where do I add the code you suggested?

    His code is SQL query code that you input into phpMyAdmin.

    I’m setting up a site and only my admin user page comes up, all others are 404 pages.

    It could be many possibilities but I will explain that in your other topic.

    Users’ Profile page is a 404 page

    #167252
    Robkk
    Moderator

    It might be possible to use some code to calculate the posts like this or wait til 2.6 adds this feature.

    https://wordpress.org/plugins/bbp-topic-count/

    Then I guess setting the role using the code below when they reach the count. I am not sure entirely though, I have never tried something like this yet.

    bbp_set_user_role();

    Right now this is most likely custom development and you may need to hire a developer to create this for you.

    #167249
    Robkk
    Moderator

    In the guide it does say this.

    —-

    Use this function below instead with new argument added to be able to add new media like the emoticon button.

    function bbp_enable_visual_editor( $args = array() ) {
        $args['tinymce'] = true;
        $args['teeny'] = false;
        return $args;
    }
    add_filter( 'bbp_after_get_the_content_parse_args', 'bbp_enable_visual_editor' );

    Please note that if you disable the teeny mode in the visual editor and allow other media buttons through the TinyMCE Advanced plugin, you will probably need to add on to this function and put it into your child theme functions.php file to allow your users to use some of the buttons like the table button.

    Robkk
    Moderator

    When I was talking about User ID, I was talking about a number not the name.

    Here is an example on the other site I mentioned. The users username is 谢益辉 but the user profile shows the users ID in their profile url.

    cos.name/cn/profile/1/

    The plugin I mentioned will just help if you do not want the chinese characters in the urls of your forum posts it will just show the ID instead of the name. It is just a helpful plugin that might be useful, it won’t really help you with the profile issue though.

    I do see that the profile page url is filterable and I could possibly make it the users ID instead, so I might try to fool with this. I post a snippet later If I can get it to work, and if it does work might suggest the plugin author of the plugin I listed earlier to add it to their plugin as it might be helpful.

    You can also try switching to the default permalinks to see if that would help, because bbPress by default displays the profile links to be ?bbp_user=1, with the number being the ID which bypasses using the chinese characters completely. See if that works.

Viewing 25 results - 7,701 through 7,725 (of 32,505 total)
Skip to toolbar