i have the same problem… it’s default to the original theme, and as i add a block of widgets just above the footer, the look is horrible… ;(
In a child theme you can change this to whatever you’d like (add back the sidebar and content div etc). Just override this template file:
members/single/activity/permalink.php
would be amazing if simply put as a popup… we click the activity and a popup show the content of it…
@nexia
It’s doable. You’ll need to modify the theme and use a lightbox-type script.
i know it is doable @r-a-y, i did it already… the point is a suggestion… rofl
Wow. judging from the forum posts; transitions to 1.2 is not smooth.. and many dont like the changes. cant wait for the next set of changes that will force me to redeploy my site again!
PH: I’ve just read a post where you’ve written exactly the same. I don’t even see how *this* post has anything to do with a 1.1-1.2 upgrade. Please keep on topic and your posts relevant to the thread.
@apleating thanks for pointing us to the location of the template file. Easy enough to fix for a child theme, though it probably would have been better if the activity permalink page template followed the theme’s default template.
Fix:
1. In your child theme create the following folders members/single/activity/
2. Copy over permalink.php from the default bp theme (/wp-content/plugins/buddypress/bp-themes/bp-default/members/single/activity/permalink.php)
3. Modify the permalink.php code to show the following — replace the asterisk with the appropriate tag:
*?php get_header() ?*
*div id=”content”*
*div class=”padder”*
*div class=”activity no-ajax”*
*?php if ( bp_has_activities( ‘display_comments=threaded&include=’ . bp_current_action() ) ) : ?*
*ul id=”activity-stream” class=”activity-list item-list”*
*?php while ( bp_activities() ) : bp_the_activity(); ?*
*?php locate_template( array( ‘activity/entry.php’ ), true ) ?*
*?php endwhile; ?*
*/ul*
*?php endif; ?*
*/div*
*/div*
*/div*
*?php locate_template( array( ‘sidebar.php’ ), true ) ?*
*?php get_footer() ?*
#####################
In your child’s style.css file add:
body.activity-permalink {
min-width: YOUR-PIXEL-NUMBER !important;
max-width: YOUR-PIXEL-NUMBER !important;
}
@agrundner Thanks for that — one of the thousand little things I noticed and forgot and was going to go back to. And just did!
I simply removed the css code
`body.activity-permalink`
altogether and it worked nicely for me.
I have spent a couple of days trying to find out how to do this on my child theme. Thanks a lot now nealry fixed except for some reason the styling on my side bar on the single activity page is all over the place compared to the sidebar on all my other pages. ?
@brayne thanks – so simple
hi @nexia,
wouldn’t you mind sharing your approach on activity-popup, or at least some direction on how to do it?
thanks.
@nexia , @r-a-y
can you explain how can you pull the permalinks template into a popup?
thanks