vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Mini: Link Directly to PM in Email Notification (https://vborg.vbsupport.ru/showthread.php?t=34357)

fury 02-08-2002 12:56 PM

You sure you didn't add it after the query inside if ($savecopy) { }? The queries do look very similar at the beginning

If your users do not elect to save copies of their private messages, then this hack would not work, if that's where you added them. You have to add them in the query that is right after this line:

// enhanced - added $receipt to insert

Thanks for the great hack, Commish! :D

NYI Fan 02-15-2002 10:05 PM

This is GREAT! Thank you!

TWTCommish 02-15-2002 11:08 PM

No problem -- I'm glad you like it. :) I find it highly useful...so I figured others would as well. BTW: this could be modified slightly to include, say, the title and time sent along with the username and link. Wouldn't be too tough, I don't think.

tanster 03-03-2002 11:09 PM

Wonderful. Thank you!

:) Jennie

tanster 08-04-2002 08:53 PM

Quote:

Originally posted by X-Fan
I've installed this and it seemed to work okay but now I've gotten a bunch of e-mails notifying me of PM's that didn't have the privatemessageid number in the URL so leads to an error page when you click it.
I encountered the same problem, and I think it occurs when you're sending PMs to multiple recipients. If you add the same line of code to private2.php (as well as private.php), that seems to fix it. :)

FleaBag 10-14-2002 03:06 PM

Cheers Chris. Running on 2.3.0. :)

Boofo 01-01-2003 10:54 AM

TWTCommish. how did you get the Date, To, Subject and From part in your message? Would you be willing to share the code for that? :)

TWTCommish 01-01-2003 01:25 PM

That's just part of the email. :)

Mystis 01-01-2003 03:52 PM

I believe that I saw on the PHP changelog that the mysql_insert_id() function problems were fixed in 4.3.0 :)

djwins 07-11-2005 02:37 PM

Can someone update this for 3.0.7? It doesn't seem to have the same code.
Thanks!


All times are GMT. The time now is 09:52 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.01679 seconds
  • Memory Usage 1,728KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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