Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 12:21 am EST
Geeklog Forums
Gmail
Page navigation
Status: offline
wlparks
Forum User
Junior
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).
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
Text Formatted Code
function MD5Keycrypt($txt,$key)
{
for ($i=0,$j=0,$val='',$key=md5($key),$keylen=strlen($key),$txtlen=strlen($txt);$i
27
22
Quote
Status: offline
ScurvyDawg
Forum User
Full Member
Registered: 11/06/02
Posts: 523
Very cool .... NICE!!!!!
20
21
Quote
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...
-- Heather Engineering
-- No job too small
-- Heather Engineering
-- No job too small
25
25
Quote
Page navigation
All times are EST. The time is now 12:21 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content