MyBB Community Forums
[For 1.8] MyFacebook Connect 3.6 - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Plugins (https://community.mybb.com/forum-73.html)
+---- Forum: Plugin Releases (https://community.mybb.com/forum-102.html)
+---- Thread: [For 1.8] MyFacebook Connect 3.6 (/thread-137797.html)



RE: MyFacebook Connect 2.1 - expat - 2015-02-04

why does it ask to download extra libraries, and when i do those libraries say they are not compat with 1.83?

and where ca i get the FB APP ID and token?


RE: MyFacebook Connect 2.1 - mmadhankumar - 2015-02-04

(2015-02-04, 11:00 AM)expat Wrote: 1. why does it ask to download extra libraries, and when i do those libraries say they are not compat with 1.83?


2. and where ca i get the FB APP ID and token?

1. https://github.com/frostschutz/MyBB-PluginLibrary
2. https://github.com/Shade-/MyFacebook-Connect/wiki/How-to-install


RE: MyFacebook Connect 2.1 - makeadvise - 2015-02-04

(2015-02-04, 10:47 AM)Shade Wrote: You have put the image in the wrong template, which should be header_welcomeblock_guest.


Hi Shade,

Thanks for reply.. now i changes the code from Header Templete to header_welcomeblock_guest... but on that case even user can not see the Login with facebook page.. here i am giving full code of header_welcomeblock_guest template

-----------------header_welcomeblock_guest Start----------------------------------
{$lang->welcome_guest} <span class="loginbutton"><a href="{$mybb->settings['bburl']}/member.php?action=login" onclick="$('#quick_login').modal({ fadeDuration: 250, keepelement: true }); return false;"><i style="font-size: 14px;" class="fa fa-sign-in fa-fw"></i> {$lang->welcome_login}</a></span> <span class="registerbutton"><a href="{$mybb->settings['bburl']}/member.php?action=register"><i style="font-size: 14px;" class="fa fa-user fa-fw"></i> {$lang->welcome_register}</a> &mdash;

<!--<a href="{$mybb->settings['bburl']}/myfbconnect.php?action=login">{$lang->myfbconnect_login}</a></span>-->

<a href="{$mybb->settings['bburl']}/myfbconnect.php?action=login"><img src="http://makeadvise.com/images/makeadvise_fblogin.png" /></a>



<div class="modal" id="quick_login" style="display: none;">
<form method="post" action="{$mybb->settings['bburl']}/member.php">

<input name="action" type="hidden" value="do_login" />
<input name="url" type="hidden" value="" />
<input name="quick_login" type="hidden" value="1" />
<div class="welcometitle">
<h1>Login at {$mybb->settings['homename']}</h1>
</div>
<div class="welcomebox">
Welcome on Makeadvise.com.<br /><br />
Enjoy the crossbrowser design, tested in the latest Google Chrome, Mozilla Firefox and Opera versions.<br /><br />
What are you waiting for?! Join us now!
</div>
<div class="welcomelogin">
<ul>
<li><span class="log"><i class="fa fa-user fa-fw"></i></span><input name="quick_username" id="quick_login_username" type="text" value="Username" class="textlog" size="25" /></li>
<li><span class="log"><i class="fa fa-lock fa-fw"></i></span><input name="quick_password" id="quick_login_password" type="password" value="Password" class="textlog" size="25" /></li>
</ul>
<br style="clear: both;"/>
<input name="quick_remember" id="quick_login_remember" type="checkbox" value="yes" class="checkbox" checked="checked" />
<label for="quick_login_remember" style="color: #363636;">{$lang->remember_me}</label><br />
<a href="{$mybb->settings['bburl']}/member.php?action=lostpw" class="lost_password">{$lang->lost_password}</a>
<br style="clear: both;"/><br />
<input class="loginbutton" name="submit" type="submit" value="{$lang->login}" style="cursor: pointer;" />
<span class="registerbutton"><a href="{$mybb->settings['bburl']}/member.php?action=register"><i style="font-size: 14px;" class="fa fa-user fa-fw"></i> Register</a></span>


</div>
</form>
</div>

<script type="text/javascript">
$("#quick_login input[name='url']").val($(location).attr('href'));
</script>

-----------------------------header_welcomeblock_guest End----------------------------------


web site URL is http://makeadvise.com/

Thanks & Regards,
Prince


RE: MyFacebook Connect 2.1 - Shade - 2015-02-04

Logged in users should not be able to see the link indeed. What's your problem then?


RE: MyFacebook Connect 2.1 - makeadvise - 2015-02-04

(2015-02-04, 12:53 PM)Shade Wrote: Logged in users should not be able to see the link indeed. What's your problem then?

No no if user is not Logged in on that case also it's not showing that is the problem ....


Thanks & Regards,
Prince

No no if user is not Logged in on that case also it's not showing that is the problem ....


Thanks & Regards,
Prince

Hi Shade,

It's strange but for one theme it's working if i will put below given code in to header_welcomeblock_guest template file and for another theme it's not working i checked both theme header_welcomeblock_guest code but there is no code related changes .. any IDEA on that please let me know

<a href="{$mybb->settings['bburl']}/myfbconnect.php?action=login"><img src="http://makeadvise.com/images/makeadvise_fblogin.png" /></a>

My site is http://makeadvise.com/

Thanks


RE: MyFacebook Connect 2.1 - Ronshaan - 2015-02-11

hi
i did what you adviced but i am not sure if it will work for new users
please any one check it on my site
i had the same error b4
http://shaanse.com


RE: MyFacebook Connect 2.1 - KaarelV - 2015-02-17

Hmm funny but I cant login/register with facebook. Shows this error http://prntscr.com/66bt1u and on top of page mysql errors (page of blabal 52 line lalal).


RE: MyFacebook Connect 2.1 - Shade - 2015-02-17

This is usually fired when your server does not have the requirements to run MyFacebook Connect. Check them out on GitHub.


RE: MyFacebook Connect 2.1 - positivehighnewbie - 2015-03-07

MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1060 - Duplicate column name 'fbavatar'
Query:
ALTER TABLE mybb_users ADD ( fbavatar int(1) NOT NULL DEFAULT 1, fbsex int(1) NOT NULL DEFAULT 1, fbdetails int(1) NOT NULL DEFAULT 1, fbbio int(1) NOT NULL DEFAULT 1, fbbday int(1) NOT NULL DEFAULT 1, fblocation int(1) NOT NULL DEFAULT 1, myfb_uid bigint(50) NOT NULL DEFAULT 0 )

Please contact the MyBB Group for technical support.


RE: MyFacebook Connect 2.1 - Shade - 2015-03-07

You have already installed the plugin but for some reason it didn't go well, still adding columns to your database, or you already had a column in your database named fbavatar.

Open PHPMyAdmin (or whatever you are using to manage your database), and delete the following columns from the _users table, if present:
- fbavatar, fbsex, fbdetails, fbbio, fbbday, fblocation, myfb_uid

Then proceed to install the plugin, uninstall it and reinstall it one more time.