Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 13,801 through 13,825 (of 32,503 total)
  • Author
    Search Results
  • #136958
    leanderbraunschweig
    Participant

    Hi there!

    Just yesterday I went ahead and updated our bbPress to 2.4 and missed out on validating the search functionality – which actually broke!

    Right now I get a 404 when using the search functionality. It somehow cannot handle the new pretty URLs introduced with 2.4.

    Instead of
    http://bbpress.org/forums/search/my-query/

    I get
    http://mydomain.info/searchmy-query

    I already tried:

    – Disabling affiliated bbPress-plugins (got one German string replacement active)
    – Saving the Permalinks again
    – Checking .htaccess for any possible Rewrite-Rules which might conflict

    None of those worked.

    Any hints on how to tackle the error? It obviously was introduced with 2.4 and I couldn’t even say where to look first after checking up upon the obvious…

    I got a bbpress.php in place at /wp-content/themes/my-theme/ in order to wrap bbPress in style but even there I double checked the code and essentially there is nothing possibly conflicting (at least from what I see).

    Looking forward to you guys helping out.
    Thanks & Regards!

    #136941
    kurtau22
    Participant

    When someone uses the quote option, it’s adding div tags in the code, so that when they submit, they show in the forum.

    <div class=”d4p-bbp-quote-title”>The WarBlogler wrote:</div>Example? Was it just the quote HTML text?

    Example:
    http://www.warblogle.com/forums/topic/feedback-issues-suggestions-etc/#post-43162

    Any ideas?

    #136938
    Xevo
    Participant

    You can just use the wordpress function in the widget.

    current_user_can

    #136932
    joejozwowski
    Participant

    I am modifying a site to enable this simple snippet of code to the bbPress login Widget. Once a user is logged in, I would like to check the user’s role (WordPress Role: admin, editor, author) and allow only those three access to the site’s dashboard by simply displaying the link there. I do not know how to translate the bbPress roles to the WordPress roles.

    Any insight would be most appreciated.

    Thank you in advance.

    #136930
    mediaplasmid
    Participant

    Hi all,

    here is a problem that one of my members ran into whilst testing out the different tags available in the text editor. As he was unfamiliar with html tags he didn’t realise that a list tag would need to be nested within a ul/ol. Anyway, the problem occurs whenever someone posts a reply which contains an unnested list item (<li>list item</li>). Once the post is published the list tag is rendered underneath the unordered list class=”forums bbp-replies”. This causes styling issues for anything being displayed underneath the post.

    I thought this may of just been my forum, but i briefly tested it on this forum and it also causes styling issues.

    You can find a screenshot comparison of how my forum looks normally and how it looks with the tag breaking the style.

    Comparison screenshot

    The image doesn’t show the severity of the issue, but you can see how a simple tag that any user can post can effect styles which are outside of the text editor.

    I tried searching but couldn’t find anyone else reporting a similar issue. Has anyone else run into this before? are the bbpress developers aware?

    #136895
    Stephen Edgar
    Keymaster

    @hamed-hosseini Thanks, take a look at these resources to get started translating bbPress:
    https://codex.bbpress.org/bbpress-in-your-language/
    https://translate.wordpress.org/getting-started

    #136889

    In reply to: Delete Sidebar

    acekin
    Participant

    For a page you write, you can choose the type of layout you want given that your theme offers that. However, bbPress runs on a page created on the fly, three is no page called “forums” unless you create one and then use shortcodes to bring up the forum.

    Every theme has a CSS file which can be edited within WordPress. Go to Appearance/Editor and your theme CSS should load. I edited my theme’s CSS and added the code I gave in my previous post.

    #136879

    In reply to: Remove sidebar

    Verplancke Jeroen
    Participant

    I have a full width page template option… but how on earth do i make a /forums page myself ? I do “create page” and then what ?

    Is there some kind of shortcode to “insert forum here” ?

    #136873
    Xevo
    Participant

    I don’t see an image?

    Anyways, you’ll have to edit your forum in your theme.
    https://codex.bbpress.org/theme-compatibility/

    bbPress doesn’t add any bb_ tables anymore. It sounds like none of your admins have the Keymaster role.

    If you want to remap user roles, visit Tools > Forums and tick the “Remap existing users to default forum roles” box, and repair them. That will make all Administrators on that site also be Keymasters.

    If you want to automatically map regular registered users to have a role in each site’s forums, visit Settings > Forums and tick “Auto role”.

    Admittedly, the multisite integration right now isn’t ideal; you may end up building plugins to modify the exact behavior to suit your needs. If that’s the case, I’d love to read about your problem and solution, to see if there’s room for better default behaviors in bbPress core.

    #136865
    peaco
    Participant

    hello..

    i like to offer my users an extra (costum) profilepage where they can see an overview of their own posts… like in the profile. is this with a shortcode possible ?

    thanks

    #136855
    friedVol
    Participant

    I’m getting the same message – “You do not have sufficient permissions to access this page” – when I click on Settings in the plugin.

    Also the Forums button does not show up in the left-side menu of my WP admin panel. Yet I have 7 bbPress widgets.

    I’ve deactivated and reactivated the plugin. When I first clicked “activate” I got the “You do not have sufficient permissions…” message. I clicked activate a second time, and the plugin showed as activated. But still no Forum button.

    This bbPress.org site says easy instructions are provided, but my installation has no instructions. I was expecting to paste a shortcode to the forum on a blank page. I can’t imaging putting all 7 bbPress widgets in a sidebar.

    I do not have the Page.ly plugin the previous poster said affected his/her bbPress. I do have a time.ly plug in (calendar) which I need. Why would plugins interfere with each other?

    I need help with this because no other forum plugin is showing as tested with my version of WP which I believe is WP3.6, although I’m not able to find the version number anywhere on my dashboard.

    #136850
    akasocrates
    Participant

    Hi there —

    I’ve searched the forums and think I’ve tried all suggested solutions.

    I have this forum and it works fine: http://realworldsupplychain.com/forums/discussion/certified-supply-chain-professional/

    But then when I go to the “forums” slug, I get an error page like this: http://realworldsupplychain.com/forums/

    I tried different permutations. I tried creating a /forums Page and entered the [bbp-forum-index] shortcode. That didn’t work too. I’ve tried deleting/reinstalling bbPress, still no joy.

    I don’t have any existing pages with /forums off my domain.

    Any help would by much appreciated. Thanks in advance!

    #136827
    gplana
    Participant

    Thank you for your answer. I tryied what you suggested but same result.
    Maybe is due to an incompatibility with my theme?

    My main forum customized page have this to show all topics:

    	<?php if ( bbp_has_topics($args) ) : ?>
    		<?php bbp_get_template_part( 'bbpress/pagination', 'topics'    ); ?>
    		<?php bbp_get_template_part( 'bbpress/loop',       'topics'    ); ?>
    		<?php bbp_get_template_part( 'bbpress/pagination', 'topics'    ); ?>
    	<?php else : ?>
    		<?php bbp_get_template_part( 'bbpress/feedback',   'no-topics' ); ?>
    	<?php endif; ?>
    

    I make a print_r($args) and it has an empty array. I also tryied to remove $args argument from bbp_has_topics but same result (no topics message displayed).
    Maybe in bbPress 2.4 bbp_has_topics() is not the right function to start a loop?

    I can see forum topics from wp-admin, so I’m sure topics are there.

    Thank you.

    #136812
    kcurlsjr
    Participant

    @netweb said:

    definitely private group forum posts should not be showing up when using [bbp-topic-index].

    So I am trying to wrap my head around how this topic index shortcode should work. Is it intended to only display public forums? Or should it display forums the user has permissions to see?

    If the latter, is that determined by the forum visibility, the buddypress group privacy status, or both?

    Here is what I am experiencing with bbp 2.4, BP 1.8.1, and WP 3.6:

    If the visibility of a group forum is changed (at the forum level) from published to private then a user with the forum role of participant can see the private forums in the topic index as well as on the forum root page. These are visible even if the user isn’t a member of that BP group.

    But if I use the repair tool to “recalculate private and hidden forums”, that same user can no longer see them in the topic index (again, regardless of if the user is a group member or not), but can still view them on the forum root page.

    Is this what should be happening?

    Or perhaps is this related to this defect?

    My ultimate goal is to have a user role that can view private topics and another role that can not. Can this be accomplished using that topic-index shortcode, or do I need to find another solution?

    Thanks for all your efforts!

    #136803
    briantoronto
    Participant

    Hello

    On the site I am working on (not yet live) we are using BBpress Forums integrated with a Buddypress installation. Both the Buddypress Group and associated BBPress Forums are marked Hidden.

    Users with Group Role as Member can properly see the Forums when viewing directly.

    The issue comes to when we try to have users view the Forums via Short Code.

    Only those with a Group Role of Moderator or higher can see the forum via Short Code.

    WP is 3.6, bbPress 2.4, BuddyPress 1.8.1

    #136795
    Tecca
    Participant

    Find this in your bbpress.css file:

    #bbpress-forums ul.bbp-lead-topic, #bbpress-forums ul.bbp-topics, #bbpress-forums ul.bbp-forums, #bbpress-forums ul.bbp-replies, #bbpress-forums ul.bbp-search-results

    Within that, there will be font-size: 12px. Change the pixel number to a higher value.

    The bbPress.css will be located in your bbPress folder in your plugins. If you don’t have the bbPress.css in your theme, copy that file and put it into a folder called “css” directly with of your theme files.

    #136794
    Xevo
    Participant

    bbp_is_search()

    #136793
    Xevo
    Participant

    Haven’t tested it, but this should force all the content (or at least most of it) to take over your themes font-size.

    #bbpress-forums { font-size: inherit !important; }
    div.bbp-breadcrumb, div.bbp-topic-tags { font-size: inherit !important; }
    #bbpress-forums ul.bbp-lead-topic, #bbpress-forums ul.bbp-topics, #bbpress-forums ul.bbp-forums, #bbpress-forums ul.bbp-replies, #bbpress-forums ul.bbp-search-results { font-size: inherit !important; }
    #bbpress-forums .bbp-forums-list li { font-size: inherit !important; }
    #136787
    Stephen Edgar
    Keymaster

    @csotelo Most excellent dude…. That said, I made one too 🙂

    You can grab the latest revision from https://bbpress.trac.wordpress.org/ticket/2402

    The main differences are:

    • Forums
    • Updated code formatting and inline docs
    • Uses kunena_categories.parent_id for Forum parent ID
    • Imports Forums topic & reply counts
    • Uses kunena_categories.alias for forum slug (seo)
    • Includes Category/Forum forum type input & callback method
    • Includes Open/Closed forum status & callback method
    • Topics
    • Ahmmm

    Ok, I just stopped at ‘Topics’ as there are quite a few differences there, I based mine on Kunena v3.0.1 Forums, What version are you importing from?
    (There are some significant changes here)

    #136777

    In reply to: Site title missing

    Justin Tadlock
    Participant

    It looks to me like bbp_title() is overwriting the title when it’s not a bbPress page. Since bbp_title is a filter on wp_title, it should bail and return the original title when it’s not a bbPress page.

    That’s my best guess from a quick look over the code. I’m not familiar enough with the bbPress code base to know for sure though.

    #136765
    Xevo
    Participant

    You have 2 options for this.

    1. Recode the bbpress plugin and change out the custom post type names/slugs etc.
    2. Try to filter the forums with a custom query on the loops.

    #136764

    In reply to: @mention autosuggest

    Xevo
    Participant

    There is no plugin that does this for bbPress as far as I’m aware off. You could try looking at the code from BP Labs and extending it too bbPress.

    #136757
    aotar
    Participant

    do you guys know if there is any way to avoid putting html tags for images and such as part of the comments? —> <img src="http://asd" alt="asd" />

Viewing 25 results - 13,801 through 13,825 (of 32,503 total)
Skip to toolbar