Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

[iUNI] User Monitor v1.0-1.1

(Page 1 of 3)
> >
Quote Reply
[iUNI] User Monitor v1.0-1.1

RELEASED: USER MONITOR VERSION 1.0.0



Feature list coming soon. You get a pretty good idea from screen shots and discussions in the Editor Monitor -> User Monitor thread.

*** WARNING AND DISCLAIMER ***

I debated whether or not to release this at all, but since I put in 50 hours or so modifying and redesigning it from EM, I thought I would post it anyways.

There is a possibility of this plug-in either in part or in total being soaked up by the upcoming Gossamer Community. I am not privy as to what is going to be released with this community program so I don't know to what extent it would affect this plug-in. If you wish to have a form of user tracking and profile pages this could be the short or long term solution, depending on what GT is bringing out. There will not be any refunds for any reason, so you will have to weigh up the potential life of this plug-in yourself. Because of this I am willing to offer this plug-in at only $35 (it was planned to be sold at $45).

If you wish to purchase it, please private message me.

This plug-in will only be offered for sale for a short period of time.




http://www.iuni.com/...tware/web/index.html
Links Plugins

Last edited by:

Ian: Jul 23, 2002, 11:58 AM
Quote Reply
Re: [Ian] [PLUG-IN] USER MONITOR v1.0.0 In reply to
This will be a wonderful solution for those of us who are not planning on buying the Community...I suspect it will be more then I can afford. (Does anyone know how much it will be??)
Quote Reply
Re: [Ian] [PLUG-IN] USER MONITOR v1.0.0 In reply to

UPDATE





Ok, I have my first user of this plug-in which means I will be adding some features to it. In the short term I intend on adding the same dynamic profile pages that editor monitor recently received.

I have created a private download area for this plug-in for those who are interested. Wink

I have decided to put the price back upto $45 as soon as the next version comes out. So if you want to get in at $35, you had better hurry!


http://www.iuni.com/...tware/web/index.html
Links Plugins

Last edited by:

Ian: Jul 4, 2002, 8:33 AM
Quote Reply
Re: [Ian] [PLUG-IN] USER MONITOR v1.0.0 In reply to
BUYERS OF MY PLUGINS - PLEASE READ:

http://www.gossamer-threads.com/...i?post=204039#204039


http://www.iuni.com/...tware/web/index.html
Links Plugins
Quote Reply
Re: [Ian] [PLUG-IN] USER MONITOR v1.0.0 In reply to
A slightly updated version of User Monitor is now in the download area. Existing cutomers will already know what is in this.

I have adjusted the price as mentioned above, and UM can be bought directly off my website. See signature block below for URL.


http://www.iuni.com/...tware/web/index.html
Links Plugins
Quote Reply
Re: [Ian] [PLUG-IN] USER MONITOR v1.0.0 In reply to

IDEA



Depending on the amount of interest, and time I have to do it, I am thinking of adding a full user login tracking table. This means monthly login stats for each user will be available!

Per User

User:
Logins this month:

Overall

Total Logins this month:

The table would have an autopurge function which would allow you to specify the number of days after which records would automatically be removed. This keeps the tracking table from growing too large. For example 90 days.


http://www.iuni.com/...tware/web/index.html
Links Plugins
Quote Reply
Re: [Ian] [PLUG-IN] USER MONITOR v1.0.0 In reply to
Hi Ian,

Yes please, that sounds great.

Other things I would like:

- change the login success page to the user's profile page.

- ability to modify any of the fields in the user table rather than just the fields that have been added in the UserMonitor plugin - particularly the password. Could this be written so that the user can also modify any extra fields added outside the plugin, for example fields added in the mylinks plugin?

Thanks, Laura.
Quote Reply
Re: [afinlr] [PLUG-IN] USER MONITOR v1.0.0 In reply to
Hi Laura,

Great suggestions, and I will look at these as soon as a get a chance... probably another 2 or 3 days. I can't say that I will be able to put these in yet... but I will have a look at it for sure.

Thanks!


http://www.iuni.com/...tware/web/index.html
Links Plugins
Quote Reply
Re: [Ian] [PLUG-IN] USER MONITOR v1.0.0 In reply to
Ian, That's fine - I know you are extremely busy. Just thought I'd let you know in case you're doing some work on the plugin.

Thanks, Laura.
The UK High Street
Quote Reply
Re: [Ian] [PLUG-IN] USER MONITOR v1.0.0 In reply to

User Monitor 1.0.1

I have uploaded UM v1.0.1.

There are no new features or fixes for existing users. This fix only affects new installations.

Thanks.





http://www.iuni.com/...tware/web/index.html
Links Plugins
Quote Reply
Re: [afinlr] [PLUG-IN] USER MONITOR v1.0.0 In reply to
Quote:
change the login success page to the user's profile page.




I believe this can be done by passing a url to the user cgi file. Katabd made a suggestions similar to this for Editor Monitor, this being the code I included in the file:

print qq~Location: $CFG->{db_cgi_url}/user.cgi?url=$CFG->{db_cgi_url}/em_signup.cgi?do=signup\n\n~;

I am not sure if in this case you are requesting a code change, or if this can be solved by adding the url to the user.cgi in the hyperlink for your login. You may be able to inclde the edito name in the url path also by using a tag. If this does not work, or you have no idea what I am rambling on about here, then maybe I could look at a peice of code to do this in UM. Comments appreciated!

Quote:
ability to modify any of the fields in the user table rather than just the fields that have been added in the UserMonitor plugin - particularly the password.



I am going to look at adding the ability to modify (in addition to the UM fields):
  • Password
  • Name


from the Users table for the next update.


http://www.iuni.com/...tware/web/index.html
Links Plugins

Last edited by:

Ian: Jul 13, 2002, 9:21 PM
Quote Reply
Re: [afinlr] [PLUG-IN] USER MONITOR v1.0.0 In reply to
Ok, I have added it in. Now a user can update their Name and Password as well as the other UM fields.




http://www.iuni.com/...tware/web/index.html
Links Plugins
Quote Reply
Re: [Ian] [PLUG-IN] USER MONITOR v1.0.0 In reply to
Ok, version 1.1.0 is almost ready:
  • Full login tracking introduced. This allows monthy statistics etc.
  • Webmaster definable autopurge of tracking added. Default setting is 90 days.
  • Added monthly total logins to statistics for each user -> number is brackets (0)
  • Added total logins and total montly logins to the overall stats
  • Added Name and Password modification abilities for users
  • Added UserTracking table to the table editor



User Monitor Plug-in : Statistics


General Table Statistics:
Total Users: 3
-registered: 2
-not validated: 0
-administrators: 1
Total Rewards in Accounts: 35 ( 11.6667 on average, 25 maximum )
Total Logins: 0 (0)
Table Warnings:
Users without Email: 0

User Monitor Plug-in : All Registered Users


john
LOGINS: Logins: 3 (0) Last Login: 2002-07-08 17:13:41 2nd Last: 2002-07-07 18:18:22 3rd Last: 2002-06-30 21:59:54
REWARDS: Account Balance: 25 Date Last Paid: 2002-07-01 00:17:41 Amount: 5
OWNERSHIP : Links: 1 Reviews:
0



jerry
LOGINS: Logins: 3 (0) Last Login: 2002-07-14 00:49:57 2nd Last: 2002-07-06 18:51:40 3rd Last: 2002-07-06 17:52:51
REWARDS: Account Balance: 5 Date Last Paid: 2002-07-01 00:17:41 Amount: 5
OWNERSHIP : Links: 1 Reviews: 0



I'll make an announcement once the files are placed into the download area.




http://www.iuni.com/...tware/web/index.html
Links Plugins

Last edited by:

Ian: Jul 14, 2002, 9:10 AM
Quote Reply
Re: [Ian] [PLUG-IN] USER MONITOR v1.0.0 In reply to

Version 1.1.0 RELEASED

DOWNLOAD INSTRUCTIONS

There are two versions for 1.1.0. You must download the correct version otherwise the plug-in will not install, or errors will be produced upon install.

  • Initial Installation: Regular Download Area
  • Upgrade from 1.0.X: Regular Download Area/upgrade/UserMonitor.tar

If you are not sure of the exact download URL, please visit my private forum in the User Monitor thread.




http://www.iuni.com/...tware/web/index.html
Links Plugins
Quote Reply
Re: [Ian] [PLUG-IN] USER MONITOR v1.0.0 In reply to
Hi IAN

I think the users ability to modify their details should be extended to their whole profile ..

what I mean is if I have a custom fields in the users files like (banner, header...) I want the users to be able to modify all of those..

That should be easy to do and the admin can define which fields they can modify (see my users plug in in the download area)..

This is a very wanted feature I think (over 115 downloads to my plug in.. with several sites using it regardless of its limited cababilities, No payments though Mad as usual..) and you are welcome to use my plug in codes free.

That will be a very nice add on to your users monitor..

just a suggestion.. Wink
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory
Quote Reply
Re: [katabd] [PLUG-IN] USER MONITOR v1.0.0 In reply to
Thanks for the suggestion. I'll add it to my list of things to look at.Smile


Edit:
Quote:
No payments though Mad as usual
Perhaps you should consider making it a commercial version, with its own download area :) But this is a topic seperate to this thread.


http://www.iuni.com/...tware/web/index.html
Links Plugins

Last edited by:

Ian: Jul 14, 2002, 9:26 AM
Quote Reply
Re: [Ian] [PLUG-IN] USER MONITOR v1.0.0 In reply to
Hi Ian,

Thanks for taking a look at this. I did think about using the redirect, however, I can't see an easy way of getting the username which is needed for the profile page. I do remember reading somewhere that it is possible to change the login success page using a pre hook on user_login which is what I'm trying to do but I'm not getting very far!

Laura.
The UK High Street
Quote Reply
Re: [afinlr] [PLUG-IN] USER MONITOR v1.0.0 In reply to
Hi Laura,

Perhaps a slight code change will do this... i'll have a look and post back shortly.Wink


EDIT: Good, my server just came back on.

This is how you can use the user.cgi to re-direct a user after login:

print qq~Location: $CFG->{db_cgi_url}/user.cgi?url=$CFG->{db_cgi_url}/em_signup.cgi?do=signup\n\n~;

So on your webpage try:

<a href="http://yoursite.co.uk/cgi-bin/user.cgi?url=http://www.yoursite.co.uk/users/profiles/<%Username%>.html">Login</a>

I am not sure if the <%Username%> tag is right... but the idea is there. Let me know if that does not work, I have not tried it.


http://www.iuni.com/...tware/web/index.html
Links Plugins

Last edited by:

Ian: Jul 14, 2002, 12:08 PM
Quote Reply
Re: [Ian] [PLUG-IN] USER MONITOR v1.0.0 In reply to
Hi Ian,

Thanks for the reply. I can't see how the <%Username%> tag can be filled in before the user has logged on? This is why I gave up on this way of doing it. I'm pretty certain now that it can't be done with a plugin either so it looks like I'll just have to hack the Login.pm file. Unless you have any more ideas?

Thanks,

Laura.
The UK High Street
Quote Reply
Re: [afinlr] [PLUG-IN] USER MONITOR v1.0.0 In reply to
Quote:
I can't see how the <%Username%> tag can be filled in before the user has logged on?


Very good point.

The action has to come once they have logged in.

There are hooks:
  • handle_login
  • site_html_login
  • user_login <<< maybe a post hook here
  • site_html_login_success <<< perhaps this is the one!


I found these by looking though the hooks.cfg file.

Perhaps when you use the plug-in wizard you could see which of these are on offer, and then make a POST hook if appropriate .... (this would then have the Username in the args). You could replace the function perhaps with the STOP also....

Maybe that helps


http://www.iuni.com/...tware/web/index.html
Links Plugins
Quote Reply
Re: [Ian] [PLUG-IN] USER MONITOR v1.0.0 In reply to
Hi Ian

I finally got something that works!

I created a pre hook on site_html_login_success:

Code:


my $hashref=shift;
use LWP::Simple;
my $url = "http://www.mysite.com/...href->{'Username'}";
my $content = get($url);
print "$content";

GT::Plugins->action ( STOP ) ;


I couldn't think of a way to do a simple redirect because the headers have already been set. But at least this is working finally. Thanks for the help.

Laura.
The UK High Street
Quote Reply
Re: [afinlr] [PLUG-IN] USER MONITOR v1.0.0 In reply to
Hi,

For the sake of consistency you might want to use GT's module...

Code:
require GT::URI::HTTP;
print GT::URI::HTTP->get("http://www.mysite.com/cgi-bin/um_profile.cgi?en=$_[0]->{'Username'}");
GT::Plugins->action( STOP );
Quote Reply
Re: [afinlr] [PLUG-IN] USER MONITOR v1.0.0 In reply to
Excellent Laura!

(Thanks Paul)


http://www.iuni.com/...tware/web/index.html
Links Plugins
Quote Reply
Re: [Ian] [PLUG-IN] USER MONITOR v1.0.0 In reply to
Ian,

Now that I have this working, I'm keen to get my profile pages up and running. So, a few points:
  • My UM_UserSince column doesn't seem to be working - there are no entries
  • Please can I have access to all the fields in my Users table in the profile page and the modify page?Smile I don't mind doing this if you don't have time, let me know. I don't want to work on it if you're fixing it already. I assume its not too complicated.
  • Is the UM_Status field supposed to be blank? I assume this is for the admin to fill in?
  • EDIT: Just remembered another! Please can we have the modify success page template based?


Thanks a lot Ian. This was a much needed plugin and will make a huge difference to my site.

And thanks for the tip Paul.

Laura.
The UK High Street

Last edited by:

afinlr: Jul 15, 2002, 11:24 AM
Quote Reply
Re: [afinlr] [PLUG-IN] USER MONITOR v1.0.0 In reply to
Hi Laura,

Quote:


My UM_UserSince column doesn't seem to be working - there are no entries


Hmmm, this is modeled after EM, for which this column is manually filled in. Thanks, I will add it in to make it auto.
  • Quote:
    Please can I have access to all the fields in my Users table in the profile page and the modify page?Smile I don't mind doing this if you don't have time, let me know. I don't want to work on it if you're fixing it already. I assume its not too complicated.


    I haved added the Name, and Password... you will be able to follow what I have done, so you can do the same for your custom fields if you like.

    Quote:


    Is the UM_Status field supposed to be blank? I assume this is for the admin to fill in?


    Yes, this is a custom field to use for what ever you like. It was borrowed from EM also... where you have different levels of Editor, you could do the same for your users... and base certain tags upon it. I just added it in, so everyone has the same thing (in case they might not no how to do one themselves). I have no actual plans of using this column than I can think of.


  • Did you upgrade to 1.1.0 yet?


    http://www.iuni.com/...tware/web/index.html
    Links Plugins

    Last edited by:

    Ian: Jul 15, 2002, 11:28 AM
    > >