Forum Activity for @dim

alt=
@dim
01/11/18 09:28:47AM
167 posts

Block comments


Using Jamroom

paul:
The comma separated profile names entered in the nocomment field would need to be exactly right, case sensitive and with no leading or trailing spaces.
That's exactly what I did.
Did you check your code? Does it work on your website?
I think that the variable "$ _user.profile_name" is not correct. The template uses a different variable - {jrUser_home_profile_key key="profile_name"} - How can I embed it in our code?
{if is_array($blocked) && !in_array($_user.profile_name, $blocked)}
alt=
@dim
01/11/18 07:45:24AM
167 posts

Block comments


Using Jamroom

@paul
Unfortunately it does not work :(
alt=
@dim
01/11/18 05:24:55AM
167 posts

Block comments


Using Jamroom

@michael
Great! But users are not able to know "user_id". So I used "$ _user._user_name" and it does not work.
{$blocked =  explode(',',$profile_nocomment)}
{if is_array($blocked) && !in_array($_user._user_name, $blocked)} 
// show the comment form
{/if}
Maybe you have more ideas? ;)
updated by @dim: 01/11/18 05:26:44AM
alt=
@dim
01/09/18 05:41:07AM
167 posts

Block comments


Using Jamroom

@strumelia,
Thanks for your clarification. You correctly described my idea ;)

michael:
currently no. Mary can not choose to block just Jack from posting comments on her profile page.

It would need a custom module to be built. Or it MIGHT be possible with a custom Form Field via the Form Designer added to profiles then some adjustments to the skins templates. Like if Mary entered a comma separated list of users to block, then the comment form on the profile checked for that before displaying the input box.... might work.
I thought about it. It would be possible to show the comment form with a condition.
{if $item.user_name = $profile_BLOCK_USER}
comment form is not displayed
{else}
comment form is displayed
{/if}
But I'm not sure how to write the condition correctly....... $item.user_name is not correct variable. Any ideas?
alt=
@dim
01/08/18 02:01:31PM
167 posts

Block comments


Using Jamroom

Hi guys,
Is it possible for a profile owner to be able to block comments on his profile for some users? An analogue of this is a block of private messages. Any ideas?
updated by @dim: 04/15/18 06:35:48PM
alt=
@dim
04/23/17 04:21:58AM
167 posts

Site Builder problem


Using Jamroom

Hi guys

I just found I can not use Site Builder (I used it without problems some time ago).

JrCore 6.0.7 is the latest version, is not it?
11.jpg 11.jpg - 81KB

updated by @dim: 07/24/17 10:13:47AM
alt=
@dim
02/13/17 02:35:29AM
167 posts

jrProfileTweaks bug


Using Jamroom

I think now it`s working correctly.
Thank you, Michael!
alt=
@dim
02/07/17 09:22:00PM
167 posts

jrProfileTweaks bug


Using Jamroom

dim:
Here is a working configuration:
...............
This works correctly!
Only the admin skin for users is "Skin2" despite the fact that in settings: "Skin1 is set as active admin skin".
This means that I found a configuration that allows me to solve my problem about which I wrote above. However, the module does not work correctly for other jamroom-users.
alt=
@dim
02/06/17 09:59:14PM
167 posts

jrProfileTweaks bug


Using Jamroom

Michael,
It turns out it works if the Admin Skin is activated.

Here is a working configuration:
Skin1 is set as active skin
Skin1 is set as active admin skin
Skin2 is set as active profile skin
"Allowed Profiles Skins" in "Quota Config" in the "jrProfileTweaks" are Skin1 and Skin2. And "Default Profile Skin" is Skin2.

This works correctly!
Only the admin skin for users is "Skin2" despite the fact that in settings: "Skin1 is set as active admin skin".
updated by @dim: 02/06/17 10:14:01PM
alt=
@dim
02/06/17 08:27:44PM
167 posts

jrProfileTweaks bug


Using Jamroom

michael:
looks like you did.
I did it.
michael:
looks like you did. try running the integrity check.
I did it too. But it does not help.
  2