Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 10,701 through 10,725 (of 14,141 total)
  • @robin-w

    Moderator

    it looks fine fullscreen, but your theme has to do something as you reduce the screen size, your theme decides to wrap, it could lose it off screen or freduce font size, but these are theme issues, not bbress issues.

    @robin-w

    Moderator

    see

    ERROR: Are you sure you wanted to do that?

    If you are localhost, then that seems to be the solution

    @robin-w

    Moderator

    I’ve just had a look at my test site, and I think the code is not working as it should. Topics are fine, bur replies refer to the original topic date/time not the latest reply date/time. So if no reply it is correct, but otherwise wrong !

    I’ll take a look at the source code when I get a chance, but maybe some days away. I’m not the plugin author, just a humble user !

    In reply to: automatically posting

    @robin-w

    Moderator

    see

    bbpress/templates/default/bbpress/form-reply.php

    In reply to: User Topics Created

    @robin-w

    Moderator

    patience – it is Friday night here, and expecting a free response in less than 24 hours is a bit presumptive !

    you simply need to create a link to

    http://mysite.comk/forums/users/&xxx&/topics/

    Tell me what your start point will be – ie widget, item in a menu etc.

    @robin-w

    Moderator

    1. put this in your child theme style.css

    .bbp-reply-content p {
    width : 580px !important ;
    }

    2.

    In the forums list, the titles (in German) for topic and post count rows are wrapped to the next line because the rows are too narrow.

    presume these are Themen & Beiträge, in which case they look fine to me.

    In reply to: Add Custom User Roles

    @robin-w

    Moderator

    ok, I’ve just loaded that code to my test site and it all works fine, the artisan role gives moderator access.

    Not sure what has happened, what other changes have there been to your site?

    He had the same results when set to an Artisan

    Presume you mean he could not access, and by the by what do you mean by that? what happens when they try and access the forums, can they not see menu item, or what do they get when they try??

    @robin-w

    Moderator

    Great !

    @robin-w

    Moderator

    if your client is really keen, suggest

    http://jobs.wordpress.net/

    @robin-w

    Moderator

    large amount of recoding and css needed I think.

    @robin-w

    Moderator

    that’s what it should do, can you post a url please

    @robin-w

    Moderator

    suspect issue 1 is theme related – can you post a url?

    @robin-w

    Moderator

    great – glad you’re fixed !

    @robin-w

    Moderator

    great – glad you’re fixed !

    In reply to: Profile Fields

    @robin-w

    Moderator

    ok, still don’t understand, so please come back with a detailed explanation

    @robin-w

    Moderator

    create a directory on your theme called ‘bbpress’
    ie wp-content/themes/%your-theme-name%/bbpress

    where %your-theme-name% is the name of your theme

    find
    wp-content/plugins/bbpress/templates/default/bbpress/loop-single-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/loop-single-reply.php

    bbPress will now use this template instead of the original, so you can amend this one

    @robin-w

    Moderator

    yes you would just put that code in form-topic.php

    wp-content/plugins/bbpress/templates/default/bbpress/form-topic.php

    create a directory on your theme called ‘bbpress’
    ie wp-content/themes/%your-theme-name%/bbpress

    where %your-theme-name% is the name of your theme

    find
    wp-content/plugins/bbpress/templates/default/bbpress/form-topic.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-topic.php

    bbPress will now use this template instead of the original

    you can then look at how the form does this, and put the appropriate lines in.

    @robin-w

    Moderator

    with code anything is possible !

    wp-content/plugins/bbpress/templates/default/bbpress/loop-single-reply.php

    line 27

    @robin-w

    Moderator

    bbpress uses custom post types in wordpress.

    Every wordpress post gets a unique number, as do edits and other stuff.

    so if you posted a forum topic it might get say id #1000, then a wordpress blog would get the next number #1001, the say a reply to a different forum topic orum topic #1002, then if you create a new page that would get #1003, then the first response the actual forum topic would get #1004

    You’d need to write a whole new numbering system to make your request work !

    In reply to: Add Custom User Roles

    @robin-w

    Moderator

    you can have multiple roles with the same capabilities, so the original code should be fine.

    So I would check

    1. that the moderator role which you have renamed Councilman works
    2. that if you set up a test user and give them Artisan, that that works (ie is it only her)

    @robin-w

    Moderator

    No problem !

    @robin-w

    Moderator

    PS, i don’t have any knowledge with programming. i hope you can help me as much as you can.

    ok, without programming, the best I can offer is the latest activity widget in

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

    @robin-w

    Moderator

    This is a valid IP address – it’s just a IPv6 address – the new bigger ones as the world is running out of the old IPv4 addresses

    @robin-w

    Moderator

    1.
    The following if added to your functions file will add fields, you can alter the coding as needed

    //add code for adding first and last name to registration
    
    //1. Add a new form element...
        add_action('register_form','myplugin_register_form');
        function myplugin_register_form (){
            $first_name = ( isset( $_POST['first_name'] ) ) ? $_POST['first_name']: '';
    		$last_name = ( isset( $_POST['last_name'] ) ) ? $_POST['last_name']: '';
            ?>
    		<p>
    		<label for="first_name"><?php _e('First Name  as people call you eg Dave','mydomain') ?><br />
                    <input type="text" name="first_name" id="first_name" class="input" value="<?php echo esc_attr(stripslashes($first_name)); ?>" size="25" /></label>
            </p>
    		<p>
                <label for="last_name"><?php _e('Last Name','mydomain') ?><br />
                    <input type="text" name="last_name" id="last_name" class="input" value="<?php echo esc_attr(stripslashes($last_name)); ?>" size="25" /></label>
            </p>
            <?php
        }
    
        //2. Add validation. In this case, we make sure first_name is required.
        add_filter('registration_errors', 'myplugin_registration_errors', 10, 3);
        function myplugin_registration_errors ($errors, $sanitized_user_login, $user_email) {
    
            if ( empty( $_POST['first_name'] ) )
                $errors->add( 'first_name_error', __('<strong>ERROR</strong>: You must include a first name.','mydomain') );
    		if ( empty( $_POST['last_name'] ) )
                $errors->add( 'last_name_error', __('<strong>ERROR</strong>: You must include a last name.','mydomain') );
    			
    
            return $errors;
        }
    
        //3. Finally, save our extra registration user meta.
        add_action('user_register', 'myplugin_user_register');
        function myplugin_user_register ($user_id) {
            if ( isset( $_POST['first_name'] ) )
                update_user_meta($user_id, 'first_name', $_POST['first_name']);
    		if ( isset( $_POST['last_name'] ) )
                update_user_meta($user_id, 'last_name', $_POST['last_name']);
        }
    

    Plenty of captcha plugins – just google ‘wordpress plugin captcha’

    If you’d like to specify your req’s further, I’ll try to help.

    2. no need to change theme, just add the following to your css file

    .site-content .entry-header, .site-content .entry-content, .site-content .entry-summary, .site-content .entry-meta, .page-content {
      max-width: 100% !important;
    }

    Functions files and child themes – explained !

    In reply to: locked out of admin

    @robin-w

    Moderator

    the a:2 says that there is an array with two entries then they are contained within the {}

    the S:13 says that the entry is a string with 13 letters ie ‘administratior’ so yes you need to change that if you change the contents.

    dinlt know what the b:1 is, except that you need it after the entries !

Viewing 25 replies - 10,701 through 10,725 (of 14,141 total)