Comments (5)
The extension includes two languages files, located here:
https://github.com/oneall/social-login-phpbb/tree/master/%5B%20%3E%3D%203.1.%20%5D%20EXTENSION/oneall/sociallogin/language
Are you using a different language? Please try renaming "en" to the code of the language that you are using.
from social-login-phpbb.
I'm using the language British English inside the administration panel in phpbb
from social-login-phpbb.
I got around this by making the following change to oneall/sociallogin/acp/sociallogin_acp_module.php.
Find...
public function admin_main ()
{
global $db, $user, $auth, $template, $config, $phpbb_root_path, $phpbb_admin_path, $phpEx, $table_prefix;
On a new line after - add...
// Add the language file.
$user->add_lang_ext ('oneall/sociallogin', 'backend');
What it doesn't fix for me is...
from social-login-phpbb.
I've managed to get the language using a slightly different approach.
Edit oneall/sociallogin/event/listener.php
Find...
/**
* Add Social Login language file.
*/
public function add_language ($event)
{
$lang_set_ext = $event['lang_set_ext'];
$lang_set_ext[] = array(
'ext_name' => 'oneall/sociallogin',
'lang_set' => 'frontend',
);
$event['lang_set_ext'] = $lang_set_ext;
}
Replace with...
/**
* Add Social Login language file.
*/
public function add_language ($event)
{
$lang_set_ext = $event['lang_set_ext'];
$lang_set_ext[] = array(
'ext_name' => 'oneall/sociallogin',
'lang_set' => 'frontend',
);
$lang_set_ext[] = array(
'ext_name' => 'oneall/sociallogin',
'lang_set' => 'backend',
);
$event['lang_set_ext'] = $lang_set_ext;
}
from social-login-phpbb.
Thank you very much for the solutions! I have now added them to the repository.
from social-login-phpbb.
Related Issues (20)
- [REQ] Show from where i'm logged in
- Impossible to clone with GitHub Desktop HOT 2
- Activating the extantion error HOT 3
- Issue while activating plugin HOT 2
- req: ability to see what account is linked to what social site account
- Working alongside Privacy Policy extension
- Help me: Authentication Issue, FB and Gmail user can't login HOT 1
- Req : Add Strava social network
- [Feature] Show along with login form on post replies (phpbb 3.2)
- Ask user to fill out more (custom) fields on registration
- Unable to delete a member in phpBB 3.3 HOT 1
- BUG: captcha factory missing in constructor of auth/provider/oneall.php
- Discord doesn't show up in acp HOT 1
- Redirects user to the wrong port
- oneall/library.js loaded on all pages when not used
- php each() function deprecated, will be removed PHP 8.
- Login with youtube: Access blocked: oneall.com
- Phpbb 3.3 errors
- Compitibility with forumus style
- Uncaught TypeError: a.data.split is not a function in d.xd_parser (library.js?lang=it:108:65)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from social-login-phpbb.