Forum Activity for @the-patria-company

PatriaCo
@the-patria-company
02/01/16 12:26:37PM
349 posts

jrAction_form in modal window like site search (jrElastic)


Design and Skin Customization

Got it! Thanks

So I just want to make sure I am not going to mess anything up here.

/**
 * Display a modal new action form
 */
function jrAction_modal_form(){
    $('#new_action').modal({

        onOpen: function (dialog) {
            dialog.overlay.fadeIn(75, function () {
                dialog.container.slideDown(5, function () {
                    dialog.data.fadeIn(75);
                    $('#new_action_input').focus();
                });
            });
        },
        onClose: function (dialog) {
            dialog.data.fadeOut('fast', function () {
                dialog.container.hide('fast', function () {
                    dialog.overlay.fadeOut('fast', function () {
                        $.modal.close();
                    });
                });
            });
        },
        overlayClose:true
    });
}

I am the most unsure about this line: $('#new_action_input').focus();

What do you think? Is it even necessary?

Lastly, what is the difference between "75" "5" and "fast"?

Thanks :)
PatriaCo
@the-patria-company
02/01/16 11:20:23AM
349 posts

jrAction_form in modal window like site search (jrElastic)


Design and Skin Customization

Ok, I am a little stuck. I see this trigger for the search window
<a onclick="jrSearch_modal_form()" title="{$st}">

which I am renaming for the New Action Modal window.
<a onclick="jrAction_modal_form()" title="{$at}">

I would like to avoid hacking up the jrAction files. If I created a jrAction_Custom.js and placed it in the jrAction/js directory would that be safe? Then how do I make sure the custom js file is loaded?

This is the first time I have ever done any custom js in JR, so I appreciate your patience and assistance.

Thanks :)

- Joshua
PatriaCo
@the-patria-company
01/31/16 07:08:16PM
349 posts

jrAction_form in modal window like site search (jrElastic)


Design and Skin Customization

Hey Guys,

I am trying to figure out how to have the Activity Feed "Timeline" form show up in a lightbox, rather than only being available on the timeline page. The same way the site search does when clicking the magnifying glass in the site header.

{* This is the search form - shows as a modal window when the search icon is clicked on *}
<div id="searchform" class="search_box" style="display:none;">
    {jrCore_lang module="jrSearch" id="1" default="Search Site" assign="st"}
    {jrSearch_form class="form_text" value=$st style="width:70%"}
    <div style="float:right;clear:both;margin-top:3px;">
        <a class="simplemodal-close">{jrCore_icon icon="close" size=20}</a>
    </div>
    <div class="clear"></div>
</div>

I would like to add a pencil icon and have the jrAction_form show up in the modal window.

{* we only show the new action form to the profile owner *}
            {if $quota_jrAction_can_post == 'on'}
                <div id="new_action" class="item">
                    {jrAction_form}
                </div>
            {/if}

Has anyone already figured this out?
updated by @the-patria-company: 05/31/16 08:38:08PM
PatriaCo
@the-patria-company
01/31/16 08:29:59AM
349 posts

Shared Posts Not Appearing on Profile Page Timeline


Design and Skin Customization

Has anyone had a chance to look into this a little further?

Thanks :)
PatriaCo
@the-patria-company
01/31/16 08:23:01AM
349 posts

Mutual Follow "Friends" button - plus Message


Design and Skin Customization

This is a great conversation :)

It is interesting to note that I have paid for services that give me this information from my twitter accounts. Although I really dislike having "another" place to go to get the info, it is very important. I do see this as time well spent for Jamroom to excel past Twitter, Youtube and Reverbnation with this feature. With that being said I also find Facebook's separate friends and followers system to be confusing (and FB is just getting more and more cluttered with every update).

Having a simple follower/friend module would be AWESOME!!

Thanks for considering it :)

PS. my son suggested keeping the following button green and if you are friends have the [friends] button be blue. :)
updated by @the-patria-company: 01/31/16 08:27:52AM
PatriaCo
@the-patria-company
01/29/16 04:00:38PM
349 posts

Mutual Follow "Friends" button - plus Message


Design and Skin Customization

Thank you Paul :)

I like it and am going to keep it. Although there is an issue with the CometChat javascript that I already have a ticket into them to assist with. I will post the updated working code for everyone once I have it up and running.

If we took this one step further. How can we use the jrFollower_get_users_following to check the "followee" status of a profile that you are currently viewing? I can see other applications, including this being a very positive timeline status update when someone reciprocates a follow (ie. "Joe and Dave just confirmed their friendship :)") Good feelings make a successful website.

Thanks again for the help.
PatriaCo
@the-patria-company
01/29/16 11:26:22AM
349 posts

Mutual Follow "Friends" button - plus Message


Design and Skin Customization

Hey Everyone :)

I am looking to make a couple small changes to the jrFollower module.

#1. When looking at modules/jrFollower/templates/button_following.tpl

What would be the proper {if} statement to determine if user_following AND user_follow_back? I would like the button to show "friends" if it meets this criteria.

#2. I also have a small piece of code from CometChat that I would like to add so that a [Message] button appears next to the [Friends] button when this same "mutual follow" criteria is met. The message button needs to trigger some code like this
<a href="javascript:void(0)" onclick="javascript:jqcc.cometchat.chatWith({$profile_name});">Message</a>

Any ideas?
updated by @the-patria-company: 06/03/16 10:53:46AM
PatriaCo
@the-patria-company
01/27/16 01:21:09PM
349 posts

Meta Tag Manager is AWESOME!


Design and Skin Customization

I just wanted to say Thank You for this module and share what I did with the community.

So I have an artist that I wanted their Google+ page to be linked to their profile on our Jamroom site. I also wanted to avoid having to add each verification code to our site meta tags in order to accomplish the verification. Intro the "Meta Tag Manager". I had no idea of just how awesome this little module really is :)

>> How to add unique Google Site Verification Codes to your Artists Profiles.

#1. Use the Form Designer to add a custom "Profile" text field with an Alpha/Numeric String verification (ie. profile_google_site_verify)
#2. Add some instructions in your help area along these lines:

"If you would like to link your Google + profile directly to your profile here you will need to add the "HTML Tag" code found in the "Alternate Methods" here. It will look like this meta name="google-site-verification" content="MDlNo9EWwG1NJXbn5JSnfThus8i1J6NoyQBU16d3cXA" - Please copy and paste your unique code from the content section in this text field (do not include the "")."

#3. Create a new Profile Pages Meta Tag and select google-site-verification, then paste your custom field info into the content area (ie. {$profile_google_site_verify} )

#4. save everything and reset your caches

Just one more way that your artists can use their profile on your website as their Official Representation.
updated by @the-patria-company: 04/29/16 04:25:49PM
PatriaCo
@the-patria-company
01/21/16 12:06:40PM
349 posts

Like / Dislike on Timeline


Design and Skin Customization

Hey Guys,

I have the Like It mod working on our timeline, but as @paul pointed out the like/dislike on "liked action items" does seem silly. So I need to determine the right way to identify the like it action items to create my {if} statement.

Would I use?: {if isset($item.like)} or {if isset($item.dislike)}

Also, how can I keep the dislikes from broadcasting? We would prefer to use dislikes as a flagging mechanism and only have moderators notified when something is disliked.

Thanks for the help :)
updated by @the-patria-company: 05/18/16 12:25:59AM
PatriaCo
@the-patria-company
01/20/16 08:33:30PM
349 posts

Shared Posts Not Appearing on Profile Page Timeline


Design and Skin Customization

Hey @michael :)

I took your advice for customizing the timeline list:

"
Its the item_list.tpl file.

Then once you know that you put markers in that code like "THIS POSITION (1)" "THIS POSITION (2)" "ANOTHER POSITION (3)"

and save the page, then view the page to make sure that marker comes out. That way you know that where you are making the edits is where you are trying to effect.

From there, you can make changes to get the text out to the formatting you are after."

I added Section 1, Section 2 and Section 3; of which 2 and 3 work fine, but Section 1 (the shared section) does not show up on the timeline of the profile that shared the item posting.

In my screenshot you can see that it is working on the site-wide activity feed, as my right-sidebar is using the Annika Live Wall. However it does not show up on the profile that did the sharing.

Any thoughts?
Screenshot 2016-01-20 19.08.54.png Screenshot 2016-01-20 19.08.54.png - 602KB

updated by @the-patria-company: 05/01/16 11:20:22PM
  33