Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 8,376 through 8,400 (of 32,505 total)
  • Author
    Search Results
  • #164034
    Robkk
    Moderator

    @melanie-bund

    FIx that annoying dialog saying

    you must be logged in to chat

    It never stays closed no matter how many times I close it, and it really doesn’t encourage new users to want to create an account for the site.

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

    Troubleshooting

    Robkk
    Moderator

    1. Users are set to be able to edit their posts/replies, and the Edit button does show up, however when they click on Edit it simply goes to 404. Admins also cannot edit via the Edit button without 404.

    This can happen also in some default themes like Twenty Fifteen (should work in Twenty Twelve though), but can also be easily fixed by placing the bbPress template files into a child theme.

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

    2. User profiles are not showing up. Upon clicking on an avatar or manually typing in the profile url (with my username) it returns 404.

    Do profiles show up without BuddyPress?

    (I also need to figure out how to put an ‘Edit Profile’ button somewhere, but that won’t matter if I can’t fix these other two issues)

    Works for bbPress profiles though, I might update it for BuddyPress later.

    Layout and functionality – Examples you can use

    #164030
    Robkk
    Moderator

    I made the forums page using the permalink method and it works great. The problem is that underneath the list of available forums there is a gray circle with a white head and the word By, as if there should be an author shown. But this is the page of all of the forums by various authors. I can’t seem to get it to go away.


    @caseylifec

    sounds like post meta that is being shown because of your theme and the template that bbPress is using from that theme to show the forums.

    You can hide that data with CSS or remove it completely by creating a template specifically for bbpress and remove the code that is rendering the data. Link to your site so I could help you remove the data with CSS.

    If you want to try removing the code you can also try following this guide too.

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

    #164028
    Robkk
    Moderator

    I just found this plugin and it seems to mention some bbPress support

    https://wordpress.org/plugins/email-encoder-bundle/

    It lists a code example for bbPress here

    https://wordpress.org/plugins/email-encoder-bundle/faq/

    Robkk
    Moderator

    Did this happen with the latest update of bbPress??
    Also do some troubleshooting and try to find a plugin or theme issue.

    Troubleshooting

    Blank Pages

    #164023
    PinkishHue
    Participant

    Sorry for the delayed reply, you could upload your screengrab to http://imgur.com and then give us the link.

    Do you have some topics within your forums? Could it be that the template is saying ‘by’ as it’s trying to show the latest topic but there’s no topic there to show?

    And what theme are you using? It could be that the ‘by’ has been hard coded in to the templates?

    #164019
    PinkishHue
    Participant

    The positioning should be do-able using CSS but it’s hard to advise without access to the page to see what CSS classes etc are on those elements.

    For the login form area you want something like…

    .login-form {
    width: 70%;
    float: left;
    display: inline;
    }

    and for the search area…

    .theclassname {
    width: 27%;
    float: right;
    display: inline;
    }

    But you may also want to look in to using media queries so that this CSS is only used when the browser window is big (on a pc) so that when people access the site on a smaller browser window (on a mobile or tablet etc) those areas aren’t all crammed in together.

    Re: defining different class names – I think we’d need to see your site/code to make sense of that, I just had a quick look at the buddypres template for the registration page and can’t see any classes of .login-form there so it may depend on your theme.

    Hope that’s of some help 🙂

    #164005

    In reply to: Topic & Reply count

    Robin W
    Moderator

    try changing

    $args['count_sep'] = false;
    

    to
    $args['count_sep'] = '';

    #164004
    melanie bund
    Participant

    Hi Am not sure where my other 2 posts went, have posted twice with code, maybe that is the problem the code. My problem is that the replies to topics appear empty.
    Am using wordpress 4.2, bbpress latest version as just updated to see if that might be the problem
    ANY help wold be greatly apreciated
    forum:
    http://photohunters.org/forum/members-blog/
    reply:
    http://photohunters.org/topic/shutter-speed-cheat-sheet/#post-666

    Thank you Melanie

    #163989

    In reply to: Topic & Reply count

    milenushka
    Participant

    Hi @robin-w,

    and how to get rid of the little comas in between the sub forums?

    I added this code to my functions.php, but the comas still appear..

     function remove_counts() {
    $args['show_topic_count'] = false;
    $args['show_reply_count'] = false;
    $args['count_sep'] = false;
     return $args;
    }
    add_filter('bbp_before_list_forums_parse_args', 'remove_counts' );
    

    thank you

    #163988

    In reply to: Importing from WBB4

    Stephen Edgar
    Keymaster

    For any code you can create anonymous (i.e. You do not require a GitHub account) and paste your code here https://gist.github.com it makes the code much easier to read than posting here on bbPress.org.

    The 4 tables would be wbb1_board, wbb1_thread, wbb1_post and wcf1_user

    Open up phpMyAdmin on your install, navigate to the database, click one of the 4 tables I listed above, then click structure, take a screen shot of similar to this example here.

    #163987

    In reply to: Importing from WBB4

    sammmmy
    Participant

    the code that i posted above, was the “corrected” version of the wbb3 Code.

    I do not know how i can post you the Database schema, is there a good way to do this?

    #163984
    stardrive
    Participant

    Please, what are the shortcodes for Edit Profile, Change Password?

    Regards,

    Stardrive

    #163977
    #163976
    Stephen Edgar
    Keymaster

    Apologies all, this is not a bbPress issue, when bbPress is activated without any other plugins there are no notices, the notices only appear once activating both Yoasts’ WordPress SEO and News SEO plugins.

    If you comment out this out of the News SEO plugin file class-meta-box.php

    add_filter( 'add_extra_wpseo_meta_fields', array( $this, 'add_meta_fields_to_wpseo_meta' ) );
    

    In the News SEO plugin the issue is resolved and no notices are displayed.

    It appears to be related to pre_get_posts being used in WordPress SEO by Yoast, this was picked up in the WordPress Core ticket https://core.trac.wordpress.org/ticket/31231

    #163973
    Robkk
    Moderator

    There seems to be users that have gotten the same error.

    Fresh install, php warning on all pages in site

    A user listed a fix to surround an attribute with an array() , which I did test and it does seem to hide the error.

    Might need some second thoughts from Stephen though.

    #163964
    Robkk
    Moderator

    Thanks for pointing me to the topic.

    I see that bbPress is inheriting a lot of styles from your theme

    bbPress is using lists instead of a table layout so that is why you see some of the bubbles there.

    I see you removed the list styles from your forum.

    But you might need this additional CSS to fix some other layout issues.

    #bbpress-forums .art-postcontent ul>li, 
    #bbpress-forums .art-post ul>li, 
    #bbpress-forums .art-textblock ul>li {
      padding-left: 0px;
      overflow-x: hidden;
      overflow-y: hidden;
    }

    There is some other styles being inherited from the theme, but they are just for styling text and they are quite difficult to fix the same way as above.

    Oh and you can delete the account you created for testing. I don’t think I have to login to see the issues you have, unless you have gotten issues around something I would have to see while logged in only.

    #163961
    Robkk
    Moderator

    try some troubleshooting

    Troubleshooting

    #163945
    Kaynechiro
    Participant

    Hello,

    In my forum, we see the latest author TOPIC avatar from the index page;
    And i want simply to show the latest author REPLY avatar instead.

    There is an example of what I would like to change:

    There is a code to change in the file “loop-single-forum”?
    Please help me and thank you for reading this post!

    #163944

    In reply to: Help!! Please!!

    Robkk
    Moderator

    Can I change me Avatar and how

    Created this guide awhile ago, just because people keep asking how to do this.

    https://codex.bbpress.org/getting-started/user-submitted-guides/user-avatars/

    Can you tell me where to find the original Moderator permissions that comes with your plugin?

    bbPress User Roles and Capabilities

    #163942
    Robin W
    Moderator

    The ‘something happened’ is unfortunately the key to this.

    Users will have a role, and the default roles are stated in

    bbPress User Roles and Capabilities

    so as long as a user has the right level, then the default will tell you what they should have.

    But an plugin, or change to functions code can change the default roles, so without pouring over the code, it is impossible to say whether a user has a particular level beyond seeing what they can do.

    So you’ll need to come back to ‘something happened’ to wpork out wthat that was and why it affected.

    So have you done

    theme updates
    plugin updates
    changed themes
    added or deactivated plugins

    #163941

    In reply to: Help!! Please!!

    Robin W
    Moderator

    ok, found the link in your other post.

    Posts and comments are a wordpress thing and controlled by wordpress roles
    Forums, topics and replies are a bbopress thing and controlled by bbpress roles

    You’ll find wordpress roles at the top of a user edit, and bbpress at the bottom

    Dashboard>users>all users>edit user and that’ll get you to the screen

    and yes functions.php is where you should put it, but generally in a child theme

    Functions files and child themes – explained !

    #163930

    In reply to: Help!! Please!!

    Celtic
    Participant

    Well I guess I’ll as one question at a time … Can I change me Avatar and how …. No option too …

    Okay on a more serious note can anyone tell me where I can edit the permissions code for each User Role?

    #163929

    In reply to: Help!! Please!!

    Celtic
    Participant

    okay so there is only a certain amount of letter it will let me do then? Or maybe I can’t us code …. this is so frustrating cause I’m so stuck ….

    #163926
    peter-hamilton
    Participant

    But out of the box BBPress does not separate forums in different categories.

    This needs to be achieved with a few hacks.

    TamrielFoundry was my model as it is the better looking BBPress forum on the web.

    After trying a few hacks, like the “epicwebs” snippets from GitHub I decided to create a simpler loophole.

    I created a page (see here) on which I added the following text to create categories with a forum list of each categorie under it.

    <strong>Creative</strong>
    [bbp-single-forum id=63]
    
    <strong>Healthy Living</strong>
    [bbp-single-forum id=164]
    
    <strong>Entertainment</strong>
    [bbp-single-forum id=58]

    The lines “bbp-single-forum id=XX” has the ID for each category with the forums of that category displayed under them.

    Good luck
    P.H.

Viewing 25 results - 8,376 through 8,400 (of 32,505 total)
Skip to toolbar