no i dodałem to do strony ale to chyba cos z mało bo jak klikne login with facebook to wyskakuje okno i jak się
zaloguje to tylko do facebooka a nie o to przecierz chodzi
moja strona testowa z wtyczką http://demo5.hekko.pl/cpg
Kod: Zaznacz cały
</head>
<body>
{CUSTOM_HEADER}
<div id="cpg_logo_block_outer">
<div class="cpg_logo_block_inner">
<div id="cpg_logo_block_logo">
<a href="index.php">
<img src="themes/curve/images/coppermine-logo.png" border="0" width="100%" height="83" alt="" />
</a>
</div>
<div id="cpg_logo_block_name">
<h1>{GAL_NAME}</h1>
<h3>{GAL_DESCRIPTION}</h3>
</div>
<div class="clearer"></div>
</div>
</div>
<div id="cpg_header_block_outer">
<a href="http://nurk.pl"><font size="x-small"><font color="black"><p align="right">Wróć do forum</font></a>
<div class="cpg_header_block_inner">
<div id="main_menu">
{SYS_MENU}
{SUB_MENU}
{ADMIN_MENU}
</div><!-- Begin IE7 support --><img src="images/spacer.gif" class="menuheight" alt="" /><!-- End IE7 support -->
<title>My Facebook Login Page</title>
</head>
<body>
<div id="fb-root"></div>
<script>
window.fbAsyncInit = function() {
FB.init({
appId : 'Mój APP_ID',
status : true,
cookie : true,
xfbml : true,
oauth : true,
});
};
(function(d){
var js, id = 'facebook-jssdk'; if (d.getElementById(id)) {return;}
js = d.createElement('script'); js.id = id; js.async = true;
js.src = "//connect.facebook.net/en_US/all.js";
d.getElementsByTagName('head')[0].appendChild(js);
}(document));
</script>
<div class="fb-login-button">Zaloguj przez Facebook</div>
<div class="clearer"></div>
{MESSAGE_BLOCK}
</div>
</div>
<div id="cpg_main_block_outer">
<div class="cpg_main_block_inner">
{GALLERY}
<br /> <!-- workaround for issue 64492 - do not remove the line break! -->
</div>
</div>
<div id="cpg_footer_block_outer">
<div class="cpg_footer_block_inner">
{CUSTOM_FOOTER}
{CREDITS}
</div>
</div>
<center><span class="copyright"> Powered by <a href="http://www.nurk.pl">NURK.PL</a></center>
</body>
</html>W takim razie szukaj wsparcia u autora tego skryptu, nie ma to nic wspólnego z phpbb3makro pisze: To jest skrypt Coppermine Photo Gallery 1.5.18
Kod: Zaznacz cały
<!-- IF not S_IS_BOT -->{RUN_CRON_TASK}<!-- ENDIF -->
<div id="wrapfooter">
<!-- IF U_ACP --><span class="gensmall">[ <a href="{U_ACP}">{L_ACP}</a> ]</span><br /><br /><!-- ENDIF -->
<div>
<html>
<head>
<script type="text/javascript" src="highslide/highslide-with-gallery.js"></script>
<script type="text/javascript" src="highslide/highslide.config.js" charset="utf-8"></script>
<link rel="stylesheet" type="text/css" href="highslide/highslide.css" />
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" href="highslide/highslide-ie6.css" />
<![endif]-->
</head>
<body>
<div id="fb-root"></div>
<script src="http://connect.facebook.net/en_US/all.js"></script>
<script>
FB.init({
appId:'mój klucz API', cookie:true,
status:true, xfbml:true
});
</script>
<fb:login-button perms="email,user_checkins">
Napis na przycisku
</fb:login-button>
</div></div>
</body>
</html>