Search Results for 'questions'
-
Search Results
-
Topic: howw do ii…. PLEASE HELP
a few questions:
1) how do i get the activity time-since i would like to remove it from the activity-header and place it under the text..any idea how i do this??
2) how do i check if the comment count is more than 0…
i want to display a custom message when the comment count is more than 0, is there a way to do this??
thanks..please help me out..
Hello. I added the code below in wp-content/plugins/buddypress/bp-themes/bp-default/members/members-loop.php, to display additional profile fields in the member directory and to display the member’s role (either ‘Subscriber’ or ‘Provider’). I only have 2 types of roles – Subscribers cannot edit posts and Providers can edit posts. In the code below, I specifically checked for the user’s role to determine whether I need to display ‘Subscriber’ or ‘Provider’.
Questions:
– is there a way to check for the capability instead – i.e., if the user can ‘edit posts’ then I will display ‘Subscriber’, otherwise I will display ‘Provider’? If so, can you please let me know how to do that as I have not been able to figure it out.
– is there a way to display a newline so that ‘Subscriber’ or ‘Provider’ will display on the next line, below the member’s title and company name. I tried to echo “\n” but it’s not outputting a newline and I have no idea why.
Thank you for the help.
<?php
/***
* If you want to show specific profile fields here you can,
* but it’ll add an extra query for each member in the loop
* (only one regadless of the number of fields you show):
*
* bp_member_profile_data( ‘field=the field name’ );
*/
if( bp_get_member_profile_data ( ‘field=Title’ ) )
echo bp_member_profile_data( ‘field=Title’ ), ‘ (‘, bp_member_profile_data( ‘field=Company’ ), ‘)’, ‘ – ‘;
$user = new WP_User( bp_get_member_user_id() );
if ( $user->roles[0] == ‘subscriber’ )
echo ‘Subscriber’;
else
echo ‘Provider’;
?>
Anyone have a line on how to auto activate a member blog for a new user and use their username as the name.sitename? instead of using the form click box to choose….
Also, how to retrofit legacy members with a blog…something for db or maybe there’s a plugin perhaps that can answer both my questions.
Will search the forums a little more…just wanted to throw it out there quickly to see if someone could help.
Hi,
I have a wpmu 2.9.2 site with buddypress 1.2.2.1 (http://www.mypet.nl, sorry all in Dutch, and yes, the design is crap).
Registration works fine, just the activation mail is not received by users with a hotmail or live account.
Other email addresses get the mail, just not the hotmail/live addresses.
No, im not on the blacklist
Yes, I Installed the plugin Mail From.
Below I copied the source code of the mail.
Can anyone please help me with the following questions:
Is this a WPMU issue or a BuddyPress issue?
Or am I doing something wrong?
Or is Microsoft just way to critical on mail?
Kind regards, Rian
Return-Path: <apache@epsilon.monshouwer.eu>
X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on theta.monshouwer.eu
X-Spam-Level:
X-Spam-Status: No, score=-4.4 required=4.0 tests=ALL_TRUSTED,BAYES_00
autolearn=ham version=3.2.5
X-Spam-Relay: _RELAYCOUNTRY_
Delivered-To: info@rrwd.nl
Received: from epsilon.monshouwer.eu (epsilon.monshouwer.eu [IPv6:2a02:990:100:1:0:500::])
by smtp.monshouwer.eu (Postfix) with ESMTP id 84F0C1FA0006
for <info@modevakschool.net>; Tue, 6 Apr 2010 12:22:14 +0200 (CEST)
Received: from epsilon.monshouwer.eu (localhost.localdomain [127.0.0.1])
by epsilon.monshouwer.eu (8.13.8/8.13.
with ESMTP id o36AMEC4002687for <info@rrwd.nl>; Tue, 6 Apr 2010 12:22:14 +0200
Received: (from mypet@localhost)
by epsilon.monshouwer.eu (8.13.8/8.13.8/Submit) id o36AMEc1002686;
Tue, 6 Apr 2010 12:22:14 +0200
To: info@rrwd.nl
Subject: [myPet] Activeer je account
Date: Tue, 6 Apr 2010 10:22:14 +0000
From: myPet <info@mypet.nl>
Message-ID: <1c8ee3ca00ce5c7c39bba2fb3cdcac3a@www.mypet.nl>
X-Priority: 3
X-Mailer: PHPMailer (phpmailer.sourceforge.net) [version 2.0.4]
MIME-Version: 1.0
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=”UTF-8″
X-Virus-Scanned: clamav-milter 0.96 at theta.monshouwer.eu
X-Virus-Status: Clean
Bedankt voor het registreren! Om je account te activeren kun je op onderstaande link klikken:
I’m a WP developer and have I’ve never used BP. I’m thinking about using it for a site whose main focus is Groups. I’d like the home page to come up with a listing of groups, maybe within categories of groups, and go from there. I’d still use all the functionality of BP, but groups has to be the focus.
Is this easy enough to do?
Can anyone point me to a site that is built this way?
Hi all!
I’m just in the middle of looking into the backup side of things for my single installation of Wp/BP.
I currently use the plugin ‘automatic wordpress backup’ to backup by site but was wondering if this covers all bases?
In theory if my site had a catastrophic problem, how easy would it be to do a brand new install of WP/BP and transfer ALL of the existing groups and forums across to that install including group avatars etc. My site will have 2000 groups when it’s ready to launch and I couldn’t face making them again! Where are they stored exactly and what does the MySQL database hold?
Sorry for the questions but want to rest easy before I launch the site knowing that it’s all safe!