cotonti.com : Facebook Plugin? https://www.cotonti.com Son konu mesajları Cotonti en Fri, 17 Oct 2025 00:41:25 -0000 tensh I would be very grateful :) BTW, the Facebook buttons doesn't work in IE8?

Added 9 minutes later:

Offtopic - I'll soon contribute many plugins and some tutorials. Like: youtube importer, how to make youtube gallery from pages, featured content slider using nivo slider (and page avatar plugin), custom filter in lists, etc. I just have to finish my current work and correct some bugs. Cotonti is great :)

]]>
Pzt, 04 Nis 2011 09:08:10 -0000
Trustmaster I have to test it somewhere. This site doesn't use that plugin currently.

]]>
Cum, 01 Nis 2011 11:12:37 -0000
tensh Hi,

Did anybody solve the problem with logouts?

I have to click the facebook logout button twice in order for it to logout. Can this be something about javascript?

]]>
Cum, 01 Nis 2011 10:13:32 -0000
Trustmaster
Even if does not protect from XSS, it might be a good improvement because it is more reliable than current mechanism based on random session identifiers.

Added 26 minutes later:

Something what we forgot of:
Wikipedia:
Another mitigation present in IE (since version 6), Firefox (since version 2.0.0.5), Safari (since version 4) and Google Chrome, is a HttpOnly flag which allows a web server to set a cookie that is unavailable to client-side scripts. While beneficial, the feature does not fully prevent cookie theft nor can it prevent attacks within the browser.
We've been using HttpOnly flag for quite long time. So, I think that for most sites ipcheck can be disabled by default and enabled on sites where security is much more important than user comfort (e.g. banking, e-stores, etc.).

Another thing to allow logins from multiple devices is using HMAC instead of random session keys (because such random keys are often changed).]]>
Per, 20 Oca 2011 20:57:32 -0000
GHengeveld Strangely it usually works fine when tethering mobile's 3G to my notebook, using the notebook for browsing, but on mobile itself, or on iPad (3G) it mostly keeps logging out. It differs though, because sometimes it works fine on mobile as well. I guess it's just a matter of what mobile broadcasting station I'm connected to. As long as it's the same one the IP doesn't change. At least that's my explanation. This morning I was on a train so it makes sense that the IP keeps changing.

A collegue suggested looking into HMAC for authentication, which doesn't require a DB query, but maybe that only works for always-running scripts like Python.]]>
Per, 20 Oca 2011 19:25:43 -0000
Trustmaster Per, 20 Oca 2011 17:28:20 -0000 GHengeveld Per, 20 Oca 2011 16:29:23 -0000 Trustmaster
<!-- BEGIN: HEADER -->
{HEADER_DOCTYPE}
<html xmlns="http://www.w3.org/1999/xhtml" {FB_XMLNS}>
<head>

<meta http-equiv="content-type" content="{HEADER_META_CONTENTTYPE}; charset={HEADER_META_CHARSET}" />
<meta name="description" content="{HEADER_META_DESCRIPTION}" />
<meta name="keywords" content="{HEADER_META_KEYWORDS}" />
<meta name="generator" content="Cotonti http://www.cotonti.com" />
<meta http-equiv="expires" content="Fri, Apr 01 1974 00:00:00 GMT" />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="last-modified" content="{HEADER_META_LASTMODIFIED} GMT" />
{HEADER_HEAD}
{HEADER_BASEHREF}
<link rel="shortcut icon" href=https://www.cotonti.com/"favicon.ico" />
<link href=https://www.cotonti.com/"skins/{PHP.skin}/{PHP.theme}.css" type="text/css" rel="stylesheet" />
{HEADER_COMPOPUP}
<title>{HEADER_TITLE}</title>
</head>
<!-- SED-Light / Designed By: Xiode - XiodeStudios.Com & Alx - AlxDesign.com / Programming By: Xiode - XiodeStudios.Com -->
<!-- Copyright (c) XiodeStudios.Com. All Rights Reserved. Please read included Readme for more information. -->
<body>
    <div id="top">
        <div id="container">
            <div id="header">
                <div id="userBar">

	                 <!-- BEGIN: GUEST -->
                    <div class="userBarR"><a href=https://www.cotonti.com/"users.php?m=auth">{PHP.L.Login}</a>&nbsp;&#8226;&nbsp;<a href="users.php?m=register">{PHP.L.Register}</a>&nbsp;&#8226;&nbsp;<a href=https://www.cotonti.com/"plug.php?e=passrecover">{PHP.skinlang.header.Lostyourpassword}</a></div>
                    <strong>{PHP.skinlang.header.Welcome}</strong>
{FB_LOGIN}
	                <!-- END: GUEST -->

	                <!-- BEGIN: USER -->
                    <div class="userBarR">{HEADER_USER_LOGINOUT}</div>
                    <b>{HEADER_LOGSTATUS}</b>
                    <div class="userBarL">{HEADER_USER_ADMINPANEL} | {HEADER_USERLIST} | {HEADER_USER_PROFILE} | {HEADER_USER_PFS} | {HEADER_USER_PMREMINDER}<br />{HEADER_NOTICES}</div>
	                <!-- END: USER -->

                </div>
                <div id="navBar">
                    <div class="text">{PHP.cfg.menu1}</div>
                    <div class="homeLink"><a href=https://www.cotonti.com/"{PHP.cfg.mainurl}" title="{PHP.L.Home}">{PHP.L.Home}</a></div>
                </div>
            </div>
            <div id="content">

<!-- END: HEADER -->

But it won't work anyways because you have not registered your site as FaceBook application and have not filled AppId config.]]>
Per, 20 Oca 2011 15:32:39 -0000
barkerb23
<!-- BEGIN: HEADER -->
{HEADER_DOCTYPE}
<html xmlns="http://www.w3.org/1999/xhtml" {FB_XMLNS}>
<head>

<meta http-equiv="content-type" content="{HEADER_META_CONTENTTYPE}; charset={HEADER_META_CHARSET}" />
<meta name="description" content="{HEADER_META_DESCRIPTION}" />
<meta name="keywords" content="{HEADER_META_KEYWORDS}" />
<meta name="generator" content="Cotonti http://www.cotonti.com" />
<meta http-equiv="expires" content="Fri, Apr 01 1974 00:00:00 GMT" />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="last-modified" content="{HEADER_META_LASTMODIFIED} GMT" />
{HEADER_HEAD}
{HEADER_BASEHREF}
<link rel="shortcut icon" href=https://www.cotonti.com/"favicon.ico" />
<link href=https://www.cotonti.com/"skins/{PHP.skin}/{PHP.theme}.css" type="text/css" rel="stylesheet" />
{HEADER_COMPOPUP}
<title>{HEADER_TITLE}</title>
</head>
<!-- SED-Light / Designed By: Xiode - XiodeStudios.Com & Alx - AlxDesign.com / Programming By: Xiode - XiodeStudios.Com -->
<!-- Copyright (c) XiodeStudios.Com. All Rights Reserved. Please read included Readme for more information. -->
<body>
    <div id="top">
        <div id="container">
            <div id="header">
                <div id="userBar">

	                 <!-- BEGIN: GUEST -->
                    <div class="userBarR"><a href=https://www.cotonti.com/"users.php?m=auth">{PHP.L.Login}</a>&nbsp;&#8226;&nbsp;<a href="users.php?m=register">{PHP.L.Register}</a>&nbsp;&#8226;&nbsp;<a href=https://www.cotonti.com/"plug.php?e=passrecover">{PHP.skinlang.header.Lostyourpassword}</a></div>
                    <strong>{PHP.skinlang.header.Welcome}</strong>
	                <!-- END: GUEST -->

	                <!-- BEGIN: USER -->

{FB_LOGIN}
{FB_LOGOUT}
{FB_LOGIN_REGISTER}
{FB_LOGIN_URL}
{FB_LOGOUT_URL}
{FB_REGISTER_URL}
                    <div class="userBarR">{HEADER_USER_LOGINOUT}</div>
                    <b>{HEADER_LOGSTATUS}</b>
                    <div class="userBarL">{HEADER_USER_ADMINPANEL} | {HEADER_USERLIST} | {HEADER_USER_PROFILE} | {HEADER_USER_PFS} | {HEADER_USER_PMREMINDER}<br />{HEADER_NOTICES}</div>
	                <!-- END: USER -->

                </div>
                <div id="navBar">
                    <div class="text">{PHP.cfg.menu1}</div>
                    <div class="homeLink"><a href=https://www.cotonti.com/"{PHP.cfg.mainurl}" title="{PHP.L.Home}">{PHP.L.Home}</a></div>
                </div>
            </div>
            <div id="content">

<!-- END: HEADER -->
]]>
Per, 20 Oca 2011 07:24:00 -0000
Trustmaster Per, 20 Oca 2011 05:36:02 -0000 barkerb23 Username: demo
Password: demo]]>
Per, 20 Oca 2011 04:58:35 -0000
Trustmaster
<html xmlns="http://www.w3.org/1999/xhtml" {FB_XMLNS}>
and don't forget the actual login button {FB_LOGIN}. There are several other tags depending on what kind of buttons you want to use or construct yourself. More button options may be found in FB developer docs.]]>
Per, 20 Oca 2011 03:39:06 -0000
barkerb23
www.pspcextreme.hostzi.com

Added 6 minutes later:

its messed up in the header. but when i pause the header, i get an error]]>
Per, 20 Oca 2011 03:18:01 -0000
Trustmaster
Added 8 hours 23 minutes later:

Well, guys, current version is ready for testing. You can grab it here.

What this plugin enables your visitors to do:
  • Login to your site using their FaceBook account
  • Register new account on your site with some fields prefilled by FaceBook
  • Link existing account with FaceBook account
  • Logout from both your site and FaceBook (separate logout is not technically possible if accounts are linked and logged in)

Notice that you have to register your site as FaceBook application in order to use it. FB developer docs are located here. Apart from installing the plugin and filling the configuration (AppId, Secret), don't forget to put tags into your header.tpl.]]>
Sal, 18 Oca 2011 18:58:54 -0000
GHengeveld
I wonder if using FBconnect also fixes the issue of getting logged out when using a mobile phone connection.]]>
Sal, 18 Oca 2011 18:38:37 -0000
Trustmaster Sal, 18 Oca 2011 17:17:38 -0000 Kort Sal, 18 Oca 2011 15:51:12 -0000 pieter If I click logout, I get to the homepage BUT still logged in.]]> Sal, 18 Oca 2011 14:38:49 -0000 Trustmaster Sal, 18 Oca 2011 06:29:25 -0000 Kingsley http://www.cotonti.com/downloads/plugins/users-communites/loginza?highlight=FACEBOOK]]> Sal, 18 Oca 2011 06:16:35 -0000 barkerb23
Added 28 seconds later:

thanks in advance
]]>
Sal, 18 Oca 2011 05:51:35 -0000