Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's RavenNuke(tm) v2.02.02 Distro
Author Message
griffinsbridge
New Member
New Member


Joined: Mar 12, 2006
Posts: 14
Location: Darkside of the Moon

PostPosted: Wed Sep 05, 2007 1:26 pm Reply with quote

Hi

Ive been using rn76v2.02 for about 18 months.
I started with the bare bones and have stripped it back almost to just the "main engine", Admin, and Your Account module, everything else is bespoke.

Anyhoo, Ive been using "Fancy newsletter" since the start, but it's slow, clunky and extremely unreliable. I rarely get entirely through my 3000+ email subscription base before it crashes. Also Ive noticed it's randomly injecting ! into various parts of code, breaking images and links. Very annoying.

So, after building a site for a friend using (I think) 2.10 (might be 2.2) and seeing the new ravenized HTML Newsletter, I thought I'd try adding it to my setup.

It's all there except for the editor.

Does anyone know how to finish the install?
Cheers!

_________________
Danny Stewardson still owes me £4500.
Hope it chokes him 
View user's profile Send private message
jakec
Site Admin


Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom

PostPosted: Thu Sep 06, 2007 2:06 am Reply with quote

I assume you mean the WYSIWYG Editor.

Do you have nukeWYSIWYG installed on your site?
 
View user's profile Send private message
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9456
Location: Arizona

PostPosted: Thu Sep 06, 2007 7:48 am Reply with quote

griffinsbridge, as the author of the HTML Newsletter, I would like to first welcome you to its use. However, I must also throw in a needed disclaimer because the issue that you raise with regards to having 3000+ subscribers, you are going to run into the same PHP time out problem with HTML Newsletter. I have not had time to put into it to add the ability to send in "paging style"... sorry about that.

BTW, not sure what you mean by "ravenized HTML Newsletter". What you see in RavenNuke is pretty much what you can get as a separate download from my site. (Just letting non-RavenNukers know this...)

Regarding the editor, yes, it only works with the Only registered users can see links on this board! Get registered or login!. There is a switch in the config section to turn its usage on/off.

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
griffinsbridge
PostPosted: Fri Sep 07, 2007 5:13 am Reply with quote

Excellent response by the coder in charge!

As I 'ripped' it out of a Raven distro, I just assumed it was the man himself who created it. More and More do I think that Raven is no longer a man, but a co-operative. Must start reading copyrights!

I know it might sound obvious, but would set_time_limit(0) be of any use in preventing PHP timing out?

the nukeWYSIWYG editor is as installed as far as I can make out. But then, I just bastardised it from the latest distro. i must be missing something.
Tried registering on nukeSEO to get the latest complete package so i can start again, but haven't received my confirmation email Crying or Very sad

such woes.
 
montego
PostPosted: Fri Sep 07, 2007 7:05 am Reply with quote

Playing around with the PHP time outs from with PHP code or .htaccess may or may not work (may not be allowed) as most shared hosts will not let you do this. That is my only concern. I must provide a solution that is at least 95%...
 
fkelly
Former Moderator in Good Standing


Joined: Aug 30, 2005
Posts: 3312
Location: near Albany NY

PostPosted: Fri Sep 07, 2007 7:32 am Reply with quote

I think you are going to continue having problems sending 3000 emails out all at once. Many shared hosting providers won't even let you APPROACH that number and even the generous ones could choke on that. It's a lot of workload for a server. If you could somehow break your user base down into more manageable chunks using nsngroups you could send the emails out in stages. Problem is that adding users to nsngroups is kind of a p.i.t.a. also. I'm an adhoc could be created to subdivide the user base into groups of say 600 but you'd need to look carefully at the table structure to make sure you got it right. You'd also need to be able to rerun it before each newsletter gets created to incorporate newer users into your groups.
 
View user's profile Send private message Visit poster's website
griffinsbridge
PostPosted: Fri Sep 07, 2007 8:39 am Reply with quote

if(function-exists(set_time_limit()){
set_time_limit(0)
}

just a suggestion.

perhaps pause() or even stop(1) could help out:

{{within the loop}}

if(!function_exists(set-time_limit()){
stop(1)
}


My host is very reasonable. Only thing they wont allow is cross site scripting (for obvious reasons) but even then, if you tell them what you're doing, they'll rewrite the rules to allow certain things.

I don't have an outgoing limit for my email, so I wouldn't have an issue.

All I need is the wysiwyg to work and I can get this show on the road. still no email from nukeSEO.
 
Gremmie
Former Moderator in Good Standing


Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Fri Sep 07, 2007 8:47 am Reply with quote

You may also consider upgrading to RN2.10.1. It should be an easy one if you are already using rn76v2.02 .

_________________
Only registered users can see links on this board! Get registered or login! - An Event Calendar for PHP-Nuke
Only registered users can see links on this board! Get registered or login! - A Google Maps Nuke Module 
View user's profile Send private message
montego
PostPosted: Fri Sep 07, 2007 6:40 pm Reply with quote

griffinsbridge, but, like I said, I cannot count on people's host being this lenient. I really can't. Trust me. But, for those who are on dedicated servers or those with hosts that like to live a bit "on the edge" so to speak, your option above could work just fine. However, I still need to put my idea into code. It isn't really a "technical problem", just a "time problem".

Regarding nukeSEO, you could try PM'ing kguske here with your details and he could look into it. If you do these kinds of email newsletters on a regular basis, I am sure you are familiar with many of the issues surrounding such a thing as automated emails. Junk filters are the biggest problem, followed by mail server settings, followed by the mail clients. Actually, I would probably switch mail clients and server settings on the "pain" list.
 
griffinsbridge
PostPosted: Sat Sep 08, 2007 5:17 am Reply with quote

I know all about time problems!!

The junk filters and mail settings problems, i got round by ensuring all headers were correct in the email and adding commented text for text only clients.
(this is with fancy NL)

most scripts Ive seen send the bare minimum headers. however, adding the lot has really uped our "open rate" eg:
Code:
   $email_from_mail = "$adminmail";

   $email_from_name = "$sitename";
   $email_betreff = "$emailBody";
   $xheaders  = "From:$email_from_name<$email_from_mail>\n";
   $xheaders .= "Reply-To: $email_from_mail\n";
   $xheaders .= "X-Mailer: PHP\n";
   $xheaders .= "X-Sender-IP: $REMOTE_ADDR\n";
   $xheaders .= "X-Priority: 6\n";
   $xheaders .= "Content-Type: text/html; charset=iso-8859-1\n";

(sure you can figure that out)
Dunno what yours does, haven't been deep into it yet.

A very helpful mod here is sending me nukeWYSIWYG seeing as nukeSEO's emailer doesn't work 100% (ironic eh?), so I should get things up and running over the weekend
 
montego
PostPosted: Sat Sep 08, 2007 7:09 am Reply with quote

This is what I have for the HNL headers:

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: 3\r\n";



Regarding nukeSEO, I already made a suggestion to you above on how to address that. Wink
 
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6383

PostPosted: Sat Sep 08, 2007 7:42 am Reply with quote

griffinsbridge, I wasn't aware that you were having problems registering on my site. But I'm also not aware of anyone else having similar problems. I'll check your user / registration, but you may also want to check your spam blocker.

I resent your activation email. If you remember your password, I can manually activate your account, too. Just let me know...

_________________
I google, therefore I exist...
Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's RavenNuke(tm) v2.02.02 Distro

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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©