Activité récente
Activité récente
""
Activité récente
This plugin logs registered users activity in your blog and displays it in frontend and backend.
It can also track and deny access by blacklisting to unwanted login attempts.
Activity logged :
- logon
- new user
- new comment
- comment edition
- comment deletion
- profile update
- new published post
- published post edition
- post deleted (really deleted, not trashed)
- new link
- login failure (displayed only in admin panel)
- access denied by IP blacklisting (displayed only in admin panel)
Possible usages :
- Monitor unwanted connexions attempts on your blog and block hackers IP.
- Monitor the registered users activity on a multi-users blog.
- Enhance your community blog by displaying to all users what other members have done.
If enabled, user who don’t want to be listed in blog activity can hide its own activity by checking a privacy option in the profile page. In that case, this user activity is not stored in database.
When a login failure occurs, the IP address is also logged.
Users activity can be followed by RSS feed and can be exported in csv file (semicolon separation).
Admin can follow the blog users activity within dates range with the stats module.
To avoid spammers or hackers trying to steal accounts, you can blacklist their IP addresses. Be careful, I you blacklist your own IP you won’t be able to login anymore !
Blacklisted IP addresses get a 403 error when trying to logon, and the activity log displays an ‘access denied’ event.
Keep in mind that this plugin is not security oriented. There are lots of plugins that specifically deal with security.
Thanks to Venntom for finding a lot of bugs each time I release a new version, and for helping me fix them.
Translations :
- French
- Italian (Thx to Luca – partially translated up to v1.2)
- Turkish (Thx to Can KAYA – translated up to v1.2)
- Spanish (Thx to Cscean – translated up to v1.3)
- Romanian (Thx to Web Geeks – translated up to v1.7)
- Dutch (Thx to Tom – translated up to v1.8.1)
- Russian (Thx to Semyon Nikiforov – partially translated)
(If you translated my plugin, please send the translated .po file at cedric@driczone.net )
Plugin page (French blog but feel free to comment in english)
I my plugin doesn’t fit your needs, you can also try ThreeWP Activity Monitor by Edward Mindeantre.
Resources used :
- Fugue Icons by Yusuke Kamiyamane (http://p.yusukekamiyamane.com)
- Flot jQuery library (http://code.google.com/p/flot/)
Download
Latest version: Download wp-activity v2.0 [zip]
Installation
Manual :
- Download the plugin and unzip,
- Upload the wp-activity folder to your wp-content/plugins folder,
- Activate the plugin through the WordPress admin,
Automatic :
- In your Admin Panel, go to
Plugins > Add New - Search for « WP-Activity«
- Click Install Now under « WP-Activity«
Setting plugin :
- Go to
Wp-Activity > Settingsfor plugin options.
For security use :
- Activate Login failures log.
- Set blacklist options.
For frontend use :
- Put
<?php act_stream() ?>where you want the stream to be displayed, or use included widget. - Use
to display activity in a page or post. See FAQ section for parameters.
FAQ
Q. How do I enable the user last logon on author or index page ?
A. Use <?php act_last_connect($author) ?> in author.php template, or <?php act_last_connect() ?> in index page.
If you only want to display the last login date without any text, use <?php act_last_connect($author, 'no_text') ?>.
Q. How do I add user activity on it’s author page ?
A. Use <?php act_stream_user($author) ?> in author.php template
Q. How do I set the events number or the title when not using the widget ?
A. this function accepts two parameters :
<?php act_stream(number,title) ?>
defaults are :
- number = 30
- title = Recent Activity (translated by .mo)
Q. Shortcode use
A.
defaults are :
- number = no limit
- title = Recent Activity (translated by .mo)
Q. I blacklisted my own IP address, or I can’t login anymore since I activated the blacklisting !
A. Just rename or delete the wp-activity directory in wp-content/plugins/, and you should be able to access to your blog.
Q. The Blacklist tab is disabled in admin panel
A. Before settings blacklist options, you need to activate logon failures log (in the previous tab).
Q. How do I avoid erasing css tweaks when I update the plugin ?
A. Just put a copy of wp-activity.css in your theme dir, it will be processed instead of the css file included with the plugin.
Q. How do I display all activity ?
A. You must specify « -1″ in number parameter. All activity stored in database will be returned.
Q. How do I change author page links ?
A. Change the value in the plugin administration, under display options tab.
Q. How do I Change the events generic icons ?
A. Just change the icons in the /img directory, but keep the event name (example : to change the login/connect event icon, change the icon named CONNECT.png – names must be in capitals). If events don’t have related icons, you can add it by naming an icon from the event name. I used Fugue Icons – shadowless version for generic icons.
Q. I added a post and changed the author, and the activity logs have changed too. How could I disable this ?
A. You will have to edit wp-activity.php, check line 32 and set $strict_logs to true.
= How can I change the search field filter in admin activity log by the user list ?
You will have to edit wp-activity.php and change the value for the $act_user_filter_max var (near line 33).
Q. I exported data to a csv file but there are ugly characters in MS Excel !
A. This is a known excel bug : when you open a .csv file in Excel, it forces the use of the local encoding set (WINDOWS-1252 for French) and not UTF-8. To avoid this, you will have to rename the file extension from .csv to .txt, open Excel, do File/Open and open the wp-activity.txt. The csv import assistant will now launch, allowing you to set the encoding to UTF-8.
Q. I would like to display more or less than 50 lines per page in admin panel of wp_activity
A. You have to modify the $act_list_limit var line 31 of wp-activity.php.
Q. I don’t need the last login column in user list or I don’t need the last login failures in admin panel
A. You have to modify the $no_admin_mess var line 33 of wp-activity.php and set it to true.
Q. I use custom posts, and the activity related to them is not logged !
A. Unless custom posts are not processed by WordPress the same way as regular posts, I can’t track custom posts changes (or I don’t know how).
Q. I have a poor hosting, is your plugin a big fat resources consumer ?
A. I also have a poor hosting, so I try to keep my plugin as light as I can ; the admin scripts and css files are only loaded when needed.
Best-Performance tips :
- Don’t use Gravatars as they generate more sql queries and are slower to display.
- If you don’t use frontend login form, check the ‘blacklist on wp-login.php only’ option. If you want to blacklist an IP address on all your blog, use htaccess filtering instead.
- Don’t activate activity RSS feed.
- Unckeck the events you don’t want to monitor.
Q. Do you really test your plugin before publishing new versions at the WordPress Plugin Repository ?
A. Hum. I’m testing it on two WordPress installations (local WAMP and online test site), and I send my beta versions to my favorite tester. But even with that, some bugs stay present. That’s why there is often updates that just fix the previous ones… Sorry for that.
If you want to be sure it’s debugged, you can wait a few days for a x.x.1 version release.
Changelog
2.0
- Added auto-refresh for activity displayed on frontend (with AJAX).
- Added compatibility with WordPress 3.5 (no more warning in admin panel)
- Added partial Russian translation (Thx to Semyon Nikiforov)
- Added Swedish translation (Thx to Per Söderman)
- Various Tweaks
1.9.3
- Stats graph now displays localized dates (Thx to Per Söderman).
- Fixed bug with stats display.
- Fixed bug with translation string.
- Updated Dutch translation by Venntom.
1.9.2
- Fixed bug with event display.
1.9.1
- Fixed bug with UTC+0 timezone .
1.9
- Added new events types logging : new users, comments edits, comments deletions (not spam comments), posts deletions (real deletions, not trashed posts).
- Added a search field for filtering by data in admin activity log (to search for IP addresses, posts, etc.).
- Added partial Romanian translation (for version 1.7, not up-to-date !) by Web Geeks.
- When there is more than 25 users, the user filter is now displayed with a search field (with autocomplete) instead of the users list for better performance/readability.
- In frontend display, a default icon is now displayed if the event has no icon associated.
- Changed the way modified post events are monitored.
- Changed, added and deleted a few translation strings.
- Changed minimum user capability to access plugin in admin panel from ‘publish_post’ to ‘administrator’.
- Various Tweaks.
- When a post or a comment is deleted, the post and comments related events are updated (the title of the deleted post is saved instead of post id).
- Fixed a possible bug with dates timezones. This could mess a little your previous logged events dates (Thx to Elmoonfire ).
- Fixed ACCESS_DENIED events that are no more displayed in frontend.
- Fixed possible wrong url path to users profiles in RSS feed.
1.8.1
- Fixed bug with blacklist tab who stay disabled unless you uncheck/check again the logon failures logging option.
- Updated Dutch Translation By Venntom.
1.8
- Added auto-blacklisting of IP addresses after a configurable number of failed logon attempts in the last 2 days.
- Added compatibility with Better-WP-Security plugin (false failed logon events when log in).
- Added logging of IP Address in successful login events.
- Added widget width setting (was previously set in wp-activity css file – default to 350px).
- You will be now redirected to the previously selected tab when reloading settings page (at the cost of a small js file load).
- User filter and LOGIN_FAILED filter combination is now possible.
- Changed Activity RSS feed for better integration with WordPress RSS Feeds and permalinks.
- Blacklist tab is now disabled when Logon failures log is not enabled.
- Fixed Activity RSS feed missing user names.
- Fixed daily cron task.
- Fixed exported data deletion.
- Fixed bad link in plugins list additions for wp-activity (settings/uninstall).
1.7.1
- Fixed bug with the logon log function.
- Fixed php bug where numbers were possibly displayed as scientific notation with a comma, totally messing up js code and preventing stats chart to display.
- Stats chart will now display under IE 7 & 8 (missing compatibility js file).
1.7
- Added blacklisting of IP addresses.
- Added dutch translation (Thx to Tom Vennekens).
- Admin and export functions are only loaded when needed (separate php files).
- Tweaked Cron task activation.
- Changed the display of settings page to look more like ‘standard’ admin WP.
- Replaced a few translation strings, sorry for translaters.
- Fixed Logon events who where only added when entering credentials since v1.6. Authentification with cookie (‘remember me’ option) will now generate a login event.
- Fixed deletion of old activity (cron task).
- Fixed csv file generation bug for IE.
- Fixed missing datepicker js script when using wordpress prior to 3.3.
1.6.1
- Fixed pages navigation links
1.6
- Added Logging of IP Address when a logon failure occurs.
- Added Activity stats.
- Added a few css rules to wp-activity.css (custom css files must be updated).
- Changed plugin menus (Wp-Activity has now it’s own menu).
- Changed CONNECT events tracking, should be less disturbed by plugins that deals with WordPress login.
- Fixed csv file generation (bug with url rewriting).
- Fixed (again) empty Last login column in user list when using User Access Manager plugin.
- Fixed login failures bad link in right now widget.
1.5
- Added current rows count in db next to the max rows value setting.
- Added export to csv file – filters and ordering are also processed to exported data.
- Added filtering by user in admin activity list.
- Tweaks and optimizations.
- Fixed missing profile field to allow user privacy.
- Fixed double login events when using a plugin dealing with WP login.
- Fixed « last connect » empty data values when using a plugin that deals with WP admin panel users list.
- Fixed a bug in multisites environment where queries to the users table where wrong (bad prefix).
- Fixed a bug where spam comments were written in activity table (but not displayed).
1.4
- Added a ‘Last Login’ column in WP-Admin user list page.
- Added an option to change the author page links when your permalink structure for authors is not ‘author’.
- Added a widget to display to a logged user its own activity.
- Fixed a css conflit when using jquery.tabs in another plugin (Thx to Cscean – http://cscean.es/)
- Added Spanish Translation (Thx to Cscean – http://cscean.es/)
1.3.2
- If two login events occur within a minute, only the first of them is displayed in frontend (double login events reported with facebook login).
- Corrected another bug with dates (Thx to Royzzz – http://www.roypoots.nl).
1.3.1
- Security check removed as it causes fatal error.
1.3
- Added logon fails count since last administrator login on « Right Now » admin panel widget.
- More privileges security added.
- Corrected a bug with relatives dates.
1.2.1
- Fixed bad posts links in admin and RSS logs (Thx again to Mario_7).
1.2
- Fixed stupids « n » displayed in plugin admin.
- Added links in wordpress plugin lists to configure or uninstall WP-Activity.
- Fixed a misplaced div closing tag (Thx to Mario_7).
- Added Turkish translation (Thx to Can KAYA – http://www.kartaca.com)
1.1
- Fixed RSS feed (it has probably never worked outside of my wordpress test site).
- Admin can now prevent users to deny logging of their activity.
- Activity list in admin panel has now the same ergonomy as the standard wp admin lists (with pagination, filtering and ordering).
- Login failures can now be logged.
1.0
- Reset/uninstall tab
- User activity can now be displayed on author page
- If the author of a post has been changed, the plugin will change it in activity logs too. See FAQ for more details.
0.9.1
- Fixed a XSS vulnerability (Thx again to Julio – http://www.boiteaweb.fr)
- Admin panel improved
- Activity archive link in frontend
0.9
- improved shortcode – now with parameters.
- possible use of an alternate css file in theme directory – avoid erasing css tweaks with plugin updates.
0.8.2
- Use of a cookie instead of a session var.
- Fixed a CSRF vulnerability (Thx to Julio – http://www.boiteaweb.fr)
0.8.1.1
- Bug fix that prevented activity to be displayed in frontend.
0.8.1
- Added shortcode to display activity on a page or post.
0.8
- New activity can be highlighted since last user login (in fact old activity is greyed out)
- Bug fix with a possibly shared var name (thx to Stephane)
0.7.2
- Bug fix with cron settings for deleting old activity
0.7.1
- Bug fix when auto-delete old activity (activity limit)
0.7
- User last logon can now be displayed on author page
0.6
- admin panel tweaked
- Plugin now support gravatars for connect and profile edit events. Generic icons can also be used.
- Activity stream display tweaked.
0.5
- Added setting for using relatives dates
- Activity is now displayed in the admin plugin page (backend)
- Post Add/Edit events are now correctly logged
0.4a
- Comments and posts adds are now correctly logged
0.4
- Post creation/edition separated
- Add link event added (only public links)
- Users can hide their activity from profile
- RSS feed added
0.3a
- Big bug (introduced in 0.3) squeezed
0.3
- Less SQL queries
- Admin can choose events types to log
0.2
- Plugin internationalization
- widget enabled
0.1
- First release






NotAlame brait :
le 12 septembre 2009 à 15:58
Salut!
Merci pour ce plugin mais est ce que je peu le changer pour qu’il devient compatible avec wordpress 2.6.5 ???
Ou bien, aurais-tu une idée coment peut-on afficher les utilisateurs connécté sous WordPress ??
PS: trop classe ton site! Comment je peut faire le style de ton infobulle sur mon site??
Dric bafouille :
le 12 septembre 2009 à 22:21
Alors pour la rétro-compatibilité, je n’en sais rien. C’est mon premier plugin donc je l’ai construit directement selon les règles en vigueur depuis WP 2.8. Mais as-tu essayé de l’afficher sans passer par le widget ?
Pour les connectés, on ne peut pas le faire avec ce plugin car les sessions ne sont pas gérées par la base de données. Du coup si on peut savoir lorsque quelqu’un se connecte, on ne peut pas savoir s’il l’est toujours après 5 minutes.
NotAlame gazouille :
le 12 septembre 2009 à 23:01
ok…
Pour ton plugin, je ne l’ai pas encore essayé
Pour le reste, je voulais savoir en general sans passer par ton plugin, connais tu une ptite recette??
Vio beugle :
le 15 septembre 2009 à 08:37
Bonjour,
j’ai installé le widget, mais ça n’a pas l’air de marcher chez moi… une piste?
merci!
Dric bafouille :
le 15 septembre 2009 à 09:24
@Notalame : ça doit exister, regarde du côté de Wp-Online peut-être.
@Vio : ça ne s’affiche pas ou ça n’a pas l’air d’enregistrer les évènements ?
Vio grommelle :
le 15 septembre 2009 à 09:27
Ça s’affiche, effectivement, mais ça n’enregistre pas les événements.
Dric gazouille :
le 15 septembre 2009 à 09:41
Oups, je crois que j’ai merdé quelque part en fait. Je corrige ma boulette et je mets en ligne la correction dès que possible !
Vio éructe :
le 15 septembre 2009 à 09:48
chouette
tu nous tiens au courant?
Dric oinche :
le 15 septembre 2009 à 11:44
Ca y est, la version corrigée est en ligne !
macbidule brait :
le 20 septembre 2009 à 12:58
Bonjour
J’ai un Problème, J’ai un site sur OVH et l’insertion de dans un article ne fonctionne pas (mais le widget fonctionne)
Et un autre site chez free et l’insertion dans ce cas fonctionne
J’utilise exe-PHP dans les 2 cas
Une incompatibilité avec OVH est’il possible ?
Merci et bravo pour un première extension
Dric marmonne :
le 21 septembre 2009 à 08:43
Damn !
Je suis sur 1&1 pour ma part, mais je n’ai pas essayé l’insertion au travers d’un article avec exe-php. Tu peux peut-être essayer en créant un modèle de page.
Je compte créer une page d’archives dans une prochaine version du plugin, ce qui répondrait à ton besoin.
Trem_r marmonne :
le 23 septembre 2009 à 11:03
Bonjour et merci pour votre plugin, j’ai besoin de WP-activity pour surveiller l’activité de mes utilisateurs, essentiellement l’édition de pages, malheureusement, je ne comprends pas pourquoi mais il ne prends en compte que l’activité de login, et rien au niveau de l’ajout/edition de page ou article. Je regarde la base wp_activity, et celle-ci ne comprend que les connexions. Ma version de WP = 2.8.4
Dric bave :
le 23 septembre 2009 à 11:56
Je viens de publier la version 0.4, essaie avec celle-là (ça devrait prendre 20 minutes max pour qu’elle paraisse sur les plugins de WP.org).
Lorsque toi tu édites une page ou un article, ça n’apparait pas non plus ?
(j’avoue honteusement que mes tests se limitent à un seul blog, donc c’est pas toujours optimal)
Trem_r oinche :
le 24 septembre 2009 à 18:36
Je viens de tester en désactivant tous mes plugins, toujours pareil, seules les activités de login sont prises en compte, je vais tenter sur une installation fraîche de WP pour voir.
Dric bredouille :
le 25 septembre 2009 à 08:42
Attends, je crois bien que j’ai encore fait une boulette. La modif de profil et le login fonctionnent chez moi, mais pas le reste…
Je vais corriger ça, désolé de t’avoir fait trifouiller pour rien.
Nina_Tool bafouille :
le 26 septembre 2009 à 13:19
ce que je cherchais, merci
WP-Activity | Eklenti.net > Wordpress Eklentileri postillonne :
le 27 septembre 2009 à 09:49
[...] Eklenti Ana Sayfası [...]
Morticia bafouille :
le 23 juin 2011 à 14:05
I love this but is there anyway I can use it with the Mingle & Mingle Forum plugins…please!! ?
Dric brait :
le 23 juin 2011 à 14:31
Wp-activity makes use of WP actions to track events. But as Mingle Forum doesn’t seem to add actions to WP, I can’t track the plugin activity.
There is no easy solution to display forum activity in my plugin…
Morticia grommelle :
le 23 juin 2011 à 14:40
Oh that’s such a shame – I thought I’d finally found the solution I needed and your plugin looks great. Thanks for replying.
Pedro oinche :
le 13 juillet 2011 à 20:56
The ‘new link’ stat. What exactly is that tracking? When a user creates a link? Or clicks a link?
Dric bafouille :
le 15 juillet 2011 à 09:37
It’s tracking links added in the blogroll only.
Laurent brait :
le 2 août 2011 à 23:03
Hello !
Nice plugin
Would i be possible to link it to BuddyPress profile ?
Dric beugle :
le 3 août 2011 à 09:16
@Laurent (je présume que tu parles français, vu que ton site est en français) : Je n’ai pas BuddyPress. En fait, je pensais que BuddyPress proposait déjà un fil d’activité.
Laurent brait :
le 3 août 2011 à 10:03
Oui BuddyPress propose déjà un fil d’activité mais il ne présente pas tout à fait les mêmes éléments…
Dric postillonne :
le 3 août 2011 à 10:06
Et en fait ce serait pour faire quoi ? Intégrer l’activité de BuddyPress dans mon plugin, ou juste afficher le fil d’activité de mon plugin sur les profils BuddyPress ?
Laurent postillonne :
le 3 août 2011 à 10:22
Ce serait simplement que quand dans ton widget on clique sur le pseudo de l’internaute on puisse choisir de rediriger vers le profil qu’il a sous BuddyPress (exemple : http://www.oreille-malade.com/members/admin/ ) plutôt que le profil WordPress (ex : http://www.oreille-malade.com/author/admin )
(bon en disant ça je réalise bien que ce n’est pas grand chose à changer mais je ne touche pas au code, j’ai trop peur de faire des conneries
)
Dric grommelle :
le 3 août 2011 à 10:33
Je t’ai envoyé le fichier modifié par mail.
Siteland brait :
le 15 septembre 2011 à 03:21
Hello!
Thank you for the plugin and support.
I have one question.
I want that a user who is logged can see his own activity (I mean only his activity).
So, how could I show just activity of the logged user?
Thanx in advance!
Dric oinche :
le 19 septembre 2011 à 10:12
Hi,
Do you want it displayed in a widget or in a page ?
In your template file, you can try to add :
< ?php act_stream_user($user_ID) ?>Siteland gazouille :
le 19 septembre 2011 à 11:15
Hi!
Thanx for the answer.
I’m trying inserting it in a widget but maybe could insert it in a page too.
I need that each user to see their own activity so this should get the user ID of the user logged automatically.
Dric bredouille :
le 19 septembre 2011 à 12:01
I will try to write a new widget for the next version that displays the logged user own activity.
But what should I display when a visitor is viewing a page where the widget is displayed ?
Siteland brait :
le 19 septembre 2011 à 13:25
For guests maybe show logs only of last posts or something like that.
Siteland éructe :
le 20 septembre 2011 à 12:09
Wow!
It works. Thank you so much
What can I do to download the info that is getting?
Dric gazouille :
le 20 septembre 2011 à 15:32
You mean in a log file or a mail report ?
Siteland marmonne :
le 21 septembre 2011 à 17:21
I mean log file but mail report could be good too.
Atee brait :
le 13 février 2012 à 17:57
Why do I get a message that I have insufficient rights when I want to go to the settings page? I do have admin-rights.
Dric bredouille :
le 13 février 2012 à 18:09
Is it an update or a fresh install of the plugin ? If it’s an update, this could be a cache problem (pressing F5 twice should do the job).
If not, please try to delete plugin and reinstall it.
Emort gazouille :
le 15 février 2012 à 11:02
how about « Auto balcklisting ».. i see a lot of tryes to the admin accounts and always more then 5 attempts from the same ip before a new one is used–.-…
Atee gazouille :
le 17 février 2012 à 10:15
OK, problem solved. Thx.
Dric grommelle :
le 17 février 2012 à 11:10
@Emort : It will be added in next plugin release. Thx for the idea.
Gigio bafouille :
le 15 avril 2012 à 18:52
Hello, is it possible to implement a search field? I need to check users ip.
Gigio bave :
le 16 avril 2012 à 11:00
Hello again, i think that the users select filter is a bit heavy for a site with many users (11000+ in my case). Maybe using a search field, without populating the users select, will speed up the loading.
Dric grommelle :
le 16 avril 2012 à 18:43
Hi,
I will try to add a search field for next plugin version.
I couldn’t imagine when I added the user filter that my plugin would be used in a big site !
Julian oinche :
le 27 avril 2012 à 14:55
How can i make so the content in the widget update in ajax by itself… if a user is on the same page and don’t update the page, or go to anther page the content in widget aint updating. =(
it would be perfect with automatic ajax , so when something happen that content show up, like on Facebook… can i do this EASY some way? or an update button that JUST UPDATE THAT widget..?? please hep, thanks for gr8 plugin!
Dric bredouille :
le 27 avril 2012 à 15:25
Hi,
There is currently no auto-update or update button without refreshing the whole screen, but it’s a good idea.
I will add in next plugin version.
You could add AJAX refreshing by yourself, but I’m not sure this could be called EASY way. If you are not in a hurry, I suggest you wait until the next plugin version.
Julian gazouille :
le 27 avril 2012 à 15:27
ok when will next version come? if i pay you, can you do this for me today?? I’m in a little hurry, and how much will it be then? thanks man!
Dric bave :
le 27 avril 2012 à 15:32
I’m sorry, but I can’t do it now (even if you pay me !). I will move to a new house this week end, I won’t have time to put hands on a keyboard…
I will probably write it at the beginning of the next week, I will send you the beta as soon as I will finish it.
Julian bredouille :
le 27 avril 2012 à 15:36
OH okay, thanks man, your plugin is the BEST in WP! And with ajax it will be sooo cool! Two more question:
Is there some way i can make the border white around the widget? its 1px gray now i think, and my page is white it would be nice… where do i change that? =)
I also want to translate it to swedish but don’t know how, can u tell me how?
Thanks again for gr8 plugin!
Dric beugle :
le 27 avril 2012 à 15:43
For the border, you should copy wp-activity.css to your theme, edit the copied file and change « border: 1px solid #CCC; » in line 5. If you don’t want the border at all, just delete the line.
Copying the css file avoid your modifications being erased by a plugin update.
For the translations : if you are on Windows, you will have to download Poedit and edit the wp-activity.pot with this software. Save your translated file as wp-activity-sv_SE.po. This will also generate a .mo file with the same name. Zip it and send it to me, that’s all !
Julian bafouille :
le 27 avril 2012 à 17:04
Oh many thanks!!! gr8! Can i after i send it to you also put the swedish translate in my plugin folder? so i can use it swedish now?
Julian bave :
le 27 avril 2012 à 17:08
when i put the css in my theme css and edit it there it docent change…. what am i doing wrong?
Dric beugle :
le 2 mai 2012 à 15:35
Do you have buddypress or a child theme ? You may have put wp-activity in the wrong template dir.
If you have translated my plugin in swedish, you can put your translate files in wp-activity/lang.
Casual brait :
le 4 mai 2012 à 18:11
Dude, you need to learn this little trick: « LIMIT $act_number », and not select the whole database in act_stream_common function and then break the loop when $i > $act_number!
Just get what you need not all the database, duh…
Dric beugle :
le 9 mai 2012 à 09:06
@Casual : Indeed, this is not very clean. In the firsts versions of the plugin, the data returned by the query was not necessarily displayed, but not now. I will change that.
Thanks for the trick !
Mesas oinche :
le 11 mai 2012 à 06:10
Hi,
I have just downloaded and installed your plugin. Is it possible to import previous data for activity, like prev login, prev post and comments? As the data now only is showing from today and forwards.
If its possible please send instructions so stat can be showing all history as well!
Regards/Per
Mesas bafouille :
le 11 mai 2012 à 06:17
Hi again,
When your plugin is displayed front end then its not in line with the Twenty Eleven theme. Can you please adjust so the info widgets is in line with this theme?
Dric gazouille :
le 11 mai 2012 à 08:49
I could make import for posts and comments creation, but not for other things like previous login. And this could not be very accurate.
I will look at the integration with Twenty Eleven theme.
Mesas brait :
le 11 mai 2012 à 09:13
Thxs for your quick respond, when do you think we can har the importfunction ready for posts and comments?
Mesas marmonne :
le 13 mai 2012 à 08:48
Hi,
I found away to get the widget to be inline with Twenty Eleven. I changed css in my child to have the max witdh 250 px instead of 350 px.
Now I have a translation problem which I have mailed you already about. In graph for stat the month and in tooltip the month and day is not translated into Swedish. I think its a js problem where you havent stated any translation for this part into the .po + .mo files.
Mesas beugle :
le 13 mai 2012 à 09:00
Also a bugg was found into the logg, headings for User wasn’t translated as ‘wp-activity’ was missing:
in wp-act-admin.php row 342
Dric bave :
le 14 mai 2012 à 08:47
All the things untranslated should be present in your general WordPress translation file. That’s why these strings don’t have ‘wp-activity’ domain, as it uses (for you) sv_SE.mo in wp-content/languages/ of your WP blog.
Mesas grommelle :
le 14 mai 2012 à 10:53
The general lang-files seems not to be used by your plugin. I cant see anywhere that you have defined this. The only part I can see is that lang is defined specific to wp-activity domain or have I missed something??
Dric oinche :
le 14 mai 2012 à 14:03
This is loaded automatically by WordPress. But I tested and I have the same bug. I will fix it.
For the tooltip, I can’t translate the date strings (or I don’t know how to do it).
Mesas bredouille :
le 14 mai 2012 à 21:01
Ok, I might fix the tooltip if you give me a hint where you have the code for that part. Give me even a hint where in your code the month comes from into the graphs.
Dax bredouille :
le 15 mai 2012 à 17:51
Having some problems: ‘normal’ installation (both auto and manual) results in WP (v3.3) crashing: gives 503 error in IE and blank page in Firefox.
Can get it to « work » via Manual file-by-file install – except that I don’t get any info: activity views are empty, and options page only half-works.
Any ideas what could be causing this, and/or workaround?
Dric postillonne :
le 16 mai 2012 à 09:25
Hi,
I’m sorry, but I don’t see what could be wrong. It may be a conflict with another plugin.
If you want, could you try to deactivate all your plugins and activate only wp-activity ? If it works, then reactivate other plugins one by one to find which one is conflicting with wp-activity. After that I will be able to check where is the problem.
Thx.
Dax grommelle :
le 16 mai 2012 à 13:29
Thanks for response: I tried as you suggested, but even with all other plugins disabled, WP Activity still crashed server.
Tried again on another server, and have traced it down to a Synology(NAS)-specific version of WordPress, which has a custom implementation of get_home_path() in file.php.
By commenting out the Synology customisations, I now have the plug-in working – though I don’t know what side effects this may have (I’ll raise with Synology).
Why this only happens with WP Activity is another mystery…
usermax beugle :
le 13 juin 2012 à 14:49
bonjour,
Je voudrait que la page, Statistiques et Activité des membres soit lisible pour les Éditeurs et pas que les admins.
merci de bien m’expliquer la marche à suivre.
Cordialement
julien
Dric oinche :
le 13 juin 2012 à 15:48
Bonjour,
Il doit être possible d’avoir des permissions séparées pour chaque entrée de menu.
Dans wp-act-admin.php, cherche la fonction act_admin_menu() (ligne 47) et trouve les lignes ci-dessous :
add_menu_page('WP-Activity', 'WP-Activity', 'administrator', 'act_activity', 'act_admin_activity', 'div');
$act_log_page = add_submenu_page( 'act_activity' , __('Activity Log', 'wp-activity'), __('Activity Log', 'wp-activity'), 'administrator', 'act_activity', 'act_admin_activity');
$act_stats_page = add_submenu_page( 'act_activity' , __('Activity Stats', 'wp-activity'), __('Activity Stats', 'wp-activity'), 'administrator', 'act_stats', 'act_admin_stats');
$act_admin_page = add_submenu_page( 'act_activity' , __('WP-Activity Settings', 'wp-activity'), __('WP-Activity Settings', 'wp-activity'), 'administrator', 'act_admin', 'act_admin_settings');
Il suffit de remplacer ‘administrator’ par ‘publish_post’ dans les trois premières lignes (la dernière étant le paramétrage du plugin).
usermax postillonne :
le 14 juin 2012 à 12:05
Super merci
surtout pour la rapidité.
mais maintenant elle n’apparait plus pour les admins.
merci super plugins
usermax bave :
le 14 juin 2012 à 12:08
et j’ai oublié il me dit que je n’ai pas le droit d’afficher la page pour les admins et les editeurs
usermax oinche :
le 14 juin 2012 à 12:59
et encore une petit question est-il possible de voir les utilisateur connecté à l’instant T ou on vas sur la page.
merci
Dric postillonne :
le 14 juin 2012 à 14:30
Crotte. Pourrais-tu essayer avec ‘editor’ à la place de ‘publish_post’ ?
Pour les utilisateurs connectés à l’instant T non, car ce n’est justement pas de l’instantané. Il n’y a pas moyen de savoir quand un utilisateur n’est plus sur le site (pas avec mon plugin en tout cas, mais il existe des plugins qui le font).
Dric grommelle :
le 14 juin 2012 à 14:39
Ah, et il faut bien changer la ligne avec add_menu_page, vu que c’est là que se crée le menu (les autres lignes sont pour les sous-menus).
per gazouille :
le 17 juin 2012 à 20:57
Hi,
Stat is not working since I upgrade WP to version 3.4. Ghraph is not showing up. Logging is working so data is available. Can you see if your plugin needs to be updated to support WP 3.4?
Per
Per brait :
le 17 juin 2012 à 23:45
Issue found, it was an other plugin which caused a javascript error so page wasn’t loaded correctly. I have also tested yout 1.9.3 and its working fine in all parts.
Best regards, Per
nelson postillonne :
le 24 juin 2012 à 12:09
Hi,
Great plugin you have here! But how it’s possible with the widget to show only the new activity related do posts or pages?
best,
nelson
Dric grommelle :
le 27 juin 2012 à 15:25
Hi,
You mean display only posts or pages events, or display events related to the currently displayed post or page ?
nelson grommelle :
le 27 juin 2012 à 15:48
im’s sorry Dric, my comment wasn’t clear. Not related to the currently post/page displayed. Your plugin give activity to login status, posts, pages, etc. And what i’m asking is if the widget can show activity only for the posts or pages?
Best,
nelson
nelson grommelle :
le 27 juin 2012 à 16:56
oh, just one more thing or a kind of feature requeste
- new activity (uptaded os recent posts(pages/comments) only for login users, and only also since last login.
best,
nelson
Dric grommelle :
le 28 juin 2012 à 08:58
You can set what events you want to log in settings page, under ‘Events logging and feeding’ tab.
You can display a widget only if user is logged in (I don’t remember if this is done by a plugin or by modifying your theme).
And under ‘Display options’ tab, you can highlight activity logged since last login.
Stefan bafouille :
le 14 juillet 2012 à 13:57
Salut!
First of all: Thanks for this plugin, it’s exactly what I searched for.
BUT: There’s a problem with the activity date. It seems that the plugin uses neither the time of WordPress nor the time of the server.
Does it get it’s time from « the_time() »?
My timezone is « Berlin – UTC/GMT +2 hours », so it’s actual 13:54, the plugin shows 11:54.
What can I do? I tried to inspect the script files, but I didn’t find anything…
Many thanks in advance and best regards,
Stefan
Dric bafouille :
le 16 juillet 2012 à 14:42
@Stefan : I don’t know why, but with some servers timezone is messed up.
Could you look in your database, in wp_options table and see if the two timezone related fields are set (timezone_string and gmt_offset) ? I guess that if only one of them is set then all work perfectly, but if the two are set it bugs.
Stefan beugle :
le 16 juillet 2012 à 16:04
Hey Dric,
I checked it and gmt_offset isn’t set. So option_value is emty. Now?
Dric bave :
le 17 juillet 2012 à 08:45
So timezone_string should be Europe/Berlin I guess.
Do you know what version of php you have ? I use a function that needs php > 5.2.
Stefan oinche :
le 17 juillet 2012 à 09:52
Yes, it’s Europe/Berlin. And my PHP version is 5.3.13.
Dric bave :
le 20 juillet 2012 à 09:39
Could you try to install v2.0 alpha 2 of my plugin (available here : http://downloads.wordpress.org/plugin/wp-activity.zip ) ?
I used another way to get wordpress timezone setting.
Dave grommelle :
le 10 septembre 2012 à 16:03
Hello,
I am using the Profile Builder plugin as well as the wp-activity plugin. If I udpate one profile field wp activity will output an update message for each of my custom fields.
Any idea how to fix this bug?
Thanks
Dave
Gaston postillonne :
le 17 septembre 2012 à 21:22
Hi Dric, WP-Activity plugin is very useful for me! Thanks so much for your great work!
I know you are working on v2.0. I don’t know if this is the right place but, I’d like to suggest you some improvements you can study the feasibility for future releases.
1 – Support for BBPress: New/Edit Forum, New/Edit Topic, New/Edit Reply.
2 – Action Hook in act_prepare: to include custom Activities, like a « user creates a new custom post type », etc.
3 – Ajax to retrieve old activities: Include a button at the end of the activity stream list on front end to retrive X (configurable quantity) old activities.
4 – Ability to change the images in the Activity list from images to Font Awesome http://fortawesome.github.com/Font-Awesome/. I know, I can change the images, but I’m working with this symbol font because they are more flexibles with Responsive design (for retina display)
5 – Enable/disable the kind of activity items to show in the frontend.
Thanks again
Gaston
Gaston brait :
le 17 septembre 2012 à 21:49
I forgot one,
6 – Add Edition/Moderation links in the back end Activity log. For example, if we have a post addition, then, display the same links we have in the Admin / Posts list: Edit|Quick Edit|Trash|View. If we have a comment add then, display the moderation links: Unapprove|Reply|Quick|Edit|Spam|Trash. The same way for BBPress components.
Thanks!
Gaston bafouille :
le 17 septembre 2012 à 23:07
I suggest you use pull to refresh instead of configurable timing (used for Ajax refresh in V2.0 alpha2). http://cubiq.org/dropbox/iscroll4/examples/pull-to-refresh/
Thanks and regards
Dric postillonne :
le 24 septembre 2012 à 08:35
Hi Gaston,
Thx for the suggestions !
I have unfortunatly no time to work on my plugin now. But I will implement your ideas as soon as I will get some free time.
per beugle :
le 18 octobre 2012 à 07:02
Hi Dric,
I have notice a small css margin in admin-settings on the top which caused a 15px top margin, I changed .wp-activity_page_act_admin marging to be 0 0 0 0 and that solved the white space directly under adminbar.
Just for you to change if needed.
Per
per oinche :
le 18 octobre 2012 à 07:05
When are you planning next 2.0 to be released?
Per
Charles Jaimet brait :
le 27 novembre 2012 à 20:22
Merci pour ce plugin. Je viens de l’installater et ca marche tres bien. J’aimerais ajouter l’information sur chaque post dans l’admin, afin de pouver voir qui a modifier le post recemment. Est-ce que cette fonctionalite existe deja? Comment l’activer?
Andreas gazouille :
le 19 décembre 2012 à 17:31
Hi After the update to WP version 3.5 appeared some. problems with WP Activity ver 1.9
I have warning code:
Warning: Missing argument 2 for wpdb::prepare(), called in D:\Domains\LocalUser\esvas.se\wp-content\plugins\wp-activity\wp-act-admin.php on line 285 and defined in D:\Domains\LocalUser\esvas.se\wp-includes\wp-db.php on line 990
At the same time appeared another problem all content automatically deletes log activity each day
Please can you answer how can I fix that problems
Regards Thanks Andreas