-
Author
-
August 5, 2014 at 20:52 #24785MycoachParticipant
Hello,
I searched on the forum and saw few topics but I didn’t find the solution about how to create a page with only members online ? I’d like to create a page (results, number of pages) with only member’s online and if possible with filters (distance, newest, active…) or a search form in member search results. Of course, I have used the buddypress widget who’s online on the sidebar but I can not see too much members and it’s not clean. Can you explain me how I can do it or if they are others solutions except a widget ? Thanks for your help.
August 11, 2014 at 11:52 #25322CatalinModeratorHello,
The members loop file can be found here:
..\themes\sweetdate\members\members-loop.php
to be able to show only online users please take a look at this link:
http://codex.buddypress.org/developer/loops-reference/the-members-loop/#code-examples
the line of code that filters the online users is this:
COPY CODE<?php if ( bp_has_members( 'type=online' ) ) : ?>
Thank you,
CatalinHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAugust 12, 2014 at 19:22 #25455MycoachParticipantHello,
I read the subject, trying the code but I really don’t understand how I can create only one page with members online without changing my page with top members including search form. The best could be also to include a filter with newest or active members (online) at the bottom of this page ! Thanks
August 12, 2014 at 19:24 #25456alberhdParticipantabout this,some shortcode to do a page with just the popular users?
August 14, 2014 at 14:31 #25672CatalinModeratorHello,
Please make sure you have the latest version of the theme installed. You can create a page with online members by selecting the template from the page template drop down menu. Please take a look at my screenshot.
Thank you,
CatalinHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAttachments:
You must be logged in to view attached files.August 14, 2014 at 15:57 #25692MycoachParticipantHello,
Ok, that’s great. When I edit the page,I can only see online members. I tried to put shortcode as “member carousel” but I always see only online member. Is it possible to add filter as we can see with “top members” (newest-alphabetical-active) ? Tks
August 14, 2014 at 17:26 #25705alberhdParticipanti’m trying to put limitation to this page,just for users with membership,but does not work,is open all the time
August 19, 2014 at 17:57 #26069CatalinModeratorplease take a look in (Sweetdate > Members)
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAugust 19, 2014 at 18:01 #26072alberhdParticipantYes, I restricted the access but the page continue available for all the users.
I already answer here: https://archived.seventhqueen.com/forums/topic/important-problem-uploading-photos
Thank you!
-
AuthorPosts
You must be logged in to reply to this topic.