Search Results for 'wordpress'
-
AuthorSearch Results
-
February 3, 2009 at 5:17 am #37168
Burt Adsit
ParticipantI found a little filter hook in wp-login.php that seemed just right for this. It is buried in that mass of stuff in that file on line 436 (wpmu 2.7).
$redirect_to = apply_filters('login_redirect', $redirect_to, isset( $_REQUEST['redirect_to'] ) ? $_REQUEST['redirect_to'] : '', $user);
So I built a little plugin that hooks this filter.
function oci_login_redirect($redirect_to, $set_for, $user){
$redirect_to = bp_core_get_userurl($user->ID);
return $redirect_to;
}
add_filter('login_redirect', 'oci_login_redirect', 10, 3);
Create a file with the above code and drop it into /mu-plugins. It sends the user to their profile after logging in. You can send them wherever you want them to go by changing $redirect_to.
February 3, 2009 at 1:54 am #37162Scotm
ParticipantThere’s no settings in the admin panel but you can change the redirect URL within the plugin file, line 21 if I remember correctly.
Go to /wp-content/mu-plugins/bp-core/bp-core-admin.php and comment out line 73 (My Account sub-menus) as well as 148-151 and 153. I’ve also commented out the “create a blog” call which is on line 165.
You may find it only works on new blogs created after installing Block Admin.
Cheers
February 3, 2009 at 1:25 am #37160life2000
ParticipantHi Scot:
Thank you so much. Which sub-menus should I comment out from Buddypress admin bar?
Also, I have uploaded the plug in “Block Admin”, but can’t find the settings related to this plugin anywhere in the dashboard.
Seems like a tough day today. Thank you so much for your help.
vida
February 3, 2009 at 12:11 am #37153Scotm
ParticipantI redirect to the same /URL/members.
February 3, 2009 at 12:09 am #37152parkcityxj
MemberThanks for insight. Scot M, where are you redirecting to? I was thinking to http:/yoursite.com/members
February 2, 2009 at 11:57 pm #37148In reply to: new registered user bug
Trent Adams
Participant@danielfelice this actually is a bug, but not of BP, but rather WPMU and WP. Problem is that users are registering on your server “in the future” or rather from a timezone that your server hasn’t hit yet. Judging by what you said, 5 or 6 timezones ahead of the server time. Since it doesn’t exist yet, WP and WPMU spit that out

Make sense? Not sure of a solution, but I hear through grapevine that Otto, one of the WP mods maybe wrote a plugin that fixes this? Haven’t found it, but might be worth a search in the wordpress.org/support/ forums.
Trent
February 2, 2009 at 11:52 pm #37146Trent Adams
ParticipantThere are workarounds for this, but the real issue is that this is the intended outcome for normal WP. Since it is the intended result for WP, it gets pulled into WPMU since it is synced off the WP development. Since BP works on WPMU, it gets the same result. See the pattern

That “block admin” plugin works well and if users login from the main site, it doesn’t direct them. Only when they hit wp-login.php will they get redirected to the dashboard. If you are a WPMUDEV.org premium subscriber, they have a plugin that changes this default behavior, so I would imagine there are other solutions out there as well.
February 2, 2009 at 11:41 pm #37145Scotm
ParticipantI believe Andy is going to address this issue, but in the meantime I’ve found some success using the “Block Admin” plugin. This allows you to set a redirect URL when someone tries to access wp-admin. You also need to comment out a few of the Buddypress admin bar sub-menus to prevent users from accessing the backend.
Works fine for me but I agree it’s an issue that should be addressed.
Cheers
February 2, 2009 at 11:38 pm #37144life2000
ParticipantAll we need to do is to direct them to their profile page withing Buddypress site after they log in. Is there a way to modify the email messages that go out during and after activation process?
This problem has burned a hole in my brain for the last 24 hours.
HELP PLEASE!
February 2, 2009 at 11:31 pm #37142rishel
MemberI can see that its going to be an issue also, sending them to backend when they login, people look at that, especially first timers, and go… “welp, thats interesting… outta here”
February 2, 2009 at 4:06 pm #37120Scotm
ParticipantHas anyone tried TwitterDash plugin seen here: https://wordpress.org/extend/plugins/twitterdash/?
This successfully places your Twitter timeline on the dashboard in wpmu 2.7/buddypress beta2 and enables you to post updates to Twitter from a post form. Could this not be modified to appear in the users’ Buddypress profile?
Thx
February 2, 2009 at 1:46 pm #37110In reply to: Lifestream-like plugin for individual users
gpo1
ParticipantThere is a wordpress lifestream that can (not tested) display most social network like facebook.
And it uses simplepie maybe if it could be adapted for BP?
February 2, 2009 at 10:40 am #37101In reply to: Removing Buddypress from WordPressMU
svenwiesner
Participantthank you!
6) Delete the tables that are in format of wp_user_X_activity ….. Not wp_users, just those specific to BP
– i found nothing like this in my wp_users, running a fresh installation for testing.
February 2, 2009 at 8:25 am #37097In reply to: Error when trying to create a group
royak
MemberHi zenseeker,
You have the following error message on http://www.artistswap.com:
Problem in wp-config.php – $base is set to BASE when it should be the path like “/” or “/blogs/”! Please fix it!
In my opinion you are trying to install WordPress Mu manually , by editing wp-config.php file (just like WordPress) and I think that it’s not really a good method.
February 1, 2009 at 11:12 pm #37085In reply to: Facebook Integration?
gpo1
ParticipantMaybe you could adapt this FB connect
February 1, 2009 at 12:04 am #37049In reply to: Forum Integration: HELPING HINTS
Mark Leonard
ParticipantI found this Sceen Cast from sambauers at Automattic on the BBpress forum which goes through the install of wordpress mu 2.7 and bbpress 1 alpha. The integration of wp and bbprees is also fully shown.
https://bbpress.org/forums/topic/basic-integration-screencastJanuary 31, 2009 at 6:33 pm #37034In reply to: Buddypress causing blank page with WordPress mu
jfcarter
ParticipantThat sounds ominous. I googled the phrase and found several forums (with WPMU) where people reported the same problem and gave some fixes. No one seemed to think it was that big of a deal.
As for me, my WPMU works fine until I add the buddypress plugin; then it stops working.
Anyone have any solutions?
January 31, 2009 at 6:08 pm #37032In reply to: Buddypress causing blank page with WordPress mu
Andy Peatling
KeymasterSomething is very wrong with your installation if you’re getting that error. That is a core WordPress function.
January 31, 2009 at 4:25 pm #37028In reply to: Buddypress causing blank page with WordPress mu
jfcarter
ParticipantHere’s the Php error that I’m getting:
Fatal error: Call to undefined function wp_get_current_user() in /html/wp-includes/capabilities.php on line 920
Any ideas?
January 31, 2009 at 3:48 pm #37026In reply to: Buddypress causing blank page with WordPress mu
jfcarter
ParticipantThanks. So far, wordpress mu is working beautifully. It’s when I try to add in the buddypress plugin that everything goes wrong.
January 31, 2009 at 1:51 pm #37024In reply to: What Host Do You Use?
Jeremy Winter
ParticipantFusedNetwork, not the cheapest, but the best.
They set up everything I needed for WordPress MU, on request, very quickly. At the time I didn’t know what I would need to request from them besides setting up the wildcard masks, but luckily, they knew exactly what was needed.
Highly recommended
January 31, 2009 at 1:49 am #37010In reply to: BuddyPress Showoff: Post your links
speakez
Memberhttp://speakeasyesl.com/mu This is a testing ground for another wordpress install I’m thinking of for language learners.
January 31, 2009 at 1:34 am #37008In reply to: Forum Integration: HELPING HINTS
Trent Adams
Participant@cikguazleen this is a problem with earlier versions of php 4. Can you get your host to get you on php 5?
Here is an explanation about error.
Another possible explanation
Trent
January 31, 2009 at 12:51 am #37006In reply to: privacy issues
Trent Adams
ParticipantOk…figured it out for dsader’s plugin. Just needs priority added to it. Check out this post in WPMU forums, but basically add priority to the template_redirects like:
add_action('template_redirect', 'ds_users_authenticator', 1);add_action('template_redirect', 'ds_members_authenticator', 1);add_action('template_redirect', 'ds_admins_authenticator', 1);Just adding the “1” for priority makes it go before Andy’s changes. All those lines are near the top of the plugin.
Trent
January 30, 2009 at 10:23 pm #36998In reply to: Buddypress causing blank page with WordPress mu
Andy Peatling
KeymasterBe careful on a shared host. WPMU shouldn’t really be run on anything less than a VPS. You might want to check your PHP logs.
-
AuthorSearch Results