Stats on homepage but..?

How can I make it so that the website stats is showing in the homepage, but at the same time, the links on it wouldn't be accesible by non-members? I tried all kinds of gimmicks in the permissions in the admin panel - to no avail.

How can this be done? My community is private, and I have done a poll about it and the members prefer it to be this way. On the other hand, when guests visit the community, they really need to see that is a well-established and growing community.

Quote · 11 Feb 2010

Have you tried going into Admin Panel>Settings>Membership Levels and click the non-members. You can remove all the check marks from permissions so even if they did click the link, it would display a error message about access denied or your current membership does not allow you to view this content.

Chris

Nothing to see here
Quote · 11 Feb 2010

The permissions are exactly that way. I even went in the navigation builder and made permissions for each item.

It doesnt' work. The moment I put the stats on the homepage, anyone can access the list of all members, photos, etc.

Quote · 11 Feb 2010

Then we shall do this the hard way. Login into your database via MyPhpAdmin, edit the sys_page_compose table. The first entry in mine is the _Site Stats block. Click the pencil icon to edit it. Click the memb so that it is the only one highlighted in blue and click Go.

That should do it.

Chris

Nothing to see here
Quote · 11 Feb 2010

Membership Levels, Navigation Menu, and there's one more... Pages Blocks!

Zarcon, hard way? Nope, your MyPphAdmin tip is much easier and only one way to control entire rather than untick each one in Navigation Menu and Pages Blocks! Thanks!

Quote · 11 Feb 2010

My comment about the "hard way" was actually a bit of sarcasm. Its the most definite way to resolve the issue though :)

Glad it helped

Chris

Nothing to see here
Quote · 11 Feb 2010

Erm... that is how it is in PhPMyAdmin, because I did check it as such in the admin settings.

Let me rephrase it.

I want to make it so that non-members can see the stats of the website (number of members, of photos, how many new members today, this month, etc) but cannot click on the hyper-links in it? Or if they click, they get a "not authorized" message?

To be more precise, when a non-member clicks on the "xxx" members hyperlink, it bring sup the "browse members" page with the list of all member's avatars and the choices on the right-side.

Only when the non-member clicks on a specific profile avatar, the "not authorized" message comes up.

What I would like, it to not even have that full list of members with their avatars showing up.

Quote · 11 Feb 2010

Then lets go back to this post,

Have you tried going into Admin Panel>Settings>Membership Levels and click the non-members. You can remove all the check marks from permissions so even if they did click the link, it would display a error message about access denied or your current membership does not allow you to view this content.

I have everything unchecked from non-members. Without being logged in, I can see the stats, but when I click on any of the links, I get "Access Denied"

Try deleting your /cache (except .htaccess file) and /cache_public directories using a FTP client.

Clicking on the members, it will take them to the "People" page but they cannot access any one of them.

EDIT: Im going to post you a solution.. hang tight

Chris

Nothing to see here
Quote · 11 Feb 2010

Ok.. .Edit your browse.php file and add this:

//Check if Logged In
check_logged();
if(!isLogged()) {
login_form();
exit;
}

RIGHT UNDER THIS:

$_ni = $_page['name_index'];

This will not display any photos/avatars or anything and actually prompt the user to login or sign up.

Chris

Nothing to see here
Quote · 11 Feb 2010

The easy thing to do is just to remove the user link for guests and members.

You can remove the user links using phpMyAdmin.

I put a stats block edit guide on the market for $5

http://www.boonex.com/unity/extensions/entry/D7_Customize_Site_Stats_Block

And for those that want to throw a fit over someone changing for this kind of mod, the $5 is for the time I spent making an easy to follow guide, not how to do the changes.

Light man a fire keep him warm for a night, light him ON fire & he will be warm the rest of his life
Quote · 11 Feb 2010

@Zarcon : this only works for members, new today, this month, this year.

 

When I click on 'online' or 'events' I can enter the site and view profiles, pictures, etc.

Quote · 26 May 2010

Easiest way to deny access for non-members is to go in Admin Panel -> settings -> Membership Levels and click on 'non-member'. Check all the options you want a non-member to exclude from and click 'disable'.

 

Every time a non-member clicks on an item, he'll see 'access denied' or the login screen.

Quote · 26 May 2010

But also that is not waterproof. When I click as a non-member on a profile shown on the index page and click on the extended view, I can still see profile description and a picture of the member.

 

Maybe this is a bug ?

Quote · 26 May 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.