Forum Activity for @the-patria-company

PatriaCo
@the-patria-company
08/31/16 09:38:35AM
349 posts

.svg instead of animated gif for loading animation


Design and Skin Customization

It supports transparency and the overall quality compared to animated gif is like comparing HD to etch-a-sketch. ;)
PatriaCo
@the-patria-company
08/17/16 10:40:44AM
349 posts

Local Sharing from Module Detail Pages


Suggestions

I have had many requests from our members to be able to share an item to their timeline directly from an item's detail page. Currently the only option is "ShareThis". Although advertising items outside of your local Jamroom community is important (especially in the beginning), sharing internally as the community grows is becoming equally as important.

Has anyone already figured this out, with a bit of custom code?
updated by @the-patria-company: 11/17/16 06:22:12PM
PatriaCo
@the-patria-company
08/16/16 05:08:24AM
349 posts

.svg instead of animated gif for loading animation


Design and Skin Customization

When I am in the Skin>Image Tab I am trying to upload the svg file and I get an error message that only jpg, png and gif are allowed.
PatriaCo
@the-patria-company
08/15/16 07:40:55PM
349 posts

.svg instead of animated gif for loading animation


Design and Skin Customization

Currently the skin only allows jpg png and gif images. Where do I go to add svg to the list?
updated by @the-patria-company: 12/11/16 08:09:46PM
PatriaCo
@the-patria-company
08/15/16 09:35:28AM
349 posts

Comments item_action - Use module_name


Design and Skin Customization

I have tried

{$_mods.[$item.action_data.comment_module].module_name}

and the square brackets produce an error as stated above. So I tried:

{$_mods.{$item.action_data.comment_module}.module_name}

Which prints nothing. Any suggestions?
PatriaCo
@the-patria-company
08/15/16 05:52:53AM
349 posts

Comments item_action - Use module_name


Design and Skin Customization

That created an error. It does not like the "[" and the error log said it was unexpected. Can I use { inside of a { statement?
PatriaCo
@the-patria-company
08/15/16 05:03:30AM
349 posts

ISkin4 Lightbox - video support


Design and Skin Customization

The {$unique_id} does not seem to be working in this set up. Here is my source code:

<div class="media" style="text-align:center">
          
          <a  onclick="atYoutube_modal('#youtube_2628');" title="DD Wahm by Clear"><img src="https://img.youtube.com/vi/_HAdKCzhtH8/default.jpg" width="35%" /></a>
      </div>
      <div id="youtube_2628" class="search_box" style="display:none;">
          <div style="float:right;">
              <input type="button" class="simplemodal-close form_button" value="x">
          </div>
          
            <script type="text/javascript">
				$(document).ready(function() {
					
					var id = $('#ytplayer');
					var tw = id.width();
					var th = Math.round(tw / 1.778);
					if (th < 300) {
						th = 300;
					}
					id.height(th);
				});
			</script>
			<iframe id="ytplayer" type="text/html" width="" height="" src="https://www.youtube.com/embed/_HAdKCzhtH8?autoplay=&amp;wmode=transparent&amp;rel=0" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
       
          <div class="clear"></div>
      </div>
</div>

Any thoughts?
PatriaCo
@the-patria-company
08/14/16 02:56:38PM
349 posts

ISkin4 Lightbox - video support


Design and Skin Customization

This is soooooo close! It is definitely working but the modal window size is a little crazy.

I am using the basic code from the youtube_embed_iframe.tpl but I can not capture the id.width()

<script type="text/javascript">
	$(document).ready(function() {
		{* 16:9 aspect ratio instead of fixed height.*}
		var id = $('#ytplayer{$unique_id}');
		var tw = id.width();
		var th = Math.round(tw / 1.778);
		if (th < 300) {
		    th = 300;
		}
		id.height(th);
	});
</script>
<iframe id="ytplayer{$unique_id}" type="text/html" width="{$params.width}" height="{$params.height}" src="https://www.youtube.com/embed/{$item.action_data.youtube_id}?autoplay={$params.auto_play}&amp;wmode=transparent&amp;rel=0" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>

The result is always height="300px", with an empty width="". No matter the viewport width.

As soon as we have this figured out, I will post all the code. This is very cool. Thanks for the all help so far. :)

Just to clarify I need to figure out how to capture the id.width() for the viewport size.

Thanks!
PatriaCo
@the-patria-company
08/14/16 01:00:13PM
349 posts

jrAction_item_list.tpl Shared Action link to Action Item Detail.


Suggestions

Currently, when a timeline post is shared, the newly created "shared post" uses the code found in the {* Shared Action *} code section of the jrAction_item_list.tpl.

Problem: The only link created redirects to the profiles main page.

<a href="{$jamroom_url}/{$item.action_original_profile_url}"

When running a debug I can see that no data is available to point someone to the original action_data_url.

Is this possible? It would work best if a person could view the reposted action item and when clicking the action_data it would redirect them to the post's detail page (not just the profile).

Thanks :)
updated by @the-patria-company: 11/17/16 06:20:55PM
  18