Forum Replies Created
-
In reply to: Avatar URL
Thanks, but that returns the full img html. I need just the URL.
In reply to: Blog comment reply notifications@sbrajesh Any help with this?
In reply to: [Resolved] My Comments TabThanks that worked great!
In reply to: [Resolved] My Comments Tab@danbp That worked. Thanks!
Is there a way to add pagination to it?
In reply to: Video oembeds in Profile FieldFound it. The internet is written in ink. 😛
While you are here… It seems to be working great. It’s a bit old. Do you think it will cause any security or other issues with the current version of BP?
Thanks again.
In reply to: Bump Activity to top PluginIf it’s only a issue over confusion on the original post date you could always add “Last Active” before the date via css:
.time-since:before { content: "Last Active: "; }In reply to: Custom Group Single TemplateThanks. That’s what I figured out after I posted this. I thought you just needed to rename the template part and it would load the other parts like the default one does.
In reply to: Stop Load More@hnla Thanks, but no. I’m looking to stop it loading more posts when scrolling down the page. I want people to click the load more button at the bottom to load the next page of posts.
In reply to: Stop Load MoreCan anyone help me with this? Thanks
In reply to: Custom Group Single TemplateOK, I guess I needed to copy the home.php into a page template. I knew it wasn’t going to be that easy. 😛
In reply to: Add tinymce to Activity Post Reply Form@danbp I’m also using it in the main editor per your instructions on that other page. Not sure if that makes a difference.
In reply to: Add tinymce to Activity Post Reply Form@danbp I tested everything and it seems to be working. Did you change the entry.php?
In reply to: Add tinymce to Activity Post Reply Form@danbp THANKS! That got it working. I was trying to do that in the array without thinking. 😛
In reply to: Add tinymce to Activity Post Reply Form@danbp Thanks
I almost got it working.
I replaced lines 127 – 129 in the entry.php with this:
<div class="ac-textarea"> <?php do_action( 'activity_reply_textarea' ); ?> </div>I then added this to my functions:
function bpfr_reply_tiny_editor() { // deactivation of the visual tab, so user can't play with template styles add_filter ( 'reply_user_can_richedit' , create_function ( '$a' , 'return false;' ) , 50 ); // adding tinymce tools $editor_id = 'ac-input-bp_activity_id-'; $editor_class = 'ac-input bp-suggestions'; $settings = array( 'textarea_name' => 'ac_input_bp_', 'teeny' => true, 'media_buttons' => true, 'drag_drop_upload' => true, 'quicktags' => array( 'buttons' => 'strong,em,link,block,del,ins,img,ul,ol,li,code,close')); // get the editor wp_editor( $content, $editor_id, $settings ); } add_action( 'activity_reply_textarea', 'bpfr_reply_tiny_editor' );However I can’t figure out how to add bp_activity_id() to the $editor_id or ‘textarea_name’ =>. So of course it only works on the first reply box. Any ideas on how I can fix this?
Thanks
In reply to: Add tinymce to Activity Post Reply Form@danbp Do you know what file the reply form is in?