Search Results for 'buddypress'
-
AuthorSearch Results
-
September 23, 2016 at 5:46 am #259052
bikerwp000
ParticipantHi danbp,
Thanks for the link. The link is more for adding filter options for Memebers, but you included a link in that thread to a tutorial that’s more for adding filter options for Activity,
Add custom filters to loops and enjoy them within your plugin
,which is what I need.
Due to my feeble coding comprehension level, I read through that entire tutorial, the whole afternoon trying to understand and implement it to no avail. I did download, install and activate the plugin referred by the tutorial for this purpose from
https://github.com/imath/bp-loop-filters
and I can now see the “BP Plugin Action” in my Activity filter dropdown, both site-wide and member profile.
What I don’t know is how to transform the “BP Plugin Action” into the categories I created for my blog posts.
I don’t really need to change anything for Members and Groups so I can skip those. As for the “Most Favorited” filter option, if that’s readily available in the php then of course I can use it. If it takes more work, then it’s not really necessary for my site, either.
The entire php file from this plugin for adding custom filters is below. I’m guessing in order to transform the “BP Plugin Action” into the categories I created for my blog posts, I probably need to physically write something on Line 59 – 60, where it reads,
add_action( 'bp_activity_filter_options', array( $this, 'display_activity_actions' ) ); add_action( 'bp_member_activity_filter_options', array( $this, 'display_activity_actions' ) );and Line 132 – 150,
/** * Displays new actions into the Activity select boxes * to filter activities * - Activity Directory * - Single Group and Member activity screens * * @return string html output */ public function display_activity_actions() { $bp_plugin_actions = $this->list_actions(); if ( empty( $bp_plugin_actions ) ) { return; } foreach ( $bp_plugin_actions as $type ):?> <option value="<?php echo esc_attr( $type['key'] );?>"><?php echo esc_attr( $type['value'] ); ?></option> <?php endforeach; }, is that correct? If correct, where should I go to find the exact data I need and where exactly in those lines I need to paste those data over?
And besides those lines, are there any other spots I need to do anything about in order to complete this effort?
I assume I need to do this from the php file because, after activating the plugin, I did not find anywhere at backend that will allow me to easily change the “BP Plugin Action” to other filter options of my choice.
Thank you.
I tried to post the php file here but for some reason it’s not going through. I’ll try to post it in a separate post below.
September 22, 2016 at 10:41 pm #259043In reply to: Adding external links within members pages
danbp
ParticipantHi,
To get the link to a user profile:
$link = bp_get_loggedin_user_link();Many use examples can be found on the forum. Ie:
Is it possible to make Activity and Forum profile tabs private?
September 22, 2016 at 4:29 pm #259028In reply to: [Resolved] bp_messages_subject_value
danbp
ParticipantHi,
did you tried to use the Email API ?
Dashboard > Emails. From there you can modify the email title.Other possibility
https://buddypress.org/support/topic/customizing-emails-template/September 22, 2016 at 4:16 pm #259027In reply to: Order of members results
danbp
ParticipantFor 2) the idea is to sort users alphabetically by birthdate.
The snippets i indicated use a field called contributor. You could try to replace by birthdate, or whatever you named that profile field.
September 22, 2016 at 12:26 pm #259018danbp
ParticipantHi @bikerwp000,
read here and see if you can do something with the snippets
https://buddypress.org/support/topic/adding-new-order-by-on-members-loop/
September 22, 2016 at 12:17 pm #259017In reply to: On updation blank screen appears
danbp
ParticipantSeptember 22, 2016 at 12:15 pm #259016In reply to: Blank page after saving changes on xtended profile
danbp
ParticipantPlease don’t double post !
Closing this topic as duplicate in favor of
Paul Wong-Gibbs
Keymaster(This error message in your screenshot refers to some other plugin, not BuddyPress. But anyway:)
To remove any plugin in WordPress, go into
wp-content/plugins/with FPT or however, and delete the plugin folder — in this case,BuddyPress.If you visit
your-site.com/wp-admin/plugins.phpdirectly, WordPress should disable the missing plugin.If you happen to not be logged in, and so can’t get into
wp-adminbecause of the error… you could edit something in the database with SQL, but it sounds like you aren’t technically proficient with SQL to do this (it’s easy to break something else), so the last option — and this is a nuke — rename your theme folder to something else, rename the entire plugins folder to something else, then you should be able to log into wp-admin. WordPress will switch to one of the default twenty* themes. You can then rename the plugin folder back and start reactivating them one-by-one, and then switch the theme back.hatndustrialguy112
ParticipantThe script failed catastrophically and buddypress has made it entirely impossible to even access the website. This is what I get
So I need a way to remove Buddypress, so I can access my clients website. Its ridiculous how this script fails only after a single update. And now my clients are pissed off they cannot add crap to their site. So I need a way to remove this script from the website that will not allow me to login to the website.
djsteveb
Participant“need a FTP script” – tried filezilla?
I use smart ftp more often, but filezilla is free last I checked.ftp in, download a backup of all the files.
Don’t know what you mean by “SQL script to remove buddypress” – I would use phpmyadmin to login to your sql database, click export, custom, check ‘add drop table’ – and save a copy..
then I would go to (via ftp or file manager in cpanel) – site / wp-content/plugins
I’d rename the plugins folder to /plugins-hold – then create a new /plugins folder
at that point you should be able to login to the site if you to sitename/wp-admin/
I’d immediately check appearance – themes – change to default.. then start adding the needed plugins one by one.. if you find that enabled two plugins at once causes a problem – you probably have found the conflict.
Of course it could be a theme issue, a corrupt database, a hacked site – who knows.. but that’s what I would do.. I’m not an expert, and double check the documentation at wordpress.org for making backups. ( https://codex.wordpress.org/WordPress_Backups )
Hope that helps.September 22, 2016 at 6:41 am #259005In reply to: PLEASE HELP: No confirmation emails
djsteveb
Participanthave you tried to see if bp emails work when the other plugins are disabled?
maybe some of things we posted about in the forums long ago may offer some clues as to where the hiccup is. I stiff refer to https://buddypress.org/support/topic/not-receiving-notification-of-new-user-registration/ on occasion.
September 22, 2016 at 2:35 am #258998bikerwp000
ParticipantHi Paul,
I just copy/paste my original inquiry to pastebin.com. I’m not sure how that works, but I assume just by posting it there, people will potentially respond, right?
Anyway, this whole afternoon I’ve been testing the 3 paragraphs rule you graciously advised me and found it a true statement.
My conclusion is I need to have
at least 4 paragraphs separated by [Enter],
there must be at least one blank line in between paragraphs, and
each paragraph needs to have at least 1 character, either letter or numeral,when I got all those covered, and when I have both feature image and embed video in the post, the feature image will appear in the member’s Activity feed, not the video, which is what I want.
And there can be more than one embed video.
What wasted me a lot of time was after successfully achieving the result I want (4 paragraphs and all those other above requirements), I experimentally deleted 1 paragraph at a time to test what makes it fail and what makes it work. After all was done, when I restored it back to the way it originally worked, suddenly either the featured image wouldn’t show up like it did the first time on Activity feed or the embed video only show the URL link but not the video itself in the post.
I kept tweaking it every possible way hoping to find out what went wrong or if the 3 paragraphs rule was in effect incorrect.
In the end, I realized it would work again if I simply abandoned the messed-up post and started a new post by following all the above requirements.
So that’s what you should try if something were to go wrong and you’re at a loss of what’s going on.
I may also need to point out that all the posts in this upcoming website of mine will be contributed by frontend members via WP User Frontend plugin, which was what I used testing this 3 paragraph rule. But I think the conclusion I came up above should remain the same if you post via backend admin.
@ Paul, thanks again for your help. Not sure if you’d care to help me out on my the other thread “How to add self-created category to member Activity filter dropdown box?”
How to add self-created category to member Activity filter dropdown box?
I’d really appreciate if you, or anybody, could help me out on that one.
I had another quickie inquiry appended at the end of that thread. That one is not as important, so please don’t worry about if if you’re not interested.
Thank you.
September 21, 2016 at 4:33 pm #258976In reply to: Order of members results
danbp
ParticipantHi,
for 1) try
<?php if ( bp_has_members( bp_ajax_querystring( 'members' ) . 'type=alphabetical' ) ) : ?>For 2) read here perhaps it helps
September 21, 2016 at 12:11 pm #258972Paul Wong-Gibbs
KeymasterOn any decent server config, warnings and errors will not be shown on screen in production environments. Instead, it’ll be written to a log file. So you will still have the problem.
Try switching back to your real theme (so the warning comes back), and then disable plugins one-at-a-time. See if you can figure out if it’s a combination of one plugin and your theme causing the problem.
Is this a custom theme you wrote? Or did you buy from somewhere? Are BuddyPress templates defined in the theme (it’d be in
your_theme/buddypress/subfolder)? If it’s isolated to only your theme and not your theme+plugins, you’re going to have to debug through the members templates and figure it out.September 21, 2016 at 12:07 pm #258971In reply to: @mentions post to friend’s wall like FB
Paul Wong-Gibbs
KeymasterBuddyPress doesn’t have a wall feature like how you think it does. You’ll need to check out a Wall plugin for BuddyPress, maybe http://www.buddyboss.com/product/buddyboss-wall/
September 21, 2016 at 10:09 am #258969In reply to: Login conflict
Henry Wright
ModeratorYou could use member types to create child and adult types and add a radio button to the BuddyPress registration form?
September 21, 2016 at 7:18 am #258966In reply to: Custom Theme Template Path
danbp
ParticipantUsing BP Theme Compat in Plugins.
BuddyPress has no more theme since 1.9. The old BP-Default theme is only in for backward compatibility.
If you build a plugin for BP, i don’t think you need to build an extra theme for it. BP use only templates, who have enough flexibility to fit with almost any theme.Globally, for a plugin, you have to match with BP’s templates, not with a theme or another.
Ie. if you need a setting screen on profiles, you can use a simple call to a kind of pre-build template you can use for plugins
bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'members/single/plugins' ) );By using this, you’re on the profile with a new tab related to your plugin and automatically also integrated to the user’s theme. In other words, BP takes in account your plugin and the theme takes account of BP.
I wouldn’t recommand to build a theme with a plugin, as they are so many different themes on hand. If you don’t fit to the majority of them for any obvious reason, you’ll get in high difficulties if you are to specific. Don’t forget that you will have a plugin support to manage…
Made it simple and efficient and if possible, easy maintainable and upgradable. For you but also for any user type.
September 20, 2016 at 11:59 pm #258962In reply to: BuddyPress Branding
Henry Wright
ModeratorHere’s an example of what’s allowed:
Activity Stream Plus for BuddyPress
Note, the following is an example of what isn’t allowed:
BuddyPress Activity Stream Plus
You may come across older plugins that use the 2nd naming style. That’s because the guidance above was introduced by the WordPress Plugin Review Team relatively recently.
September 20, 2016 at 11:48 pm #258961In reply to: Custom Theme Template Path
Christian Freeman (codelion)
ParticipantAwesome, thanks! The template overload and BP theme compat documentation is really insightful.
My goal with this is to create a plugin that loads a BuddyPress theme which can work along with nearly any WordPress theme I switch to. With that said, in your expert opinion, which of the methods you’ve provided will work best from an overall compatibility perspective?
September 20, 2016 at 9:55 pm #258957In reply to: Custom Theme Template Path
danbp
ParticipantSome documentation here:
September 20, 2016 at 9:35 pm #258955In reply to: How to show full comment in the activity
danbp
ParticipantHi @tronix-ex,
Give this a try. Read more will only appear again if you use more than 500 000 characters…
Add to bp-custom.phpfunction bpfr_excerpt_length( $length ) { $length = 500000; // adjust the length to desired number of characters // Is the current page a user's activity stream page ? if( bp_is_user_activity() ) { return $length; } } add_filter( 'bp_excerpt_length', 'bpfr_excerpt_length', 11, 1 );September 20, 2016 at 9:13 pm #258954In reply to: @mentions post to friend’s wall like FB
kyla123
ParticipantI have BuddyPress Version 2.6.2
September 20, 2016 at 8:50 pm #258952In reply to: BuddyPress Branding
danbp
ParticipantHi,
you can use BuddyPress in the plugin name, under condition the public can understand clearly that it is an add-on FOR BP and not a part OF BP.
For the domain name, i presume it’s the same trademark condition as for wordpress: no, you can’t. You can use bp-something[dot]com but not buddypress-something[dot]com
BuddyPress comes like WordPress under GPLv2 license and has similar terms of use.
September 20, 2016 at 6:56 pm #258947In reply to: Lost search function
danbp
Participantpick a copy from https://buddypress.org/download/
September 20, 2016 at 4:29 pm #258941In reply to: how hide whats news bar for members
-
AuthorSearch Results