vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   [RELEASE] Private Messaging Hack (v0.9) !!!!!!! (https://vborg.vbsupport.ru/showthread.php?t=1095)

06-19-2000 05:03 PM

Does anyone have this hack installed with an indicator on the main forum page showing that the member has a new message waiting?

Thanks,
Parker

06-19-2000 06:57 PM

Parker,

I have a little truck that changes from black to yellow when there is a new message waiting. It also informs the user through a text message.

You can see it at: http://www.explorerforum.com

06-21-2000 05:13 PM

I installed the hack on 1.1.3beta2 and it seems to be working ok! No dreaded "we have mailed the technical contact' emails yet. :)

06-21-2000 06:37 PM

Parker - I think you mean your <img> tag was blank.

Yeah, that was a typo in pmloggedin. Just change it to this: <img src="$lightbulb">

06-22-2000 03:15 AM

Some requests for a future version:

Receipt Notification (notify sender that recepient read message)

Make a folder with an R or such so that we know we responded to a specific message

If there are no messages in your folder it says "Last message from" and then nothing, have this say 'nobody' or such. Should only do this if I have never received a message (see below)

If I delete all of my messages it should remember who my last message was from and reflect that in the "Last Message from"

06-22-2000 05:57 AM

Quote:

If I delete all of my messages it should remember who my last message was from and reflect that in the "Last Message from"
That's a pretty major table change, to either store the userid in an additional column in the user table (quite possible) or an additional table (possible, but overkill). I'll think about it :)

"Last message from (blank)" - that was just an over sight on my part. Pretty easy fix.

Anyway, everything you basically suggested it quite possible. I'll look into them.

06-22-2000 07:07 AM

Thanks, I think just adding a field that stores the ID of the last message user would be fine.

The hack is great and my users love it.

Oh yeah would it be possible to get some sort of stat function in the CP that would say

25 IM's sent today, 350 total ever sent.

Something so I can make sure that the IM isn't taking over message posting. I know this would be 2 more fields and would require another table. I am currently looking at the sent & received tables but I'm not comfortable seeing what everybody has sent when it is 'supposed' to be private.

06-22-2000 12:33 PM

Question - I use 1.1.3beta2 and it says everyone registered in 1969 - what do I change to fix this?

06-22-2000 12:39 PM

Rangersfan - here is what Ed posted about the date problem earlier in this page:

Originally posted by Ed Sullivan
RE: The Date Problem

Quite a simple fix actually, in private.php, find: (line 146)
Code:

$userinfo=$DB_site->query_first("SELECT userid,email,username,usertitle,signature,showemail,homepage,icq,aim,yahoo,UNIX_TIMESTAMP(joindate) AS  joindate,posts FROM user WHERE userid=$userid2");
Replace with:
Code:

$userinfo=$DB_site->query_first("SELECT userid,email,username,usertitle,signature,showemail,homepage,icq,aim,yahoo,joindate,posts FROM user WHERE userid=$userid2");


[Edited by bira on 06-22-2000 at 09:40 PM]

06-22-2000 01:08 PM

Thanks I looked at every post but I guess I missed that one. :eek:

The line was already there commented out so I just switched the two around.

[Edited by rangersfan on 06-22-2000 at 10:15 PM]


All times are GMT. The time now is 05:08 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01222 seconds
  • Memory Usage 1,735KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete