Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
microNEWSLETTER (Mailinglist Manager) Details »»
microNEWSLETTER (Mailinglist Manager)
Version: 4.2.0, by MaryTheG(r)eek MaryTheG(r)eek is offline
Developer Last Online: Mar 2012 Show Printable Version Email this Page

Category: Major Additions - Version: 4.0.x Rating:
Released: 01-25-2010 Last Update: 01-27-2010 Installs: 101
DB Changes Uses Plugins Auto-Templates
Additional Files Translations Is in Beta Stage  
No support by the author.

*** Link Removed ***

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 01-26-2010, 05:51 PM
NFLfbJunkie NFLfbJunkie is offline
 
Join Date: Sep 2006
Posts: 327
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have cPanel but do not have exactly 'mail log manager'. I have the 'Email Address to include as: From Email' set as my personal email. Does this email need to be a domain email address, such as contact@mysite.com?
Reply With Quote
  #33  
Old 01-26-2010, 06:09 PM
NFLfbJunkie NFLfbJunkie is offline
 
Join Date: Sep 2006
Posts: 327
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I also just realized I can't edit messages. When I click edit all I get is the original subject but the message doesn't show.
Reply With Quote
  #34  
Old 01-26-2010, 06:14 PM
Skyrider Skyrider is offline
 
Join Date: Feb 2006
Location: Netherlands
Posts: 1,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Received an error when running the CRON:

Quote:
Database error in vBulletin 4.0.1:

Invalid SQL:
SELECT * FROM micronewsletter_subscribers WHERE email='Don'xxxxx@hotmail.com' ORDER BY email ASC LIMIT 1;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'xxxx@hotmail.com' ORDER BY email ASC LIMIT 1' at line 1
Error Number : 1064
Request Date : Tuesday, January 26th 2010 @ 09:12:29 PM
Error Date : Tuesday, January 26th 2010 @ 09:12:31 PM
Script : http://xxxxx/admincp/cronadmin.php?d...ron&cronid=117
Referrer : http://xxxx/admincp/cronadmin.php?do=modify
Username : FF|Skyrider
Classname : vB_Database
MySQL Version : 5.0.32-Debian_7etch11-log
Reply With Quote
  #35  
Old 01-26-2010, 06:15 PM
UpFriends UpFriends is offline
 
Join Date: Dec 2009
Location: NY
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you, Thank you, Thank you for this!
Reply With Quote
  #36  
Old 01-26-2010, 06:16 PM
Skyrider Skyrider is offline
 
Join Date: Feb 2006
Location: Netherlands
Posts: 1,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Seems CRON doesn't like any ' in the email.
Reply With Quote
  #37  
Old 01-26-2010, 06:46 PM
UpFriends UpFriends is offline
 
Join Date: Dec 2009
Location: NY
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Downloaded, installed, and nominated
Reply With Quote
  #38  
Old 01-27-2010, 03:17 AM
MaryTheG(r)eek MaryTheG(r)eek is offline
 
Join Date: Sep 2006
Location: Greece
Posts: 1,340
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FF|Skyrider View Post
Received an error when running the CRON:
To check for valid/invalid email address, I'm using the native vB function "is_valid_email()". Normally it must reject the email and continue to the next one. Strange that it brings mysql error.

Maria
Reply With Quote
  #39  
Old 01-27-2010, 06:09 AM
thincom2000 thincom2000 is offline
 
Join Date: May 2006
Location: Bronx, NY
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

missing $db->escape_string?
Reply With Quote
  #40  
Old 01-27-2010, 06:46 AM
Krali Krali is offline
 
Join Date: Nov 2005
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #41  
Old 01-27-2010, 06:51 AM
MaryTheG(r)eek MaryTheG(r)eek is offline
 
Join Date: Sep 2006
Location: Greece
Posts: 1,340
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by thincom2000 View Post
missing $db->escape_string?
I don't think so, as this is just a few lines before. Actually the problem is why this email has been accepted. I also added this function in the cron, just for an additional security check, but the problem is before, during record's save.

I seen again the code, and seems to me correct:
Code:
    $vbulletin->input->clean_array_gpc('p', array(
        'subscriberid'  => TYPE_INT,
        'groupid'       => TYPE_INT,
  'email'      => TYPE_STR
 ));
    // Get Values
    $subscriberid = $vbulletin->GPC['subscriberid'];
    $groupid = $vbulletin->GPC['groupid'];
 $email = $db->escape_string($vbulletin->GPC['email']);
    if($subscriberid != 0)
    {
       if(is_valid_email($email))
       {
          $vbulletin->db->query_write("UPDATE " . TABLE_PREFIX . "micronewsletter_subscribers
                                       SET groupid = '$groupid',
                                           email = '$email' WHERE id=$subscriberid");
       } else {
         $vbulletin->url="newsletter.php?" . $vbulletin->session->vars['sessionurl'] . "do=main&tab=5";
         eval(print_standard_redirect('micronewsletter_invalid_email', true, true));
       }
    } else {
       if(is_valid_email($email))
       {
First I'm escaping the string and then I'm checking for valid email address. The only that maybe is wrong, is if it needs something else than "TYPE_STR". Is there "TYPE_EMAIL" ??

Maria
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:08 AM.


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.05437 seconds
  • Memory Usage 2,309KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete