Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 11,426 through 11,450 (of 14,314 total)
  • In reply to: Error in permalink

    @robin-w

    Moderator

    Well there’s not a lot you can do about it.

    In reply to: Error in permalink

    @robin-w

    Moderator

    no can’t tell you why you have jumps – again I suspect spam filter taking out commenst – do you run askimet?

    At least, for each topic the number for the first message should be #1 no?

    no, bbpress is using wordpress post numbers. Everytime a post, page, comment, forum, topic or reply (and any other custom posts) are created or media item (eg picture) is uploaded, a wordpress post number is allocated.

    Hence you could easily get large gaps in the numbers.

    In reply to: Oh Brother…

    @robin-w

    Moderator

    ok, two thoughts

    1. if you put your bbpress.php into the twenty twelve parent theme, does it work ?- that will eliminate that file

    2. can you create a page and put the shortcode [bbp-forum-index] in it and see how that page works or not

    In reply to: Oh Brother…

    @robin-w

    Moderator

    what are you permalink settings?

    In reply to: Error in permalink

    @robin-w

    Moderator

    you should be able to see what has taken those post numbers if you go into phpmyadmin – you host provider should let you know how to do this.

    Then look in wp_posts and click the ID column to get them into number order. You can then see what has taken those numbers.

    In reply to: Oh Brother…

    @robin-w

    Moderator

    ok, what is the main theme and how much have you changed in the child theme?

    In reply to: Import Forums

    @robin-w

    Moderator

    Hey really pleased – I started learning bbpress when I was asked to convert a Snitz forum in an access database to bbpress – it took me 17 attempts before I got it all working, with numerous resets and deletes in between, so I know the bizz you get when it finally works !

    Hopefully it will all settle down now !

    @robin-w

    Moderator

    so if I understand, you have a topic in a forum, but want to use a wordpress page to allow students to post replies to this, without them needing to see or visit the forum – is that correct?

    In reply to: Adding Themes

    @robin-w

    Moderator

    Not sure if you mean a theme.

    bbpress uses wordpress themes.

    If you want to style your forums use

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

    In reply to: Error in permalink

    @robin-w

    Moderator

    bbpress uses custom post types, so forum posts will take the next number available in wp-posts list, along with posts, pages and other custom post types.

    I’d suggest that if you’ve seen a big jump, then you spam filter is probably working hard, and that the missing numbers are spam comments in wordpress.

    @robin-w

    Moderator

    sorry for the delay in replying, weekend and other commitments

    when you say

    The user registers with
    Username : japs
    Name : John Powell

    the standard wordpress registration only asks for username and email, and then allocates the nickname as username.

    What is adding firstname/lastname to your registration?

    In reply to: Oh Brother…

    @robin-w

    Moderator

    ok, lets eliminate plugins and themes as the issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentytwelve, and see if this fixes.

    Then come back

    @robin-w

    Moderator

    The profile name is actually the page header from wordpress, and you are not displaying these.

    you could add it to the bbpress template for that page.

    If you have ftp access and are able to copy and paste files, I’ll come back with how !

    @robin-w

    Moderator

    did you try the theme as suggested above

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentytwelve, and see if this fixes.

    In reply to: Oh Brother…

    @robin-w

    Moderator

    can you go into

    Dashboard>forums>all forums and then edit Mountain Club Suggestions

    can you confirm that the permalink under the heading is

    Mountain Club Suggestions

    @robin-w

    Moderator
    In reply to: Oh Brother…

    @robin-w

    Moderator

    try

    dashboard>settings>permalinks

    and just click save without changing anything

    This refreshes the permalinks and frequently fixes this issue

    @robin-w

    Moderator

    great – glad you’re fixed !

    @robin-w

    Moderator

    @bobey but that would stop them making replies as well

    @robin-w

    Moderator

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentytwelve, and see if this fixes.

    Then come back

    @robin-w

    Moderator

    @kendorama yes that should do it

    @robin-w

    Moderator

    Have edited the above to make it more accurate, but still may have errors !

    @robin-w

    Moderator

    If you have FTP access then :

    create a directory on your theme called ‘bbpress’
    ie wp-content/themes/%your-theme-name%/bbpress
    find
    wp-content/plugins/bbpress/templates/default/bbpress/form-reply.php
    Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
    wp-content/themes/%your-theme-name%/bbpress/form-reply.php
    bbPress will now use this template instead of the original

    then you need to chnage the line

    <?php if ( bbp_current_user_can_access_create_reply_form() ) : ?>
    

    to do a check for keymaster and author

    something like

    <?php if ( bbp_is_user_keymaster())  || bbp_get_reply_author_id() == bbp_get_current_user_id() : ?>
    

    bbp_get_reply_author_id() might need to be bbp_get_topic_author_id() – you’ll need to try it to see

    Give this a go, I’m very short of time at the moment, so haven’t tested !

    @robin-w

    Moderator

    @twist360 I’d like to save this solution in my folder of useful info.

    To save me copying and cobbling together the final answer from the above, can you post the final code you did for the solution below as one package

    This will help others and be useful

    Thanks Robin

    In reply to: Help with Custom View

    @robin-w

    Moderator

    I have to say I think your programming skills are probably better than mine !

    The views bit hooks to bbp_has_topics, so the args are the key part to get this going, rather than needing to alter php files

    see

    Adding Custom View Shortcode

    for how another user got a custom view with meta data working – I’m a bit tied up at the moment to write the answer, but judging by your post above you should be able to work it out !

    If you don’t then come back and I’ll try and help when I get some time

    If you do, please post the whole solution here in the spirit of sharing – it would be a good one to have for other people, and to add as a plugin to the other plugin.

Viewing 25 replies - 11,426 through 11,450 (of 14,314 total)