vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   Reply by email v. 0.1 (https://vborg.vbsupport.ru/showthread.php?t=36899)

TheCaver 04-09-2002 07:19 PM

Notes for others trying this hack:

To allow people to hit reply on the email instead of cutting and pasting you must edit a couple of items.

First, in mailreply.php find:

list($check,$threadid)=explode("-",$letter->subject);
if ($check!="[thread") {

replace by:

list($check,$threadid)=explode("-",$letter->subject);
$check = substr($check, -7);
if ($check!="[thread") {


Next, edit your emailsubject_notify to:


Reply to post '$threadinfo[title]' [thread-$threadinfo[threadid]]







I'm working on getting the server to strip everything but the reply but its uphill, if anyone wants to help, I'd sure appreciate it...... :D

JC

hypedave 04-10-2002 04:53 AM

has anyone been able to get this to work at all, ????

TheCaver 04-10-2002 05:00 AM

It works, it's just not polished.....

Hopefully, we'll get some news on whether or not it will be in vB3, then I can stop this madness :)

JC

hypedave 04-10-2002 05:39 AM

Quote:

Originally posted by TheCaver
It works, it's just not polished.....

Hopefully, we'll get some news on whether or not it will be in vB3, then I can stop this madness :)

JC


well can you help me out then, with my error, I got the error to go wat, now when I run mailreply.php it takes foreverrrrrr, then php jus times out, how does your mailreply.php file look like

and how exactly to the users respond back ?

TheCaver 04-10-2002 06:04 AM

Umm, how did you get the error to "go away" ? :)

JC

Gimp 04-10-2002 01:38 PM

Quote:

Originally posted by TheCaver
Notes for others trying this hack:

To allow people to hit reply on the email instead of cutting and pasting you must edit a couple of items.

First, in mailreply.php find:

list($check,$threadid)=explode("-",$letter->subject);
if ($check!="[thread") {

replace by:

list($check,$threadid)=explode("-",$letter->subject);
$check = substr($check, -7);
if ($check!="[thread") {


Next, edit your emailsubject_notify to:


Reply to post '$threadinfo[title]' [thread-$threadinfo[threadid]]







I'm working on getting the server to strip everything but the reply but its uphill, if anyone wants to help, I'd sure appreciate it...... :D

JC

it has notting to do with that.. you CANT clear the message on the user side its IMPOSSIBLE

Gimp 04-10-2002 01:40 PM

Quote:

Originally posted by TheCaver
Got another question :)

On this forum, there are 2 series of numbers when you get notified. What's the significance of the second set?

Thanks!

JC

the 2nd number is a password for email notification.. I could do it but because of not much popularity with this hack i dont think i will. only if u REALLY need it i might

Gimp 04-10-2002 01:42 PM

Quote:

Originally posted by hypedave
okay when I run the mailreply.php

I get this error

Fatal error: Call to undefined function: imap_open() in C:\Inetpub\wwwroot\forums\mailreply.php on line 14

I setup is

Windows 2000 Server
iMail email server using pop3

any suggestion

look/check ur pm:
Quote:

Taken from install.txt

PHP compiled to support IMAP
Linux users read here:
http://www.php.net/manual/en/ref.imap.php
======
Windows users:
1. Copy php_imap.dll from your phpdir/extenstions to your windows dir
2. Edit path/to/windows/dir/php.ini (open it)
Find:
;extension=php_imap.dll

Replace with:
extension=php_imap.dll



Gimp 04-10-2002 01:44 PM

Quote:

Originally posted by TheCaver
Gimp, is there any advantage of using IMAP over POP? Mine seems to work ok with POP but fails to open stream with IMAP.....

Thanks!

JC

I tested it with IMAP (MDaemon mail server).. i dont know if there is any difference and there shhouldnt

James Cridland 04-10-2002 03:18 PM

Quote:

Originally posted by TheCaver
Also, be able to remove the "you will not receive any more notifications till you visit the board" thing.
To do this:

Open \admin\functions.php

Find:
PHP Code:

  $useremails=$DB_site->query("SELECT user.*
                               FROM subscribethread,user
                               WHERE subscribethread.threadid='
$threadid'
                                 AND subscribethread.userid=user.userid
                                 AND user.userid<>'
$userid'
                                 AND user.lastactivity>'
$lastposttime[dateline]'
"
); 

Replace with:
PHP Code:

  $useremails=$DB_site->query("SELECT user.*
                               FROM subscribethread,user
                               WHERE subscribethread.threadid='
$threadid'
                                 AND subscribethread.userid=user.userid
                                 AND user.userid<>'
$userid'"); 



All times are GMT. The time now is 05:33 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.01079 seconds
  • Memory Usage 1,749KB
  • 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_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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