Search Results for 'wordpress'
-
Search Results
-
I have recently tried to install Buddy press on a wordpress site based on a Windows 2003 server running IIS.
The software appears to install OK and the Template Pack runs Ok however when I activate the plug-ins and the links in the top right hand corner are updated. When I try to use them the system displays a “Page cannot be Found” error and the path appears to be wrong.
I am using the Permalink structure which includes an index.php in all the URLs of the site but this is not displayed in the links from the top right menu. If I manually add the index.php into the URL then it displays a page but there appears to be no Style Sheet present and then again all sub links don’t work.
Not sure if there is a setting somewhere to enable this.
Any help gratefully received!
I have a wordpress multi-site install and then installed http://buddydev.com/plugins/buddypress-multi-network/ so that I could have multiple buddypress networks.
The problem is that I don’t want a user to be able to join any network they want.
For example, I have 1.[domain].com and 2.[domain].com. Each one has its own buddypress network. The problem is, even if I have the private buddypress plugin installed, if someone has an account on 1.[domain].com, then they can just login on 2.[domain].com.
I want to make it so that the user on 1.[domain].com would need to request access to 2.[domain].com in order to use it.
Also, is there a way for a person to set their avatar once on one network and not have to set it again when they become a user on the other network?
Hello, forum!
My case is rather urgent due to pressure from my hosting company.
I have recently tested my website loading time with pingdom and to my surprise I found out that something goes terribly wrong. Most of times waiting time consumes 1/2 – 2/3 of total page load. In the sample URL (http://tools.pingdom.com/fpt/#!/JyyRTtw9l/http://altclass.com) you can see by yourself that 3.2s out of the 4.56s required for loading my website was consumed as waiting time.
I decided to contact my hosting company and inform them of my issue. They checked their server and claimed that problem occurs only with my account since my website consumes 100% of available CPU. They also warned me that if this persists then my account will be suspended.
In an attempt to help me solve the problem they suggested the following steps:
a. Reduce the number of posts on the front page of my blog
—– As you can see that is not a problem for my front page as it is kept as simple as possible without any images attached —–b. Install anti-spam plugins in order to prevent spam-bot from creating load on the server.
—– I already run the free version of Anti-Splog —–c. Optimize my WordPress database.
—– I have done so through my cPanle tool phpMyAdmin —–d. Install a caching plugin such as WP-Cache or WP Super Cache.
—– I am not sure, but after having checked the W3 Total Cache plugin, I found out that no such plugin should be used until site development is completed – maybe referring only to css? My site is still under construction. —–e. Decrease the number of external and internal links on my pages and leave only the most important ones.
—– You can check it out, but I believe that links on my pages are not that many. It is hard to believe that is the base of my problem. —–Lastly, they have insisted that I have to address this problem to WordPress so that experts check my website and find out what is going wrong in my case.
I am using up-to-date WP-Multisite, BuddyPress, s2Member and bbPress to ensure compatibility. I have never placed a hand on parent files, other than wp-config.php to enable subdomains and debug-mode. Instead I have created a child theme which I have testes with W3 XHTML validator (still 4 errors that I do not know how to fix) and Theme-Check plugin (everything looks fine).
Can someone please help me with this case? I can not afford getting my hosting account suspended and I am not sure if my hosting company is speaking truth or they are taking advantage of my inexperience.
My website is
Thank you in advance for any support. I have also let WordPress know of my issue, since I am not sure how I should proceed…
Topic: Activation not possible
I installed WordPress 3.4.2 with Buddypress 1.6.1.
If someone register on my site, he gets the activation mail. After cklicking on the link, my site says, that i try to input an activation key. Also if i copy & paste the key from the url, the activation is not possible.
I searched this forums but no thread has a solution. At the moment i activate all accounts via the WP pending actionations plugin. But this cant be the way.
Anyone can help me?
I am using the latest wordpress and buddy press over at http://www.bridleinfocus.com
This is a membership site using s2member for the back end member management.
Recently, users haven’t been able to access their ‘settings’ page. Even me as the admin doesn’t get the settings page. Why would it return blank?
– David
I had install new buddypress plugin wordpress but when user entered new activity then it will entered twice in database and display twice in listing.
Please give me suggestion for that.
I have this function that I pieced together a few months back that worked until a recent WP or BP upgrade (not sure which or when). The function adds blog comments as activity items so that I can have them show up in notifications without actually using the activity feed. It no longer works. Does anyone know why this wouldn’t work anymore?
function rt_bp_blogs_record_comment( $comment_id, $is_approved = true ) {
global $bp;
// Get the users comment
$recorded_comment = get_comment( $comment_id );
// Don't record activity if the comment hasn't been approved
if ( empty( $is_approved ) )
return false;
// Don't record activity if no email address has been included
if ( empty( $recorded_comment->comment_author_email ) )
return false;
// Get the user_id from the comment author email.
$user = get_user_by( 'email', $recorded_comment->comment_author_email );
$user_id = (int)$user->ID;
// If there's no registered user id, don't record activity
if ( empty( $user_id ) )
return false;
// Get blog and post data
$blog_id = get_current_blog_id();
$recorded_comment->post = get_post( $recorded_comment->comment_post_ID );
if ( empty( $recorded_comment->post ) || is_wp_error( $recorded_comment->post ) )
return false;
// If this is a password protected post, don't record the comment
if ( !empty( $recorded_comment->post->post_password ) )
return false;
// Don't record activity if the comment's associated post isn't a WordPress Post
if ( !in_array( $recorded_comment->post->post_type, apply_filters( 'bp_blogs_record_comment_post_types', array( 'post' ) ) ) )
return false;
$is_blog_public = apply_filters( 'bp_is_blog_public', (int)get_blog_option( $blog_id, 'blog_public' ) );
// If blog is public allow activity to be posted
if ( $is_blog_public ) {
// Get activity related links
$post_permalink = get_permalink( $recorded_comment->comment_post_ID );
$comment_link = htmlspecialchars( get_comment_link( $recorded_comment->comment_ID ) );
// Prepare to record in activity streams
if ( is_multisite() )
$activity_action = sprintf( __( '%1$s commented on the post, %2$s, on the site %3$s', 'buddypress' ), bp_core_get_userlink( $user_id ), '' . apply_filters( 'the_title', $recorded_comment->post->post_title ) . '', '' . get_blog_option( $blog_id, 'blogname' ) . '' );
else
$activity_action = sprintf( __( '%1$s commented on the post, %2$s', 'buddypress' ), bp_core_get_userlink( $user_id ), '' . apply_filters( 'the_title', $recorded_comment->post->post_title ) . '' );
$activity_content = $recorded_comment->comment_content;
// Record in activity streams
$activity_id = bp_blogs_record_activity( array(
'user_id' => $user_id,
'action' => apply_filters_ref_array( 'bp_blogs_activity_new_comment_action', array( $activity_action, &$recorded_comment, $comment_link ) ),
'content' => apply_filters_ref_array( 'bp_blogs_activity_new_comment_content', array( $activity_content, &$recorded_comment, $comment_link ) ),
'primary_link' => apply_filters_ref_array( 'bp_blogs_activity_new_comment_primary_link', array( $comment_link, &$recorded_comment ) ),
'type' => 'new_blog_comment',
'item_id' => $blog_id,
'secondary_item_id' => $comment_id,
'recorded_time' => $recorded_comment->comment_date_gmt
) );
// Update the blogs last active date
bp_blogs_update_blogmeta( $blog_id, 'last_activity', bp_core_current_time() );
}
do_action('bp_blogs_comment_recorded',$activity_id);
return $recorded_comment;
}
remove_action( 'comment_post', 'bp_blogs_record_comment', 10, 2 );
remove_action( 'edit_comment', 'bp_blogs_record_comment', 10 );
add_action( 'comment_post', 'rt_bp_blogs_record_comment', 10, 2 );
add_action( 'edit_comment', 'rt_bp_blogs_record_comment', 10 );