Hi all
I just recently took over running a pretty heavily modified buddypress site (fully updated wordpress and buddypress installs) with a lot of activity (cant link to it as it is for a school). I know my way around wordpress (especially front end developing), but buddypress seems like a whole other game. And i keep running into dead ends when i have questions. So here are my three most pressing questions:
1) Backup. I want to do this manually once in a while – beyond the normal wp-db backup what should i do? – anything not obvious to be aware of?
2) When logged in the top most thing the user sees is a ‘whats up?’ ‘post to profile’ field. I want that gone, but cant find anything in the settings or in this forum?
3) When logged in and viewing the activity stream. Forum posts show up with a link to the poster, forum and group. What is really missing is a ‘read more’-link to the post being displayed. Again my search has not helped. How can i insert this link into the activity stream version of the post?
I hope my questions are not too dumb 😉
I came across the topic of someone asking about 123flashchat by TOPCMM and felt I should share with you what my experience is so that others don’t get caught.
Anyone considering any of TOPCMM software should spend a lot of time asking questions. I lost $1300.00 plus thousands of dollars in advertising, hardware and other software because TOPCMM was never able to make this software work right.
After only a few months of owning it, I started begging for a refund which never came. When they found my review, they said in public that they were happy to offer me a refund but in email, the keep telling me it’s not possible and that will not happen.
Support is almost nonexistent and they will make you nearly crazy with delays. No matter what ticket type you use, low priority or critical, you still will receive the same support no matter what. You might get lucky and someone will respond in a day, maybe two and often, a week. By then, you will have lost many customers and money if you are advertising as I was.
They also take countless holidays and leave you hanging during those and only sales is on staff during weekends. Their forums are useless and they never give any real answers other than ‘give us your login details and we’ll fix it’. This means you’ll never learn about your server and will always be dependent on them, just how they like it.
From what I can tell, they are on their knees after abusing countless customers and their future is unsure. Be very careful!
I could go on and on and would be happy to share more horrors if anyone is considering this software. Just PM me.
Good luck… now… on to more positive things
I’m totally new to buddypress and don’t know where to start. Can you give me any advice.
How does the template structure work?
Can I get users to sign up and never see the dashboard panel? I want to login users like facebook- not like site administrators.
Please give feedback. I know I’m asking stupid questions but I’ve got to start somewhere.
Ah, sorry about that. I misread your question.
This StackOverflow answer is perfect for your needs: http://stackoverflow.com/questions/13795283/fixed-header-while-scroll
You basically need to use Javascript to do something like this, else your shadow will always show up.
You can put that Javascript either in <script> tags in your template’s header.php or put it in a file and enqueue it in your functions.php
Basically, change #my_fixable_table_header in the javascript to your own id, which would be #header #searchbar and change the myHeader.addClass(‘fixed’) to something like myHeader.addClass(‘scroll-shadow’)
Add a class to your CSS called .scroll-shadow (which you’re now adding a class for based on your scrolling) and put your box-shadow in there. Make sure to remove it otherwise from your #header #searchbar.
You can check the answer in that link to see a working example to toy around with.
BP isn’t a forum app, you can’t have non registered users, wouldn’t bother to try hacking it to, however comment posting to blog posts or allowing anonymous topics and replies in bbPress can be allowed.
hey.
yeah i suspected as much sadly.
i know on simplepress forums they get round it by creating a ‘fake’ account for whatever username is typed in as the guest username, i was just hoping somebody had tried to modify it to work on buddypress at some point.
i dont have anything like the skills to try it lol.
ill have a coffee and look at the adding hidden text to the status update field again
I’m afraid you’re trying to achieve something not possible, WP might allow anonymous posting of comments but BP is a membership system, you must be a member to be able to add items to something like the activity stream (otherwise it simply won’t know who to attribute data to) , and many such functions in BP are based on a logged in requirement.
ive pretty much given up on this. been 20 hours straight trying lol
as for opening up the status comments to all site visitors, it looks like that one is impossible aswell.
its a shamebecause i think both features would be universally popular.
ill take a break and maybe try later. take care folks x
<?php
/**
* BuddyPress – Activity Post Form
*
* @package Status
* @since 1.0
*/
?>
<div id=”whats-new-declare” class=”clearfix”>
<form action=”<?php bp_activity_post_form_action(); ?>” method=”post” id=”whats-new-form” name=”whats-new-form” role=”complementary”>
<?php do_action( ‘bp_before_activity_post_form’ ); ?>
<section id=”whats-new-about”>
<div id=”whats-new-avatar”>
“>
<?php bp_loggedin_user_avatar( ‘width=’ . bp_core_avatar_thumb_width() . ‘&height=’ . bp_core_avatar_thumb_height() ); ?>
</div>
<div id=”whats-new-wrapper”>
<div id=”whats-new-tail”></div>
<div id=”whats-new-textarea”>
<textarea name=”whats-new” id=”whats-new” cols=”50″ rows=”10″>topic<?php if ( isset( $_GET[‘r’] ) ) : ?><?php echo esc_attr( $_GET[‘r’] ); ?>topic<?php endif; ?>topic</textarea>
</div>
</div>
</section>
<section id=”whats-new-content”>
<div id=”whats-new-options”>
<div id=”whats-new-submit”>
<input type=”submit” name=”aw-whats-new-submit” id=”aw-whats-new-submit” value=”<?php _e( ‘Post Update’, ‘status’ ); ?>” class=”submitbutton”/>
</div>
<?php if ( bp_is_active( ‘groups’ ) && !bp_is_my_profile() && !bp_is_group() ) : ?>
<div id=”whats-new-post-in-box”>
<?php _e( ‘Post in’, ‘status’ ) ?>:
<select id=”whats-new-post-in” name=”whats-new-post-in”>
<option selected=”selected” value=”0″><?php _e( ‘My Profile’, ‘status’ ); ?></option>
<?php if ( bp_has_groups( ‘user_id=’ . bp_loggedin_user_id() . ‘&type=alphabetical&max=100&per_page=100&populate_extras=0’ ) ) :
while ( bp_groups() ) : bp_the_group(); ?>
<option value=”<?php bp_group_id(); ?>”><?php bp_group_name(); ?></option>
<?php endwhile;
endif; ?>
</select>
</div>
<input type=”hidden” id=”whats-new-post-object” name=”whats-new-post-object” value=”groups” />
<?php elseif ( bp_is_group_home() ) : ?>
<input type=”hidden” id=”whats-new-post-object” name=”whats-new-post-object” value=”groups” />
<input type=”hidden” id=”whats-new-post-in” name=”whats-new-post-in” value=”<?php bp_group_id(); ?>” />
<?php endif; ?>
<?php do_action( ‘bp_activity_post_form_options’ ); ?>
</div><!– #whats-new-options –>
</section><!– #whats-new-content –>
<?php wp_nonce_field( ‘post_update’, ‘_wpnonce_post_update’ ); ?>
<?php do_action( ‘bp_after_activity_post_form’ ); ?>
</form><!– #whats-new-form –>
</div>
thats the right php i think, post-form.php, how could i modify a line or two here for posting my own tags?
hey guys, im pulling my hair out here, been trying to sort both of these problems out for days.
please help if you can.
1. im trying to add a predefined hashtag to all status updates posted from the main activity posting form. everything ive tried has failed, anybody have a clue about php?
2. ideally id like all visitors to the site to freely post anything they want, anywhere they want, however i cant even get comments to appear to logged out users, far less mess around with name fields so they can post etc
please help. im near ready to pack it in. x
I was asked recently about how to order members in a loop based on the value of a (numerical) custom field in their profile.
Place the following in your functions.php file:
<?php
function du_users_by_value($field_id){
/* duable.com */
$numberedUsers = array();
$orderedIds = array();
if ( bp_has_members(bp_ajax_querystring( ‘members’ ) ) ) :
while ( bp_members() ) : bp_the_member();
/* Get the field value from all members */
$number_field = xprofile_get_field_data($field_id, bp_get_member_user_id());
/* Push user id and number value to an array */
$numberedUsers[$number_field] = bp_get_member_user_id();
endwhile;
endif;
/* Sort the members by the custom field value, highest to lowest */
ksort($numberedUsers);
/* Create a new array with just the member id’s in the correct order */
foreach ($numberedUsers as $user) {
array_push($orderedIds, $user)
}
/* Echo out the include argument along with comma seperated values of the members in order */
$orderedIds=implode(“,”,$orderedIds);
echo ‘include=’ . $orderedIds;
}
?>
Place the following in your template file where you want the loop to show up:
<?php
/* Your Loop: Replace field_id with the id or name of the field to order by */
if ( bp_has_members( du_users_by_value(‘field_id’) . ‘&’ . bp_ajax_querystring( ‘members’ ) ) ) :
while ( bp_members() ) : bp_the_member();
DO SOMETHING HERE
endwhile;
endif;
?>
Feel free to post any questions or bugs.
Thanks!!!
Didn`t find that code so I added this one:
<style type="text/css">
.field_offer-approval{
display:none;
}
</style>
And it worked 🙂
Is there also an option that I can say only admins or moderators can edit a field?
Good Afternoon Ladies and Gentleman,
I have two questions. How do I add a captcha to my user registration page to prevent bots from spamming my website?
I currently have the following Plugins installed: Buddypress, Facebook Link.
Conceivably, I also would like to do is this:
When someone creates an account, they link it to their facebook. Thereafter, the account details from their facebook is added to current profile
Its pretty much the same idea as what Tinder does when registering and using
http://www.gotinder.com/
Not sure if a plugin exist, if one does, that kicks ass. If not, does anyone know where i can find a good tutorial explaining, step by step, how to do this.
Thanks,
GalenL
On a user’s own profile page the class “my-account” is added to the body, so you can add a style to your CSS to hide it only on the profile page. E.g. if the element has the id=”agree-or-not”, then
body.my-account #agree-or-not {display: none;}
should do it.
Well I found all the options in the default theme … the one we bought doesn`t have some options.
The only option I need to find is:
1. Registration page
At our registration page, I wan`t a simple option agree or disagree.
If I make that option in the profile on (basic) it is visible on the registration page but also when you edit you own profile. So how can I hide it on the profile page?
Hello,
For a couple of weeks I work with this great plugin Buddypress, but I want to change some things or looking for some options but I cant find where. I hope someone can help me out.
1. Registration page
At our registration page, I wan`t a simple option agree or disagree.
If I make that option in the profile on (basic) it is visible on the registration page but also when you edit you own profile. So how can I hide it on the profile page?
2. Profile
– Is it possible for me as a admin or moderator to edit an other profile, because I can`t find that option. If I look it up in the admin the “custom” field are not visible, I see the basic fields from WordPress profile.
– Some fields you have to enter in the registration page but later not in your profile. For example every user gets an code by email they have the enter that code after that only we admins and mods can edit that code.
3. Groups
On the group page I want to make an custom group page. That worked, but now I want on the right side an widget where you can search for a specific group even for this I searched but now right plugin 🙁
I know I ask allot but if someone can help me out with these things I much appreciate it.
Friendly regards,
Michael
As would have reading those guides I mentioned, but assuming you did do that, if not please do try to when you have a moment as the reason we write those guides are to attempt to provide answers to these sorts of questions, and help people understand the options they have in dealing with custom themes. 🙂
Have you checked the Codex Documentation ? I suggest you read the guides on theme templates as these will help your understanding and allow you to ask more detailed questions that we can help with.
I created the the buddypress-pages on full width and also changed the template-page in WordPress, but Buddypress is still using the standard-template. Someone knows the Problem?
I assume you mean the pages created in the setup routine for BP such as ‘activity’, ‘members’ etc these are placeholders only you can not do anything in them except set the page title.
‘<i>changed the template-page in WordPress</i>’
You need to be clearer on what you mean here!
‘<i>standard template</i>’
Again not sure to what you are referring here, BP in theme compatibility mode uses page.php, unless you provide other named templates but this is all explained in the template compatibility themeing guides written for users to help them out with just this sort of issue.
As for the loader gif it’s impossible to say, you haven’t told us the theme in use, linked to the site, or shown any code to work from thus it’s a complete guess as to what may be happening.
As always if there are issues first test is activate known good theme such as twentytwelve and see if things work in that theme then you know it’s a theme issue.
Hi,
I have two questions that are related.
Are there any free plugins that allow you to upload images and video from your phone?
I have tried rtMedia to no avail.
We also have tried Activty Plus, with success when uploading pictured, but we are not allowed to upload video from a phone.
Without further ado
1. Is there a plugin that allows you to upload a video from your phone into activity?
2. Is there a plugin that allows you to upload a file (doc, pdf…) into activity?
Any answer is much appreciated
Hello all,
my website is http://www.glospitality.com it is a global hospitality news website. I need to add some user interaction so I am wanting to indulge in buddypress.
Some questions I have are:
1. how do I install BuddyPress as a subdomain (vibe.glospitality.com )
2. How do I make it compatible with my current theme on http://www.glospitality.com
Any help would be appreciated.
Thank You
Sam
I’m also looking for this. Looks like one option is User Account Type Pro (http://rimonhabib.com/buddypress-user-account-type-pro-has-been-released/) but the information on this is sketchy, the pro site page is currently in maintenance mode and I read on another post that it is not compatible with 1.8. Also the Lite version on the WP repo has a few unanswered questions about whether this is being supported.
So that looks a bit bleak. Anyone have any other ideas?
It’s generally preferred to let the user decide whether he wants to open a link in a new window or the same window. That said, you can use jQuery to force content to open a new window to happen:
http://stackoverflow.com/questions/4742746/jquery-open-new-window-on-page-load
Or, you could filter the output for the fields by adding a filter to bp_get_the_profile_field_value (you’ll be adding target="_blank" to the anchor tag). Here’s an example that removes hyperlinks from the output for specific fields:
function cpfb_unlink_fields( $field_value ) {
$options = array ( //These are the ids of the fields you want to target
12,
14
)
if ( in_array( bp_get_the_profile_field_id(), $options ) )
$field_value = strip_tags( $field_value );
return $field_value;
}
add_filter( 'bp_get_the_profile_field_value', 'cpfb_unlink_fields', 998, 1 );