Im trying to use the gateeeper code in an eternal script and it does not seems to work. what im asking is can the codes be used outsite the mod directory?
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- ihayredinov@ihayredinov

ihayredinov - 0 likes
- Flexx@Flexx

Flexx - 0 likes
- Flexx@Flexx

Flexx - 0 likes
- 13net@_13net

13net - 0 likes
- Flexx@Flexx

Flexx - 0 likes
- Flexx@Flexx

Flexx - 0 likes
- Team Webgalli@webgalli

Team Webgalli - 0 likes
- Flexx@Flexx

Flexx - 0 likes
- Flexx@Flexx

Flexx - 0 likes
You must log in to post replies.I assume it should work, just make sure you include the Elgg engine.
Ok thanks, another question. Is this code correct?
Im trying to call a chat window if the user is logged in when the page loads:
It look ok to me but my eyes arnt well trained soo... :(
Ok i found the problem :)
Here is the right thing!
@flexx: you are misusing elgg_echo - its purpose is to print language strings. just use "echo" for such situations!
have a nice day.
ooo ok thanks 13! :)
Ismayil now that i reach where you are talking, How exactly do include the Elgg Engine?
require_once('path_to_elgg/engine/start.php');
Thanks webgalli :)
If im getting an error saying that the function is already called in another directory, can i just rename that function and it works? The script im using is have the "get_user()" function which is already in the elgg engine so im having a bit of problem.
Thanks :)