Forum Activity for @madc

MAD
@madc
12/10/13 07:34:04AM
600 posts

Favicon?


Design and Skin Customization

Thanks @brian. I uploaded over the favicon at modules/jrCore-release-5.1.5/img
that has fixed it for now but updates will change it again.
I looked in my meta.tpl in my skin and can't see where it's getting called from?
Below is my meta.tpl

<!doctype html>
<html lang="{jrCore_lang module="_settings" id="lang" default="en"}" dir="{jrCore_lang module="_settings" id="direction" default="ltr"}">
<head>
{jrCore_lang  skin=$_conf.jrCore_active_skin id="1" assign="default_title"}
<title>{$page_title|default:"`$default_title`"} | {$_conf.jrCore_system_name}</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
{if isset($meta)}
{foreach from=$meta key="mname" item="mvalue"}
<meta name="{$mname}" content="{$mvalue}" />
{/foreach}
{/if}
<link rel="stylesheet" href="{jrCore_css_src}" media="screen" />
{if isset($css_href)}
{foreach from=$css_href item="_css"}
<link rel="stylesheet" href="{$_css.source}" media="{$_css.media|default:"screen"}" />
{/foreach}
{/if}
{if isset($css_embed)}
<style type="text/css">
{$css_embed}</style>
{/if}
{if isset($javascript_embed)}
<script type="text/javascript">
{$javascript_embed}</script>
{/if}
<script type="text/javascript" src="{jrCore_javascript_src}"></script>
{if isset($javascript_href)}
{foreach from=$javascript_href item="_js"}
<script type="{$_js.type|default:"text/javascript"}" src="{$_js.source}"></script>
{/foreach}
{/if}
{if isset($javascript_ready_function)}
<script type="text/javascript">
$(document).ready(function(){ldelim}
{$javascript_ready_function}return true;
{rdelim});
</script>
{/if}
<link href='http://fonts.googleapis.com/css?family=Waiting+for+the+Sunrise' rel='stylesheet' type='text/css'>
</head>

What do I need to remove?
MAD
@madc
12/10/13 07:14:42AM
600 posts

Terms of Service Module


Installation and Configuration

Yeah I get that.
For my peace of mind is there a way I can add a checkbox and link on my sign up page then?
MAD
@madc
12/10/13 06:35:46AM
600 posts

Terms of Service Module


Installation and Configuration

Thanks @brian.

The problem is still there. If the user removes the url and leaves the main domain name in the address bar ( only one tested ) they get straight into the site with their account and get modify straight away.

Can't it just be added to the sign up page so they don't have access to anything until they agree and validate?

ie a link to the terms and services for whatever quota they have selected ( I know that may be harder )
and a tick box down near the submit button saying " I Agree To The TOS" like most other sites?
This is done on the page when signing up.

Just rules out any legal issues that may arise ;)
MAD
@madc
12/10/13 06:03:35AM
600 posts

SOLVED - Jr Custom Forms


Installation and Configuration

Yes it is Cheers ! :D
MAD
@madc
12/10/13 05:39:31AM
600 posts

Favicon?


Design and Skin Customization

Yeah it is in the root directory but it's not showing. Only the JR one
Cheers
MAD
@madc
12/10/13 05:11:47AM
600 posts

Facebook Feed Module


Design and Skin Customization

Thanks @michael once again!

Worked like a charm.

This is what I did
--------------------------------------------------------------------------------
IF YOU ARE USING A GENERIC TEMPLATE DO THESE EDITS IN THE ACP AND MAKE THEM ACTIVE
*I am not. I am using a cloned skin so I can update as i wish
--------------------------------------------------------------------------------

First open up a user profile ( Or Your Own ) logged in to your site as Admin and click on the Cog to open the edit section.
Then click on: FORM DESIGNER.
Add a field called :- profile_facebook
Then on next screen Add your label eg. Facebook
Add some help text
Validation needs to be set to: (string) a valid URL
Add which group can use this
Then tick Active and Save.

---------------------------------------------------------------------------------

Then go to: http://www.facebook.com and login
Then go to: https://developers.facebook.com/docs/plugins/like-box-for-pages/
On that page set the box up how you like then click: GET CODE
Thats all we need from facebook
*Don't worry about which URL you are using as we are going to change that.You just want the code

----------------------------------------------------------------------------------

Add the script code to your header.tpl :-

This goes under the opening body tag in your header.tpl in your skin if you are using the ACP
If you are not using a generic skin, just hardcode your skin via: skins/Your-Skin/header.tpl in your root directory

The code will look something like this
<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/en_GB/all.js#xfbml=1&appId=356669974361215";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

Click Save

-----------------------------------------------------------------------------------

Now work out where you want it placed on your page.
*I am using the Nova Skin so your css classes may be different.

Open :- profile_header.tpl

Place similar code to this:-

<!--FACEBOOK-->
{if strlen($profile_facebook) > 2}
                <div class="block inner leader mb8">
                    <span class="title">Facebook</span>
                </div>
                       <div class="block finner mb8 mr8" style="overflow:auto;">
                           <div class="fb-like-box" data-href="{$profile_facebook}" data-width="345px" data-height="600px" data-colorscheme="dark" data-show-faces="true" data-header="false" data-stream="true" data-show-border="false"></div>
                       </div>
{/if}
<!--END FACEBOOK-->

Notice in the above that we are calling our string that we created earlier. eg. data-href="{$profile_facebook}"
That will populate everyones pages with their individual facebook accounts

Change the above to suit your site.
The code above is my like-box i generated at facebook. Your code will be different so paste your code in here
eg.

<!--FACEBOOK-->

{if strlen($profile_facebook) > 2}

<!--REMOVE THIS IF YOU DON'T WANT A HEADER-->
                <div class="block inner leader mb8">
                    <span class="title">Facebook</span>
                </div>


<!--CHANGE YOUR CLASSES TO SUIT YOUR SITE-->
<div class="block finner mb8 mr8" style="overflow:auto;">


<!--ENTER YOUR FACEBOOK CODE HERE-->
<div class="fb-like-box" data-href="{$profile_facebook}" data-width="345px" data-height="600px" data-colorscheme="dark" data-show-faces="true" data-header="false" data-stream="true" data-show-border="false"></div>

<!--END CHANGE DIV-->
</div>

{/if}

<!--END FACEBOOK-->

Now when your users sign up they can add their facebook page and it will display on their profiles.

I also put this on my home page for our site

Just put similar code to this in your :- index.tpl

        <div class="col3">
            <div class="mb8">
                <div class="inner leader mb8 mr8">
                    <span class="title">Facebook</span>
                </div>
                       <div class="finner mb8 mr8" style="overflow:auto;">
                           <div class="fb-like-box" data-href="https://www.facebook.com/Jamroomdotnet" data-width="250px" data-height="600px" data-colorscheme="dark" data-show-faces="true" data-header="false" data-stream="true" data-show-border="false"></div>
                       </div>
            </div>
</div>

Replace the anchor in the fb-like-box section above with your direct facebook page ie
data-href="https://www.facebook.com/Jamroomdotnet"

Change it to your Facebook URL ie

data-href="https://www.facebook.com/myFacebookUrl"

That should be it!
updated by @madc: 12/11/13 06:32:31AM
MAD
@madc
12/10/13 03:22:27AM
600 posts

Favicon?


Design and Skin Customization

Ok this may seem like a simple question, But up to 5.1.5 my favicon was working and when I went into my skin ( cloned Nova ) in 5.1.5 there was an added field in the Images Tab which right down the bottom has the JR favicon in there.
I thought ok i'll upload mine into there seeings as it changed yet I can't upload an .ico file.

Before 5.1.5 I just popped it into my directory but now even if I right click on the image in the above section and view the image in my browser it still shows the JR favicon at the url I already have uploaded "again" my favicon.

I have cleared my caches ( all , Manually ) and browser caches have all been reset.

So is this a new addition to 5.1.5 where you have to upload the favicon in the acp yet you can't upload .ico files.

The attached image is a that was then this now


ugh.jpg ugh.jpg - 9KB

updated by @madc: 01/26/14 06:11:12AM
MAD
@madc
12/09/13 08:12:36PM
600 posts

Facebook Feed Module


Design and Skin Customization

Is there any plans for making a facebook feed module?
We currently use one on our joomla site which works well and the users love it.
Attached is a screenshot of our current site.

facebook.jpg facebook.jpg - 50KB

updated by @madc: 02/05/14 01:47:22AM
MAD
@madc
12/09/13 04:50:47PM
600 posts

SOLVED - YouTube and Playlists


Installation and Configuration

Thanks @brian!
Working now.

I see in the activity logs this though?

[Two Two 79]: jrCore_load_url: https://gdata.youtube.com/feeds/api/videos/xM5gLmr6EYc?v=2&alt=jsonc returned error #1 (Protocol https not supported or disabled in libcurl)

Everything seems to be working though

On Another note @michael, is there any progress on this yet?
https://groups.google.com/forum/?hl=en&fromgroups=#!topic/jplayer/-kWX9xEln70
updated by @madc: 12/09/13 05:30:27PM
MAD
@madc
12/09/13 08:27:07AM
600 posts

Terms of Service Module


Installation and Configuration

Can anyone give me a heads up with the above post?
  56