Search Results for 'test'
-
AuthorSearch Results
-
September 3, 2016 at 2:58 am #177594
In reply to: Genesis remove a widget area
Robin W
Moderatorok, thanks for confirming.
Without spending considerable time testing, why not just take out that entire section for bbpress (and if needed juts put back the bits you want) eg
//* Hook social icons and click here widget areas add_action( ‘genesis_after_header’, ‘the_411_extras’, ‘genesis_after_sidebar_widget_area’ ); function the_411_extras() { if (!is_bbpress { if ( is_active_sidebar( ‘social-icons’ ) || is_active_sidebar( ‘click-here’ ) || is_active_sidebar( ‘split-sidebar-left’ ) || is_active_sidebar( ‘split-sidebar-right’ )) { echo ‘<div class=”site-extras”>’; genesis_widget_area( ‘social-icons’, array( ‘before’ => ‘<div class=”social-icons”>’, ‘after’ => ‘</div>’ ) ); genesis_widget_area( ‘click-here’, array( ‘before’ => ‘<div class=”click-here”>’, ‘after’ => ‘</div>’ ) ); genesis_widget_area( ‘split-sidebar-left’, array( ‘before’ => ‘<div class=”split-sidebar-left”>’, ‘after’ => ‘</div>’, ) ); genesis_widget_area( ‘split-sidebar-right’, array( ‘before’ => ‘<div class=”split-sidebar-right”>’, ‘after’ => ‘</div>’, ) ); echo ‘</div>’; } } }I’m also not sure why your add action has two functions
add_action( ‘genesis_after_header’, ‘the_411_extras’, ‘genesis_after_sidebar_widget_area’ );all the coding I have ever done has one, and then maybe some arguments on priority etc.
September 1, 2016 at 5:01 pm #177562In reply to: Participants cannot see topics in private forums
Robin W
Moderatorwe’re probably both insane !
It worked on my test site, but then I do have a lot cooking on there.
back to my code above, can you try
case bbp_get_participant_role() :in place of the line
case 'bbp_participant':September 1, 2016 at 7:51 am #177543In reply to: Participants cannot see topics in private forums
Robin W
Moderatoruntested, but this should in theory let you play with the capabilities of the participant role
function add_role_caps_filter( $caps, $role ) { /* Only filter for roles we are interested in! */ if( $role == 'bbp_participant' ) $caps = custom_capabilities( $role ); return $caps; } add_filter( 'bbp_get_caps_for_role', 'add_role_caps_filter', 10, 2 ); function custom_capabilities( $role ) { switch ( $role ) { /* Capabilities for 'participant' role */ case 'bbp_participant': return array( // Primary caps 'spectate' => true, 'participate' => true, 'moderate' => false, 'throttle' => false, 'view_trash' => false, // Forum caps 'publish_forums' => false, 'edit_forums' => false, 'edit_others_forums' => false, 'delete_forums' => false, 'delete_others_forums' => false, 'read_private_forums' => true, 'read_hidden_forums' => false, // Topic caps 'publish_topics' => true, 'edit_topics' => true, 'edit_others_topics' => false, 'delete_topics' => false, 'delete_others_topics' => false, 'read_private_topics' => true, // Reply caps 'publish_replies' => true, 'edit_replies' => true, 'edit_others_replies' => false, 'delete_replies' => false, 'delete_others_replies' => false, 'read_private_replies' => true, // Topic tag caps 'manage_topic_tags' => false, 'edit_topic_tags' => false, 'delete_topic_tags' => false, 'assign_topic_tags' => true, ); break; default : return $role; } }August 31, 2016 at 8:09 pm #177523In reply to: Participants cannot see topics in private forums
evanevans333
ParticipantAny progress on this? I am having this problem, and I am using the latest version of bbPress. Also at this point, bbPress Advanced Capabilities, nor Capability manager Enhanced, nor Members, nor any other Role Editor, will allow me to edit the Participant role.
August 31, 2016 at 10:33 am #177512In reply to: BBpress 2.6 alpha – problem importing phpBB
senatorman
Participanti’ve update phpbb to 3.1.9 and use BBpress 2.6 alpha
I’ve downloaded te latest version of the phpbb.php importfilefrom:
https://bbpress.trac.wordpress.org/browser/trunk/src/includes/admin/converters/phpBB.php?rev=5795When i run the converting i get this error:
Repair any missing information: Continue
WordPress databasefout: [Unknown column ‘forums.forum_topics_real’ in ‘field list’]
SELECT convert(forums.forum_id USING “utf8mb4”) AS forum_id,convert(forums.parent_id USING “utf8mb4”) AS parent_id,convert(forums.forum_topics_approved USING “utf8mb4”) AS forum_topics_approved,convert(forums.forum_posts_approved USING “utf8mb4”) AS forum_posts_approved,convert(forums.forum_topics_real USING “utf8mb4”) AS forum_topics_real,convert(forums.forum_posts USING “utf8mb4”) AS forum_posts,convert(forums.forum_name USING “utf8mb4”) AS forum_name,convert(forums.forum_desc USING “utf8mb4”) AS forum_desc,convert(forums.left_id USING “utf8mb4”) AS left_id,convert(forums.forum_type USING “utf8mb4”) AS forum_type,convert(forums.forum_status USING “utf8mb4”) AS forum_status FROM phpbb_forums AS forums LIMIT 0, 100
Geen forums te converteren
Verwijder standaard wachtwoorden van WordPress gebruikers (500 – 599)
Verwijder standaard wachtwoorden van WordPress gebruikers (400 – 499)
Verwijder standaard wachtwoorden van WordPress gebruikers (300 – 399)
Verwijder standaard wachtwoorden van WordPress gebruikers (200 – 299)
Verwijder standaard wachtwoorden van WordPress gebruikers (100 – 199)
Verwijder standaard wachtwoorden van WordPress gebruikers (0 – 99)
Gebruikers aan het converteren (500 – 599)
Gebruikers aan het converteren (400 – 499)
Gebruikers aan het converteren (300 – 399)
Gebruikers aan het converteren (200 – 299)
Gebruikers aan het converteren (100 – 199)
Gebruikers aan het converteren (0 – 99)
Geen gegevens om op te schonen
Conversie startenAugust 28, 2016 at 3:17 pm #177470In reply to: meta-single-topic
Robin W
ModeratorI’m not sure that this is in bbpress – it may be that it is in your theme, or your theme is amending bbpress.
Try the following to see if it disappears and to work out what is creating this
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 twentyfifteen, and see if this fixes.
Then come back
August 28, 2016 at 2:11 pm #177468Topic: meta-single-topic
in forum Troubleshootingrateyourway
ParticipantHi there!
I need to find where this file is located: meta-single-topic.php
My problem is that when someone opens a topic there’s a link to go back to the discussions:
← Back to discussions
I need to translate this to spanish, but i can’t find where the php file is so i can manually translate that… any idea?
http://www.rateyourway.com/foro/tema/test-transporte-acuatico/
Thanks in advance!
August 27, 2016 at 2:00 pm #177456Topic: How To Remove “by” from Topics Widget
in forum TroubleshootingThakksy
ParticipantHi folks,
I’m having some trouble trying to remove the “by” part in the bbpress latest topics widget. I’ve inspected the css and html and can’t figure it out. Any help would be great.
August 27, 2016 at 8:34 am #177455Topic: single forum shortcode not working
in forum TroubleshootingsmartIt
ParticipantHi,
I created a forum, his id is 3569159-2 and it contains one topic.in this page of my website http://radiotounsi.com/?page_id=4862
I tried to display this forum by using the shortcode [bbp-single-forum id=$3569159-2] but nothing is displayed, but other bbpress shortcodes work just fine like [bbp-forum-index] and [bbp-login]
I switched the theme to twenty sixteen for testing purpose, same problemAugust 26, 2016 at 2:07 pm #177440Robin W
Moderatorsuspect it is 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 twentyfifteen, and see if this fixes.
Then come back
August 25, 2016 at 8:11 pm #177424In reply to: Create Groups and Forums for groups from PHP
thegarnet
ParticipantRobkk,
I am already using
* WordPress 4.6
* bbPress 2.5.10
* BuddyPress 2.6.2It seems all these are the latest at this time.
August 25, 2016 at 12:40 am #177384In reply to: SMF to bbpress
Stephen Edgar
KeymasterStrange, I’ll try to take a look at this next week @moedan9
When I do look at it though I’ll be using SMF 2.0.11 as it is the latest release.
August 24, 2016 at 11:58 pm #177377In reply to: Create Groups and Forums for groups from PHP
Robkk
ModeratorSo you are trying to configure BuddyPress with its own inbuilt bbPress v1 forums? I think the bbPress v1 in BuddyPress (BP Forums) has issues in the last few major version of BuddyPress.
Why not look into just using the latest version of bbPress v2 and BuddyPress and use BuddyPress’ groups feature with bbPress.
https://codex.buddypress.org/getting-started/installing-group-and-sitewide-forums/
August 24, 2016 at 3:13 am #177329In reply to: BBpress 2.6 alpha – problem importing phpBB
senatorman
ParticipantI understand that there is no support for older versions phpbb 3.0.x and that this feature only have to work with the latest versions. But iám not happy with that.
I have a huge (+1000K posts) phpbb 3.0.x forum with a lot of extra custom contributions and will stop with phpbb becausse phpbb is not populair anymore. support is bad and there is no evolution.
To update a huge forum to phpbb3.1 it is a lot of strugling and not easy to do.
Now i’ve to do it, and hope there are not data lost.Is there a old plugin available to import pbp3.0.x with is working fine with huge database?
The last version of the import has problems and lost the relation between post and owner.August 23, 2016 at 9:55 pm #177315In reply to: One user can leave new topics but NOT reply
Stephen Edgar
KeymasterTry also having the user flush/clean their browser cache.
You can also test things by creating a test user yourself and making sure everything works as expected
August 23, 2016 at 6:20 am #177276In reply to: How to change blockquote in bbPress only
Robin W
ModeratorThe two ‘test’ items below are easier, as they just use blockquote so you can add this to your css
#bbpress-forums blockquote { color: green; }I presume that you don’t want to change the class in the other plugin?
August 23, 2016 at 5:48 am #177275Topic: How to change blockquote in bbPress only
in forum Installationmmirlach
ParticipantHi, I’m using bbpress on my upcoming videogame website:
http://20160719.gaming-universe.de/guf/topic/testtest/#post-6864As you can see, the template uses information from the WP theme style.css.
This is overall a good thing but the blockquote function looks off.
I’m also using a couple of plugins so I feel that I might be able to change that via a CSS function but don’t understand CSS very well.When looking at the code, the blockquote seems to use a specific class from one of my plugins:
blockquote class=”d4pbbc-quote”Can anyone point me to where I can change the CSS for the blockquote attribute?
Thanks, Matthias
August 23, 2016 at 3:27 am #177274In reply to: One user can leave new topics but NOT reply
Robin W
Moderatorok, can as a test you try disabling Askimet and seeing if that fixes – I am trying to work out where the problem is occurring.
August 20, 2016 at 1:26 pm #177223Robin W
Moderatorok, I can’t see why it isn’t working, although I still have the top menu as well as the side one in my test site.
How did you turn off the top menu in your setup? I can’t instantly see how to do that
August 20, 2016 at 6:43 am #177218auludag
Participantand more info: i am using the latest version of WordPress and bbpress.
forum link (turkish) http://kadinlarkosku.com/kadinlarkosku-forum/
August 19, 2016 at 7:33 am #177194Robin W
ModeratorJust tested, and it works fine on twentyfourteen on my test site.
Any chance of a link to your site?
August 19, 2016 at 3:57 am #177193mlwilkerson
ParticipantI’m seeing the same thing as originally reported by @mfiguerasma.
I first noticed it when my non-admin user (TestUser) *suddenly* could no longer see a topic that he had formerly been able to see. In my case, I am using sub-forums. (See: https://bbpress.trac.wordpress.org/ticket/2191#comment:17 )
I have a BP Group called GroupH.
The group forum root is a type=category group called “Group Forums”
Subforum1-GroupH is under the forum “GroupH”.GroupH is the group forum, i.e the one you see in a the drop-down in the settings where you select which forum is associated with the BP Group.
So, it’s:
Group Forums
GroupH
Subforum1-GroupH
Topic1-Subforum1-GroupHAll of the forums and subforums have a Visibility setting of Private (in the admin settings screens).
So Topic1-Subforum1-GroupH was accessible by my TestUser one minute and then wasn’t the next minute. I knew that I hadn’t changed the visibility settings on my forums or anything else, but I realized that what I had done (thinking it was merely “for good measure”) was to run:
Tools->bbPress->Recalculate private and hidden forumsI recreated my original scenario, verified that TestUser could access Topic1-Subforum1-GroupH, and then used Updraft to take snapshots of my database before running “Recalculate private and hidden forums” calculate again. Sure enough, after that “repair”, it was broken again.
So I debugged it. This repair tool kicks off bbp_repair_forum_visibility() which updates two options in the options table:
_bbp_private_forums
_bbp_hidden_forumsThese are pre-calculated, cached, lists of forums.
If the forum_id for GroupH appears in _bbp_hidden_forums, then TestUser won’t be able to access Topic1-Subforum1-GroupH. Before running this “repair”, the forum_id for GroupH does not appear in that list. After the repair it does.
So, how is the forum_id for GroupH getting into this list of hidden forums when the post_status on the forum is most definitely private? (Verified by looking at its row in the posts table)
It’s getting there precisely by the means @mfiguerasma showed.
When the query is being run to get a list of all “hidden” forums, in order to create _bbp_hidden_forums, it invokes the pre_get_posts filter. bbPress uses that filter bbp_pre_get_posts_normalize_forum_visibility() to change the query_vars.
Notice what’s happening here:
(1) The WP_Query is saying “I am trying to find a list of *hidden* forums” (I have my own reasons for why I want a list of hidden forums.)
(2) But bbp_pre_get_posts_normalize_forum_visibility() seems to be second-guessing. I receives query_vars with post_type=hidden, but then the way its logic works is to say: “What are various post statuses that this user has permission to see. Ah, this user can see both hidden and private ones, so I’ll update the query_vars to include post_types of both hidden and private.”
I think the logic of bbp_pre_get_posts_normalize_forum_visibility() is exactly backwards. It’s trying to include all of the post_types that the user can access. But that’s not why it has been invoked. It’s been invoked in the process of simply creating a list of hidden forums for _bbp_hidden_forums and its messing that up by including the private post_status.
(3) So what the WP_Query gets back is a list of forum_ids for all hidden *and private* groups. And that’s the list that ultimately gets stored in _bbp_hidden_forums.
So this “repair” actually breaks my forums.
If you simply remove this bbPress filter before doing the repair, it seems to produce the correct result. My TestUser can access Topic1-Subforum1-GroupH both before and after the repair when we remove the filter:
remove_action(‘pre_get_posts’,’bbp_pre_get_posts_normalize_forum_visibility’,4);August 18, 2016 at 5:45 pm #177189In reply to: Errors creating forum
Robin W
ModeratorThe second fatal error is related to your plugin social-networks-auto-poster-facebook-twitter-g
suggest you deactivate this as a test and see if all the errors go away
then come back
August 18, 2016 at 10:59 am #177180In reply to: return to index
flashwolf
Participantyes i go back to my theme
i can’t post a link here for a lot of reason
first, this web site is adult ( elegant but adult) ( perhaps in private but i prefer to say you before)
and second to use the forum you must be member and i have block the invitationperhaps you can give me an other plug of forum who work with buddypress to do the test
thxAugust 18, 2016 at 9:46 am #177177In reply to: return to index
Robin W
ModeratorIt could be a theme or plugin issue
Plugins
Deactivate all but bbpress and buddypress 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 twentyfifteen, and see if this fixes.
Then come back
-
AuthorSearch Results