Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
W4OS OpenSimulator Interface
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenSimulator
W4OS OpenSimulator Interface
Compare Revisions
041b4585823e13eb7882fd81c41b78841bceffe8...a7e778a84f0d25a1650fe9fdff99c788c5ce7a01
Source
a7e778a84f0d25a1650fe9fdff99c788c5ce7a01
Select Git revision
...
Target
041b4585823e13eb7882fd81c41b78841bceffe8
Select Git revision
Compare
Commits (2)
* Updated readme's
· 4a658044
Gudule Lapointe
authored
Jul 07, 2020
4a658044
v0.12.1
· a7e778a8
Gudule Lapointe
authored
Jul 08, 2020
* added active members count
a7e778a8
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
9 deletions
+15
-9
CHANGELOG.md
CHANGELOG.md
+3
-0
README.md
README.md
+3
-2
includes/shortcodes.php
includes/shortcodes.php
+2
-0
readme.txt
readme.txt
+6
-6
w4os.php
w4os.php
+1
-1
No files found.
CHANGELOG.md
View file @
a7e778a8
### 0.12.1
*
added active members count (as opposite to active users including visitors)
### 0.12.0
*
fix: show only in-world users in "new users" dashboard widget
*
fix: new users dashboard and shortcode only shown to users with list_users capability
...
...
README.md
View file @
a7e778a8
...
...
@@ -17,9 +17,10 @@ file.
-
**Grid info**
:
`[gridinfo]`
shortcode and admin dashboard widgets
-
**Grid status**
:
`[gridstatus]`
shortcode and admin dashboard widgets
-
**Avatar creation**
:
-
`[w4os_profile]`
shortcode can be inserted in any page
-
Opensimulator section in standard wp profile page
-
`[w4os_profile]`
shortcode can be inserted in any custom page
-
Avatar tab in account dashboard on WooCommerce websites
-
Choose avatar look from default models
-
Choose avatar look from default models
-
Avatar and website passwords are synchronized
-
**Reserved names**
: avatar whose first name or last name is "Default",
"Test", "Admin" or the pattern used for appearance models are disallowed for
...
...
includes/shortcodes.php
View file @
a7e778a8
...
...
@@ -91,6 +91,8 @@ function w4os_shortcodes_init()
FROM Presence AS p, UserAccounts AS u
WHERE
$filter
RegionID != '00000000-0000-0000-0000-000000000000'
AND p.UserID = u.PrincipalID;"
)),
'Active members (30 days)'
=>
number_format_i18n
(
$w4osdb
->
get_var
(
"SELECT COUNT(*)
FROM GridUser as g, UserAccounts as u WHERE
$filter
PrincipalID = UserID AND g.Login >
$lastmonth
"
)),
// 'Active citizens (30 days)' => number_format_i18n($w4osdb->get_var("SELECT COUNT(*)
// FROM GridUser as g, UserAccounts as u WHERE g.UserID = u.PrincipalID AND Login > $lastmonth" )),
'Total users in world'
=>
number_format_i18n
(
$w4osdb
->
get_var
(
"SELECT COUNT(*)
...
...
readme.txt
View file @
a7e778a8
...
...
@@ -22,10 +22,10 @@ section for upcoming functionalties.
- **Grid info**: `[gridinfo]` shortcode and admin dashboard widgets
- **Grid status**: `[gridstatus]` shortcode and admin dashboard widgets
- **Avatar creation**:
- `[w4os_profile]` shortcode can be inserted in any page
- Opensimulator section in standard wp profile page
- `[w4os_profile]` shortcode can be inserted in any custom page
- Avatar tab in account dashboard on WooCommerce websites
- Section in standard wp profile page
- Choose avatar look from default models
- Choose avatar look from default models
- Avatar and website passwords are synchronized
- **Reserved names**: avatar whose first name or last name is "Default",
"Test", "Admin" or the pattern used for appearance models are disallowed for
...
...
@@ -39,10 +39,10 @@ section for upcoming functionalties.
#### Short term (version 1.0, WordPress repository release)
- Auth with avatar credential (as fallback to wp auth).
Create new WordPress user if auth by avatar
- Login page (with grid FirstName, LastName and password).
Optional redirect of standard login page
- Auth with avatar credential (as fallback to wp auth).
Create new WordPress user if auth by avatar
- Option to use WordPress name as avatar name (in this case, lock WordPress
name changes once an avatar is set)
- Use avatar profile pic
...
...
@@ -51,7 +51,7 @@ section for upcoming functionalties.
#### Middle term
-
Use
r profile
-
Public avata
r profile
- Admin Start / Stop regions
- Admin Create region
- Admin Use sim/grid configuration file to fetch settings if on the same host
...
...
w4os.php
View file @
a7e778a8
...
...
@@ -6,7 +6,7 @@
*
* Plugin Name: W4OS OpenSimulator Interface
* Description: WordPress interface for OpenSimulator.
* Version: 0.12.
0
* Version: 0.12.
1
* Author: Speculoos World
* Author URI: https://speculoos.world
* Plugin URI: https://git.magiiic.com/opensimulator/w4os
...
...