Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 6,076 through 6,100 (of 32,522 total)
  • Author
    Search Results
  • #177120
    maruthemany
    Participant

    Hi there,

    I’m slowly putting together a bbPress forum and have been researching the best ways to quote replies. Many of the threads I’ve seen on the topic are old, some pointing to outdated plugins; others point to trying custom development work. In general, it’s left me wondering how to go about enabling quoted replies.

    Is anyone in the same boat? Do any of the mods have any wisdom to share? I’d prefer an updated plugin -type solution, but I’ve also done a bit of web dev and a fair bit of Python, so I’m willing to put in the work and code a solution if need be–I just don’t know where to start.

    Thanks in advance for your help,
    -maruthemany

    #177109
    Robkk
    Moderator

    For subscribing to a topic you should see this subscribe link by the favorites link. Theme devs can move it though.

    https://codex.bbpress.org/features/subscriptions/

    #177104
    Robkk
    Moderator

    @robin-w

    And does this work for all themes, or just this one?

    I just come across the issue in themes every now and then. Depends if the theme includes a file called content-search.php as well, like in TwentyFifteen and TwentySixteen default themes.

    So whilst copying all the templates to the theme fixed it for the OP, is the fix just to copy content-search.php to get

    wp-content/themes/%your-theme-name%/bbpress/content-search.php

    Yes this would work as a temporary fix for bbPress forum users right now.

    You can add a patch to the ticket I created if you want to create a possible fix.

    I think possibly you would need to just rename the file on the bbPress end and that will do it, but there might be other instances in the plugin that would need a name change like in other additional template files, and possibly somewhere in the theme compat code.

    #177097
    adanoski
    Participant
    #177090
    Stephen Edgar
    Keymaster

    Your theme developers will need to be a little more specific than “bbPress code has some problems”.

    If bbPress’ code didn’t change and you updated your theme and now bbPress doesn’t work, then this is not a bPress issue, it is a issue with your theme and what changed in the latest theme update.

    I suggest you contact the theme developers again, link them here to this post of mine, if there is a bbPress issue, I’m happy to work with the theme author to fix bbPress if that is the case.

    #177089
    kellyt
    Participant

    i checked with technical support apparently the bbpress plugin code has some problem, hence it is not able to function properly. Is anyone facing that problem?

    #177086
    Robkk
    Moderator

    @phileas013

    I would like the questions to be displayed the same way that on this bbpress forum.

    On these forums the developer removed the content holding the labels and also moved the post date and id number in a different area.

    Robin linked you to a plugin that enables you to show the lead topic, which this site does, so you have that. If you do not want to use the plugin, or you are really just using it to just show the lead topic, you can also use this custom php snippet that is on this site.

    https://codex.bbpress.org/bbp_show_lead_topic/

    I still do not find a way to add a border around the topic (and not the replies) or find a way to make it look different from the answers.

    You can try some custom CSS like this. It won’t look as good as this site because of how its designed as I stated above.

    .single-topic .topic {
      border: 2px solid black;
    }

    I do not understand why the line in blue with “créateur” and “sujet” appears above and below the main topic.

    Thats normal, its how the lead topic is supposed to be displayed by default.

    #177070
    Robin W
    Moderator

    put this in your child theme’s functions file, and make the number bigger than the number of forums you have

    update_option ('_bbp_forums_per_page', 200) ;
    

    Functions files and child themes – explained !

    Costin
    Participant

    Hi,

    First assure that ‘Allow guest users without accounts to create topics and replies’ is checked.

    To allow guest just to create topics, in wp-content/plugins/bbpress/templates/default/bbpress/form-topic.php one line 28 change with:

    <?php if ( bbp_current_user_can_access_create_topic_form() && !bbp_is_anonymous() ) : ?>

    To allow guest just to create topics, in wp-content/plugins/bbpress/templates/default/bbpress/form-reply.php one line 28 change with:

    <?php if ( bbp_current_user_can_access_create_reply_form() && !bbp_is_anonymous() ) : ?>

    #177048
    joshgb93
    Participant

    Update: Still didn’t find a way to fix this…
    However, I noticed that the menu is okay on mobile. Also, if I’m using another page and adding the [bbp-forum-index] shortcode to it instead of the default forums root page, it’s okay as well.

    #177043
    Robin W
    Moderator

    I think you are now into custom web design !

    I’ll do the following for you, but now you are talking abut amending the tpoics plugin, of which I have no coding knowledge

    to get rid of the line below put this in your css

    .bbp-footer.last-child {
      display: none;
    }
    #177039
    reders
    Participant

    Hi, sorry for the late reply.

    We have our forum index which I’ve created by adding a shortcode to a WordPress page: http://red-ferndevelopment.co.uk/FootballMedic/forums/

    This page displays fine as I’ve been able to add a H1 and padding, but clicking into any of the other forum pages has no padding or H1 title tag.

    Is there any way of doing this without manually editing each PHP file?

    On a side note, I have a couple of questions about general customisation that I can’t seem to find answers for in the documentation, or in the forum. Should I start a new thread or post within this one?

    Many thanks in advance.

    Many thanks,
    Austin

    #177030
    Nik_S
    Participant

    Solved! Going line by line through the Bones theme I discovered that the call to load jQuery <script type="text/javascript" src="/wp-content/themes/bones/library/js/jquery.js"></script> was located in the theme’s footer “for faster loading.” Moving this line to the header fixed the problem. Still not quite sure why – seems the editor cannot wait for jQuery to load – but at this point I’m just glad it’s sorted. Thanks again for your help @robin-w.

    #177015
    jem3299
    Participant

    I had a member post a snippet or two of php in a couple of replies without closing the tag. The order of the replies are now messed up. Sometimes a reply will post up before the last one. Sometimes it will go to the top. On some topics they seem to be fine.

    I have deleted all of the entries that had code in them. I have run the repair tools several times.

    I have even installed the “Sort topic replies” plugin. The sorting does not appear to be working with that, however the option to always have the main topic post at the top does work and does make it a bit better.

    I’m using the latest version and the link is http://www.dualcreatives.com/forums/ but most of this is happening in the private member forums. The public forum only has a few and I don’t see it happening on those.

    Does anyone have any ideas on how I might fix this?

    #177007

    In reply to: bbp-admin-links broken

    earworm
    Participant

    And I found the solution:

    Navigation Links Return 404s Errors

    #177004
    Robin W
    Moderator

    2. Changing the titles

    The part that says ‘forum’ is harder – this is part of the template, so different title would require recoding that template. If you are up with changing php files, I’ll look at how easy that is

    However I suspect you have dome that layout using shortcodes? If so then you could just put a header in your page for each – not as neat but perfectly functional. If not let me know how you have done the layout.

    #177003
    Robin W
    Moderator

    1. Removing the breadcrumbs

    if you are fine with code then :

    Layout and functionality – Examples you can use

    if not then use my style pack plugin to turn them off

    https://wordpress.org/plugins/bbp-style-pack/

    #176987
    Robin W
    Moderator

    yes I agree that would be better

    If you know how to add code to your childtheme functions file, then

    1. create a page called something like ‘Password Reset’ and put in the content the message you would like to display

    Make a note of the url of this

    2. Put this code into your functions file

    add_action ('bbp_get_wp_login_action', 'rew_lost_pass', 20, 3) ;
    
    function rew_lost_pass ($login_url, $r, $args) {
    //bail if this is not a lostpassword
    if ($r['action'] != 'lostpassword' ) {
    return apply_filters( 'bsp_lost_pass1', $login_url, $r, $args );
    }
    //so this is lost password so go to lost password login page
    $login_url = 'http://mysite.com/password_reset/' ;
    //$login_url = $r['context'] ;
    return apply_filters( 'bsp_lost_pass2', $login_url, $r, $args );

    and change the line

    $login_url = 'http://mysite.com/password_reset/' ;
    

    to whatever url you had in 1. above

    #176986
    Nik_S
    Participant

    Hi,

    Here is what the editor looks like when logged out:
    http://www.sva.bc.ca/logged_out.png

    And here is what it looks like when logged in, with any user role:
    http://www.sva.bc.ca/logged_in.png

    Note the TinyMCE/Quicktags editor buttons are missing. The images above show this for the topic creation but it’s the same for replies. Here is the HTML code that appears when I inspect the element (while logged in):

    <div id="wp-bbp_topic_content-editor-container" class="wp-editor-container">
        <div id="qt_bbp_topic_content_toolbar" class="quicktags-toolbar"></div>
        <textarea id="bbp_topic_content" class="bbp-the-content wp-editor-area" name="bbp_topic_content" cols="40" tabindex="102" rows="12">
        </textarea>
    </div>
    #176982

    In reply to: Menubar width

    Robin W
    Moderator
    #176969
    Robin W
    Moderator

    ok, I’d strongly recommend you have a testing site.

    Creating a Test Site

    Whilst it will take an initial effort to set up, it is well worthwhile

    #176925

    In reply to: Add Forum Role [VIP]

    Fuskeduske
    Participant

    Hi Istrix,

    Could you attach the lines from your functions file, containing this code? This will help with troubleshooting.

    -Mads

    #176921
    subrat4dc
    Participant

    Hi!,

    I have kept the shortcode for lost password in bbpress and after giving email address and clicking “reset password” button no message is showing in the page like “please check your mail with reset password link”.

    Please help.

    #176917
    istrix
    Participant

    How to add a VIP role same caps as participant.

    When I add this code, my site will get a HTTP ERROR 500.

    Please help.
    Thanks!

    #176914
    Robin W
    Moderator

    can you post a link to an example and I’ll give you some code

Viewing 25 results - 6,076 through 6,100 (of 32,522 total)
Skip to toolbar