Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

Reply
 
Thread Tools
Commbull (Community Bulletin) 5.1b Details »»
Commbull (Community Bulletin) 5.1b
Version: 5.1a, by grandeur_69 grandeur_69 is offline
Developer Last Online: Apr 2014 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 3.8.4 Rating:
Released: 12-16-2009 Last Update: 02-03-2011 Installs: 208
DB Changes Uses Plugins Template Edits
Re-useable Code Additional Files Translations  
No support by the author.

Community Bulletin:

This mod grabs all the latest information in your forum (posts, threads, events, birthdays, etc) and puts them into a newsletter to be sent to all your members that subscribe.

This mod has been around a long time and gone through many versions. It has been a paid version for a number of years with great success, but it's time to pass on the reigns.

[edit Feb 03, 2011]
Attempted fix for sending to users that are part of multiple user groups

[installation]
- upload some files
- upload the product.xml
- make 1 mod to the usercp options template
- FULL DETAILS in the README.txt

[note] many people ask why all the images, etc don't show up in the HTML version of what is in your forum. This is because most mail clients strip out the CSS and vbulletin is 99% CSS. I have created an HTML version that is nice and clean, but is forum independent. If you know what you are doing, you can edit this HTML file and build your own newsletter.

Download Now

File Type: zip html_newsletter_images.zip (3.9 KB, 935 views)
File Type: zip commbull.zip (52.1 KB, 686 views)

Screenshots

File Type: jpg commbull_edit.jpg (27.2 KB, 0 views)
File Type: jpg commbull_email_html.jpg (29.7 KB, 0 views)
File Type: jpg commbull_email_txt.jpg (19.7 KB, 0 views)
File Type: jpg commbull_html.jpg (24.0 KB, 0 views)
File Type: jpg commbull_sending.jpg (19.4 KB, 0 views)
File Type: jpg commbull_txt.jpg (24.4 KB, 0 views)
File Type: gif masthead_green_tab.gif (1.2 KB, 0 views)
File Type: gif masthead_green_tab_selected.gif (767 Bytes, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
M Shaker

Comments
  #242  
Old 07-06-2011, 04:40 PM
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Posts: 2,601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by LauraS View Post
Our developer is having issues with the files; he says he cannot unzip. Any hints here???

Laura
Download the zip file again. He has a corrupted or incomplete zip file.
Reply With Quote
  #243  
Old 07-07-2011, 11:51 AM
kartik786 kartik786 is offline
 
Join Date: Aug 2005
Location: India
Posts: 175
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kartik786 View Post
I have over 2,30,000 members. I tried using this mod but the send queue fails / stops abruptly and then I have to hit the back button. Also it conflicts with vbseo in a way and takes jargon code from footer. We have a nehlam dedicated server.

I'm willing to pay but can someone tell me how

a.) I can send an email to all my members without having to watch the queue page update every x seconds and then stop?

b.) Reduce server loads and ensure the bounced emails are not sent again.
I'm sorry but was this addressed?
Reply With Quote
  #244  
Old 07-25-2011, 07:50 PM
realmr realmr is offline
 
Join Date: Aug 2008
Posts: 213
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

mails are properly sent only to gmail users, all other users are facing problems either with blank emails or no emails. Any solution to fix this ?
Reply With Quote
  #245  
Old 07-27-2011, 01:59 PM
Dragonsys's Avatar
Dragonsys Dragonsys is offline
 
Join Date: Jan 2008
Location: DFW, Texas
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by StarBuG View Post
I get the following error when I try to send the newsletter:

Code:
Warning: Missing argument 1 for vB_Database::query_write(), called in [path]/acp/commbull_functions.php on line 366 and defined in [path]/includes/class_core.php on line 438


Database error in vBulletin 4.1.4:

Invalid SQL:
;

MySQL Error   : Query was empty
Error Number  : 1065
Request Date  : Friday, July 1st 2011 @ 02:27:27 PM
Error Date    : Friday, July 1st 2011 @ 02:27:27 PM
Script        : http://www.adsenseexperts.com/acp/commbull.php?do=send
Referrer      : http://www.adsenseexperts.com/acp/commbull.php
IP Address    : xxx
Username      : me
Classname     : vB_Database
MySQL Version : 5.0.51a-24+lenny5
I run 4.14, this is a fresh install (with modifications from the 4.0 Version Thread) and I have selected usergroups and forums for the newsletter.
I can see the newsletter preview but when I click send I get the above error.

Can anyone help me with this?

Any help is appreciated
I am having the same problem
Reply With Quote
  #246  
Old 08-06-2011, 08:32 PM
Scalemotorcars's Avatar
Scalemotorcars Scalemotorcars is offline
 
Join Date: Mar 2006
Location: NC
Posts: 619
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Working 4.1.4 with edits. Thanks.
Reply With Quote
  #247  
Old 08-06-2011, 08:49 PM
Scalemotorcars's Avatar
Scalemotorcars Scalemotorcars is offline
 
Join Date: Mar 2006
Location: NC
Posts: 619
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone ever figure out how to include photopost into commbull?
Reply With Quote
  #248  
Old 09-22-2011, 05:12 PM
Halfhidden's Avatar
Halfhidden Halfhidden is offline
 
Join Date: Sep 2009
Location: Penzance Cornwall
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had a problem with this mod where sometimes it wouldn't send out emails or it sent out several to the same user, duplicated emails.
In my case I did two things to solve this:
1 In Vbulletin>admincp>Options>settings>Email Options

Use Mailqueue System set to "Yes, with locking"
This prevents duplicated newsletter from going out and also helps the smooth distribution of those newsletters.

2 SMTP Email set this to yes!
Now fill in the settings for your smtp server and hit save.
Since doing this I'm able to send out newsletters without problems to over 5,000 members.
Hope this helps.
Reply With Quote
Благодарность от:
djbaxter
  #249  
Old 09-22-2011, 06:12 PM
grandeur_69 grandeur_69 is offline
 
Join Date: Feb 2003
Location: Kelowna, BC, Canada
Posts: 166
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

we wrote a PHP script that runs on our server that cleans everything up.

PHP Code:
<?php

define
('DB_SERVER_NAME''localhost');
define('DB_USER_NAME''user');
define('DB_PASSWORD''pass');

$forum_dbs[] = 'db1';
$forum_dbs[] = 'db2';

$server 'pop.gmail.com';
$user 'email@email.com';
$password 'password';

$conn mysql_connect(DB_SERVER_NAMEDB_USER_NAMEDB_PASSWORD);
if (
$conn) {
        
$port '995/pop3/ssl';

        
set_time_limit(6000);

        
$link imap_open("{".$server.":".$port."}INBOX",$user,$password);

        if (!
$link) {
                echo 
"Cannot create POP3 connection to $server: ".imap_last_error();
                return;
        }
        
processMessages($link);
}

function 
processMessages($link$max 1000) {
  
$check imap_check($link);
  
$num $check->Nmsgs;

  if (
$num $max) {
        print 
"Processing first $max of $num messages\n";
        
$num $max;
  }

  print 
"Processed messages will be deleted from mailbox\n";

  for (
$x=1$x <= $num$x++) {
    
set_time_limit(60);
    
flush();
        print 
"processing $x of $num messages\n";
    
$processed processBounce($link,$x);
    
// delete it anyway - we've seen it, tried to process it, no need to do it again
    
imap_mail_move($link"$x:$x""[Google Mail]/Trash");
    
flush();
  }
  
flush();
  print 
"\nClosing mailbox, and purging messages\n\n";

  
set_time_limit(60 $num);
  
imap_expunge($link);
  
imap_close($link);
}

function 
processBounce($link,$num) {
  global 
$forum_dbs$conn;
  
$headerinfo imap_headerinfo($link,$num);
  
$matched false;

  
$subject strtolower($headerinfo->subject);

  if (
strpos($subject'undelivered') !== false || strpos($subject'returned') !== false) {
        
$email_address '';
          
$body imap_body($link,$num);
          
$pos strpos($body'Undelivered Message');
          if (
$pos) {
                
$body substr($body$pos);
            
preg_match ("/To: (.*)/i"$body$match);
            if (
is_array($match) && isset($match[1])) $email_address trim($match[1]);
          }
          if (
$email_address) {
                print 
"procesing email '$email_address'\n";
                
// loop through the dbs to find the user and turn off emails to that address
                
foreach ($forum_dbs as $db_name) {
                        if (
mysql_select_db($db_name$conn)) {
                                
$query "SELECT * FROM user WHERE email = '".mysql_real_escape_string($email_address) ."'";
                                
$result mysql_query($query$conn);
                                if (
$result && $user mysql_fetch_assoc($result)) {
                                        echo 
"cleaning user '$email_address' from $db_name\n";
                                        
$matched true;
                                        
$user_id $user['user_id'];
                                        
// no weekly newsletter
                                        
mysql_query("UPDATE user SET receivebulletin = 0 WHERE userid = $user_id"$conn);
                                        
// no longer receive admin emails
                                        
mysql_query("UPDATE user SET options = options - 16 WHERE options & 16 AND userid = $user_id"$conn);
                                }
                        }
                }
          }
  }
  return 
$matched;
}

?>
Couple notes:
- everything gets bounced to our Google Apps account, so your setup may be slightly different
- we have multiple forums that run to the same email address, so we pass an array of DB's
Reply With Quote
  #250  
Old 10-04-2011, 05:41 PM
angeljs's Avatar
angeljs angeljs is offline
 
Join Date: Aug 2005
Location: UK
Posts: 384
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've installed this but when trying to access the settings etc. receive the following error:

Code:
Invalid SQL:

SELECT   administrator.*, 
FROM  user AS user
LEFT JOIN userfield AS userfield ON (user.userid =  userfield.userid)
LEFT JOIN usertextfield AS usertextfield ON  (usertextfield.userid =  user.userid) LEFT JOIN administrator AS administrator ON   (administrator.userid = user.userid) LEFT JOIN language AS language ON   (language.languageid = IF(user.languageid = 0, 1, user.languageid)) 
LEFT  JOIN usergroup AS mgcugp ON (user.usergroupid=mgcugp.usergroupid) 
WHERE  user.userid = 3;

MySQL Error   : Unknown column  'language.phrasegroup_commbull' in 'field list'
Error Number  : 1054
Also, I'm not sure if I have all the right files as I receive an error when I try to open the zip file.
Reply With Quote
  #251  
Old 10-04-2011, 09:21 PM
grandeur_69 grandeur_69 is offline
 
Join Date: Feb 2003
Location: Kelowna, BC, Canada
Posts: 166
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the error doesn't even make sense. I don't see phrasegroup_commbull in the search query for it to display that error. The product XML file is the one that would include these changes to the database.
Reply With Quote
Reply

Thread Tools

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 12:40 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08961 seconds
  • Memory Usage 2,400KB
  • Queries Executed 28 (?)
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
  • (2)bbcode_code
  • (1)bbcode_php
  • (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
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_attachment
  • (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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete