You are not logged in.
Hi there,
After installing the eyeRoundCube app on EyeOS 1.9 on debian squeeze, I get this when I try to start it:
"rawjs console.log(Base64.decode("PGJvZHkgb25sb2FkPSJkb2N1bWVudC5nYWlhX2xvZ2luZm9ybS5zdWJtaXQoKTsiPjxmb3JtIG5hbWU9ImdhaWFfbG9naW5mb3JtIiBhY3Rpb249Imh0dHA6Ly93ZWJtYWlsLmxlZ2VhcmR3ZWIuY29tL2luZGV4LnBocD9fdGFzaz1tYWlsIiBtZXRob2Q9InBvc3QiPjxpbnB1dCBjbGFzcz0iZ2FpYSBsZSBidXR0b24iIHR5cGU9ImhpZGRlbiIgbmFtZT0ic2lnbkluIiB2YWx1ZT0iQ29ubmV4aW9uIiAvPjwvZm9ybT4="));"
What would be the solution for this?
Thanks for any reply!
Regards,
Eveline.
Offline
Here's a simple eyeRoundCube rewrite (but without eyePass integration...):
Best regards,
Lars Knickrehm
The oneye project.
Offline
Thanks, will try that after my two-week vacation.
Here's a simple eyeRoundCube rewrite (but without eyePass integration...):
Offline
Thanks, though that doesn't work either. It opens a new window named eyeRoundCube with this content:
----
Not Found
The requested URL /eyeOS/ROUNDCUBE_URL was not found on this server.
Apache/2.2.16 (Debian) Server at eyeos.xs4all.net Port 80
----
Thanks, will try that after my two-week vacation.
lars-sh wrote:Here's a simple eyeRoundCube rewrite (but without eyePass integration...):
Offline
I just replaced that file with a fixed one. Remember to edit app.eyecode and add the url to your RoundCube folder, please.
Best regards,
Lars Knickrehm
The oneye project.
Offline
Ah yes, that works. Thanks!
Thanks, though that doesn't work either. It opens a new window named eyeRoundCube with this content:
----
Not FoundThe requested URL /eyeOS/ROUNDCUBE_URL was not found on this server.
Apache/2.2.16 (Debian) Server at eyeos.xs4all.net Port 80
----eveline wrote:Thanks, will try that after my two-week vacation.
lars-sh wrote:Here's a simple eyeRoundCube rewrite (but without eyePass integration...):
Offline
Hi,
I have created my own Roundcube app (a bit along the same lines as lars's) but with an autostart
of roundcube with name and password from the users xml file (extended it with a mail password)
All working fine, exept the end of roundcube.
I use a plugin to redirect the close action to my php page (which is then loaded in the iframe).
I also loaded a javascript upon startup, to be able to call it from that php page to close the iframe / oneye-window.
However there are 2 problems :
1. I cannot find the right javascript command to call the loaded function to close the page ?
2. Each time i start the app, the javascript is loaded, so after some testing I have 20 times the same function in the main page (each time with an other pid!)
Has anyone any ideas how to solve this ?.
Kindest,
Steven
Steven Lobbezoo
[url=http://www.maisons-de-france.com]www.maisons-de-france.com[/url]
Offline
Would have liked to send my files, but there is no option for attachments on this forum ;-)))
Steven Lobbezoo
[url=http://www.maisons-de-france.com]www.maisons-de-france.com[/url]
Offline
Would have liked to send my files, but there is no option for attachments on this forum ;-)))
Sorry, I deactivated it. Can you send it by mail or commit it to your svn playground, please?
Best regards,
Lars Knickrehm
The oneye project.
Offline
Steven, what do you need the logout button for? Isn't closing the window just all you need?
Or do you want to connect the RoundCube logout with oneye?
Best regards,
Lars Knickrehm
The oneye project.
Offline
Hi Lars,
Well, I need to logout properly from roundcube (terminate the session).
So, I need to use the logout button that's included in the app.
But, of course that does not close the oneye window.
So, I tried to superpose my own button on theirs (cheat a bit).
I could, however extnd the functionallity of their button, if I knew how to close
the oneye window from that app (so from inside the i-frame).
Steven
Steven Lobbezoo
[url=http://www.maisons-de-france.com]www.maisons-de-france.com[/url]
Offline
Offline
Your code seems to be quite clear, but there's one thing, that you didn't think of I guess... Modern browsers follow a strict Cross-Domain-Policy, that does not allow you to access the content of iFrames and/or the parent of a website from inside the iFrame itself. You'd need to load a second script (probably inside an iFrame), that cancels the session of your second server (with RoundCube) and throws the loaction back to your original server to close the process...
Or even a bit easier (should be okay, anyway): Just close the process regularly and load the logout url of the RoundCube installation in a hidden iFrame. That iFrame just stays or you might remove it using some tricks.
Hope I could help you. Just ask if not ...
ps: Is your server still running in summer-time ?
It's quite strange. The server time is correct. But FluxBB seems to be a bit more "static" in these concerns...
Just check "Profile" > "Essentials" and remove the checked state from "Daylight Savings Time is in effect (advance time by 1 hour)."...
Best regards,
Lars Knickrehm
The oneye project.
Offline
Hi,
Ok, the iframe is from the same domain, so it was just me.
I changed :
<code>
function closeIframe() {
var iframe = document.getElementById('$myPid_Iframe_RCM');
iframe.parentNode.removeChild(iframe);
sendMsg('$checknum',"BBut_close",eyeParam("go","1"));
}
</code>
and added :
<code>
$Iframe_1->addEvent('onUnload', 'sendMsg('.$checknum.',"BBut_close",eyeParam("go","1"));');
</code>
And made the button invisible (1x1 px, etc.)
And it works like a charm.
Thanks Lars,
Steven
Steven Lobbezoo
[url=http://www.maisons-de-france.com]www.maisons-de-france.com[/url]
Offline