Search Results for 'bbpress'
-
Search Results
-
So iMember360 has a hook that I am trying to attach with to bbPress that I am struggling to do.
I want to set it up so that when a user logins, and they contain certain tags (detected by iMember360), to change bbPress roles.
Below is the hook I am trying to use.
function my_i4w_authenticated_lremote_ogin($wp_user, $arrINFU) { // // $wp_user is the user object (same as the standard $current_user) // // $contact is an array with all contact record fields. // add your code to perform any desired action, such as sending an email notification // or updating contact record to reflect the login that just took place $your_code_goes_here = true; } add_action('i4w_authenticated_remote_login', 'my_i4w_authenticated_remote_login',10,2);Here is what I tried to do:
function i4w_authenticated_remote_login_action($user, $contact) { global $SESSION; IF ($arrTAGS = explode(',', $SESSION['i4wuser']['Groups'])) : IF (in_array(38181, $arrTAGS) || in_array(38185, $arrTAGS) || in_array(38193, $arrTAGS)) : $bbp = bbpress(); $bbp->current_user = new WP_User($user->ID); $new_role_forum_role=”bbp_participant”; bbp_set_user_role( $bbp->current_user, $new_role_forum_role ); ELSEIF (in_array(38177, $arrTAGS) || in_array(38195, $arrTAGS) || in_array(38183, $arrTAGS) || in_array(38187, $arrTAGS) || in_array(38189, $arrTAGS)) : $bbp = bbpress(); $bbp->current_user = new WP_User($user->ID); $new_role_forum_role=”bbp_spectator”; bbp_set_user_role( $bbp->current_user, $new_role_forum_role ); ENDIF; ENDIF; } add_action('i4w_authenticated_remote_login', 'i4w_authenticated_remote_login_action', 10, 2);However, nothing happens. I am not sure what I am missing here, but I suspect it is my lack of understanding with bbPress that is the issue.
We are using bbPress v. 2.5.8, WP v. 4.3.1.
Also using plugins: Ultimate Member, bbp Private Groups, bbp Style PackSome users are unable to reply to topics, and I’ve tried everything I could think of. Double checked their roles look, the permissions in the forums and topics. Some have been able to access before and have been able to reply, but now cannot. Others have never been able to and still can’t reply.
Akismet for forums have been disabled. I can’t think of anything else that I can do and would appreciate some tips! TIA.
Topic: log error
At websynthesis I am getting a repetitive server error in log. Can you advise any troubleshooting?
> 9/14/2015 8:45:22 PM – www: PHP Warning: in_array() expects parameter 2 to
> be array, null given in
> /var/www/contracostabee.com/wp-content/plugins/bbpress/includes/common/fun
> ctions.php on line 1446Topic: Users have to log in twice
Hello, I just installed bbpress on my site, and I am having a weird issue where users have to log in twice.
When I log in from the bbpress login widget, it redirects me to the “answer this math question” wordpress captcha page. After answering the math question, it then redirects me to the main wordpress backend login. After logging in again there, it takes me back to my wordpress front page, rather than the bbpress login page… What is going on here? This will be very confusing to users. How do I make it so once you log in from the bbpress login widget, it takes you to the forum (and so you only have to log in once)?
I´m using the latest bbpress version.
My problem is:
When i’m replayed a topic in bbpress the page start to reload and still reload.
The page dont be update and i need to press f5 to reload the page to see my topic replay.
I don’t have a lot of topics and users.So, how to speed up the bbpress topic or what kind of issue is this?
Topic: Translation problem
Hello,
I have the problem with the translation of bbpress to Czech. It seems to be ok on one my site http://nulovagravitace.cz/forums/, but on the other http://www.vlaceni.cz/diskuze/, there are some words which aren’t translated (for example Topics, Posts, Freshness, Search), but some are. For both sites I use the same .mo and .po files and both of them are in folder /wp-content/languages/bbpress/
Do you know how to solve it? And where could be the probem? In the theme?
Hello. I appreciate this great plugin.
I have a problem.
Google webmaster says. You have duplicated titles on following pages.
http://honeys-anime.dev/forums/topic/death-parade-wallpaper-you-always-seek-for/
http://honeys-anime.dev/forums/topic/death-parade-wallpaper-you-always-seek-for/?bbp_reply_to=12994&_wpnonce=2f272af7ebActually, I want to set “noindex” meta tag in head section in under /?bbp_reply_to=*** all topics.
Please how to do that or please tell me which “bbp_is_***” shows these topics pages.
Thank you.=== My Site ===
wordpress 4.3
bbpress 2.5.6I was wondering if anybody had a solution to this? I’d like my users to have the formatting toolbar for posts but I dont like that when they click “link” it shows “link to existing content” and shows private pages and pretty much tons of stuff I dont want my forum users to go to. If you want to know what I mean, you can actually do the same thing on this bbPress support forum when you are replying to a post.
Is there a way to turn off “Link to Existing Content” when using the post formatting toolbar for forum users?
My site btw is
Thank you!!
I’m in the process of moving an established WordPress/BBPress setup to a new server. It is installed in a 2nd level directory named http://[server]/town-square/ which is the WordPress install directory. It has been working fine on the old server for over a year. I am only using the BBPress and Calendar plugins. Their slugs are /town-square/forums/ and /town-square/calendar/
Clicking the links to those pages I get a 404.
I can login in as admin by directly accessing /town-square/wp-login.php (albeit with a funny pre-login that seems to be required by the hosting company). Logged in as admin I have access to all the usual dashboard functionality and the plugin config pages.
I also have access to the WordPress database by phpMyAdmin. I did alter a few of the wp_options values to reflect the new domain name that I am obliged to use until we can transfer the current domain name to the new server. Those changes corrected a few problems with the links that WordPress constructed.
My question is: How do I make the links to the plugin pages work via their slugs?
Many thanks
TimHow does bbpress differ users and so their replies and topics under “my replies/topics”?
I’m just checking my site and recognized that for regular users at “My replies” the replies of all users (instead of the one currently logged in) are displayed. As I created all users as admin for purpose of testing only, they have different usernames but all the same IP.
Hello, i put bbpress with the plugin wp social login, well, when I activate the plugin and put to login with facebook, twitter and google…. I have to put ID, and secret Key, to cofigurate….
Well. I activate the plugin, and a few hours later, I check that the people click in face,twitte or google to login to writte, INSIDE TO MY WORDPRESS PANEL CONTROL!!!
What happend? how can I configurate my plugin that the people register to writte in bbpress, no inside in my private blog!
Topic: Change from Mingle Forum
Hi there, right now I’m using Mingle Forum for my website. But this is becoming unstable. I’d like to install bbpress but will my data and topics stay intact?