Replies
that sounds very exciting, Brajesh – i hope you’ll let me know when it’s published? will it be just an plugin update? if this is the case, i will just settle with manually applying Member Types to new users until the sync is available.
thanks
what i mean is, apply both a Role and Member Type to a new user when they register… or sync them after they register without doing it manually, of course.
yes, very clear. I’m sorry.
yes, i’m using Blog Categories. I followed instructions and was successful in displaying the form.
when i create a post, it appears in Group Activity Stream. the post DOES NOT appear under the Blog Menu in the single group page, and that is all i am trying to correct at this point. If you can help me figure this out, I’ll be VERY grateful.
thanks so much.
Glenni was successful in getting the form to appear, just wondered if the post was supposed to appear in groups, too. it says “This group has no Blog posts,” so i assume that blog posts are supposed to show right there when they’re posted.
what am i missing?
right now they ARE appearing in the groups activities, but that’s not exactly what i had in mind. is that by design? what about “This group has no Blog posts.” ?
- This reply was modified 8 years, 6 months ago by glenn nall.
“If you don’t have access to the template files”
this is my confusion – i’m guessing by template files you’re referring to those that are in folder /bcg…? i was successful by placing that function just after “do_action( ‘bp_before_group_blog_list’ )” in posts.php. the form appears in Groups now, under Blog/Create New Post – but when i got back to the Group the new post is in my activity and under Blog it STILL says “This group has no Blog posts” – aren’t the posts supposed to appear here…? i was hoping for that..
thanks for your help! the people over at buddypress forums (shanedp) are blind or rude.
//now let us find the form and render it
$form = bp_get_simple_blog_post_form(‘my form’);
if ( $form ) {//if this is a valid form
$form->show();//it will show the form
}“You can use above code anywhere in your template to render the form.”
which Template? approximately what line? i just wish to have this somewhere in my groups – once i see how it’s done, i’m good, and can modify it…
thanks
yes, thank you!
I simply need to know where to place that second function – in your instructions, you say “in your template” but i don’t know what that means – buddypress template files, the plugin template files…? a custom template?
and where within the template file do i place it so that it’s available in Groups…?