vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - microNEWSLETTER (Mailinglist Manager) (https://vborg.vbsupport.ru/showthread.php?t=234208)

MaryTheG(r)eek 01-27-2010 07:11 AM

Quote:

Originally Posted by Krali (Post 1967725)
What is the link for users to unsubscribe?

I want to add it under a navigation button in the main menu, not only in the newsletter mail.

Great Mod and looking forward to full (pro) version.

The standard link is newsletter_actions.php?do=unsubsribe but there are 2 more dynamic variables to add. Email (&email=...) which you can get easily using "$vbulletin->userinfo['email']", but the last one (&groupid=...) is impossible to get it, except if you add "$groupid=1", as the free version permits only one mailinglist.

In the PRO version should be normal Subscribe/Unsubscribe form as widget in CMS and as block in forumhome (if you're using the native vB right/left side block).

Maria

Krali 01-27-2010 07:13 AM

Hello,

oh, I would prefer a main menu tab with sub links for the users to subscribe/unsubscribe through a link. A block in forumhome is not so good.

Thank you.

3DUInc 01-27-2010 07:30 AM

OUTSTANDING Maria!! Tagged, voted, nominated and downloaded

Just so most of you understand that YOUR time is not the same as your SERVER time. Like my dedicated server is running 6 hours ahead of my time so if I installed it and set it to run 1 hour later, my time, Id be waiting until next day. You can check your server time several ways so that you know the exact server time.

Thank you very much Maria. Ill be joining soon as I want to get the pro versions of a couple of your mods.

MaryTheG(r)eek 01-27-2010 07:35 AM

Quote:

Originally Posted by 3DUInc (Post 1967750)
OUTSTANDING Maria!! Tagged, voted, nominated and downloaded

Just so most of you understand that YOUR time is not the same as your SERVER time. Like my dedicated server is running 6 hours ahead of my time so if I installed it and set it to run 1 hour later, my time, Id be waiting until next day. You can check your server time several ways so that you know the exact server time.

Thank you very much Maria. Ill be joining soon as I want to get the pro versions of a couple of your mods.

Thank you for your supporting words Tamela:) I do, also have problems with server's time, that's why when you setup a new campaign it shows the server's time, so you can calculate a bit more easier after how many hours you want to send the emails. Leaving the default values, the emails will be send by the next cron job run.

Maria

webspider 01-27-2010 09:22 AM

Nice addon. I'd definitely buy the pro version if bounces were handled.

Hornstar 01-27-2010 09:29 AM

I'd like to see it handle bounced emails. That would be pro.

MaryTheG(r)eek 01-27-2010 09:39 AM

Quote:

Originally Posted by hornstar1337 (Post 1967821)
I'd like to see it handle bounced emails. That would be pro.

As I'm not so familiar with the orology, even if I do believe that I understood what you ask for, do you mean a mechanism to control email that didn't sent and resend them at a later time?

If this is, sure I'm planing to add this feature. If not, try with simplier words to make me understand:rolleyes:

Maria

webspider 01-27-2010 10:13 AM

If a mail is undeliverable it's bounced and the account should be flagged somehow for an email address update. Most mailing lists just unsubscribe the user depending on the error code. It my case I'd like to see the bounced user moved to the awaiting email confirmation usergroup.

Action: failed
Status: 5.0.0 (permanent failure)
Remote-MTA: dns; [000.000.000]
Diagnostic-Code: smtp; 5.1.0 - Unknown address error 550-'Requested action not taken: mailbox unavailable' (delivery attempts: 0)

Veer 01-27-2010 11:57 AM

That is really very good work Maria, Appreciated.

Rated, Installed & Nominated.

thincom2000 01-27-2010 03:06 PM

I was talking about in the cron. $db->escape_string is missing in two places (both in micronewsletter_members.php):
Code:

        $email = $member["email"];
        $check_user = $vbulletin->db->query_read("SELECT * FROM " . TABLE_PREFIX . "micronewsletter_subscribers WHERE email='$email' ORDER BY email ASC LIMIT 1");

And a few lines later in the INSERT.

we_are_borg 01-27-2010 03:15 PM

Quote:

Originally Posted by MicroHellas (Post 1967824)
As I'm not so familiar with the orology, even if I do believe that I understood what you ask for, do you mean a mechanism to control email that didn't sent and resend them at a later time?

If this is, sure I'm planing to add this feature. If not, try with simplier words to make me understand:rolleyes:

Maria

There is a script that you can look at that uses bounces its called PHPList. Just look at that one its GPL so you can access it free.

MaryTheG(r)eek 01-27-2010 03:22 PM

Quote:

Originally Posted by we_are_borg (Post 1968067)
There is a script that you can look at that uses bounces its called PHPList. Just look at that one its GPL so you can access it free.

Now I'm at www.php.net and I'm reading (and trying) all IMAP functions. I like most this way, but thank you for your refference. Most important for me is to get more knowledge, than just copy some lines of code.

Maria

KURTZ 01-27-2010 03:41 PM

updated to 4.1.0, but like the older version i can't run the scheduled campaigns ... :S i set a specific hour but the mail doesn't work ... it works only if i go in the 'tasks' and run the cron manually ... any tip?

we_are_borg 01-27-2010 04:02 PM

Quote:

Originally Posted by MicroHellas (Post 1968072)
Now I'm at www.php.net and I'm reading (and trying) all IMAP functions. I like most this way, but thank you for your refference. Most important for me is to get more knowledge, than just copy some lines of code.

Maria

Agree but if you look at it you know what to look for you still need to make your own code because you cant use it straight away.

MaryTheG(r)eek 01-27-2010 04:09 PM

Quote:

Originally Posted by we_are_borg (Post 1968098)
Agree but if you look at it you know what to look for you still need to make your own code because you cant use it straight away.

I GOT HOW IT WORKS !!!:)
  1. Need to setup a mailbox eg bounce@domain.com
  2. Assign this email address as "From email" to microNEWSLETTER Options
  3. Add the following code in a cron file
Code:

<?
$mailbox = "{mail.domain.com:110/pop3/notls}INBOX";
$user = "bounce@domain.com";
$pass = "xxxxxxxxxx";
$mbox = imap_open($mailbox,$user,$pass);
 
$headers = imap_sort($mbox,SORTDATE,1);
foreach($headers as $key=>$val)
{
  $relay_from = '';
  $headerinfo = imap_headerinfo($mbox, $val);
  $relay_from = $headerinfo->from[0]->mailbox . "@" . $headerinfo->from[0]->host;
  echo $relay_from;
 }
 imap_expunge($mbox);
 imap_close($mbox);
?>

Of course I currently let out to delete the message, something that it will be done after adding the email in a bounce list.

So, tomorrow expect a new upgrade !!

Maria

MaryTheG(r)eek 01-27-2010 04:21 PM

Quote:

Originally Posted by KURTZ (Post 1968084)
updated to 4.1.0, but like the older version i can't run the scheduled campaigns ... :S i set a specific hour but the mail doesn't work ... it works only if i go in the 'tasks' and run the cron manually ... any tip?

As I post previously, I don't believe that is a bug coming from my mod, but rather from vbulletin. The reason is simple. While it runs manually, means that my code is correct and working. What left out? That it dosen't run on the specific time, something for which is responsible the vB engine.

Maria

ComoEstaEso-com 01-27-2010 05:23 PM

Is the Pro version available?

I would like to get that one from the start.
I ain't swimming in money over here, yet I would be more than happy to pay $50 for such versatility.

Subscribed! :)

we_are_borg 01-27-2010 05:44 PM

Quote:

Originally Posted by MicroHellas (Post 1968104)
I GOT HOW IT WORKS !!!:)
  1. Need to setup a mailbox eg bounce@domain.com
  2. Assign this email address as "From email" to microNEWSLETTER Options
  3. Add the following code in a cron file
Code:

<?
$mailbox = "{mail.domain.com:110/pop3/notls}INBOX";
$user = "bounce@domain.com";
$pass = "xxxxxxxxxx";
$mbox = imap_open($mailbox,$user,$pass);
 
$headers = imap_sort($mbox,SORTDATE,1);
foreach($headers as $key=>$val)
{
  $relay_from = '';
  $headerinfo = imap_headerinfo($mbox, $val);
  $relay_from = $headerinfo->from[0]->mailbox . "@" . $headerinfo->from[0]->host;
  echo $relay_from;
 }
 imap_expunge($mbox);
 imap_close($mbox);
?>

Of course I currently let out to delete the message, something that it will be done after adding the email in a bounce list.

So, tomorrow expect a new upgrade !!

Maria

Nice searching Maria love your dedication. But to make it more complicated for you if some one is listed on the blacklist by next visit on forum confront him with the fact that the email address is bounced and that he needs to update it and make it mandatory.

MaryTheG(r)eek 01-27-2010 06:33 PM

Quote:

Originally Posted by we_are_borg (Post 1968183)
Nice searching Maria love your dedication. But to make it more complicated for you if some one is listed on the blacklist by next visit on forum confront him with the fact that the email address is bounced and that he needs to update it and make it mandatory.

Opssss... Trust my imagination till tomorrow... You'll surprised... The difficult was how to access mailboxes as I never had worked arround it...Now, I know many nice tricky features:-)

Maria

NFLfbJunkie 01-27-2010 06:49 PM

I have followed all of the simple instructions but this still isn't working for me. Even when I run the cron job manually nothing happens; it still says the campaign is scheduled. See my attachments for how I have everything set up. Can't figure out what I might be missing.

we_are_borg 01-27-2010 07:54 PM

Quote:

Originally Posted by MicroHellas (Post 1968235)
Opssss... Trust my imagination till tomorrow... You'll surprised... The difficult was how to access mailboxes as I never had worked arround it...Now, I know many nice tricky features:-)

Maria

Well its hard to trust coders :P.

Just for my curiosity did you look it up on the php.net website or did you take a sneak peek in the source code of the program.

Like i said really love your dedication trying to code my self but have trouble with learning php myself simple template hacks i can do, how did you learn it Maria.

Pasqualis 01-27-2010 08:25 PM

I didn't try this mod yet, but I already love it! :)
Thanks Maria!

One addition I'd like to see is the possibility to personalize your newsletter a little by using variables: $username, $userid, $email or some other. (Like in the vb email function)

GeorgeB85 01-27-2010 09:50 PM

How do you do it to allow it to send soon as you hit the "submit" button. I tried setting the date/time but it doesn't work.

EricPSF 01-27-2010 10:26 PM

Hi,

Wow! Great mod! I have a few qns.

(1) Can the newsletter being able to send newsletter in batches and have certain sending timing (bcos my host only allows 500 emails/hr).

(2) Is it easy to transfer email addresses, username etc. from registered member to this mod mailing address?

Thank you and hv a nice day!

dmknights 01-27-2010 10:46 PM

Id def be interested in the pro version.

Have u got a FULL list of the pro version features & how can i get it?

KURTZ 01-28-2010 08:45 AM

Quote:

Originally Posted by MicroHellas (Post 1968117)
As I post previously, I don't believe that is a bug coming from my mod, but rather from vbulletin. The reason is simple. While it runs manually, means that my code is correct and working. What left out? That it dosen't run on the specific time, something for which is responsible the vB engine.

Maria

so we need a fix from Jelsoft?

we_are_borg 01-28-2010 09:24 AM

Well vb needs to give the option to use cron that is shipped with linux. That way we have a better way of running scripts that belong to vb. The way it works now is when people visit the forum time is checked by vb cron and script are run. When you have not so mutch trafic or its night cron is not run correctly

Leo Brazil 01-28-2010 09:25 AM

Great mod Maria, as usual all of your are.

I've read that you mentioned something about that but I think you should think about a standar template for your system that would be able to grab info from your board like Latest Threads and Posts, Blogs, Hot Threads, Lastest Members, you know something that shows what's happening in your board. It would be nice if this template could be able to grab part of your style as well.

Keep up the good work

we_are_borg 01-28-2010 09:46 AM

Well vb needs to give the option to use cron that is shipped with linux. That way we have a better way of running scripts that belong to vb. The way it works now is when people visit the forum time is checked by vb cron and script are run. When you have not so mutch trafic or its night cron is not run correctly

MaryTheG(r)eek 01-28-2010 09:48 AM

Quote:

Originally Posted by hornstar1337 (Post 1967821)
I'd like to see it handle bounced emails. That would be pro.

Is it now pro?:rolleyes:

MaryTheG(r)eek 01-28-2010 09:50 AM

Quote:

Originally Posted by Leo Brazil (Post 1968768)
Great mod Maria, as usual all of your are.

I've read that you mentioned something about that but I think you should think about a standar template for your system that would be able to grab info from your board like Latest Threads and Posts, Blogs, Hot Threads, Lastest Members, you know something that shows what's happening in your board. It would be nice if this template could be able to grab part of your style as well.

Keep up the good work

If I add it to free version, what it will left to add in the PRO? ...lol...
Thank you for your kind words

Maria

MaryTheG(r)eek 01-28-2010 09:51 AM

Quote:

Originally Posted by KURTZ (Post 1968749)
so we need a fix from Jelsoft?

Let me give a look at vbulletin bugs list, even if it's a chaos there:rolleyes:

Maria

MaryTheG(r)eek 01-28-2010 09:55 AM

Quote:

Originally Posted by dmknights (Post 1968432)
Id def be interested in the pro version.

Have u got a FULL list of the pro version features & how can i get it?

I'm not the type of coder, who has the full version and cut it to give a lite. I'm coding something, and if I find it that it becomes populat I'm adding more features.

For this one, for sure I'll add at least double features... You'll be able even to send message to your mailing list from your mobile:D

But for more you need to register to my site.

Maria

Leo Brazil 01-28-2010 09:56 AM

Quote:

Originally Posted by MicroHellas (Post 1968789)
If I add it to free version, what it will left to add in the PRO? ...lol...
Thank you for your kind words

Maria

Hi Maria, I didn't mean that you should do it for free. I tried to say that if you had something like that, people (like my self included) would be motivated to pay for the PRO Version. :up: I would.

MaryTheG(r)eek 01-28-2010 09:57 AM

Quote:

Originally Posted by EricPSF (Post 1968416)
Hi,

Wow! Great mod! I have a few qns.

(1) Can the newsletter being able to send newsletter in batches and have certain sending timing (bcos my host only allows 500 emails/hr).

Sorry, only in the PRO version

Quote:

Originally Posted by EricPSF (Post 1968416)
(2) Is it easy to transfer email addresses, username etc. from registered member to this mod mailing address?

Thank you and hv a nice day!

Yes, actually the free version works such a way (even if admin can manually add more emails). The mailing list is updating from your member table every 15 minutes.

Maria

MaryTheG(r)eek 01-28-2010 09:58 AM

Quote:

Originally Posted by thincom2000 (Post 1968060)
I was talking about in the cron. $db->escape_string is missing in two places (both in micronewsletter_members.php):
Code:

        $email = $member["email"];
        $check_user = $vbulletin->db->query_read("SELECT * FROM " . TABLE_PREFIX . "micronewsletter_subscribers WHERE email='$email' ORDER BY email ASC LIMIT 1");

And a few lines later in the INSERT.

You don't need to clean anything when you're retrieving data from the database. You clean only INPUTS.

Maria

MaryTheG(r)eek 01-28-2010 10:02 AM

Quote:

Originally Posted by we_are_borg (Post 1968317)
Well its hard to trust coders :P.

Just for my curiosity did you look it up on the php.net website or did you take a sneak peek in the source code of the program.

Like i said really love your dedication trying to code my self but have trouble with learning php myself simple template hacks i can do, how did you learn it Maria.

From php.net. I'm oldfashioning on learning:D. First theory by reading the article, and then trying examples. Every function has very useful official examples, and many important additionals post by members.

Maria

KURTZ 01-28-2010 10:04 AM

Quote:

Originally Posted by MicroHellas (Post 1968792)
Let me give a look at vbulletin bugs list, even if it's a chaos there:rolleyes:

Maria

Maria, this is a great hack, but if the cron doesn't runs properly it's a trouble ... :) hope you can fix it ... however, if i wanna remove your copyrights from the mail i need to buy the 'pro' version?

MaryTheG(r)eek 01-28-2010 10:18 AM

Quote:

Originally Posted by KURTZ (Post 1968804)
Maria, this is a great hack, but if the cron doesn't runs properly it's a trouble ... :) hope you can fix it ... however, if i wanna remove your copyrights from the mail i need to buy the 'pro' version?

If it's to buy the PRO version just for the copyright removal, I'm giving you my permission (because you asked before), to remove it. Don't get me as selfish person, but I do believe that I'm doing good work, so I want someone to pay just for the additional features.

As for the cron job. As I wrote before, after my nap, with a fresh coffee, I'll try to find a solution to vb.com. If not, I'll code normal files to run with normal crons.

Maria

DjEddie 01-28-2010 01:21 PM

Hi not sure if there is something I'm missing, but have installed Latest version of this and when I sent a test email .. the email comes thru as html code ... I checked with my email program and other peoples.. all shows up as code only..

Also makes the unsubscribe link .. not linked

Have I missed something, like a setting or?

Thanks


All times are GMT. The time now is 01:02 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
  • Page Generation 0.02800 seconds
  • Memory Usage 1,852KB
  • 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
  • (4)bbcode_code_printable
  • (23)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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