Search found 8 matches

Go to advanced search

by ZedBel
Thu Jan 16, 2014 12:31 pm
Forum: Development Chats
Topic: Passing values from a function call
Replies: 3
Views: 2054

Re: Passing values from a function call

Thanks! Any idea to achive this?
by ZedBel
Wed Jan 15, 2014 1:12 pm
Forum: Development Chats
Topic: Passing values from a function call
Replies: 3
Views: 2054

Passing values from a function call

Hello everyone! I have managed to get the username and password using the event handling, however i want to pass them to MainPanal.js inorder to append them to a url which is fetched from the DB and have a direct login to the called url. for instance the event is written in BookmarksModule.php and i...
by ZedBel
Mon Jan 13, 2014 2:24 pm
Forum: Development Chats
Topic: Get User logged password/login
Replies: 4
Views: 3449

Re: Get User logged password/login

Hello! Thanks this works great!!! I have another problem hope i will get your swift feedback. How can i call a function which is written in BookmarksModule.php being in Mainpanal.js. thanks.
by ZedBel
Sun Nov 03, 2013 10:29 am
Forum: Development Chats
Topic: Get User logged password/login
Replies: 4
Views: 3449

Re: Get User logged password/login

Hello! I also want this approch to login to other services which are outside of Groupoffice. can you give us a hint how to use the Event to get the password. I tried another way but end with no success. here is the appoch i have used. <?php require_once("/usr/share/groupoffice/Group-Office.php"); re...
by ZedBel
Sun Nov 03, 2013 10:24 am
Forum: Development Chats
Topic: Automatically log in into Phorum from GO
Replies: 8
Views: 19829

Re: Automatically log in into Phorum from GO

Hi. Your code doesnt work for me b/c the $GO_USERS object is not defined in the Group-Office.php class and after some inspection i have this one working <?php require_once("/usr/share/groupoffice/Group-Office.php"); require_once("/usr/share/groupoffice/classes/base/users.class.inc.php"); global $GO_...
by ZedBel
Wed Aug 28, 2013 10:47 am
Forum: General help
Topic: login using http calls
Replies: 4
Views: 1683

Re: login using http calls

Happy Day.... :D !!! Thanks a lot! It works perfect now!!!
by ZedBel
Tue Aug 27, 2013 3:05 pm
Forum: General help
Topic: login using http calls
Replies: 4
Views: 1683

Re: login using http calls

Thanks for ur swift responce!!! the code i tried looks like this: <?php $tmpdir = '/tmp'; $baseUrl = 'http://localhost/groupoffice/index.php'; $username = 'zed'; $password = 'qF2(Le'; $ch = curl_init(); $cookieFile = $tmpdir . '/cookie.txt'; curl_setopt($ch, CURLOPT_COOKIEJAR, $cookieFile); curl_set...
by ZedBel
Tue Aug 27, 2013 12:03 pm
Forum: General help
Topic: login using http calls
Replies: 4
Views: 1683

login using http calls

Hello! I am trying to login using php CURL. I have seen the sample code about API call and tried to follow it by making a minor change. Since i want to be redirected to openoffice in my browser i update it form "X-Requested-With: XMLHttpRequest" to "text/html,application/xhtml+xml,application/xml;q=...