coldtrick / advanced_notifications Goto Github PK
View Code? Open in Web Editor NEWThis plugin changes the way Elgg handles some notifications
Home Page: https://elgg.org/plugins/1523230
This plugin changes the way Elgg handles some notifications
Home Page: https://elgg.org/plugins/1523230
Hello,
Have you ever had any issue with session when using cli ? We are using it on a closed community and we are facing the following issue
When we create/update a new group discussion, session_id is passed to cli, but once __elgg_session_boot is called (/engin/lib/sessions.php
) $_SESSION object only has __elgg_session
. So call to elgg_get_annotation_from_id
is done while get_loggedin_user returns 0, and access_id checks are performed on invalid values. Here is the SQL query (access_id should have many other values, and the required one is 54)
SELECT DISTINCT n_table.*, n.string as name, v.string as value FROM elggannotations n_table JOIN elggentities e ON n_table.entity_guid = e.guid JOIN elggmetastrings n on n_table.name_id = n.id JOIN elggmetastrings v on n_table.value_id = v.id WHERE (n_table.id IN (3191) AND ( (n_table.access_id IN (2,-5)
OR (n_table.owner_guid = -1)
OR (
n_table.access_id = 0
AND n_table.owner_guid = -1
)
) and n_table.enabled='yes')) AND ( (e.access_id IN (2,-5)
OR (e.owner_guid = -1)
OR (
e.access_id = 0
AND e.owner_guid = -1
)
) and e.enabled='yes')
Hello,
I'm translating to French for version 4.1, see the file proposed : master...danhype:patch-1
Dan
Enabling advanced_notifications causes any save of any object (blog, wire post, whatever) to make Elgg report a max post size exceeded error. The system message is:
The max posts on the server is set at 32M and max upload set at 24M.
The problem goes away when the plugin is disabled.
This is the same problem as that noted by UK at http://community.elgg.org/discussion/view/1524467/i-have-a-weird-error
Jon
context:
scenario:
1- log in as "user1"
2- add "user2" as a friend
3- create a closed private(invisible) group:
. "Group membership permissions" set to "closed - users must be invited"
. "Who can see this group?" set to "group members only"
4- invite friends "user2"
results:
expected results:
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.