Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 9,276 through 9,300 (of 32,519 total)
  • Author
    Search Results
  • #159498
    Robkk
    Moderator

    are you using shortcodes in templates or pages??

    #159497
    Robkk
    Moderator

    maybe using conditionals in the user profile templates (copy these to a child theme) would do it.

    bbPress Conditional Tags

    it might is_single_user() then array the guest accounts user ID to hide the user profile information

    #159496
    Robkk
    Moderator

    this is what the freshness column is using

    <?php bbp_author_link( array( 'post_id' => bbp_get_topic_last_active_id() ) ); ?>

    #159486

    In reply to: Best anti spam plugin

    Robkk
    Moderator

    for registrations i use bruteprotect it helps out alot.

    bruteprotect + akismet = <3

    plus combine that with bbPress’s spam control functions (throttle posting/time to edit)

    bbpress uses the comment moderation settings https://codex.bbpress.org/moderation-and-blacklisting/

    so combine that with the blacklist.txt from here and you should be fine

    https://github.com/splorp/wordpress-comment-blacklist

    #159485
    Robkk
    Moderator

    @nolimit966 i think you can use <?php bbp_topic_excerpt(); ?> place this in loop-single-topic.php and you should see it.

    #159474
    rbrynest
    Participant

    Whenever a new user tries to register or login to my site, it just shows a white page with “blocked” written on it.

    I am using bbPress forum plugin and have the “Allow anyone to register” checked.

    My register page is using the register shotcode and as a login I use the (bbpress) login widget in a sidebar.

    I have checked for conflicts by deactivated all plugins but bbpress and switched to the default twentytwelve theme to see if this fixes. Unfortunately with negative results.

    Any idea what’s going on?

    Register URL: http://www.oppfraavgrunnen.no/registrer-deg/
    Login URL: http://www.oppfraavgrunnen.no/bbpress/

    Thanks in advice

    Regards
    Rune

    #159472

    In reply to: Forum Page ID's

    Alice Kaye
    Participant

    Haha, that certainly would make things easier on everyone (myself included). The biggest issue here is that, without an account you cannot see the forums due to the way my site’s permission system is set up. So if you need to see code, let me know and I’ll give you the test account login information. 🙂

    Forum Setup:

    Final Fantasy XIV (FFXIV Background)
    – General Discussion
    – The Forge
    – The Golden Quill
    – Journals
    – Ultima EX
    All of the sub forums currently have the FFXIV handcoded into the CSS section so their backgrounds are also FFXIV. However, whenever a post is made in any of these forums, my base site background is the one showing. If possible, it would be great if any forum posts made in any of these specific forums had the correct corresponding background.

    The same goes with my Guild Wars 2 section which has a Guild Wars 2-based background.

    The thing is, I’m not sure if this is at all possible.

    Hoping that I’ve explained that well. 🙂

    #159464

    In reply to: Forum Page ID's

    Alice Kaye
    Participant

    Hi @robin-w & @robkk,

    I tried to reply the other day but every time I hit submit, everything would disappear and it wouldn’t post my reply. Oi.

    So firstly I wanted to say thank you to both of you for all of the help and support with everything. You guys got me on the right track which was GREAT!

    The code that ended up working for me was:

    .postid-37 #fixed-background { background: url('http://www.heartwoodgaming.com/wp-content/uploads/2015/02/gw2-background.jpg') !important; }

    I was hoping that by changing the page ID background for each forum, that the subsequent posts would also have that background, but it didn’t pan out. I’m curious if this is possible in some way? It’s tough to imagine via CSS simply because the pages generate when created, so it would have to be based on a forum ID (in my head), rather than a simple postID.

    Do you guys have any thoughts on this at all?

    Again, thanks for the help and sorry I couldn’t reply sooner. It just wouldn’t let me! 🙁

    #159434
    Robkk
    Moderator

    there is no shortcode for recent replies

    you could try this??

    https://wordpress.org/plugins/amr-shortcode-any-widget/

    you could follow this tutorial to create a recent replies shortcode , i tried it and i didnt get the results i wanted before

    http://www.daggerhart.com/bbpress-recent-replies-shortcode/

    other things you could do is use get template part, then make a shortcode for a template

    https://codex.wordpress.org/Function_Reference/get_template_part

    you could do some custom query in a new template , put a custom sidebar in the template and place the widget there.

    then if you want follow this tutorial to use get_template with a shortcode

    kovshenin.com/2013/get_template_part-within-shortcodes/

    #159429

    In reply to: Modifying bbpress

    inventorgeorge
    Participant

    Thank you robkk:
    I will dig into this. The shortcode should make this very simple.

    Regards,
    George

    #159427

    In reply to: Modifying bbpress

    Robkk
    Moderator

    follow this guide here is part 1

    Step by step guide to setting up a bbPress forum – Part 1

    part 2 is linked toward the very bottom

    but you can create a blank page and have it use the same forum archive slug as you set in settings>forums.

    for example create a page called Forums , the end slug should be the default /forums and it should lead you to your forum archive.

    an alternative is to use the forum archive shortcode

    [bbp-forum-index]

    #159422

    In reply to: bbPress 2.5.5

    Ok, it looks like the problem is partly in our theme, but there is a change in 2.5.5 not mentioned in the changelog that is triggering the issue. It seems to be related to this:

    https://bbpress.trac.wordpress.org/ticket/2607

    We have a check on WP_Query->is_search that is returning true in the topic and reply loops when I believe it should be returning false. The resolution of the above ticket was supposed to fix this same issue…

    #159420

    In reply to: bbPress 2.5.5

    After updating from 2.5.4 to 2.5.5, bbp_has_topics() is returning false on our single forum template, and bbp_has_replies() is returning false on our single topic template (both in cases where these functions should be returning true). Nothing in the 2.5.5 changelog seems relevant to this, so I’m at a loss as to what is causing this behavior…

    #159419
    drsarf
    Participant

    Hi guys
    I have bbpress installed and my main forum page has a rev slider on it and the shortcode to pull in the forum underneath.
    However I want the header (or just the option for any image) to be output on the single forum pages.
    Anyone know how?

    You can see here with the header:
    http://79.170.44.148/semsnet.co.uk/forum/

    Bland/no image:
    http://79.170.44.148/semsnet.co.uk/forums/forum/policy-voice/

    Thanks
    Mat

    spespam
    Participant

    Hello,

    What is the shortcode to display the recent replies in a page instead of a widget ? I want the appearance of the recent replies to be just like in a widget (that means a simple LIST), so none of the shortcodes here (http://codex.bbpress.org/shortcodes/) corresponds to my request.

    Thank you for your help.

    whileloop
    Participant

    How can I allow the participants to delete their own posts. I tried adding the line of code below to ‘capabilities.php’ under ‘case bbp_get_participant_role()’, but I don’t see the delete button when I login as a participant.

    ‘delete_topics’ => true,

    I hardly know PHP.
    Could someone help me on this issue? Thanks.

    #159403
    nolimit966
    Participant

    I have tried replacing that, but there’s still no joy at all.
    The user profile link is still broken due to the space being stripped between the first and last name.
    So https://hub.hiddenurl.co.uk/forums/users/johncroft/ – 404 error
    https://hub.hiddenurl.co.uk/forums/users/john%20croft/ works fine. Is there a way to FORCE a space between the first and last name without hacking core code?

    Any help would be really appreciated. many of our users are getting frustrated by this problem & we are receiving support emails because of it.

    Thank you 🙂

    #159397

    In reply to: Forum Page ID's

    Robin W
    Moderator

    Thanks rob as usual for the better css code !

    #159393
    Lalit_patadiya
    Participant

    Go to \wp-content\plugins\bbpress\includes\common folder and open template.php file and go to line: 2319 and put the condition as bellow

    if($r[‘current_text’] == ‘Forums’){
    $crumbs[] = $r[‘current_before’] . ‘/put your text here./’ . $r[‘current_after’];
    }else{
    $crumbs[] = $r[‘current_before’] . $r[‘current_text’] . $r[‘current_after’];
    }
    try above code it’s work for me

    #159391

    Topic: New Topic Form

    in forum Installation
    eVersatile
    Participant

    Hello,
    Using the new topic shortcode, is there a way to get the forums of the current user? or is there a way for me to edit this snippet `<p>
    <label for=”bbp_forum_id”><?php _e( ‘Book:’, ‘bbpress’ ); ?></label><br />
    <?php
    bbp_dropdown( array(
    ‘show_none’ => __( ‘(Select One)’, ‘bbpress’ ),
    ‘selected’ => bbp_get_form_topic_forum()
    ) );
    ?>
    </p>
    ` to reflect forums from the current user?

    #159389

    In reply to: Cool site widgets

    Robkk
    Moderator

    i found this plugin which pretty much has it, no styling though.

    https://wordpress.org/plugins/bbpress-info-widgets/

    but bbpress.org uses

    forum shortcode to list the forums.

    regular bbpress topic tags widget

    they are just links , you can put the menu widget there, create a new menu and put your feed links there, they will be exactly like the links what bbpress.org uses just replace the domain name with yours

    custom development for the forum info.

    #159388
    Robkk
    Moderator
    #159384

    In reply to: Forum Page ID's

    Robkk
    Moderator

    @alice-kaye

    i know that finding the id in the page source is a little easier since your using CSS.

    but i also like to point out that you can use this plugn for finding the ID in the backend of WordPress for the forums/topics/replies sections to show the post types ID.

    its pretty useful.

    https://wordpress.org/plugins/reveal-ids-for-wp-admin-25/

    as for the CSS you could be missing a few periods.

    .bbpress .single-forum .postid-20 #fixed-background { background: url('http://www.heartwoodgaming.com/wp-content/uploads/2015/02/ffxiv-background.jpg') !important; }

    #159380

    In reply to: Can't find

    Robkk
    Moderator

    @seo45

    if your theme author did not copy all of the bbpress templates to your child theme (use a child theme if you didnt) you can go into the plugin and copy the loop-single-reply.php file into your bbpress folder.

    if your theme is highly customized and copying the file from the bbpress templates to your child theme is causing issues, contact your theme author for help as your theme might be highly customized.

    this link might help explain better how to copy the templates you need into your bbpress folder, but since you have customized templates from your theme already try not to overwrite them.

    https://codex.bbpress.org/theme-compatibility/

    #159378
    Robkk
    Moderator

    did you create a bbpress.php ?? it might help this issue but im not sure.

    https://codex.bbpress.org/theme-compatibility/getting-started-in-modifying-the-main-bbpress-template/

Viewing 25 results - 9,276 through 9,300 (of 32,519 total)
Skip to toolbar