UserSpice 4.4+ plugins
mudmin / usplugins Goto Github PK
View Code? Open in Web Editor NEWUserSpice 4.4+ plugins
UserSpice 4.4+ plugins
Firefox had issues with the update button so i found nested forms, moved the primary form call to just befor the second <div class=row>
and also found that the update button was
<div class="btn-group"><input class='btn btn-primary' type='submit' value='Update' class='submit'/></div>
changed to
<div class="btn-group"><input class='btn btn-primary submit' type='submit' value='Update'/></div>
This seemed to fix the problem.
$settings = $db->query("SELECT * FROM settings")->first();
should be $settings = $db->query("SELECT * FROM plg_api_settings")->first();
in usplugins/src/apibuilder/assets/apitools.php (line 110)
I get a deprecation warning for the performance benchmark plugin using the PHP version 7.4.6:
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in ./usersc/plugins/benchmark/configure.php on line 127
It is happening when the mathFunction bindec
is being called.
This behaviour is documented here:
binary_string:
The binary string to convert. Any invalid characters in binary_string are silently ignored. As of PHP 7.4.0 supplying any invalid characters is deprecated.
It would be nice if facebook_login plugin could also update user profile image with facebook one. It's super easy, I already tested that by modifiing code on my website, all that has to be done in fb-callback.php file is (bold represents changes to be done):
And that is that. This simple edit gets URL of facebook profile image, which can than be used instead of Gravatar URL. This basically makes registration easier for users, because they don't need to upload their profile picture anywhere, it also automatically updates with facebook profile picture update.
I already sucessfully implemented and tested these changes on my website, I just thought someone else could appreciate it and they won't need to reinvent the wheel. If you don't think it's good idea to implement it or you find better solution, feel free to ignore this.
If the password contains '&' you get the following error:
Warning: ldap_bind(): Unable to bind to server: Invalid credentials in usersc/plugins/ldap_login/hooks/loginFail_body.php on line 49
This appears to be a known issue with the ldap_bind function. I could only make it work using html_entity_decode
on the password as suggested here: https://stackoverflow.com/questions/12858493/php-ldap-bind-fails-when-password-contains-ampersand
When trying to add users to a org as a manager they never get added to the DB when you select manual add.
Hi,
in your facebook login, there is a variable not defined, this should have the user_id, for updating us_ip_list.
"PHP message: PHP Notice: Undefined variable: feusr in /var/www/weisat_eu/usersc/plugins/facebook_login/assets/fb-callback.php on line 140
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.