Feature #12774
Make piwik accessible outside TYPO3
| Status: | Closed | Start date: | 2011-02-04 | |
|---|---|---|---|---|
| Priority: | Could have | Due date: | ||
| Assignee: | Kay Strobach | % Done: | 0% |
|
| Category: | Piwik Problem | |||
| Target version: | 3.2 Piwik API Access | |||
| TYPO3 Version: | Tags: | |||
| PHP Version: | Complexity: | |||
| Has patch: | Reporter: | |||
| Branch: | ||||
| Votes: | 2 (View) |
Description
Piwikintegration does a realy nice job in providing statistics for your TYPO3 based website.
Piwikintegration installs piwik in the location xyz/typo3conf/piwik/piwik/. By default this location is accessible for the public. Calling this path with a browser deliveres the piwik login form. You can even use this path with DWA (http://www.desktop-web-analytics.com/).
However it is not possible to login to piwik directly with a user that is known to the integrated piwik.
It would be nice to have the possibility to watch the statistics directly without the need to be logged in to the TYPO3 backend.
Szenario:
1. Point your browser to http://[domain piwik is used on]/typo3conf/piwik/piwik/
2. Login via the shown login form
3. Watch and analyse your stats
History
Updated by Kay Strobach over 2 years ago
- Category set to Piwik Problem
- Assignee set to Kay Strobach
- Target version set to 3.2 Piwik API Access
i will take a look.
But it will only be possible to login with TYPO3 logindata
... it's not sensefull in my opinion to have two userdatabases (perhaps with inconsistent data).
@DWA: take a look on http://typo3.org/documentation/document-library/extension-manuals/piwikintegration/3.1.0/view/1/7/
Updated by Kay Strobach over 2 years ago
- Status changed from New to Accepted
Updated by Jan Loderhose over 2 years ago
Kay Strobach wrote:
But it will only be possible to login with TYPO3 logindata ... it's not sensefull in my opinion to have two userdatabases (perhaps with inconsistent data).
I totally agree! Thanks for taking this feature request into account.
@DWA: take a look on http://typo3.org/documentation/document-library/extension-manuals/piwikintegration/3.1.0/view/1/7/
Thanks for the pointer. It was obviously not my clever day, when I asked about DWA ...
Updated by Kay Strobach over 2 years ago
if i remeber right the loginform is directly rendered with the shipped login plugin, even if it is disabled :( so this will take a while ;)
Updated by Kay Strobach almost 2 years ago
- Status changed from On Hold to Needs Feedback
should work now - can you verify that?
The piwik app works for me on htc desire ;)
Updated by Jan Loderhose almost 2 years ago
Nope, sorry. I cannot login into piwik directly. I get a "Fehler: Benutzername und Passwort sind nicht korrekt".
Passwort Hash in be_users and tx_piwikintegration_user are the same, token_auth was generated.
TYPO3 4.5.3
piwik 3.0.1
piwikintegration 3.1.9
Updated by Kay Strobach almost 2 years ago
Which piwik.org version do you use?
I will try to debug it - 1.5 seems to not work anymore with the direct access ...
I got an access denied message :( - what is the exact message piwik throws?
Regards
Kay
Updated by Jan Loderhose almost 2 years ago
Kay Strobach wrote:
Which piwik.org version do you use?
I will try to debug it - 1.5 seems to not work anymore with the direct access ...
I made a fresh piwik and piwikintegration installation for testing pusposes so I'm using 1.5.
Such an unlucky coincidence!
I got an access denied message :( - what is the exact message piwik throws?
I got username and passwort are not correct. I do not find errors reported in error logs.
I guess, there was some change in piwiks authorization evaluation .
Thanks for your efforts! Jan
Updated by Stefan Rotsch almost 2 years ago
There is a nice iOS app for accessing Piwik statistics on the go, but I can't get it working due to the problem described here, so I feel free to add this comment.
A direct access to Piwik is not possible, neither by adding a new user to Piwik nor by adding a password to the existing administrator account. Anonymous login seems to work (at least for the web interface), but this seems to be a bit insecure ;-)
I have TYPO3 4.5.3 with latest piwikintegration and Piwik 1.5.1 installed.
Is there any way I can help? I would really like to get this running, as it would be a great benefit for my customers to access their web statistics on their iPhone.
Regards, Stefan.
Updated by Kay Strobach almost 2 years ago
hi,
basicly the typo3conf/ext/piwikintegration/piwik_patches/plugins/TYPO3Login/Auth.php needs to be adjusted.
You may use the default one from typo3conf/piwik/piwik/plugins/Login/Auth.php (61-85) as template.
Theoretically it should be pretty simple, with adding an additional else tree in line 115.
I planned to do this in the next weeks - but currently i'm very busy - but let me take a look.
I want to release stable software only ;)
Updated by Kay Strobach 28 days ago
- Status changed from Needs Feedback to Closed
should be working now - if not please reopen a ticket