-
Author
Tagged: page, buddypress, shortcode, activity
-
May 11, 2014 at 22:46 #17530PedromlParticipant
Hi.
I want to show on the main page the buddypress activity (as in mydomain.com/activity), but only for logged in users, no logged users will see the registration form.Is there any shortcode to show buddypress activity on a page?
Thanks.
May 12, 2014 at 17:49 #17575guy_fraserParticipantThere is a short code for showing activity, but I have no idea how to only show it to logged in users.
Anyway, the activity short code is:
[kleo_bp_activity_stream number=6 show_button=yes button_label="More.." button_link="/activity"]
I’ll add this to the knowledgebase
May 12, 2014 at 18:10 #17578PedromlParticipantHi @guy_fraser. Thank for this response.
I already tried this and does not work as I need.
Look at the screenshots.
The second one is what I need.
This plugin works great to limit content by login. http://wordpress.org/plugins/eyes-only-user-access-shortcode/
Attachments:
You must be logged in to view attached files.May 12, 2014 at 19:19 #17599guy_fraserParticipantAh, I see the differences:
* Status update box missing on shortcode version
* Filter links and drop-down missing on shortcode version
* Favourite icons missing on shortcode versionPerhaps if the kleo shortcode could have the following amendments:
* status=”yes” – show status update box
* filter=”navbar” – show filter navbar (links, drop-down)
* favourite=”yes” – show favourite buttonsBTW, that eyes-only shortcode is awesome, thanks for sharing!
May 12, 2014 at 19:50 #17603PedromlParticipantThat’s right, in any case I will look for an alternative solution, and I will write here.
Thanks.
May 12, 2014 at 21:51 #17625guy_fraserParticipantMay 14, 2014 at 20:44 #17903AbeKeymasterWe have added another option to the kleo_bp_activity_stream shortcode to also enable/disable the post form. Also the favourite icon is now visible.
This will be visible in this theme update.
Also for you we have created a quick shortcode to display the whole activity page, that will be also available in next theme version so on update make sure to remove the below code so it won’t give you an error. Add the code to kleo-child/functions.php. Use the shortcode as [kleo_bp_activity_page]
COPY CODE/** * Buddypress Activity page. */ function kleo_bp_activity_page( $atts, $content = null ) { ob_start(); bp_get_template_part( 'activity/index' ); $output = ob_get_clean(); return $output; } add_shortcode('kleo_bp_activity_page', 'kleo_bp_activity_page');
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.September 5, 2014 at 20:36 #27742tristanjParticipantIs there any way of just displaying the Update Status field without seeing the newsfeed? I’ve tried putting in 0 to the number of newsfeed items but it didn’t work 🙁
September 11, 2014 at 00:45 #28307AbeKeymasterThat is not possible right now, sorry
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.October 10, 2014 at 19:26 #31355sermsakParticipantAfter i add the code to kleo-child/functions.php. Use the shortcode as [kleo_bp_activity_page]
And my templete is – 3 Columns-Left and Right sidebars
I have a problem with Footer , before i used this code above , the width of Footer is full as Header.
But now it change. see attached file.Please help
Attachments:
You must be logged in to view attached files.October 14, 2014 at 23:33 #31732AbeKeymasterHi, this is KLEO forum, not Sweetdate as in your pictures. check your page code though
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer. -
AuthorPosts
The forum ‘KLEO’ is closed to new topics and replies.