| Author |
Message |
disgruntledtech
Site Admin


Joined: Apr 14, 2003
Posts: 994
Location: Tulsa, OK
|
Posted:
Sun Nov 16, 2003 1:15 am |
  |
got some more work done
what the admin sees
what the user sees
the admin can edit the message accordingly (add comments/expletives etc)
of course, nothing is finalized and everything can be edited later in lang-*.php
user reactivation is working with no modifications to the your_account module but it has no output for errors (wrong code, user is no longer suspended, user has been deleted since suspension)
and BTW, remember since email is working now -if you want to test PLEASE change the email to one of yours before you!! |
|
|
     |
 |
foxyfemfem
Support Staff


Joined: Jan 23, 2003
Posts: 668
Location: USA
|
Posted:
Sun Nov 16, 2003 5:41 am |
  |
Hello,
Where can I download this add on? |
_________________ If you shoot for the moon and miss, you'll still be amongst the stars. |
|
   |
 |
hamesh
Support Mod


Joined: Feb 13, 2003
Posts: 170
Location: Canada
|
Posted:
Sun Nov 16, 2003 11:24 am |
  |
Can you set it up so emails are sent directly to to an SMTP server, rather than using the PHP mail function? Or give admins a choice? If a person suspends a large number of users, it will take a long time to send using PHP mail, and the script could easily timeout. Sending a large number of messages directly to an SMTP server takes seconds, and it wouldn't case the script to time out.
I can test it if you like. I'm sure I have 50 000+ users to suspend. Perhaps more... |
_________________
 |
|
       |
 |
disgruntledtech
Site Admin


Joined: Apr 14, 2003
Posts: 994
Location: Tulsa, OK
|
Posted:
Sun Nov 16, 2003 3:02 pm |
  |
foxy, i will link to the download in this thread when i get the script finished up.
hamesh, im not sure if diret communication with smtp is feasable(i've never done it) but i could probably write it so that it would send one message per ever 20 suspends using cc/bcc but i'll look into the best way to handle large groups soon.
suggestions are very welcome. |
|
|
     |
 |
hamesh
Support Mod


Joined: Feb 13, 2003
Posts: 170
Location: Canada
|
Posted:
Sun Nov 16, 2003 7:53 pm |
  |
I use MyMail (http://www.codingclick.com/scripts/MyMail/) for my mailing list. It uses the PHP mail function to send messages. After realizing that using the PHP mail function to send email to 160 000+ recipients just wasn't feasable, someone contibuted an update that sends mail directly through an SMTP server. The file that does the sending can be found at http://server1.belchfire.net/downloads/send.php.gz. It's heavily commented. Have a look at it. I'm sure you'll be able to make sense of it and might be able to apply the same techniques for an SMTP-send option for your suspend users system  |
_________________
 |
|
       |
 |
disgruntledtech
Site Admin


Joined: Apr 14, 2003
Posts: 994
Location: Tulsa, OK
|
Posted:
Sun Nov 16, 2003 8:25 pm |
  |
i took a look at that code but i think im trying to do a jigsaw puzzle thats missing a few pieces
| Code: |
include"smtp_mail.php";
include"mime_mail.php"; |
looks like theres more code there being included |
|
|
     |
 |
disgruntledtech
Site Admin


Joined: Apr 14, 2003
Posts: 994
Location: Tulsa, OK
|
Posted:
Mon Nov 17, 2003 2:16 am |
  |
just so that there is no confusion:
| Code: |
_________ _________ _______ _________ _______
\__ __/|\ /|\__ __/( ____ \ \__ __/( ____ \
) ( | ) ( | ) ( | ( \/ ) ( | ( \/
| | | (___) | | | | (_____ | | | (_____
| | | ___ | | | (_____ ) | | (_____ )
| | | ( ) | | | ) | | | ) |
| | | ) ( |___) (___/\____) | ___) (___/\____) |
)_( |/ \|\_______/\_______) \_______/\_______)
______ _______ _________ _______ _ _ _ _ _ _ _
( ___ \ ( ____ \\__ __/( ___ )( )( )( )( )( )( )( )
| ( ) )| ( \/ ) ( | ( ) || || || || || || || |
| (__/ / | (__ | | | (___) || || || || || || || |
| __ ( | __) | | | ___ || || || || || || || |
| ( \ \ | ( | | | ( ) |(_)(_)(_)(_)(_)(_)(_)
| )___) )| (____/\ | | | ) ( | _ _ _ _ _ _ _
|/ \___/ (_______/ )_( |/ \|(_)(_)(_)(_)(_)(_)(_) |
http://www.voicesinmyhead.net/modules.php?name=Downloads&d_op=viewdownloaddetails&lid=31&ttitle=User_Management_Module_for_phpnuke_6.5+
Known issues as of this version:
--------------------------------
admins cannot unsuspend a user
admins cannot activate users in _temp
date suspended is not recorded in _suspend
suspended users get the regular "invalid login" when trying to login to nuke
not option to send email when account is deleted
possible javascript problems on browsers other than MSIE6.0 for pc or on browsers that dont support javascript -more testing needed
user reactivation working but not thoughly tested
sorry for the huge text, but since this script could potentially wipe out a good chuck of your site if something went wrong, i feel it is needed.
this module has the simplest install i have ever created but you should still read and understand the readme.txt
i credited you guys in the readme under 'Features Concept and testing' so that should give you an idea of what i expect  |
|
|
     |
 |
Lestat
Sergeant


Joined: Aug 31, 2003
Posts: 127
|
Posted:
Mon Nov 17, 2003 2:36 pm |
  |
Thanks Disgruntle I have jst installed on my site looking forward to suing your creation here. I will let you know of any bugs and what not. I and the restof the community really apreciate your dedicated time and effort for actually making this idea feasable. Again THANKS!!! You Da MAN! |
|
|
   |
 |
Lestat
Sergeant


Joined: Aug 31, 2003
Posts: 127
|
Posted:
Mon Nov 17, 2003 2:56 pm |
  |
OK in the suspend email that is sent out do i have to place my own links there? Or is automatically filled in? What would be the reactivation link? Also is there any way you just do a search just for accounts between january and may that were last accessed? instead of listing all the accounts that are active for the last 8 months or so. I mean catagorizing just all accounts that were last accessed lets say for the month of May, Can you parse just the accounts that were accessed in may instead of listing from now to since then. And also a select all button if that is possible if you can parse this data into one list. So far love the concepts you have achieved! fantasic work. |
|
|
   |
 |
disgruntledtech
Site Admin


Joined: Apr 14, 2003
Posts: 994
Location: Tulsa, OK
|
Posted:
Mon Nov 17, 2003 4:05 pm |
  |
| Lestat wrote: |
| OK in the suspend email that is sent out do i have to place my own links there? Or is automatically filled in? What would be the reactivation link? |
the links are put wherever you put the <--links--> -that way you can reprase the email and make it gentler/harsher or add comments
and selectall is implemented -just click the link at the top of the column |
|
|
     |
 |
Lestat
Sergeant


Joined: Aug 31, 2003
Posts: 127
|
Posted:
Mon Nov 17, 2003 9:54 pm |
  |
What would the reactivation link look like? |
|
|
   |
 |
disgruntledtech
Site Admin


Joined: Apr 14, 2003
Posts: 994
Location: Tulsa, OK
|
Posted:
Mon Nov 17, 2003 9:58 pm |
  |
|
     |
 |
disgruntledtech
Site Admin


Joined: Apr 14, 2003
Posts: 994
Location: Tulsa, OK
|
Posted:
Sat Nov 29, 2003 10:11 pm |
  |
|
     |
 |
Lestat
Sergeant


Joined: Aug 31, 2003
Posts: 127
|
Posted:
Tue Dec 02, 2003 1:46 pm |
  |
I just need to noarrow down which users have not been active from a certain month it shows from now to that one month is the drop down I choose. I need to select users from this one month to and month lets say from jan 1, 2003 to march 31, 2003 but if I do that it shows all accounts that are in active from today to those dates... hmmm maybe i did something wrong.... |
|
|
   |
 |
nukestud
Private


Joined: Mar 25, 2003
Posts: 38
|
Posted:
Sat Jan 10, 2004 4:46 am |
  |
|
    |
 |
|
|