Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 8,401 through 8,425 (of 32,519 total)
  • Author
    Search Results
  • #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.

    #163924
    peter-hamilton
    Participant

    I think (correct me if I am wrong) you can use this snippet in your functions.php

    function login_redirect( $redirect_to, $request, $user ){
        return home_url('forums');
    }
    add_filter( 'login_redirect', 'login_redirect', 10, 3 );

    I use this on my site onlijn.com and works good for me.

    #163917

    In reply to: New Roles

    Celtic
    Participant

    https://codex.bbpress.org/custom-capabilities/# Creating new roles

    Hi okay so I added 2 more roles by following the link above. The new roles show up and I can choose them in the User’s Profile and almost work with no problem but I am having a few problem. I did not give permission to alter “Posts” or “Comments” for either new role that I created and it is allowing the new roles to change everything about Posts and Comment sections. I did give permission to alter “Forum” in the new role Moderator-FLO but that doesn’t work.

    So I checked to see if the regular Moderator role that comes with the plugin allowed for editing of the Forum and it also does not. I don’t know where to go to check the permissions to see if I can change it but I have been searching for the last hour and a half.

    I also checked to see if the regular Participant role that comes with the plugin worked like it was suppose to and that one is perfectly fine although I would like to change creating topics temporarily.

    In your forum on the link above that I have added I could not find where it says to add the coding, so I just assumed, taking a chance that it would work in the function.php file in my theme. So that is where the coding is located.

    Can you tell me where to find the original Moderator permissions that comes with your plugin? Or anything to tell me what I could be doing wrong? These roles are super important to this type of forum and I could use all the help I can get…. This is really my first time working with WordPress but I’ve been doing HTML since 1998 self taught… I have been out of the game awhile.

    Ok so I’ll simplify this a bit:

    #163884

    In reply to: Tackback spam in Forum

    Robkk
    Moderator

    @amelliya

    It might be that some comment form data is on the template that bbPress is inheriting.

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

    You can create a bbpress.php and remove any comment code , or you can install this plugin and disable comments and trackbacks on bbPress post types.

    https://wordpress.org/plugins/no-page-comment/

    #163881
    Robkk
    Moderator

    Peter’s Login Redirect plugin should work for what you want to do.

    I am guessing since you are saying “forum page” and you made that private , that you created a page and put the forum index shortcode in it.

    Well since you chose to make that page private , it makes sense that Admin rights can only see it.

    https://codex.wordpress.org/Content_Visibility#Private_Content

    What you should do is just redirect to yoursite.com/forums and whatever forum you want private

    make the forum private by editing the forum and setting it to private there.

    Robkk
    Moderator

    So I’m looking for a Plugin or Code that can make the Topic Closed for comments from everybody, except the Author of the Topic.

    There is no such plugin or snippet of code that I know to achieve this yet

    Haley
    Participant

    A category in my forum lets people write there stories and update it throughout the months. So I’m looking for a Plugin or Code that can make the Topic Closed for comments from everybody, except the Author of the Topic. Is this possible?

    #163877
    ccarlow
    Participant

    New install of bbpress v2.7.5 on wordpress v4.2.2

    Question: How can I redirect to /forum after login? I have forum page set as a private page. bbpress forums need to be private and only accessed by registered users.

    I have searched for info on how to login/register and then redirect to a forum and haven’t been successful in finding a simple solutions. Some solutions look too complicated regarding writing code. I would assume there is a simple solution here.

    I have tried a redirect plugin (peter’s) and doesn’t work for bbpress users set with any bbpress role but does work if I login in as wp-admin with wp admin rights.

    SakuSama
    Participant

    Sorry but I don’t know what and where to add something. In the widget.php I have this :

    <?php		if ($show_user) :
    
    			echo '<div class="bbp_show_user">by <span class="topic-author">' . $author_link . '</span></div>';
    
    		endif;
    
    		if ($show_forum) :
    
    			echo '<div class="bbp_show_forum">In: <a href="' . bbp_get_forum_permalink($forum_id) . '">' . bbp_get_forum_title($forum_id) . '</a></div>';
    
    		endif;
    
    		if ($show_date) :
    
    			echo '<div class="bbp_show_date">';
    
    			bbp_topic_last_active_time($topic_id);
    
    			echo '</div>';
    
    		endif;
    
    		if ($show_detail) :
    
    			echo '<div class="bbp_show_detail">';
    
    			bbp_topic_excerpt($topic_id);
    
    			echo '</div>';
    
    		endif; ?>

    I think that I have something to do with the bbp_get_forum_permalink to go to the last page of the topic.

    I have tried to add this to the .php of the widget but it’s not working

    I’m a noob in php … I just know where to find the files on my ftp and to edit if someone know what I could add to the files. I have tried the widget “last posts” but it show all the last posts even if the lasts were in the same topic. It doesn’t display the news topics if nobody reply into them.

    #163875
    Robkk
    Moderator

    see if the note left here can help.

    Kunena (Joomla)

    and also if this topic helps.

    Kunena converter for bbPress 2.4

    Robkk
    Moderator
    #163864
    Robkk
    Moderator

    You can try flushing your permalinks and see if that works

    Navigation Links Return 404s Errors

Viewing 25 results - 8,401 through 8,425 (of 32,519 total)
Skip to toolbar