![]() |
PM messages sends blank email
Hi,
when new PM message arrive to user, blank email sent with blank title. i was look for email content inside the pmreceived and it looks fine. please assist. thanks, Dooby |
What version of the software are you running? What version of PHP is on the server?
|
Did you also check your language to make sure it isn't blank?
|
Did you try with plugins disabled?
|
Quote:
Quote:
Quote:
i have some products like DragonByte with redirect url. if ill disable it, the redirect URL will change and users wont have access to old threads thanks, Dooby |
Well you still need to disable your mods temporarily and see if one of them is causing the issue.
Disable plugins via the includes/config.php file. To do that open your includes/config.php file and below <?php add the following. PHP Code:
PHP Code:
If that fixes the issue enable plugins again by adding // before the line you added, then navigate to ACP --> Plugins & Products --> Manage Products and disable one mod at a time until you find the one causing the issue. Once you find the culprit, post in that mods thread what the issue is, and maybe someone in that thread can help. :) |
thanks,
still sending empty emails for PM messages. what is triggering this email in the code? maybe i need to change something inside the code? thanks, Dooby |
If you are running 4.2.2, did you make sure to add this line to your config.php file under the <?php line:
PHP Code:
|
Yes, maybe this is cause because some options inside dragonByte SEO.
disabling this - DragonByte Tech: SEO - URL Rewrites: Member Profile URLs fixed my hebrew profile mismatch |
Well there you go, now you need to contact them to solve the issue. :)
|
we were disabled all the rewrite rules for email, but blank email still sent when PM arrived.
the DBSEO team said that it's unlikely the issue is in DBSEO, as DBSEO will not change the content of the email if email rewrite rule is disabled. i saw that when im changing the user language to english it sent the email correctly. maybe i can change something in the code that email will sent with english lang template and not hebrew. this should fix the issue. can you help with this? thanks, Dooby |
Did you check in the phrase manager to see if there is a hebrew phrase 'pmreceived' (in the Email Body Text group)? If there isn't it should fall back to using the default language, but I suppose if there was a blank phrase there it might end up blank.
Otherwise, you could try a plugin using hook location pmdata_postsave_recipient and code like this: Code:
$touserinfo['languageid'] = -1; |
thanks,
but it doesnt work. still receiving empty email for PM messages thanks, Dooby |
Quote:
Where did you get your Hebrew language pack and what version of vbulletin is it for? And what version of vbulletin are you running? |
lets start from beginning.
1. i had vbulletin 3.8.7 and decided to upgrade to 4.2.2. the encoding wasnt utf8 (i dont remember the encoding). anyhow after the upgrade the db were damaged because vbulletin upgrading works only with utf8. also vbulletin upgrade support center failed upgrading it :) i took DBA to help me convert all the DB to utf8 before the upgrade. after that i was upgraded the forum to 4.2.2 and it works :) (the current version) 2. before the upgrade i used vbseo and used some redirection rules, so because vbseo dosnt supporting 4.x.x, i was installed DragonByte SEO and rewrite the URLs of the threads and posts. 3. i had many issues after the upgrade. cache issues, damaged styles, etc. currently the last issue(i hope) that i have is the issue with private messages. now for the problem and the workaround: the problem is that all my users getting blank emails when they receiving private messages during my tests i found the following: users that changed personal forum view from hebrew to english get the private messages emails in english. i dont want to change the forum language because 90% of my users are israelis, so i think changing just the email language will fix this issue. details: forum: vbulletin 4.2.2 SEO: DragonByte SEO : email rewrite disabled style: primus http://themeforest.net/item/primus-a...-suite/3321272 language: Hebrew main default , english secondary hebrew translation: wizcraft.info thanks, Dooby |
First off, upgrading works just fine if your database isn't utf-8. I'm not sure who told you otherwise.
Anyway, if you go to Languages & Phrases > Language Manager and click to edit the language, what is the Language Code and HTML Character Set for both the English and the Hebrew languages? |
hi,
regarding the upgrade no one told me. i tried to upgrade my forum at least 10 times and every time the data were corrupted. currently im using unly utf-8 for both english and hebrew thanks, Dooby |
please help with this.
my users still getting empty emails. thanks, Dooby |
What is the translation of the phrase, pmreceived?
|
Hi,
copied the english version to the hebrew : DO NOT REPLY TO THIS EMAIL! *************************** Dear $touserinfo[username], You have received a new private message at $vboptions[bbtitle] from $fromusername, entitled "$plaintext_title". To read the original version, respond to, or delete this message, you must log in here: $vboptions[bburl]/private.php This is the message that was sent: *************** $plaintext_message *************** Again, please do not reply to this email. You must go to the following page to reply to this private message: $vboptions[bburl]/private.php All the best, $vboptions[bbtitle] |
And it's still sending a blank email, that is certainly strange. :confused:
|
yes, it is strange. do you know how to change the just the emails to use the english template?
i saw that the email arrive blank just when using hebrew language for the users. if ill change the email lang from hebrew to English it will work. also, if someone can help where in the DB or folders can i find the email template i can update it manually. thanks, Dooby |
anyone can help with this issue?
|
If you are only having the issue with the Hebrew language, then it sounds like an issue with the language pack. Was the language pack made for version 4.2.2?
|
Quote:
i dont think its the language pack because even when i change the text to english inside the hebrew pane it doesnt work. thanks, Dooby |
Quote:
Quote:
|
ok, thanks
i will verify with the hebrew pack team |
All times are GMT. The time now is 05:52 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|