Tagged: blog-categories-for-groups
Hi Jan,
I am sorry to keep you waiting. I have this plugin working but it needs a little more refraction. Please give me 1-2 more days. I got stuck with a theme, so could not spend much time on it. Will finish and push the changes.Thank you
BrajeshNo worries Brajesh,
Just very curious. I can wait.
best
Jan- This reply was modified 8 years, 12 months ago by Jan Anderson. Reason: damn you auto correct
Dear Brajesh,
Any chance of posting what you have? If it works at all that is 😉
It would be very useful to show a demo of it at a board meeting tomorrow, as it is feature-freeze time
and I would like to try and squeeze this in there;)thanx
JanHi Jan,
I have pushed the current code base. It is newly updated code but on the surface won’t look much different from the old. I have to add admin settings and all.It is compatible with the old plugin, you won’t need to change anything (except we have dropped the templates and now it is only using template compatibility ).
It will work for now(please use from github) .
Thank you
BrajeshSounds good!
Will it post to group activity stream yet?Ok thanx.
That’s the killer feature that we are hoping for…;)
Hi Brajesh,
Just wanted to let you know that I downloaded the code from github and as you said it works and looks exactly
like the old code. It works.
The code looks a little different from the other blogposts on the site from a stylesheet perspective.
We are using twenty fourteen child and would like the blogposts to appear pretty much the same in this place
as in the other blogposts pages. Any hints on how to prep for that would be great.Ah well. I really look forward to testing this when you get a chance to add and update the other stuff.
best
JanHi Jan,
Thank you for testing.The blog posts are tricky to make compatible with all theme. It need some modification at your end.
Please copy the blog-categories-frou-groups/template/bcg to your theme
Now, in your theme, you can modify the posts.php as you want.
This is the code block that you will need to change
<div class="post" id="post-<?php the_ID(); ?>"> <div class="author-box"> <?php echo get_avatar( get_the_author_meta( 'user_email' ), '50' ); ?> <p><?php printf( __( 'by %s', 'bcg' ), bp_core_get_userlink( $post->post_author ) ) ?></p> </div> <div class="post-content"> <h2 class="posttitle"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e( 'Permanent Link to', 'bcg' ) ?> <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2> <p class="date"><?php the_time() ?> <em><?php _e( 'in', 'bcg' ) ?> <?php the_category(', ') ?> <?php printf( __( 'by %s', 'bcg' ), bp_core_get_userlink( $post->post_author ) ) ?></em></p> <div class="entry"> <?php the_excerpt( ); ?> </div> <p class="postmetadata"><span class="tags"><?php the_tags( __( 'Tags: ', 'bcg' ), ', ', '<br />'); ?></span> <span class="comments"><?php comments_popup_link( __( 'No Comments »', 'bcg' ), __( '1 Comment »', 'bcg' ), __( '% Comments »', 'bcg' ) ); ?></span></p> </div> </div>
to match to your post entry.
Hope that helps.
The updates are delayed due to my upcoming theme, I just need a few days to finish the theme and then will continue pushing forward the enhancements.
Thank you
BrajeshThanx Brajesh!
Will try that.
Look forward to when you have a chance to update for group activities!
best
Jan
You must be logged in to reply to this topic.