Forum Activity for @strumelia

Strumelia
@strumelia
01/20/18 11:50:44AM
3,603 posts

DB and System Backup module now requires the AWS SDK module


Announcements

Thanks for letting us all know about this. I installed it and my DB Backup module seems to be continuing to do its job afterwards just fine.
Strumelia
@strumelia
01/20/18 10:14:34AM
3,603 posts

Helping my members see their 'pending' Followers


Using Jamroom

OK, I changed my skin's menu.tpl to read this:
{foreach from=$_items name="loop" item="entry"}
    {if isset($entry.menu_function_result) && strlen($entry.menu_function_result) > 0}
        {if is_numeric($entry.menu_function_result)}
        <li><a href="{$entry.menu_url}">{$entry.menu_label} [{$entry.menu_function_result}]</a></li>
            {else}
        <li><a href="{$entry.menu_url}">{$entry.menu_label} <img src="{$entry.menu_function_result}" alt="{$entry.menu_label}"></a></li>
        {/if}
        {else}

{if $entry.menu_label == "Private Messages"}
       {* CUSTOM CODE for pending followers in menu HERE *}
    {if jrUser_is_logged_in()}
    <li><a href="{$jamroom_url}/{$_user.profile_url}/follow">Pending Followers: {jrCore_list module="jrFollower" search1="follow_profile_id = `$_user._profile_id`" search2="follow_active = 0" return_count=true no_cache=true}</a></li>
    {/if}
{/if}

    <li><a href="{$entry.menu_url}">{$entry.menu_label}</a></li>
    {/if}
{/foreach}

...and that works swell!
Short of inflicting a popup notification to my members (and who doesn't hate that), this is the best option to make my members AWARE of the fact that they have pending followers. I found so many members weren't even aware of it- even some of my moderators and some of my most active members. =8-\

THANK YOU Michael (and Paul) for patiently helping me with this. I suspect it might be handy for other site owners in the future.
The inserted code now gives me this dropdown user menu (see below screenshot), which is what I wanted and in the proper link hierarchy that will stimulate members to check on their pending followers (which will facilitate their private message connections):
pending-followers-menu.jpg pending-followers-menu.jpg - 99KB
Strumelia
@strumelia
01/18/18 07:18:48PM
3,603 posts

Helping my members see their 'pending' Followers


Using Jamroom

So, I need to add the line you have there with "Private Messages" in it, as well, right above my custom code? That tells it the spot where it goes, ABOVE the private messages link?

(sorry- must go to bed now... will do more tomorrow)...
Strumelia
@strumelia
01/18/18 05:20:52PM
3,603 posts

Helping my members see their 'pending' Followers


Using Jamroom

Hmm, I'm a bit confused as to what my results mean...
I modified my skin's menu.tpl with 'position #s' as you suggested, like this:
{foreach from=$_items name="loop" item="entry"}
    {if isset($entry.menu_function_result) && strlen($entry.menu_function_result) > 0}
        {if is_numeric($entry.menu_function_result)}
        <li><a href="{$entry.menu_url}">{$entry.menu_label} [{$entry.menu_function_result}]</a></li> ( position 1 )
            {else}
        <li><a href="{$entry.menu_url}">{$entry.menu_label} <img src="{$entry.menu_function_result}" alt="{$entry.menu_label}"></a></li>  ( position 2 )
        {/if}
        {else}
    <li><a href="{$entry.menu_url}">{$entry.menu_label}</a></li>  ( position 3 )
    {/if}
{/foreach}

{if jrUser_is_logged_in()}
<li><a href="{$jamroom_url}/{$_user.profile_url}/follow">Pending Followers: {jrCore_list module="jrFollower" search1="follow_profile_id = `$_user._profile_id`" search2="follow_active = 0" return_count=true no_cache=true}</a></li> (position 4 )
{/if}

and what I got was this- (see screenshot). What do i do now? Am I futzing with the correct template?
position3.jpg position3.jpg - 25KB

updated by @strumelia: 01/18/18 05:21:59PM
Strumelia
@strumelia
01/18/18 11:25:23AM
3,603 posts

auto-approve followers checkbox not doing its job?


Using Jamroom

Ceri, I tried to log in there via Goggle to comment on his blog, but Discus insists I create an account first, sorry but no.
Perhaps you can pass along to your friend that he should join my site and I can then guide him to a Welsh member we have and to areas where we do discuss the old tunes and ballads that came across the ocean to America so long ago and were preserved in rural pockets of the Appalachian area. My site often discusses such related topics as your friends is investigating, because the mountain dulcimer was used in the 1800s by early settlers/immigrants to accompany very old ballads from Scotland, England, Ireland, etc. Send him our way, we may have some folks who can be helpful. https://fotmd.com/
Strumelia
@strumelia
01/18/18 07:15:18AM
3,603 posts

Text in email notification of Support Ticket needs change


Using Jamroom

Yes, it's handy to know that you can edit emails' subject and content of notification emails by modifying the module's 'email_' templates.

For example, I've edited the email notifications my members get when they 'follow' someone to include a more detailed description of the reciprocal 'follow' system- those email templates are in the JR follow module.

One might naturally tend to think all email notification wording would be found in one of the communication modules, or in the Core. But when you think about it, it makes sense that a particular module would use its own notification email templates when a function of that module is triggered...

such as the YouTube module, when a member comments on someone else's video... the video owner would get a notification with wording about their YT video- that somebody commented on it or Liked it. It's fun and useful to customize many of those emails for various modules! :)
updated by @strumelia: 01/18/18 07:35:59AM
Strumelia
@strumelia
01/17/18 01:16:47PM
3,603 posts

Text in email notification of Support Ticket needs change


Using Jamroom

Are you using the jamroom "Support Tickets" Module for this?
If so, look in that module's templates for one called something like: email_(somethingsomething)_message.tpl ...that would have the wording you could then change to what you like. (if you want to change the wording of the email's subject line, look at the sister template with: email_(somethingsomething)_subject.tpl
Strumelia
@strumelia
01/15/18 07:35:06AM
3,603 posts

auto-approve followers checkbox not doing its job?


Using Jamroom

For the benefit of folks in the future trying to address this issue and finding this thread, I continued this subject in a newer thread here:
https://www.jamroom.net/the-jamroom-network/forum/new_posts/55796/helping-my-members-see-their-pending-followers
Strumelia
@strumelia
01/14/18 11:46:11AM
3,603 posts

Helping my members see their 'pending' Followers


Using Jamroom

ok I will work at this with adding the various position numbers (on my little sued site) to see the results Michael.
(and I'm assuming I'm still doing all this in my skin's: menu.tpl )
updated by @strumelia: 01/14/18 11:52:26AM
Strumelia
@strumelia
01/14/18 09:24:59AM
3,603 posts

Helping my members see their 'pending' Followers


Using Jamroom

Michael, thank you for this suggestion. I'm afraid it's a little beyond my abilities still- in looking at your code and instructions, I'm completely confused and I'd have to bother for with a million step by step questions to do that. Sorry... maybe next year I'll be able to build a simple module... i'm a slow learner.

Paul, I see what you are saying and can do that, but my custom skin's menu.tpl has different code than what you are showing, so I'm not sure where to relocate Michael's earlier custom code (which has produced a nice working link but not in the desired place in the menu link list).
Here is the current code in my custom skin's menu.tpl ...with Michael's custom code currently sitting at the bottom:
{foreach from=$_items name="loop" item="entry"}
    {if isset($entry.menu_function_result) && strlen($entry.menu_function_result) > 0}
        {if is_numeric($entry.menu_function_result)}
        <li><a href="{$entry.menu_url}">{$entry.menu_label} [{$entry.menu_function_result}]</a></li>
            {else}
        <li><a href="{$entry.menu_url}">{$entry.menu_label} <img src="{$entry.menu_function_result}" alt="{$entry.menu_label}"></a></li>
        {/if}
        {else}
    <li><a href="{$entry.menu_url}">{$entry.menu_label}</a></li>
    {/if}
{/foreach}

{if jrUser_is_logged_in()}
<li><a href="{$jamroom_url}/{$_user.profile_url}/follow">Pending Followers: {jrCore_list module="jrFollower" search1="follow_profile_id = `$_user._profile_id`" search2="follow_active = 0" return_count=true no_cache=true}</a></li>
{/if}

and here's a screenshot of the resultant user menu dropdown as it appears, and an arrow to show where I'd like to move that link. I want the 'pending followers' link to be right under the Private Messages link because my members keep wondering why they can't send private messages once two people have 'followed' each other- they become unaware that they have pending follows. And right UNDER the Pending Followers reminder link (people trying to follow me), will be the reciprocal link to 'Members I'm Following'.
I think the nice trio of function-connected links from top to bottom there (private messages, pending followers, members i'm following) makes a nice logical and helpful order of links there.... right 'in yer face' in the menu underneath the topmost link of Account Settings. It will do wonders to get members on my site to go check on and approve their Pending followers that they seem to so often be totally unaware of.
-I still want Account Settings to be the topmost link though. And the 'My Profiles' link only shows to me since I'm the only Power user with more than one profile anyway... so that link can remain at very top above Account Settings.
I think this kind of menu link for Pending Followers could be very helpful to a lot of JR site owners. I can only guess that there must be other site owners who have lots of members inadvertently accumulating pending followers, despite receiving one notification that they had a new follower and might want to go approve them. I wasn't aware of this situation myself until just a couple months ago.

Do you have a suggestion on where exactly I should position that code in my menu.tpl in order to put the link in the place in my screenshot?
menu-order.jpg menu-order.jpg - 52KB

updated by @strumelia: 01/14/18 09:25:27AM
  57