Topics

User Functions

Events

There are no upcoming events

What's New

Stories

No new stories

Comments last 2 weeks

No new comments

Trackbacks last 2 weeks

No new trackback comments

Links last 2 weeks

No recent new links

NEW FILES last 14 days

No new files

Welcome to Geeklog Thursday, May 23 2013 @ 10:13 AM EDT


 Forum Index > Extensions > Plugins New Topic Post Reply
 Gmail
First | Previous | 1 2 | Next | Last
   
wlparks
 09/10/03 10:29AM  
++---
Junior

Status: offline


Registered: 02/21/03
Posts: 24
well I've made plugins before, but I just didn't think there would be another situation like ours. If more people ask I will do it, not sure if I can though is there a hook for plugins once you login?

Anyway if you want to attept to replicate what I did I can try to explain here how I accomplished it.

1. Installed the autologin plugin for sm http://www.squirrelmail.org/plugin_view.php?id=33 this plugin stores the username and password in a highly encrypted cookie, better then anything I would of made up.
2. Once you login to geeklog mine is in the default switch in users.php(not sure how much I really edited this), I just added the part for making a encrypted cookie. Code is as follows(just stole this out of the functions.php that came with the autologin plugin).
PHP Formatted Code

       function MD5Keycrypt($txt,$key)
       {
                for ($i=0,$j=0,$val='',$key=md5($key),$keylen=strlen($key),$txtlen=strlen($txt);$i


Thats all I had to do, if you have any questions let me know. I know this might not be the cleanest or most diffucult way to do it but it works for us and it appears to be pretty secure, I mean look at that encryption on the stuff :-p

 
Profile Email
 Quote
wlparks
 09/10/03 10:32AM  
++---
Junior

Status: offline


Registered: 02/21/03
Posts: 24
I also have another hack that will display how many new emails you have once you login to geeklog, I will post a screenshot of that later today if anybody wants to see how cool it is Smile

 
Profile Email
 Quote
destr0yr
 09/10/03 10:02PM  
+++++
Full Member

Status: offline


Registered: 07/06/02
Posts: 324
Quote by wlparks: if anybody wants to see how cool it is Smile


i\'d love to see it.

-- destr0yr "I love deadlines. I like the whooshing sound they make as they fly by." -- Douglas Adams
 
Profile Email Website
 Quote
wlparks
 09/11/03 05:05PM  
++---
Junior

Status: offline


Registered: 02/21/03
Posts: 24
This is the header once you login.

http://www.catt.com/~wparks/images/CattMail.jpg

 
Profile Email
 Quote
ScurvyDawg
 09/11/03 11:50PM  
+++++
Full Member

Status: offline


Registered: 11/06/02
Posts: 523
Very cool .... NICE!!!!! Mr. Green

 
Profile Email Website
 Quote
Euan
 09/20/03 12:05AM  
+++++
Full Member
full

Status: offline


Registered: 04/22/02
Posts: 292
Just to keep you informed...I\'m using Gmail as my mail reader at the moment. It still doesn\'t have a working compose/send function yet, although all the basic bits are there (just haven\'t got round to fitting them together yet). Works fine for multiple POP3 accounts, and stores incoming mails in the folder you define for each account (can also be the same folder of course).

I\'m working on a filtering system, but my logic is not right yet (you can create rules to compare a string against parts/all the email as it is downloaded, and if a match is found, the mail is sent to a particular folder specified in the rule instead of the default for that account). When that is going properly, I\'ll get the compose working.

Also need to incorporate google style page navigation as you could get looong pages right now! Another bit of GL source I can steal... Mr. Green

-- Heather Engineering -- No job too small
 
Profile Email Website
 Quote
First | Previous | 1 2 | Next | Last
Content generated in: 0.45 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Able to post 
Filtered HTML Allowed 
Censored Content