Forum Replies Created
-
In reply to: Change forum width and row widths in archive list
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.
In reply to: bbpress ERROR : Are you sure you wanna do this?see
If you are localhost, then that seems to be the solution
In reply to: Showing freshness of replies in forumsI’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 postingsee
bbpress/templates/default/bbpress/form-reply.php
In reply to: User Topics Createdpatience – 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.
In reply to: Change forum width and row widths in archive list1. 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 Rolesok, 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??
In reply to: Fresh install, php warning on all pages in siteGreat !
In reply to: Vertical separator in forums indexif your client is really keen, suggest
In reply to: Vertical separator in forums indexlarge amount of recoding and css needed I think.
In reply to: Showing freshness of replies in forumsthat’s what it should do, can you post a url please
suspect issue 1 is theme related – can you post a url?
great – glad you’re fixed !
In reply to: limited capabilities for roles in a specific forumgreat – glad you’re fixed !
In reply to: Profile Fieldsok, still don’t understand, so please come back with a detailed explanation
create a directory on your theme called ‘bbpress’
ie wp-content/themes/%your-theme-name%/bbpresswhere %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.phpbbPress will now use this template instead of the original, so you can amend this one
In reply to: limited capabilities for roles in a specific forumyes 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%/bbpresswhere %your-theme-name% is the name of your theme
find
wp-content/plugins/bbpress/templates/default/bbpress/form-topic.phpMake 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.phpbbPress 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.
with code anything is possible !
wp-content/plugins/bbpress/templates/default/bbpress/loop-single-reply.php
line 27
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 Rolesyou 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)In reply to: What is up with my IP Address in bbPress Forums?No problem !
In reply to: How do i Custom RECENT TOPIC?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
In reply to: What is up with my IP Address in bbPress Forums?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
In reply to: Newbie help – profiles and layout through themes1.
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; }
In reply to: locked out of adminthe 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 !