Forum Activity for @michael

michael
@michael
12/10/15 05:03:14PM
7,839 posts

Question Concerning autoplay=true


Using Jamroom

its ok to put autoplay="true" into your jrCore_list function as a parameter, just be aware about what happens.

By putting it in there:
{jrCore_list module="jrAudio" search1="_profile_id != 0" order_by="_created desc" limit="1"  autoplay=true}

it will be available in the row template as {$autoplay}, or it might be $_params.autoplay, check {debug} to be sure.

So from there, if you want to autoplay the media player that is in the row template you cuan use autoplay=$_params.autoplay.
michael
@michael
12/09/15 08:31:08PM
7,839 posts

Google ads to Jamroom skin


Design and Skin Customization

Take a look at the GENERATED source code and I think you'll see a few things you want to fix up.

ie:
* go here http://dev.serveion.com/wowmusic/
* (in firefox) ctrl+u to see source code

There are quite a few locations shown in red, that usually means an error.

Some of them are stuff like this:
<!--<script type="text/javascript" src="/skins/wmWowMusic/js/lib-1-9-1.js"></script><!-- lib Js -->
Which has 2 opening tags for an html comment, but only 1 closing tag. that should be fixed up.

Further down there is:
 <h1 id="logo"> <a href="index.html"> <img src="http://dev.serveion.com/wowmusic/skins/wmWowMusic/img/logo.jpg"></h1>
Which has an opening 'a href' but no closing tag. That should be fixed up.

The part your probably most interested in related to the google code is down around line 1952 ish. (screenshot)

You have a script tag open, then some html inside that open script block.

If you can get the code that google says "Use this code to show adsense" in tact out to the source code, then you'll probably fix it.
screenshot_javascript_issue.png screenshot_javascript_issue.png - 103KB
michael
@michael
12/09/15 07:32:18PM
7,839 posts

Allowing All Users to Post to the General Blog


Using Jamroom

Need a small shift in thinking.

Right now your thinking you want a profile that all members can add to the blog. Instead approach it from the perspective of "I want a single location where all blog posts can be seen" and what you're after becomes real easy.

This doc has some useful info related to levels:

"concepts the admin user needs to know"
https://www.jamroom.net/the-jamroom-network/documentation/getting-started/2167/concepts-the-admin-user-needs-to-know

So instead of trying to put 'everybodies blog on one profile' create 'a location that shows everybodies blogs'

Example:
https://www.jamroom.net/blog

It can be done easily at site level using either {jrCore_list module="jrBlog"} or with Site builder

"{jrCore_list}"
http://www.jamroom.net/the-jamroom-network/documentation/development/89/jrcore-list

"What is Site Builder?"
https://www.jamroom.net/the-jamroom-network/documentation/site-builder/2634/what-is-site-builder
michael
@michael
12/09/15 01:49:22AM
7,839 posts

Google ads to Jamroom skin


Design and Skin Customization

You probably want to alter the skins template, maybe header.tpl or footer.tpl but it really depends on where you want the ads to display.

"Using the Template Editor"
https://www.jamroom.net/the-jamroom-network/documentation/development/3183/using-the-template-editor

And since its javascript, make sure you read this:
https://www.jamroom.net/the-jamroom-network/documentation/development/3011/literal-literal
michael
@michael
12/09/15 01:00:29AM
7,839 posts

CSS Being Stripped


Using Jamroom

I see it differently logged in vs logged out.

Looking for why now, thanks.

--edit--
I can see WHAT is happening, all the non-pure css stuff is getting removed.

So:
background: -webkit-linear-gradient(top, #FFFFFF, #E0E0E0);
is getting removed. That CSS only targets certain browsers.

Not sure about WHY yet.
screenshot_logged_in.png screenshot_logged_in.png - 408KB

updated by @michael: 12/09/15 01:14:11AM
michael
@michael
12/08/15 02:01:43AM
7,839 posts

Grid of Videos


Design and Skin Customization

michaelcawood:Yes... is there a way to work around that, fixing Youtube but not changing Vimeo links?

yes, do what I said above in the ---edit--- section:
https://www.jamroom.net/the-jamroom-network/forum/new_posts/36009/grid-of-videos#p36132
michael
@michael
12/08/15 01:59:40AM
7,839 posts

Share this position question


Using Jamroom

Or another way might be to change the item_detail.tpl page of the module your interested in

It probably has something like this in that template
    {if jrGroup_member_has_access($item)}
        {* bring in the item details *}
        {jrCore_item_detail_features module="jrGroupDiscuss" item=$item}
    {/if}
at the bottom that brings in the sharethis fuctionality from the module.

leave the module enabled and add this to the top of that file:
{jrShareThis module="jrGroupDiscuss" item_id=$item._item_id}

thats for the jrGroupDiscuss module, adjust for whichever module template your altering. :)
michael
@michael
12/08/15 01:54:40AM
7,839 posts

Share this position question


Using Jamroom

There are many ways to do things, you have an idea that would probably work but haven't yet tried it so it reads like a how do I do this question. Derrickhand300 has provided an alternative way that's also valid.

I reckon the solution closest to what you were thinking of trying is:
* yes, do disable the sharethis module.
* add their code at the top of maybe the profile_item_detail.tpl page

That would get it out on all profile details pages.

derrickhand300 idea of adding ZZZZZZZZZZZZZ is a good one, I use that too. It allows you to see where something is coming out before trying to add in more complex code so you know your in the right place.
michael
@michael
12/08/15 01:42:50AM
7,839 posts

Removing Black Bars from Youtube Thumbnails


Design and Skin Customization

Yep, that introduced a new bug, go with the other option:
[quote="michael"]...The better solution for you is the one I posted in the other thread:
https://www.jamroom.net/the-jamroom-network/forum/new_posts/36009/grid-of-videos#p36132[/quote]
michael
@michael
12/08/15 01:41:38AM
7,839 posts

Grid of Videos


Design and Skin Customization

Think I see what the issue is. You've probably used the replace system from the other thread to replace:
0|mqdefault.jpg

which is taking the correct vimeo url:
http://i.vimeocdn.com/video/526215158_640.jpg
and replacing the 0.jpg and making it 'mqdefault.jpg'
http://i.vimeocdn.com/video/526215158_64mqdefault.jpg
  453