vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=34)
-   -   vB Mail Reply (https://vborg.vbsupport.ru/showthread.php?t=68113)

Colin F 08-10-2004 09:43 AM

There is a codeblock that has to be in the subject title of your email. This (should be) is in your notification email. Unless that doesn't get updated right...

It's in the format of: [post-3-test], that being: [1-2-3]
1: "post" or "thread", indicating if this is a reply to a specific post or to the thread itself
2: the post- or threadid. whatever you indicated in 1
3: your email password.

The rest of the subject line (the code is parsed out) will be the subject of your post.
The whole message will be the content of your post. bbcode, [img] and smilies work.

There's another option on 1, "newthread", and 2 being the forumid. But this isn't tested much...

Ming Keong 08-11-2004 02:43 AM

I think that there's a bug in the install script. For example, for pharse 'emailreplyerror', it appears as follows on my board

HTML Code:

Dear,

We're sorry, but for the reason stated below we could not process your e-mailed reply.

The error that occurred was:


Below is your reply as received at our server:


Sorry,
 Team

Notice that all the variables are missing. That's the reason why I'm getting blank results for my error messages.

The same problem is also happening to all my other vb mail reply pharses. I've since updated all of them manually.

The 'notify' phrase poses a greater problem. In vb3, there is a notify under the phrase type 'Email body text', and one for 'Email subject text'. Adding a 'notify' phrase to the custom phrase doesn't seem to work. I'm still getting the phrase from the default body and subject phrases. I tried to edit those but they cannot be edited. Tried to add a translation to the default phrases and the result is just blank e-mail notifications.

Colin F 08-11-2004 03:52 AM

hmmm ok, thanks.

I guess that means adding some \\\'s to the vars...

I'll also check into the notify thing, as soon as I have time.

teksigns 08-12-2004 12:50 PM

how do you enable the notifications

i cant find a option anywhere

im not getting any notifications except the normal thread reply
notification .....

Ming Keong 08-12-2004 05:10 PM

There are some problems with this hack. For example, when the board sends an e-mail notification with the password, the password should be that of the user receiving the notification. Instead, the board sends the password of the user who last posted.

In addition, some variables in the phrases do not work. I don't think vb can process variables within variables for phrases.

I've managed to brute force my way through everything by changing the variables accordingly, hard coding some stuff, and changing database data directly. It works now.

I'll see if I can consolidate what I've done and post a little something some time next week as I'm really busy this week.

Just off my mind now:
1) Change notify in phrase directly on your mysql database
2) Change the 'post' in the subject to 'thread'
3) Edit the variable within the variable. Hardcode it to $varname[field9] for example, instead of $varname[field$var2]
4) Add the other templates manually into the mysql database
etc...

Colin F 08-12-2004 06:59 PM

OK, I took a look at most of this stuff. I've changed the install routine so that all the templates work.

I don't understand why you want to do 2) and 3) though, Ming Keong.

teksigns 08-12-2004 07:31 PM

Quote:

Originally Posted by Colin F
OK, I took a look at most of this stuff. I've changed the install routine so that all the templates work.

I don't understand why you want to do 2) and 3) though, Ming Keong.

i dont see any updated files .......

Colin F 08-13-2004 05:04 PM

OK, I'm updating the vbemailreply_install.php file now. For those that already have it installed, just uninstall and install again.

This should fix: -templates (expecially notify) not getting updated or getting updated with wrong values
-wrong userpassword in subjectcode

Any more problems anyone?

teksigns 08-13-2004 05:11 PM

Quote:

Originally Posted by Colin F
OK, I'm updating the vbemailreply_install.php file now. For those that already have it installed, just uninstall and install again.

This should fix: -templates (expecially notify) not getting updated or getting updated with wrong values
-wrong userpassword in subjectcode

Any more problems anyone?


are you sure the changes listed in your first post are all thats needed....?

when i installed before and posted a new thread with email notify ...
then i tried to post a reply from another account and get a white page
once i clicked submit .......

Ming Keong 08-13-2004 05:14 PM

Quote:

Originally Posted by Colin F
OK, I took a look at most of this stuff. I've changed the install routine so that all the templates work.

I don't understand why you want to do 2) and 3) though, Ming Keong.


The post variable wasn't working so I added one for the thread. That was why I had to change post to thread. 3) wasn't working on my phrases either so I hardcoded it in instead.


All times are GMT. The time now is 11:20 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.01547 seconds
  • Memory Usage 1,742KB
  • 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_html_printable
  • (3)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