621 pointsLike some sort of WPMU DEV God"I'm new here
tishimself
Member
—
12th October 2011 (7 months ago)
Hi,
I have a Buddypress Site with Membership and Supporter plugins.
I would like the ability to not display unused Blogs/Sites for members that have not used them.
I'm not sure what would flag an site as unused. Maybe there could be a check in the blogs-loop.php for membership and blog dates? Say the blog was updated/created the same date as the member registered. Maybe check and not display if the blog still has a "Hello Dolly" Post? In this way it will get listed once the start upating the site.
I'm not looking to *delete* anything, just not display an inactive blog along with the active ones.
I have a Buddypress Site with Membership and Supporter plugins.
I would like the ability to not display unused Blogs/Sites for members that have not used them.
I'm not sure what would flag an site as unused. Maybe there could be a check in the blogs-loop.php for membership and blog dates? Say the blog was updated/created the same date as the member registered. Maybe check and not display if the blog still has a "Hello Dolly" Post? In this way it will get listed once the start upating the site.
I'm not looking to *delete* anything, just not display an inactive blog along with the active ones.
8202 pointsLike some sort of WPMU DEV GodMindblowingly helpful memberLifetime member
WPMU DEV Fanatic
—
12th October 2011 (7 months ago)
#
Hi Larry,
You can do that manually by specifying the blog as private (Settings > Privacy), which should keep it out of public listings.
If you're looking for an automated solution, I imagine you could probably use New Blog Template to have new sites default to private, then create a plugin that sets it to public upon the user creating a post. Just a thought.
I'm not sure how to tell when a site is actively in use, Posts, Pages, Update date, Hello Dolly has been deleted?
For now it could be manual. I can instruct them to "Activate" there site once they are ready to go Public. I suppose this will generate some confusion for those that miss the instructions, but then I will not have so may empty blogs listed.
Responses (2)
WPMU DEV Fanatic — 12th October 2011 (7 months ago) #
Hi Larry,
You can do that manually by specifying the blog as private (Settings > Privacy), which should keep it out of public listings.
If you're looking for an automated solution, I imagine you could probably use New Blog Template to have new sites default to private, then create a plugin that sets it to public upon the user creating a post. Just a thought.
Perhaps that'll work for you?
-David
Member — 12th October 2011 (7 months ago) #
Hi,
I'm not sure how to tell when a site is actively in use, Posts, Pages, Update date, Hello Dolly has been deleted?
For now it could be manual. I can instruct them to "Activate" there site once they are ready to go Public. I suppose this will generate some confusion for those that miss the instructions, but then I will not have so may empty blogs listed.
Thanks,
Larry
Become a member