Thread subject: muscapaul's PHP-Fusion website :: Newsletter Infusion v2.xx

Posted by Puma on 16-08-2008 23:23
#1

Would it also be possible to display in the newsletter subscribe panel how many members are subscribed?
I'm using this piece of code on my v6 site but i'm not sure how to change it to work with v7.

Code
$sql_n = dbquery("SELECT COUNT(newsletter_sub_user) as antal FROM ".$db_prefix."newsletter_subs");
$data = dbarray($sql_n);
echo "<br><center>".$locale['nl505']."$data[antal] ".$locale['nl506']."</center>";
   }
} else {
   echo $locale['003'];
}
closeside();
?>




EDIT: Nevermind,it seems the code that was used for this in v6 also works in v7 ;)


Notice: Undefined index: post_edituser in /home/muscapal/public_html/print.php on line 114
Edited by Puma on 17-08-2008 01:35

Posted by muscapaul on 17-08-2008 03:41
#2

SiteMaster wrote:
Jelle Mees wrote:
Same error with HTML letter:

Notice: Undefined variable: error in /home/pcgidsin/public_html/Websites/isi/infusions/newsletter_panel/newsletter_admin.php on line 120
The Newsletter has been sent successfully.

Return to Newsletters Admin

Return to Admin Index


muscapaul wrote:
Try inserting a new line 39 (after $format = isset($_REQUEST['format']) ? $_REQUEST['format'] : "";)

$error = "";

I will add it to the file. I did not get the error so far but offenbach did. Sadly he may no have checked since or did not yet biother to report the solution worked.

Posted by muscapaul on 19-08-2008 20:16
#3

New version: v2.02

Changes:
- Minor bug fixed: cause of occasional error message upon sending newsletter removed.
- Unclosed input element in ../newsletter_panel.php closed.
- Some redundant lines removed from v6-7upgrade.php.
- AGPL statement added to readme file.

DOWNLOAD (last version: 23.09.2008)
27.08.2008: Spanish locale added.
18.09.2008: Polish locales added.
23.09.2008: TUrkish locale added.


Notice: Undefined index: post_edituser in /home/muscapal/public_html/print.php on line 114
Edited by muscapaul on 23-09-2008 12:04

Posted by huma on 20-08-2008 17:53
#4

muscapaul wrote:
New version: v2.02

Changes:
- Minor bug fixed: cause of occasional error message upon sending newsletter removed.
- Unclosed input element in ../newsletter_panel.php closed.
- Some redundant lines removed from v6-7upgrade.php.
- AGPL statement added to readme file.

DOWNLOAD (last version: 19.08.2008)


This became very good...Thanks muscapaul...:)

Posted by Puma on 21-08-2008 05:28
#5

Paul would it also be possible to add a mass-subscription option like in the v6 version please?

www.movieparadiseonline.com/images/newsletterscreen2.jpg

Posted by muscapaul on 21-08-2008 12:28
#6

That was not a part of the standard newsletter panel, so I did not include it. It can of course be done, but I don't have time to do it now. And, of course, because of privacy regulations/laws it may be illegal to subscribe people to a newsletter without their consent. In that case it would be spam and you may be liable to prosecution...

Posted by NobNob on 22-08-2008 15:46
#7

Spanish locales.

Thanks Paul! ;)

Posted by NobNob on 23-08-2008 23:55
#8

I don't know if this will be a general error or it only happens to me.

When I prevew the newsletter in HTML format, the preview shows all the HTML tags.

Posted by muscapaul on 25-08-2008 11:51
#9

AFAIK It should do that. ;) I can see if I can make it to do it otherwise but that will not be this week, I think.

Posted by muscapaul on 27-08-2008 14:15
#10

Spanish locale added to doanload.

Posted by Pieka on 04-09-2008 17:24
#11

Hello :)

Polish locale attached (iso/utf-8).

Posted by muscapaul on 04-09-2008 17:29
#12

Cheers. Will be added soon.

Posted by muscapaul on 18-09-2008 13:17
#13

Download updated. Took a little longer than expected. Sorry about that.

Posted by MrBryce2000 on 20-10-2008 01:29
#14

Would it be possible to enable TinyMCE when you go to create / edit a newsletter? That would make this newsletter infusion a perfect solution for me!

Thanks!

Posted by muscapaul on 20-10-2008 12:25
#15

Hmm, will have to think about that one.

Never use(d) TinyMCE (before). ;)

Posted by HopeyS on 19-11-2008 03:26
#16

Hmmm i have looked through this thread. And i do have some of the same errors, so i tried some of the stuff here. But it didn't help.

First of, the HTML area in admin does not work. It does not show it html-ed, just all the html codes.

Second, it will not send. It tells me that the one who send it, is not correct, and it is.

Last. I know that Helmuth (DK) has made a code, that can make it possible for an admin to put all members in the newsletter.
So that the admin controls, who should have or not have the newsletter.
It is quite good. Easy to use.
Just put into an new panel. Remember to put acces ONLY for admin or SA...

You can get it here;
(NOTE It is in Danish! The site)
http://helmuth.dk...5#post_785

Posted by muscapaul on 19-11-2008 16:03
#17

I have not included a 'send to all' on purpose. That requires that users, when they register, to be warned about the possibility that they may receive bulk mail from the site and the have to be given the option to opt out. Goes a little further that the average newsletter.

The html preview was not built-in in the pevious version either, I think. I will see what I can do.

Dunno about the sender thing.

Posted by HopeyS on 19-11-2008 17:09
#18

I know. Because it usually should be a choise to get mail from a site.

OH... That's why. Well could be nice, if it where fixed *S*

I don't know either with the send thing... *S* I suppose the solution with drop from the skies at some point, some time *S*

Posted by RaptureReady on 07-01-2009 06:45
#19

I was wondering if the option to view the newsletter when you click preview has been fixed or are we still viewing the html tags when we click preview?

Thanks for all the hard work!

RR

Posted by muscapaul on 08-01-2009 03:22
#20

Have not had time to look at that issue, sorry.