Forum Replies Created
-
@danbp okay so it works if i copy the activity permalink of some status update from some other buddypress installation, right. Sorry for my english. What I mean is: i installed WP and BP at http://loacalhost and then at http://localhost/site. If i copy the permalink http://localhost/site/members/john/activity/1/ in the activity post form at http://localhost/members/binary10/ then it works otherwise not. What i want is that it should work for the same website. Is it possible?
thanks@r-a-y I deactivated all the plugins, updated buddypress and then re-activated all the plugins. The error disapperared.
ThanksHello @danbp. Thanks for help but
- there is no such custom function because the error stays even if I delete the bp-custom.php
there is no such function in the theme also (I am not a coder but even after deleting the theme the error stays)
I do not use a membership plugin
No such error occurs in 2.6.0. This is only in 2.6.1.1 What is going wrong?
ThanksMight be a theme problem? Try if it works with WP default theme or use this CSS
.entry-title{display:block !important}
it is not working really but what I see is that if you add ?embed=true after the Permalink and open it in a new tab then it returns the embed content so that means buddypress is working correctly but somehow it doesn’t work in the activity stream. Can I add buddypress as an oembed provider to make it work?
ThanksIs there a way to make the new message instantly appear in the conversation
Is this possible without writing a lot of code. I too want this 🙂
@danbp Well according to the survey – not the most requested feature but still it is a requested feature and the actual number of buddypress users is much more than those who participated in the survey, i guess. Also, will there be a 2016 survey?
@r-a-y Yes i am using the latest version of WP. Actually what i am trying is to embed the activity at
http://localhost/members/john/activity/2/
in my activity stream athttp://localhost/members/binary10/
. It doesn’t work. But as i already said i did a separate install for testing and created a buddypress activity with permalinkhttp://localhost/site/members/binary10/activity/2/
then it works. This is what i am trying to say. Any ideas?
thanks@r-a-y i am not using any such custom code. I tested with all plugins disabled and with 2016 theme but doesn’t work. So i installed WP and BP separately to test and it worked but I still cannot get it to work on the main site. Anyways, thanks for your help
@danbp so it works if i copy the permalink of an activity on some other buddypress installation but i want that it should work for activities on the same website? Is it possible?
thanks@danbp thanks for the clarification but it still doesn’t work. Here is what i did
click on the activity date/time
copy the URL of the page that comes up (here http://localhost/pix-bloggers/activity/9/) (root profiles is enabled)
paste the url in the activity post form and click on post update
but what i see is just a hyperlink
also when i paste the url in a WP post i see nothing not even the URL!What type of activity item are you trying to embed?
status update
I saw the video but it doesn’t work on my installation. I am using WP 4.5.3 and BP 2.6. Also as in the video when the permalink is pasted into the visual editor it immediately gets converted into an embed but it doesn’t happen with my install. Is it some problem with WordPress? Other embeds work fine
Also tested with 2016 theme but still doesn’t work? What might be the problem?
thanks@sharmavishal yes but it doesn’t work on the same website. Is it possible ?
@danbp awesome now its working 🙂 thanks
@danbp thanks for the code snippet but it doesn’t work. I replaced the bp-custom.php code with the new one you provided but still getting the same error. After pasting the code in bp-custom.php i only have to replace the
<textarea name="content" id="message_content" rows="15" cols="40">
with<?php do_action( 'whats_new_textarea' ); ?>
, right?
The generated HTML after adding the new code is<textarea class="wp-editor-area" rows="20" cols="40" name="whats-new" id="message_content"></textarea>
What is going wrong?
thanks@danbp
I know its a prototype plugin and i installed it on a test website. Thanks for the link but it doesn’t work.
I added the code to bp-custom.php and then edited buddypress/activity/members/single/messages/compose.php. I replaced<textarea name="content" id="message_content" rows="15" cols="40">
with<?php do_action( 'whats_new_textarea' ); ?>
. It actually shows the visual editor but when the send message button is clicked it gives error Your message was not sent. Please enter some content. I am not much familiar with coding so maybe I am doing a mistake.
thanks@danbp thanks 🙂
@danbp I mean the page where all the @mentions for the user are listed like this one:https://mercime.files.wordpress.com/2015/03/activity-mentions.jpg
@danbp i mean the page at http://somewebsite.com/members/username/activity/mentions
Thanks that works
You can try BuddyPress Simple Terms And Conditions
You can try BuddyPress Private Messages for Friends Only
Note:This plugin hasn’t been updated in over 5 yearsThanks for the link. I will go through the article
- there is no such custom function because the error stays even if I delete the bp-custom.php