Search Results for 'buddypress'
-
AuthorSearch Results
-
December 4, 2015 at 4:57 pm #247420
Splendorito
ParticipantHi,
Does anyone run buddypress with wp-rocket? if so, any advices?
December 4, 2015 at 3:43 pm #247415In reply to: Permalinks to custom activities
fried_eggz
ParticipantThanks for the reply.
I have created cpt’s because I want to add custom activity types that have different fields and meta data.
Here is what I’m actually doing (the book was just an example):
I am creating a community where users can
- Post status updates
- Ask questions
- Post tips
I have registered questions and tips as ‘buddypress-activity’ so that they show up in the activity stream, for example
Adam posted an update 2 mins ago Sebastian asked a question 6 mins ago Shanebp posted a tip 10 mins ago Adam posted an update 14 mins ago
The normal, built in, status updates links work fine but the custom ones link to
http://buddypress.dev/tips/name-of-the-tip/
instead of
http://buddypress.dev/members/membername/activity/544/
thus using the single.php template instead of the activity template that I want to use.
December 4, 2015 at 3:18 pm #247414In reply to: Permalinks to custom activities
shanebp
ModeratorYou created a cpt named books.
When a book post is created, an entry is created in the activity stream.
When the book post is viewed, it used the single.php WP template.
Correct?The book post and the activity entry are 2 different things.
Why would you want to use an activity template to show the content from an instance of a post type?If you want to create a custom activity – then why create a custom post type?
How to add an activity entry:
December 4, 2015 at 11:25 am #247406In reply to: please review my new website onlijn.com
peter-hamilton
ParticipantI am going to try a similar, but different theme with the new BBPress/Buddypress plugins, now using older version from earlier this year.
Just to play around with the code, not doing it for much more then laughs at the moment.
December 4, 2015 at 11:13 am #247404In reply to: Where to learn.
Joshua Blevins
ParticipantLate response from me, but I just feel like the codex should not be so freaking skimpy and weak. I have nothing against digging around in github. However, if the developers want the platform to grow the codex should be more comprehensive. Is buddypress an npo or community project?
December 4, 2015 at 2:16 am #247401In reply to: please review my new website onlijn.com
Galador
ParticipantThat’s true, I also run a buddypress website that users being able to preview it, in anyway… seriously helps.
If a user can’t see any activity or can’t see what the site generally looks like even with screenshots they won’t sign up. Think of all the “sign-up-we-aren’t-a-scam” sites that are out there. That’s their biggest point, not letting you actually see what you are doing. So people will generally avoid them like the plague.If you want any ideas for a social website. Check out mine. roleplaycentral.org
December 3, 2015 at 8:30 pm #247380In reply to: registeration page on multisite
@mercime
Participant@keram- You need to enable registration in your Network Admin > Settings, creaate the pages, then associate those pages with BP https://codex.buddypress.org/getting-started/register-and-activation-pages/
December 3, 2015 at 7:23 pm #247378In reply to: REGISTER PAGE, ACTIVATE PAGE, BOTH INVISIBLE
@mercime
Participant>> The”membership” option in the image on the link you posted.
@functionmunchkin The option to “allow users to register” in Network Admin > Settings is the same as the one in a single WP site’s option in Settings > General in that link.>> Register goes the the login page and clocking the register link on there goes to page not found.
You mentioned that “I’ve setup the bp register and activate pg”
– did you set up BP network-wide or in one subsite? Reference: https://codex.buddypress.org/getting-started/installation-in-wordpress-multisite/
– have you double-checked that you created the Register and Activate pages in the main site (if network-wide) or in the subsite, then associated the pages in Settings > BuddyPress > Pages?December 3, 2015 at 6:13 pm #247376In reply to: How to change default activity stream tab?
Maddish
ParticipantDid this solution really work for you?
I’m surprised because in my case it did not.
As in this thread other users say, on one hand the browser remember the last selected tab, and on the other, the loop displayed in the stream is still the activity-all.I found another solution based on cookies.
There is a cookie named ‘bp-activity-scope’ that is used to query the activity stream posts and that must be set to ‘groups’ in order to display only the posts that belongs to groups.
This is the script that worked for me, in which ‘My Groups’ is the default tab:
var jq = jQuery; jq(document).ready( function() { filter = jq('#activity-filter-select select').val(); jq.removeCookie('bp-activity-scope', { path: '/' }); //change 'groups' with the cookie for the tab you want to be the default one // favorites , friends, etc jq.cookie( 'bp-activity-scope', 'groups'); scope = jq.cookie('bp-activity-scope'); bp_activity_request(scope, filter); } );
I wrote a post in which I explain step by step how to implement it, and also how to avoid that the activity-all tab is switched to selected when the user focus on the wwhat’s new textarea:
http://inauditas.com/change-default-activity-stream-tab-buddypress/
December 3, 2015 at 2:36 pm #247374In reply to: Sizing specific avatar img
Ynasr
ParticipantMany thanks Henry!
Yes that is what would be needed, but how can i assign “.some-wrapper-class” to the element i am trying to resize ? I am still a newbie with wordpress and buddypress … i have looked all over the net and couldnt find anything helpful.
Best,
YvanDecember 3, 2015 at 12:03 pm #247371In reply to: buddypress only shows admin member
Henry Wright
ModeratorSee the Members Loop article for details on how to output a member list.
December 3, 2015 at 8:11 am #247363In reply to: profile avatar overrides menu
dwsowash
ParticipantPositive.
And while I’ve got your attention I have “buddypress-activity-plus and bp-group-documents” plugins and no matter what I do only admins can upload docs. I went so far as to change the group settings in the db “group_documents_upload_permission” to “members” and admins are still the only one’s who can upload.
December 3, 2015 at 7:09 am #247360In reply to: Private Site????
Stacy (non coder)
ParticipantThis will take you years to achieve adequate app like privacy. There’s other ways these days besides buddy press. A few years ago, no one really cared to provide real privacy options with buddypress because to them it defeated the purpose and was suspicious. One volunteer took it on and eventually gave up.
Moved on.
December 2, 2015 at 5:47 pm #247341In reply to: Buddypress profile photo / cover image fails
Bas van der Togt
ParticipantThis is everything what is written to the log after i tried to upload an image:
[02-Dec-2015 17:45:42 UTC] PHP Notice: bp_setup_current_user was called <strong>incorrectly</strong>. The current user is being initialized without using $wp->init(). Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 1.7.) in /home/***/domains/***/public_html/wp-includes/functions.php on line 3622 [02-Dec-2015 17:45:43 UTC] PHP Fatal error: Cannot use object of type WP_Error as array in /home/***/domains/***/public_html/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php on line 874
December 1, 2015 at 6:06 pm #247325In reply to: Warning & Fatal Error! Please Help
r-a-y
KeymasterAre you using the WOffice theme and their Birthday extension?
If so, see:
https://buddypress.org/support/topic/fatal-error-call-to-undefined-method-stdclasssave/December 1, 2015 at 1:14 pm #247321In reply to: Add profile fields groups to registration
ShMk
ParticipantThanks @mercime for the link, I’ll follow the progress of the issue.
In the meantime do you know if there are any plugins that permit to edit the BuddyPress registration page?
Thanks again.
December 1, 2015 at 5:34 am #247317In reply to: Changing Page Titles On The Page
DarkDog
ParticipantAmazingly I just now found kinda what I was looking for. It’s called Toggle The Title. While it isn’t working for bbpress, it does work on every other page including BuddyPress. So that’s good. I just can’t believe I didn’t find this sooner. Anyway, it works. Now if I could just figure out how to get bbpress working the way I want it, I’ll be good to go.
December 1, 2015 at 2:29 am #247314In reply to: Add profile fields groups to registration
@mercime
Participant>> I know that Base group are shown in the Registration Form
@shmk thanks for confirming, just had to make sure you did. There’s a trac ticket which needs some more work done to get the feature you want at https://buddypress.trac.wordpress.org/ticket/6347December 1, 2015 at 1:10 am #247313In reply to: How To Setup Site Forums?
@mercime
Participant@engine44 Have you read https://codex.buddypress.org/getting-started/installing-group-and-sitewide-forums/ ? What shortcode did you use for your forums index page? Have you created an additional new Forum from wp-admin menu Forums > New Forums?
November 30, 2015 at 10:34 pm #247310In reply to: Changing Page Titles On The Page
djsteveb
Participant@darkdog
This post may help you with this: https://buddypress.org/support/topic/swap-out-the-buddypress-page-title-with-the-wordpress-page-tile/I have no idea if BP is going to make this easier in the future to change these things dashboard backend or not – I have made some posts about this a time or two around here – but bp pages, their displayed on screen titled, and the meta titles have been a mess for a long time. Unless you know php and are willing to dig deep through documentation that is disorganized and possible outdated, there is no easy way of handling these issues.
November 30, 2015 at 4:29 pm #247297In reply to: Dynamically Display HTML depending on User
cameck
ParticipantAll right thank you everyone, I finally figured it out.
I was not able to find an S2 Member function that worked for my specific task.
Luckily I had a custom BuddyPress field that also designated the user Level.
I got the field ID of “55” by hovering over the edit portion of the custom profile field.
This is the final working code:
<?php if(is_user_logged_in() && xprofile_get_field_data( 55 ) == 'Employee'){ ?> <div class="paybox"> <h3>Make Payment with PayPal®</h3> <?php $uemail = getDisplayedUserEmail(); ?> <?php echo do_shortcode('[gravityforms id="7" field_values="recip-email=' . $uemail . '"]'); ?> </div><!-- .paybox --> <?php } ?>
November 30, 2015 at 3:36 pm #247295In reply to: Wrong Member Count
newdermeo
ParticipantWhat RemonStormborn is having a problem with is exactly what is happening for me. This changed after one update. Which one, I do not know. I have waited several months to reinstall Buddypress hoping things would be different but it is not.
November 29, 2015 at 11:46 pm #247276In reply to: Suddenly Unable to Upload Avatars or Cover Images
Henry Wright
ModeratorI am new to using W3 Total Cache. Are there any guides out there to setting that up for BuddyPress?
Not that I know of. Is there anything in the W3 Total Cache documentation?
November 29, 2015 at 10:36 pm #247273In reply to: Changing avatar images and profile links
jimme595
ParticipantSo i’ve had some success trying to change the profile links with this code:
function _bp_core_get_user_domain($domain) { $url = get_home_url(); $user_id = bp_get_member_user_id(); if (empty($user_id)) { $user_id = bp_get_activity_user_id(); } if (empty($user_id)) { //$user_id = bp_displayed_user_id(); } $user_info = get_userdata($user_id); $link = $user_info->display_name; $domain = '' . $url . '/profiles/' . $link . ''; return $domain; } add_filter('bp_core_get_user_domain', '_bp_core_get_user_domain', 10, 4); apply_filters( 'bp_get_activity_user_link', '_bp_core_get_user_domain', 15, 1);
This seems to work on every profile link except the one in the activity header section. This link is being changed but just to /profiles/. The display name is not being added to the end… so looking at my code this means i’m not retrieving the user id in the activity. Strangely enough though the user avatar next to the post has the correct link applied to it with the above filter! Any ideas?
My other option is to use the buddypress member profile location but replace it with my profile templates. I tried to implement this by creaing a members/single/home.php in my wordpress custom theme folder… but the profile loads inside another page, i get a page within a page type effect with the username above the inner page… not sure what is going on there? If anyone can help with either of these solutions i’d really appreciate it!
James
November 29, 2015 at 8:46 pm #247270In reply to: Suddenly Unable to Upload Avatars or Cover Images
nakirush
ParticipantSo, I’ve gone through and deactivated and reactivated each plugin one by one.
The problem seems to be with W3 Total Cache. When I deactivate that the upload options appear right away.
Edit: I am new to using W3 Total Cache. Are there any guides out there to setting that up for BuddyPress?
Edit 2: Seems to be a problem with minifying JS. Disabled that in W3 Total Cache and everything is right as rain.
-
AuthorSearch Results