Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 7,951 through 7,975 (of 32,505 total)
  • Author
    Search Results
  • #166263

    In reply to: Member counter

    Robkk
    Moderator

    The user ID is created automatically. There might be something that might help you out like Reveal IDs plugin that will show the ID of each registered user on your site. I cannot find anything that will help you find the 1000th user easily yet. I might find a plugin/code snippet later today that might help.

    #166259

    In reply to: Moderation words

    Robkk
    Moderator

    the patch might not be created right. I don’t think you create the patch from the plugin version but maybe the latest alpha version or the latest version you can download from the trunk using SVN.

    You can download/download using SVN using the url from here.

    Download

    Are you sure how you inserted the filter will not cause any issues?

    I am specifically talking about how $blacklist = both of these.

    $blacklist = trim( get_option( 'moderation_keys' ) );
    
    $blacklist = apply_filters('bbp_moderation_keys', $blacklist);

    Here are a bunch of helpful guides that I am just going to drop here.

    Working With Patches

    Installing Via SVN

    Robkk
    Moderator

    Try some troubleshooting to see if it is a plugin or theme issue.

    Troubleshooting

    Also know that the visual editor was not activated by default because it started having issues. So it might be better to just use the quicktags toolbar.

    Please explain on the formatting issue.

    yorcht
    Participant

    Hello, the shortcode [bbp-forum-form] force to choose a parent forum. No Parent option is not working. Either we allow the final user (not me) to accedd WP admin… or have to change forum structore. Any way to avoid this?
    Thanks in advance!
    Jorge

    #166247
    1kan5
    Participant

    Thanks you Robert.S

    Where do i have to put this code ?

    #166237
    Robert.S
    Participant

    Thanks so much Robkk.

    I’ll take a look at those files, and see if any plugins might do the trick.

    I am using some custom code I found *somewhere* (!! maybe here haha??) to include Forum results in general WordPress Search results, which works well enough, but of course this is from a site-search, not the BBPress search function.

    Here it is in case anyone else stumbles across this thread and wants to extend WordPress searches to include Forum results (without adding a plugin):

    /**
     * Include bbPress 'topic' custom post type in WordPress' search results */
    
    function ntwb_bbp_topic_cpt_search( $topic_search ) {
    	$topic_search['exclude_from_search'] = false;
    	return $topic_search;
    }
    add_filter( 'bbp_register_topic_post_type', 'ntwb_bbp_topic_cpt_search' );
    
    /**
     * Include bbPress 'forum' custom post type in WordPress' search results */
    
    function ntwb_bbp_forum_cpt_search( $forum_search ) {
    	$forum_search['exclude_from_search'] = false;
    	return $forum_search;
    }
    add_filter( 'bbp_register_forum_post_type', 'ntwb_bbp_forum_cpt_search' );
    
    /**
     * Include bbPress 'reply' custom post type in WordPress' search results  */
    
    function ntwb_bbp_reply_cpt_search( $reply_search ) {
    	$reply_search['exclude_from_search'] = false;
    	return $reply_search;
    }
    add_filter( 'bbp_register_reply_post_type', 'ntwb_bbp_reply_cpt_search' );
    #166230
    Robkk
    Moderator

    @devyncjohnson

    1. Well yeah the cache staying not removing is the issue, it could be a bug in WordPress itself since that caches the oembeds. What peice of code did you use to fix this?

    12. I couldn’t duplicate the issue on latest Firefox on W10 using the html5 blank theme.

    Yeah I know, I bookmarked most of the suggestions for features for the bbPress plugin on this site, but if you are experiencing some kind of issue, then why not help out too.

    What I got from you that could possibly make the bbPress plugin are.

    option to turn off feeds.
    add topic auto-suggestion (might be better for the forum search though)
    Integrate some plugins like report content (maybe external links)
    Export and import settings
    View counter
    Custom notices
    Specific forum permissions
    Avatar system

    Most of the SEO things could be best to have in a separate plugin, or should be left to the theme and how it is set up.


    @pinkishhue

    The forum requests and feedback is for this type of thing. If you think some codex article should be available, features should be in bbPress, this site bbpress.org should have some style fixes, etc. this forum is where you post all that in. If you need to create a new topic with a list of suggestions in a list from yourself, you can do that.

    The way the menu items show up has always been like that since bbPress v1 standalone. It could be easier for users to see all the post types in one section, this might need another opinion though. I think it is fine either way though. It will be annoying to change all the codex articles if we do change that though haha.

    #166229

    In reply to: bbPress and Yootheme

    Robkk
    Moderator

    Alright I am going to just test out this theme later today to see all the issues it presents and try to resolve them.

    Try this on a local development server or just a test site in general o the site you are trying to import from. Cloning the whole site might be the best way to import from one WordPress site to another WordPress site.

    Creating a Test Site

    #166226
    1kan5
    Participant

    Hello

    i have the same problem, i don’t understand what you do, please help me.

    where is the functions file ?

    what is the code that you modify ?

    #166216
    project_subdomain
    Participant

    Thanks again, that’s it!
    This is how it works finally for several topics with different divs and a custom action hook:

    /*Different divs for all topics of specific forums*/
    
    function add_different_div() {
        
    $topic_id = bbp_get_topic_forum_id(); 
        if (( $topic_id == 123) or ( $topic_id == 456)){
    ?>
           <div> this is some custom div text </div>
    <?php
        }
    
    elseif ( $topic_id == 789){?>
    <div> this is some OTHER custom div text </div>
    <?php
    }}  
        
    add_action( 'different_div', 'add_different_div' );

    Custom action hook to add in the template file where the div shall be displayed:

    <?php do_action( 'different_div' ); ?>

    #166210
    Atlantius
    Participant

    Hello, i want to remove the commans separating the forums in the index. I searched and found old solutions that do not work. I read on the codex to change the

    ‘separator’ => ‘, ‘, to ‘separator’ => ”,

    in the template.php files from includes but it does not remove the colon.

    Can you help me with this please?

    #166207
    Schuitema
    Participant

    Hi Rob

    Sorry but I am really at a loss here.

    The What The File plugin directed me to the index.php, I copied this to my child theme and pasted the suddested code in there, this changed my layout dramatically when viwing the forum and search results, but did noting to help with the problem, still not getting forum results in the bbpress search.

    I also tried adding the code suggested in the thread, to add forum to the wp search, and installed both plugin fixes, but still wordpress ignores the forum in it’s searches.

    The issue is that my forum is useless without a decent search function.

    Please help.

    #166203
    DevynCJohnson
    Participant

    BBCode Deluxe (https://wordpress.org/plugins/bbcode-deluxe/) adds BBCode markup (and other shortcodes) to WordPress and BBPress. This plugin is a fork of the unmaintained (but well loved and used) “bbPress2 BBCode” plugin by Anton Channing (https://wordpress.org/plugins/bbpress-bbcode/).

    This plugin includes code from the below listed developers and their plugins. More BBCodes/shortcodes will be added (such as the rest of the BBCodes from “Video and Audio BBCodes”).

    • Copyright (C) 2013 Anton Channing (“Video and Audio BBCodes” and “bbPress2 BBCode”)
    • Copyright (C) 2010 b0ingBall (b0ingBall BBCode plugin)
    • Copyright (C) 2008 Viper007Bond (the original BBCode plugin)

    The BBCodes are (or try to be) HTML5-compliant.

    #166200
    Denna Gherlyn
    Participant

    The <!-- Generated in 0.959 seconds. (121 q) --> comment comes from BuddyPress. And BuddyPress doesn’t affect the movement of topics (tryed on a fresh installation).

    (I’m currently installing every plugin one by one that are active on our forum on a fresh installation, but nothing found yet.)

    #166196
    Shmoo
    Participant

    It’s not a solution to the problem but just a work around.

    What does this mean?
    I think this has something to do with it, and it’s probably part of some Gulp testing-thing they are using or so.

    
    Property sv:eol-style set to native
    Property svn:auto-props set to 
    *.css = svn:eol-style=native
    *.js = svn:eol-style=native
    *.php = svn:eol-style=native
    *.txt = svn:eol-style=native
    *.scss = svn:eol-style=native
    *.gif = svn:mime-type=image/gif
    *.jpg = svn:mime-type=image/jpeg
    *.png = svn:mime-type=image/png
    Property svn:global-ignores set to 
    .DS_Store
    .gitignore
    Property svn:ignore set to 
    .htaccess
    build
    node_modules
    npm-debug.log
    phpunit.xml
    
    #166192

    In reply to: Moderation words

    Stefano Lissa
    Participant

    Ok, where could I send a patch? Should I create an SVN patch or just give a description on where to add the code?

    Thank you, Stefano.

    #166191

    In reply to: picture or thumbnail

    Robkk
    Moderator

    You can use oembed for embedding imgur links automatically.

    You can use the img quicktag button in the toolbar if the url of the image is from a different source.

    GD bbPress Attachments plugin can handle uploading images to your site directly.

    If you use BuddyPress also, you can use the BuddyPress Forum Editor plugin for image uploads that way also.

    #166189

    In reply to: Moderation words

    Stefano Lissa
    Participant

    Looking at the code it seems there is no way to hook into that option in a easy way. One should hook into get_options for the moderation_key option but find a way to determine he is in the bbpress contect and not in the comment moderation context. If needed I can write the patch to bbpress for that, it’s one line of code!

    Stefano.

    #166183
    Robkk
    Moderator

    I see this comment in your source code and this usually is inserted from some caching plugins/software?

    <!-- Generated in 0.959 seconds. (121 q) -->

    If you had some caching plugins activated awhile ago, activate it again and clear the cache and see if this helps any.

    IF you have server cache, you might need to check on that. Same thing if you are using something like cloudflare.

    #166181
    Robkk
    Moderator

    How can’t you login?

    What is stopping you exactly from logging in?

    Do you see an error messages in the login form?

    Is it redirects or 404s?

    Did you try some troubleshooting to see if it was another plugin conflict? It could also be a security or a spam plugin that could cause this type of issue.

    Troubleshooting

    #166178
    Robkk
    Moderator

    Did you try any troubleshooting?

    Troubleshooting

    Maybe clear any cache collected on your cpu and make sure your forum role is in fact the keymaster role.

    #166177
    Robkk
    Moderator

    There might be some code snippet you can find, or a plugin like the Display Posts Shortcode plugin that might help you here.

    function rkk_show_specific_cat() { 
     echo do_shortcode("[post_in_cat_shortcode]");
    }
    
    add_action('bbp_template_after_forums_index','rkk_show_specific_cat');
    #166176
    Robkk
    Moderator

    Add this custom CSS anywhere you can put custom css like your child themes style.css file or a custom css plugin.

    #bbpress-forums p.bbp-topic-meta img.avatar, 
    #bbpress-forums ul.bbp-reply-revision-log img.avatar, 
    #bbpress-forums ul.bbp-topic-revision-log img.avatar, 
    #bbpress-forums div.bbp-template-notice img.avatar, 
    #bbpress-forums .widget_display_topics img.avatar, 
    #bbpress-forums .widget_display_replies img.avatar {
        float: none;
        margin-bottom: 0;
        vertical-align: middle;
        border: 1px solid #ddd;
    }

    You can use this function (and add it where you can put php code snippets, like your child themes functions.php file or in a plugin like functionality) in this topic to increase those 14px avatars to say 24px.

    Resizing Avatars

    webplayer
    Participant

    I figured out to put the file in the directory and then to ssh to the directory and run this command:

    patch < 2690.01.patch

    But when I did that I got this back:

    patching file activity.php
    Hunk #1 FAILED at 275.
    1 out of 1 hunk FAILED -- saving rejects to file activity.php.rej

    Does that mean the patch is outdated?

    #166163
    AilyRoot
    Participant

    conversion is completed but username’s password is not converted but DOC says it will be converted https://codex.bbpress.org/getting-started/importing-data/import-forums/invision/

    any idea why is this?

    we are going to bbpress from ipb 3.4.7

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