mandeewa Posted April 14, 2013 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 1 Reputation: 0 Joined: 11/11/12 Last Seen: June 13, 2013 Share Posted April 14, 2013 (edited) Thanks - VicThor @Jayzy Error in recording the facebook account in the database. Kindly inform the administrator about this error. this addons was setting for renewal cp edit this file for pre-re cp : facebook/modules/facebook/create.php inline : INSERT INTO {$loginDB}.login (userid, user_pass, email, sex, group_id, birthdate) Change to : INSERT INTO {$loginDB}.login (userid, user_pass, email, sex, level, birthdate) just change group_id to level. hope it works. Edited April 14, 2013 by mandeewa Link to comment Share on other sites More sharing options...
Brynner Posted September 4, 2013 Group: Members Topic Count: 120 Topics Per Day: 0.02 Content Count: 1960 Reputation: 202 Joined: 01/08/12 Last Seen: 5 minutes ago Share Posted September 4, 2013 (edited) thanks it works now. Edited September 4, 2013 by Brynner Link to comment Share on other sites More sharing options...
Cianna Fernandez Posted August 20, 2017 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 36 Reputation: 1 Joined: 06/21/17 Last Seen: August 24, 2017 Share Posted August 20, 2017 Hi JayPee, I have successfully installed your addon, however I'm having problems with it, while testing the registration it redirects me to my facebook account page which is normal and accepted the requirements, however after hitting the Continue, It loads slowly and stopped with an error page "Too Many Redirects" can you help me with this? my create.php code below: <?php if (!empty($error)): ?> <p class="red" style="font-weight: bold"><?php echo htmlspecialchars($error) ?></p> <?php endif ?> <center> <div id="fb-root"></div> <script> window.fbAsyncInit = function() { FB.init({ appId : '***************', 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-registration" data-fields="[ {'name':'name'}, {'name':'username', 'description':'Enter Username', 'type':'text'}, {'name':'email'}, {'name':'password'}, {'name':'birthday'}, {'name':'gender'}, {'name':'captcha','description':'Enter Security Code'}, <?php if (count($serverNames) === 1): ?> {'name':'server','description':'Server','type':'select','options':{<?php echo "'".$session->loginAthenaGroup->serverName."':'".$session->loginAthenaGroup->serverName."',"; ?>}}, <?php endif ?> <?php if (count($serverNames) > 1): ?> {'name':'server','description':'Server','type':'select','options':{<?php foreach ($serverNames as $serverName): echo "'".$serverNames."':'".$serverNames."',"; endforeach ?>}}, <?php endif ?> ]" data-redirect-uri="ragnarokphilippines.ml/?module=account&action=create&fb_return=return"> </div> </div> </center> Link to comment Share on other sites More sharing options...
Recommended Posts