Liquid Web Hosting - Dedicated, VPS and Shared Hosting with top-notch support

HTML Newsletter for PHP-Nuke
Stop Spam Email Harvestors - Join Project HoneyPot!
  Login or Register
 • Home • Downloads • Your Account • Forums • 
Supported Projects!

Stop Spam Email Harvestors - Join Project HoneyPot!

Support GoPHP5.org

 
Please Link to Me!


 
Site Menu
icon_home.gif Home
· Montego's Blog
icon_community.gif Community
tree-T.gif Advertising
tree-T.gif Newsletters
tree-T.gif DownloadsNew content !
tree-T.gif Web Links
tree-T.gif Content
tree-L.gif Surveys
nuke.gif Projects
tree-T.gif HTML Newsletter
tree-T.gif ShortLinks
tree-T.gif DynamicTitles
tree-L.gif Mailer
som_downloads.gif Support
tree-T.gif Forums
tree-T.gif Documentation
tree-L.gif Sitemap
icon_members.gif Members Only
Access restricted to our members Private Messages
Access restricted to our members Members List
tree-L.gif Your Account
favoritos.gif News
icon_poll.gif Misc
 
Site Info
Your IP: 38.103.63.18

Welcome, Anonymous
Nickname
Password
Security Code
Security Code
Type Security Code


· Register
· Lost Password
Server Date/Time
4 July 2008 13:53:00 EDT (GMT -4)
 
RSS/XML Feed Previews
1. News Feeds
1. Most Recent 10 Articles

2. Forum Feeds
1. Most Recent 10 Forum Posts

3. Download Feeds
1. Most Recent 10 Downloads
2. Most Popular 10 Downloads
 
Misc Info

Powered by  MyPagerank.Net

Join the HoneyPot Project and help stop spam!

RavenNuke(tm) - Most secure and fast PHP-Nuke on the web!

Get TegoNuke(tm) ShortLinks from this site and more...

This site is valid CSS!

 
Inspiration
If any man among you seem to be religious, and bridleth not his tongue, but deceiveth his own heart, this man's religion is vain.
James 1:26/KJV
Verseoftheday.com
 
Montego Scripts: Forums


View next topic
View previous topic
Post new topic   Reply to topic
Author Message
izone
Newbie
Newbie



Joined: Jan 29, 2006
Posts: 19

PostPosted: Mon Sep 04, 2006 3:08 pm Reply with quote Back to top

New problems! Very Happy

Now when I send a Newsletter it wont show persian in right way!

here is an example:

Quote:



مدیریت ایران یاد مفتخر است که شما هموند این تارنما هستید و امیدواریم که تا کنون توانسته باشیم پاسخگوی خواسته های شما از یک تارنمای ایرانی باشیم.

در ماههای گذشته تغییرات زیادی برای رفاه حال شما در ایران یاد داده شده که امیدواریم مورد پسند شما هموند گرامی قرار گرفته باشد. از جمله این تغییرات میتوان تغییر در گرافیک کلی تارنما نام برد.



I've totaly removed both files and sql and reinstalled it but didn't help!

The email is utf-8 and it should show the letters right!

what could be wrong?

Regards.
View user's profile Send private message
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 857

PostPosted: Mon Sep 04, 2006 6:01 pm Reply with quote Back to top

Please compare the version of templates/Fancy_Content/template.php between the Persian download and the one you are testing with. Check the lines where $emailfile is being defined down towards the bottom (I would post the code here, but NukeSentinel is not letting me... Crying or Very sad ), is there a meta tag which has the charset=utf-8 on it?

You or your friend had modified it to be UTF-8, had you accidentally replaced that with my 01.03.01 version?

_________________
To err is human, but when the eraser wears out ahead of the pencil, youre overdoing it.
-- Josh Jenkins
View user's profile Send private message Visit poster's website
izone
Newbie
Newbie



Joined: Jan 29, 2006
Posts: 19

PostPosted: Tue Sep 05, 2006 4:47 am Reply with quote Back to top

[quote="montego"]Please compare the version of templates/Fancy_Content/template.php between the Persian download and the one you are testing with. Check the lines where $emailfile is being defined down towards the bottom (I would post the code here, but NukeSentinel is not letting me... Crying or Very sad ), is there a meta tag which has the charset=utf-8 on it?

You or your friend had modified it to be UTF-8, had you accidentally replaced that with my 01.03.01 version?[/quote]

Thanks for reply!

I checked it and it was utf-8. The strange thing is when I send newletter by email it doesn't sent any template with it!! but when I preview it on site it show the template and the text is OK.

I have tested with all of templates and it wont send template to email.

I will send you a newletter in Persian with Plane Gray now so you see it by yourself!
View user's profile Send private message
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 857

PostPosted: Tue Sep 05, 2006 7:32 am Reply with quote Back to top

I may have found it.

=== OPEN ===

modules/HTML_Newsletter/admin/functions.php

=== FIND ===

Code:
   $headers      = "MIME-Version: 1.0\n"
                        ."Content-Type: text/html; charset=iso-8859-1\r\n"
                        ."From: $msnl_sSender<adminmail>\r\n"
                        ."Return-Path: $adminmail\r\n"
                        ."Reply-To: $adminmail\r\n"
                        ."X-Mailer: MSHNL\r\n"
                        ."X-Sender-IP: $REMOTE_ADDR\r\n"
                        ."X-Priority: 6\r\n";


=== REPLACE WITH ===

Code:
   $headers      = "MIME-Version: 1.0\n"
                        ."Content-Type: text/html; charset=utf-8\r\n"
                        ."From: $msnl_sSender<adminmail>\r\n"
                        ."Return-Path: $adminmail\r\n"
                        ."Reply-To: $adminmail\r\n"
                        ."X-Mailer: MSHNL\r\n"
                        ."X-Sender-IP: $REMOTE_ADDR\r\n"
                        ."X-Priority: 6\r\n";


Notice that the email headers charset was not set to utf-8.

_________________
To err is human, but when the eraser wears out ahead of the pencil, youre overdoing it.
-- Josh Jenkins
View user's profile Send private message Visit poster's website
izone
Newbie
Newbie



Joined: Jan 29, 2006
Posts: 19

PostPosted: Tue Sep 05, 2006 8:14 am Reply with quote Back to top

Yes! that was it! Very Happy

I don't know why it was changed and how??? After patch 3.2 it began to give me problem. Even when I downloaded new files from here and installed again the problem wasn't gone!

Soon I will download persian ver. from here and install it on my test site and make a good look at it. I maybee have forgot to make some changes like this one in functions.php. Strange is it works for all other but me Embarassed

Thanks Montego again!
View user's profile Send private message
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 857

PostPosted: Tue Sep 05, 2006 8:40 am Reply with quote Back to top

I checked the Persian download already and it was not changed. I will either post a "Sticky" or make this thread a sticky to help others with this.

_________________
To err is human, but when the eraser wears out ahead of the pencil, youre overdoing it.
-- Josh Jenkins
View user's profile Send private message Visit poster's website
izone
Newbie
Newbie



Joined: Jan 29, 2006
Posts: 19

PostPosted: Tue Sep 05, 2006 9:08 am Reply with quote Back to top

Thanks!

I maybee have exchanged the downloaded files from here with those I allready have on my computer. Wink
View user's profile Send private message
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 857

PostPosted: Tue Sep 05, 2006 9:18 am Reply with quote Back to top

Sorry, what I meant to say is that the Persian Nuke version does not have utf-8 in functions.php. I will not be posting a new download, but have included a new enhancement idea to make this configurable.

_________________
To err is human, but when the eraser wears out ahead of the pencil, youre overdoing it.
-- Josh Jenkins
View user's profile Send private message Visit poster's website
izone
Newbie
Newbie



Joined: Jan 29, 2006
Posts: 19

PostPosted: Tue Sep 05, 2006 9:30 am Reply with quote Back to top

Ah, ok.

I am donig a few thing at the same times now and I missunderstood your post Laughing

I'll will right about it in my forums too, so everybody could read about it.

Sorry for missing it when I was working on persian ver. Embarassed
View user's profile Send private message
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 857

PostPosted: Tue Sep 05, 2006 10:17 am Reply with quote Back to top

Not a problem.

I have also posted a News article on the front page pointing to this thread.

_________________
To err is human, but when the eraser wears out ahead of the pencil, youre overdoing it.
-- Josh Jenkins
View user's profile Send private message Visit poster's website
firerm
Newbie
Newbie



Joined: Apr 24, 2007
Posts: 1

PostPosted: Tue Apr 24, 2007 1:11 pm Reply with quote Back to top

montego wrote:
I may have found it.

=== OPEN ===

modules/HTML_Newsletter/admin/functions.php

=== FIND ===

Code:
   $headers      = "MIME-Version: 1.0\n"
                        ."Content-Type: text/html; charset=iso-8859-1\r\n"
                        ."From: $msnl_sSender<adminmail>\r\n"
                        ."Return-Path: $adminmail\r\n"
                        ."Reply-To: $adminmail\r\n"
                        ."X-Mailer: MSHNL\r\n"
                        ."X-Sender-IP: $REMOTE_ADDR\r\n"
                        ."X-Priority: 6\r\n";


=== REPLACE WITH ===

Code:
   $headers      = "MIME-Version: 1.0\n"
                        ."Content-Type: text/html; charset=utf-8\r\n"
                        ."From: $msnl_sSender<adminmail>\r\n"
                        ."Return-Path: $adminmail\r\n"
                        ."Reply-To: $adminmail\r\n"
                        ."X-Mailer: MSHNL\r\n"
                        ."X-Sender-IP: $REMOTE_ADDR\r\n"
                        ."X-Priority: 6\r\n";


Notice that the email headers charset was not set to utf-8.


when you do that Greeks works too Smile when i Translate i will send you the lang-greek.php


Thank you so much Smile
View user's profile Send private message
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 857

PostPosted: Tue Apr 24, 2007 2:54 pm Reply with quote Back to top

Thanks for the reminder! I have not added the Greek translation to my downloads here. It is in the RavenNuke(tm) 2.10.00 distro. PM me your email address and I'll send you what I have for the greek language files for you to review. Thanks!

_________________
To err is human, but when the eraser wears out ahead of the pencil, youre overdoing it.
-- Josh Jenkins
View user's profile Send private message Visit poster's website
Guardian
Site Admin
Site Admin



Joined: Jul 18, 2005
Posts: 282

PostPosted: Wed Apr 25, 2007 7:02 pm Reply with quote Back to top

M, I'm just thinking out loud here but...
Isn't the charset defined in one of the core language files (like the date format string)?
If it was, then it might be easy to automate this by checking the site language preference?

_________________
Spam Stopper - Comments Modules - Security News - Script Installer
View user's profile Send private message Visit poster's website
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 857

PostPosted: Thu Apr 26, 2007 7:49 am Reply with quote Back to top

Well, been thinking about it and I need to do more research on this. For a single language site, you might be right, but what about someone who is supporting say both Persian and English?

What I really haven't even addresses yet, but probably should, is the whole multilingual issue.
View user's profile Send private message Visit poster's website
Guardian
Site Admin
Site Admin



Joined: Jul 18, 2005
Posts: 282

PostPosted: Thu Apr 26, 2007 9:44 am Reply with quote Back to top

Yes, I had thought about the multilingual aspect but I suspect there might have to be a compromise somewhere down the line.
It's possible to retrieve user prefs and send the newsletter with the appropriate charset but then what happens regarding the newsletter thats available on-site? It would be impractical to have one newsletter per charset (which I think you would have to do to remain XHTML compliant as it can throw a wobbly with different charsets).
As you say, more research is needed and it just goes to show that even when something seems simple, very often it isnt when you start digging.
Good luck! Smile

_________________
Spam Stopper - Comments Modules - Security News - Script Installer
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001-2008 phpBB Group
:: Theme & Graphics by Daz :: Ported for PHP-Nuke by nukemods.com ::
All times are GMT - 4 Hours
Forums ©
 

[ Legal | Privacy Policy | Terms of Use | Contact Us ]


[Valid RSS] Valid robots.txt


All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © 2005 - 2008 by Montego Scripts.
Distributed by Raven PHP Scripts
PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 2.79 Seconds

:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional & XHTML 1.0 Transitional Compliance by RavenNuke™ TEAM ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation :: W3C XHTML 1.0 Transitional Compliance Validation ::

Forum - Join the conversation on the Thoughts.com forums
Search Engine Ranking - Improve your SEO services. Premium Web content, intelligent links, quality optimization & competitive search engine placement. You deserve Better Rankings!
PhpNuke Themes
Lobo Links Web Directory
linear-bunch
linear-bunch