Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 7,976 through 8,000 (of 32,522 total)
  • Author
    Search Results
  • #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

    #166161
    DevynCJohnson
    Participant

    @Robkk , thank you for your time.

    1. I did see the option for oEmbeds. However, after disabling oEmbeds and using WP-Sweep to remove all oEmbeds, WP-Sweep still finds oEmbeds after a few days. Currently, I wrote my own code to disable them.

    5. The Report content plugin has not been updated since November of 2014.

    12. True, I have tried BuddyPress’s upload-avatar feature and the various upload-avatar plugins, but they no longer work after I upgraded by website to HTML5. Notice that I mentioned that I can still upload media via the backend. My backend is using HTML4. You are right though, this is probably something for WordPress to implement rather than BBPress.

    #164318
    illwriteit
    Participant

    This is a rather huge branch off of the forum that was offered by Sceko in this topic:

    bbPress like Flarum

    The default view shows all topics, color coded with a unique font awesome icon assigned to each category.

    View One

    If you click on one of the main categories, whether it be public, support, or the restricted area, it will now show all topics including children forums of that particular category in this view. It also shows all children forums of that category as well:

    View 2

    Last but not least the reply look for viewing a topic shows not only the badges from mycred, but the picture rank as well.

    Topic view

    Robkk
    Moderator

    I think the the urls to the replies should be okay by default.

    Are you using a plugin for custom reply notifications?? I know some may have a wrong shortcode in place of the notification emails for new replies in topics that would link to the single replies.

    #166137
    Robkk
    Moderator

    Sorry for the really late reply, but see if this helps you. I know it is not duplicating and instead moving, but I feel like this is what you are trying to do.

    Common Tasks

    #166128
    Robkk
    Moderator

    Sorry for the late reply, I just approved your topic.

    Does it not work like this if you enabled the forum prefix??

    http://yoursite/forums/view/latest-topics/

    Also if you used the view shortcodes, it should be that specific page url.

    #165681
    aluxi33
    Participant

    These two bbpres shortcodes I added to my Main Menu are not working. They were working fine yesterday but not it says ‘That page can’t be found’.

    My website: http://mysite.com/recent-replies/

    http://mysite.com/view/latest-topics/

    #166126
    Robkk
    Moderator

    Sorry for the late reply, I just approved your topic.

    The files you may want to edit are.

    loop-search-forum.php
    loop-search-topic.php
    loop-search-reply.php
    loop-search.php

    These templates are in the bbPress plugin, and you can copy them over into your child theme so that customizations won’t be lost after a bbPress plugin update.

    I am not sure if expression engine only searches for topics, but I cannot find how to exclude certain posts from the forum search.

    You can also use some search enhancing plugins if you want. There are some plugins that search custom post types like Search Everything. I have also seen users hook up Google Custom Search too.

    #166120
    Robkk
    Moderator

    I think you disabled the forum search or just haven’t enabled it.

    As an alternative you can also include the bbPress posts into the regular WordPress search.

    Plugin, snippet, hack to include bbpress topics in wordpress search

    From what I could see, on your bbPress pages there was blog post data like the continue reading button.
    You may need to create a bbpress.php file to get rid of all the post meta data on your bbPress pages.

    Getting Started in Modifying the Main bbPress Template

Viewing 25 results - 7,976 through 8,000 (of 32,522 total)
Skip to toolbar