Search Results for '+.+default+.+'
-
Search Results
-
Hi all,
I hope you can help me. I am trying to create and attach a bbp forum automatically after a BuddyPress group is created.
I have “unset” the BuddyPress group creation steps, and only the “group settings” step remains.
I have been digging in bbp code to try to reproduce the forum creation process, and this is what I put together (though it is not working):
<?php $bbpforum = new BBP_Forums_Group_Extension; ?>
<?php $bbpforum->__construct(); ?><!-- Reproducing parts of public edit_screen() -->
<!-- Reproducing fieldset return -->
<?php $_POST['bbp-edit-group-forum'] = true; ?> <!-- this comes from the edit screen; this form field is sent -->
<!-- end of fieldset return -->
<!-- start of edit_screen_save -->
<?php
if ( empty( $group_id ) ) {
$group_id = bp_get_new_group_id();
}$create_forum = true; // Changed this to true (there was a switch structure down and I kept the true case only
$forum_id = 0;
$forum_ids = bbp_get_group_forum_ids( $group_id );if ( !empty( $forum_ids ) )
$forum_id = (int) is_array( $forum_ids ) ? $forum_ids[0] : $forum_ids;// Set the default forum status
$status = bbp_get_public_status_id();
// Create the initial forum
$forum_id = bbp_insert_forum( array(
'post_parent' => bbp_get_group_forums_root_id(),
'post_title' => bp_get_new_group_name(),
'post_content' => bp_get_new_group_description(),
'post_status' => $status
) );// Run the BP-specific functions for new groups
$bbpforum->new_forum( array( 'forum_id' => $forum_id ) );// Update forum active
groups_update_groupmeta( bp_get_new_group_id(), '_bbp_forum_enabled_' . $forum_id, true );// Toggle forum on
$bbpforum->toggle_group_forum( bp_get_new_group_id(), true );?>
It is placed in create.php, right after the create group form submission entry.
As you see, I have erased the wp_nonce_field functions and the associated admin_referrer functions to avoid the “Are you sure you want to do this?” screen.
If it is not clear, please, let me know what else would be needed to try get the automatic forum, and of course, if you know a better and easier way of doing it.
Thank you very much!
Hi, Can you please advise how to extend the Vbulletin importer.
I know the fields i want to get and where i want them to go. but i am unsure how to add this to the import routine.
Example is to get from vbulletin the user signature (which is a simple lookup to sigparsed field in the db by userid) and insert that into an xprofile field for that user.
Secondly i ahd an issue importing which i believe was because the mycred plugin adds fields to the user table. It might be worth adding some validation of the user fields as the insert is hardcoded with the default fields.
I’m running a WP multisite with bbPress installed on the main site. When new users create accounts on the network, they are assigned a role of Participant, both in the network and for the main site. If they chose only to create a user account and not a site, once they have logged out after their first login, they are unable to log into their profile pages. It seems the default user role of Participant is not recognized as having any privileges by the WP software. When I manually change the user’s role to Subscriber, they can then log in to their profile page. Obviously this is not a long-term solution, so is there any way to revert to WP’s native functionality of making new users subscribers by default while having bbPress installed?
The permissions system that comes with bbpress is god damn awful. I strongly suggest someone take a look at making it a bit better.
I’m trying my best her to set up some kind of permissions for the different parts of the forums on my page.
It’s damn near impossible to get it working.
I read up on these forums and saw that some other poor bastard got suggested that the plugin members might help him set up permissions. That is not the case because that pluggin hasn’t got premission to alter the roles set by bbpress.
And if you make new roles it really doesn’t matter because you cannot select any other roles but the ones created by bbpress on registration.If i try to use the permissions set by bbpress there is problems. If i set “Spectator” as the default role on sign-up applicats will not have access to the private forums! GREAT! Yes but user in that role cannot make posts anywhere on the forums.
If i put “participant” as the default role on sign-up applicats can make posts on the forum but they also have access to the private forums.
Holy shit this is a mess!!!
I want the default role to be able to make posts but not able to read private forums.
Then i want to be able to update applicats that are aproved to “member” and give them access to private forums!
And then I would like to have a role called, lets say Officers and when upgraded to officer you can access the hidden forums.
HOW ON GODS GREEN EARTH DO I ACHIEVE THIS? And don’t tell me to install the members plugin because that pluggin CANNOT alter the bbpress roles and you cannot set anything else but the bbpress roles as default on signups!
Topic: Customize homepage-title
Hi,
In the bbpress index page, the top row shows:
homepage-title > Forums > Forum-title
How could I change homepage-title here? bbpress seems to take this from the title of the site’s default page. Is there a way to put a different text there (or remove the homepage-title altogether)?
Thanks,
//Györgywordpress 4.4.2 , bbpress 2.5.8, site http://szuloiosszefogas.hu
I want to link a group to a forum which exits,
So I checked it and set a forum name (first one below ‘Customer Center’) in group forum box and save
but then check in the checkbox is disappeared
at last, I found that if I modify the group forum settings in the group page setting in backend,
the setting sustain, even though I click or not group forum setting in the group setting option in in frontend.I tried with default theme twenty-thirteen and KLEO.
Is it normal or bugs?
– frontend setting page :
https://www.miinfra.co.kr:44373/infra/groups/%EA%B3%A0%EA%B0%9D%EC%A7%80%EC%9B%90/admin/forum/
– Backend setting page :
https://www.miinfra.co.kr:44373/infra/wp-admin/admin.php?page=bp-groups&gid=588&action=edit
wordpress ver 4.42
buddypress Version 2.5.2
bbpress Version 2.5.8I need to override the default CSS color for
.bbp-topics-front ul.super-sticky, .bbp-topics ul.super-sticky, .bbp-topics ul.sticky, .bbp-forum-content ul.stickyBut the default color declaration has an !important in it. What’s the best way to fix this so my color will display? I know I could hack the plugin CSS, but that’s not the best option. 🙂
Hello!
We ar running the latest versions of WordPress and bbPress. From the beginning, since bbPress was installed, it’s working incorrectly. When I go to specific forum page, the topics list is not showing. And Opening a topic directly, the topic content is not displayed.
The problem is in our custom created theme, because, when I switch to one of the default WordPress themes, everything is working fine.
I can’t figure out what is wrong with our theme, or how to make it bbPress redy.The specific forum: http://mglatvia.id.lv/forums/forum/foruma-noteikumi/
The single topic: http://mglatvia.id.lv/forums/topic/demo-testa-topiks/