Forum Activity for @douglas

douglas
@douglas
06/24/16 12:45:47PM
2,815 posts

Is there a way to limit the privacy settings for members?


Using Jamroom

I think maybe we just misunderstood the issue.

I've not tested it, but it could be as @strumelia stated.
douglas
@douglas
06/24/16 05:29:41AM
2,815 posts

Is there a way to limit the privacy settings for members?


Using Jamroom

I really don't think there is an issue here. If you login as the user, you should not see the privacy settings since that is how you have the quota setup. If you are logged in as an admin, you'll see the privacy setting no matter what the quota settings are set to.

Try logging in as a regular user and see if the privacy settings are showing.

Hope this helps!
douglas
@douglas
06/23/16 12:04:11PM
2,815 posts

How to add the who is online for the entire site?


Using Jamroom

pch:
Yes, it is probably because of the cache. Then, users in JR are being shown twice at the same time: as logged users and as guests, because there were guest few minutes or seconds before logging.
Even here in the JR Forum the guests that we are seeing in the Who is online are probably "us" - logged users (There are not really users - I am not quite sure, I am just presuming). That can lead us to conclude that the Who is online is not accurate because of the duplication, right?
Is it possible to make "logged in user" a real "logged in user" and a "guest", a true/real "guest"?

You might try clearing your browser cache. I'm not seeing an issue with it here on our forums.

pch:
It works. Thanks Douglas.
Just another small issue:
If there was more than 1 visitor online, when JR removes them from the Who is Online, it shows:
0 Visitantes
instead of:
0 Visitante
Please notice that visitante (guest) is being display in plural and not in singular. it should have used the correct language string in singular because the number is 0 (zero). The number updates but the language string doesn't. It will keep on showing 0 Guests (guest in plural) for almost forever till another guest will be online. Then it will go back to normal and show: 1 Guest (in singular).
How to fix it?
Thanks

It might be better if you use Brian's suggestion.

Change this:

{if $visitor_count == 1}
{jrCore_lang skin=$_conf.jrCore_active_skin id="#" default="Guest"  assign="gs"}
{else}
{jrCore_lang skin=$_conf.jrCore_active_skin id="#" default="Guests"  assign="gs"}
{/if}

to this:

{jrCore_lang skin=$_conf.jrCore_active_skin id="#" default="Guests"  assign="gs"}

and this:

<i><b>{$visitor_count}</b> {$gs}</i>

to this:

<i>{$gs}: <b>{$visitor_count}</b></i>

Hope this helps!
douglas
@douglas
06/23/16 05:22:17AM
2,815 posts

Is there a way to limit the privacy settings for members?


Using Jamroom

perrie:
I just checked and it doesn't say that from my end.

You're right, somehow I was not looking at the same profile as you posted. Sorry!
douglas
@douglas
06/22/16 01:10:38PM
2,815 posts

Is there a way to limit the privacy settings for members?


Using Jamroom

perrie:
Wait, I take that back... look at this member: http://thenewstalkers.com/profile/settings/profile_id=103/id=103

That user is in the Master Admin group, so you should see the privacy field. Check the "Account" tab section when modifying the profile.
douglas
@douglas
06/22/16 09:05:28AM
2,815 posts

Is there a way to limit the privacy settings for members?


Using Jamroom

I'm not seeing an issue on my dev site.

Make sure you've selected the quota the user in question is in when your changing the privacy settings in the ACP > Profiles > Profile > Quota Config section.
douglas
@douglas
06/21/16 03:04:09PM
2,815 posts

Users dont get the file they paid for


Using Jamroom

What about the users "Your Purchases" tab?

It can be found in the "Account Settings"

Is the file there?
updated by @douglas: 06/21/16 03:04:17PM
douglas
@douglas
06/21/16 10:59:22AM
2,815 posts

Users dont get the file they paid for


Using Jamroom

Are there any activity or error logs about the transaction?

Thanks!
douglas
@douglas
06/21/16 06:06:29AM
2,815 posts

How to translate the Dashboard?


Using Jamroom

To add to this, the dashboard and other ACP areas are only seen by admins, I personally don't think this area should be multi-lingual since there is usually only one person that ever sees it.
douglas
@douglas
06/18/16 07:28:49AM
2,815 posts

How to add the who is online for the entire site?


Using Jamroom

pch:
1) I am still showing online after logging out. Even after refreshing the page from time to time, it takes something like 15 or 20 minutes (i guess so) before JR removes a logged out user from the Who is online. I have noticed the same here in the JR forum. Is it possible to reduce that delay?

This is most likely a cache issue, if your testing on your site, turn dev mode on so caching isn't an issue. ACP > Developer > Developer Tools > Global Config > Run In Developer Mode

https://www.jamroom.net/the-jamroom-network/documentation/modules/932/developer-tools

be sure to turn if off when your site is live.

pch:
2) There seems to be a duplication. I have been shown as myself then as a guest. (Admin profile icon) + 1 Guest. I doubt that it was a really guest. I think that, that guest was still me. I am more than sure that there wasn't anybody else on the site apart from me. I am the only one using it right now because it is under reconstruction. When JR removed me from the Who is online, the guess was gone too. I realized that I was probably that Guest. (I am not quite sure).
I have even noticed it here in the JR forum. There is a moment I was the only one logged in, the Who is online, displays my profile + 1 Guest.

This is probably due to caching as well, it saw you as a guest before you logged in, and then as the logged in user, try resetting your cache, ACP > System Tools > Reset Cache, and clear your browser cache as well. lf you turn dev mode on as mentioned above, you shouldn't see this issue at all and you shouldn't have to reset your cache.

pch:
- Do Profiles with privacy set to "Shared - Profile Owners and Followers only" show on the Who is online?

From looking at the code, the who is online function does not take into consideration if the profile is private or not.

pch:
- What about if a site has let's say 200 members and 120 of them are online simultaneously, Will all the 120 profiles (profile picture by profile picture) be displayed and an horizontal scrollbar be created in the Who i online? How will JR handle this scenario?

The code posted will just show a list without scroll bars, if you want scroll bars you would need to modify the code to do so. You could wrap it in a div with the overflow set to auto... ie.

<div style="height:72px;overflow:auto;">
    the rest of the code here...
</div>

pch:
- I created a language string for the phrase: "user(s) currently active on this site" and it displays fine on the site but the language string for "Guest" doesn't display the text, it displays the code because "Guest" is hardcoded:
{if $visitor_count == 1}
{$gs = 'Guest'}
{else}
{$gs = 'Guests'}
{/if}
We probably need two language strings for "Guest": "Guest" in singular (when guest == 1) and "Guests" in plural. How to do that in the code you posted? (I am building a multilingual site)
Thanks

If you have created language strings in your language file for "Guest" and "Guests" then change this:

{if $visitor_count == 1}
{$gs = 'Guest'}
{else}
{$gs = 'Guests'}
{/if}

to this:

{if $visitor_count == 1}
{jrCore_lang skin=$_conf.jrCore_active_skin id="#" default="Guest"  assign="gs"}
{else}
{jrCore_lang skin=$_conf.jrCore_active_skin id="#" default="Guests"  assign="gs"}
{/if}

be sure to change the # to the correct number for those language strings.

Hope this helps!
updated by @douglas: 06/18/16 07:30:48AM
  98