Forum Replies Created
-
@tfazlani Would you mind sharing your working code Tfazlani?
@modemlooper I very apologize for my mistake, yesterday all the day I have been wrongly adding the bp-custom.php into bp-default folder instead of plugin directory, that’s why it was always the same, NOT working 🙁 your first code was correct, it is working good, plural names code didn’t work for me.
function inspired_record_more_types( $types ) { $types[] = 'portfolio'; $types[] = 'applicant'; return $types; } add_filter( 'bp_blogs_record_post_post_types', 'inspired_record_more_types');Thank you, I will change it immediately and will try that and report it here.
@modemlooper Thanks again for your respond, but I can’t get it work, pls. take a look at my custom-type.php on pastebin where I have 4 custom post types registered:
http://pastebin.com/PuQczr0A
maybe I should also register plural name to make it work ?and pls.take a look at your code in my bp-custom.php:
http://pastebin.com/B9xUuMN8I’ve tried many variations as singular and plural and
with ‘inspired_record_more_types’, 1, 1);
without ‘inspired_record_more_types’);I’ve created 23 new posts of CPT “applicant” and no record on activity stream, I ve’seen here:
https://buddypress.trac.wordpress.org/ticket/3460
that @boonebgorges is trying to implement Custom Post Types in activity stream in future versions in buddypress I can’t wait for that.Yes, something’s strange, it works now, I have removed my customized buddypress and I have installed the fresh one (I don’t use child themes, (I always rewrite only css file and pages) so I gave back all my files including functions.php bp-custom.php one by one and now it works again. Unfortunately I can’t say what was wrong, maybe WP 3.6-beta4 should be installed before BP 1.8-beta1 and not as I did on contrary 🙁
I don’t have any plugin active except buddypress plugin, which I have several times deactivated and activated, I have also overwritten 2 times all wordpress files in case that some of them was uploaded badly, still no luck, it seems like those 2 beta versions don’t like each other, bp 1.8 is working excellent because the first upgrade was BP-1.8 on WP 3.5.2, upgrade from WP 3.5.2 to 3.6-beta4-24534 gives me white screen frontend when using bp-default, it is working well with all wordpress default themes.
Yes I do, in settings I have checked: Record activity for new posts and comments from your site, I was succesfully using this snippet for single CPT all the time, but I ve’forgot to say that yesterday I’ve installed latest 1.8 Beta BP version, maybe 1.8 version is different and I have not tried single Custom Post Type activity recording with this version yet, I will try it and report it here.
Thank you @modemlooper, but this code seems like not working, I have also changed everywhere ‘ to this ‘ 🙁
Hello, I am succesfuly using @rogercoathup ‘s snippet in bp_custom.php to display custom post type activity, but I would like to use more then ONE CPTs in my activity stream, how can I use it for 2 or more Custom Post Types? Do I have to replicate this code or does exist some hack how to do it for multiple Types?
add_filter( ‘bp_blogs_record_post_post_types’, ‘inspired_record_more_types’ ); function inspired_record_more_types( $types ) { $types[] = ‘my-cpt-name’; return $types; }I would like to ask to @henrywright-1
how could I display 1 latest post from different custom post types, I have several CPT posts as a “portfolio”, “applicant”, “employer”. I would like to display 1 latest post from every custom post type (if exists because for example CPT applicant creates user role applicant, so it is not an employer), I don’t need featured photos etc, only one recent post (custom post type) with permalink to every Custom POST TYPE (where exists obviously).
For exampleJohn Doe
latest post from “portfolio”: John Doe Portfolio
latest post from CPT “applicant”: John Doe applicant
latest post from CPT “images”: John Doe’s latest imagesI have installed excellent Buddyblog plugin but it shows me only one post or custom post type, not more than one, so I use it only for simple posts, but I also want to show custom post types on member’s profiles.
Ahh, ok @ankytt I was confused because your question was:
I am finding a Plugin that allows me to import friends from various …
How did you resolve your facebook friends? I was trying to get my friend’s email addresses from facebook in order to invite them to my site (but I didn’t want to invite them via fb messages) and till now I didn’t find any application which grabs those email addresses for me, I have also purchased this crap: http://www.rankbook.com/faceemailgrabber.php but it doesn’t work too, if this happily works it grabs 20 names and 2 emails like name@facebook.com , no real email, yahoo facebook import doesn’t work too if you have more than 1000 friends so I gave it up. If you have find some way how to do it I would be happy to hear that. I think that from Yahoo and Gmail you can easily export email addresses to CSV file and then with some Buddypress plugins it should be easy to invite them. I had a problem only with getting Facebook emails.
What is it Facebook invite ? Did you mean facebook friends inviter? How do you want to import the friends? You cannot import anybody unless you have their agreement I think. Facebook’s friends are not yours, but facebook’s, you can only import their email addresses and usernames and this plugin should be interesting to, but I think that many desktop apps does it too.
No problem, forget my questions, @mercime ‘s suggestion to take a look at Buddydev’s plugin was right, BuddyBlog works perfect with latest versions, thanks
Hi, I have latest 1.7.2 version of Buddypress and latest version of wordpress but all I see is the tab for “My Posts” but without any post in it even if those members has 5 , 100 or me 1000 posts , is it updated for latest version, still working?
Hi @modemlooper, does your code work yet with the current version of Buddypress?
I get empty members directory when I put this `<?php
global $members_template;$user_id = $members_template->member->id;
$user = new WP_User($user_id);$role = array_keys($user->wp_capabilities,”1″);
echo ‘User Level: ‘ . $role[0];
?>` into the members-loop.php, btw. does exists similar code for bp-custom.php to do not overwrite files? thanks Danielnice idea, bump
Thank you very much @danbp 🙂 this is exactly what I was searching for
Can somebody help me with too big sidebar forum tags issue?
I have the same problem as @nickharambee , the code from @chouf1 above doesn’t work for me, where in the templates can I decrease the largest number (should be 42?) somewhere in the templates?
second question where in MySQL database can I remove old spammed forum title tags, they unfortunately remained after removing spammy groups.@fordp pls.inform us when you will finish your tutorial, I would like to create a second group too.
@r-a-y why do we need to create brand new gmail account and then activate the plugin, why we can’t use older account? I have one almost new (3 weeks old almost virgin account) and after setting up username and password and enabled IMAP I always get this warning:
BuddyPress Reply By Email cannot initialize. Please navigate to “BuddyPress > Reply By Email” to fill in the required fields and address the webhost warnings.
Error: Unable to connect to inbox – Can’t connect to gmail-imap.l.google.com,993: Connection timed out
Somebody already wrote that, but I don’t remember who and where and forum searching doesn’t work and if I am trying to publish that code here for you it says : It looks like you’ve already said that!

I would bet that he meant buddypress.org plugin page , he sees only one plugin , I had the same problem with my Custom POST TYPE page , I saw only first POST , I think that it was related to permalink problems after update , when I have changed permalinks to default and immediately after to custom it worked again.
I understand , he wants to add this data also below every member in every group’s directory , it means if Group A has 20 members he wants to show their profile fields in that Group A member’s directory, at this moment code shows members profile fields data only in members directory (general)
Nice snippet @ericreynolds007 , it works very well ! Did you managed to get to find a code for Group members directory ? Would be nice to show fields IF are present , otherwise hide