vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   CommBull (Community Bulletin) (https://vborg.vbsupport.ru/showthread.php?t=66334)

Viks 02-02-2005 12:13 PM

Any help on event and calender section from folks here!?

grandeur_69, is it becoz the way dates are handled by commbulll?

Viks 02-06-2005 02:40 PM

can someone here pls help me with the calender events... also how can I fix the newsletter further, i need to make it look a little more neater. pls PM me. thanks.

Viks 02-13-2005 04:38 AM

thanks memobug for helping me out with calender issue.

I have noticed that for some odd reason, Commbull is also picking up threads older than the cut off date i specify during mailout!!
is someone else also having this issue??

not sure wat is wrong

vik

Lee Wilde 02-13-2005 11:18 PM

Thanks for a BRILLIANT hack grandeur_69 - this will make life much easier for me.

I apologise if this question has already been raised. I searched the thread but haven't found the answer I need.

I would like to remove the html version altogether and send to everyone in plain text.

I tried simply deleting everything in the preview HTML field....but that only results in receiving a blank email.

Thank you, any assistance/suggestions would be appreciated.

memobug 02-14-2005 12:43 AM

Quote:

Originally Posted by Viks
thanks memobug for helping me out with calender issue.

I have noticed that for some odd reason, Commbull is also picking up threads older than the cut off date i specify during mailout!!
is someone else also having this issue??

not sure wat is wrong

vik

As you've found, commbull is designed to select threads opened or replied to during the reporting period. I didn't like that too much because I keep getting the same ancient threads, particularly in the Most Replies and Most Views areas, so I changed it to use only threads started during the reporting period

My commbull.php is pretty hacked up but generally you want to

1. Look for a line that looks like this

Code:

$datesql = "AND (lastpost>$olddate OR dateline>$olddate)";
and replace it with this:
Code:

$datesql = "AND (dateline>$olddate)";
2. You'll also need to check the box in the commbull setup titled "Select Items to include in your mailing.... Only include threads that have been started or replied to since this date? YES

Let me know if this produces the desired result.

Regards,

Matt

memobug 02-14-2005 12:50 AM

Quote:

Originally Posted by Lee Wilde
Thanks for a BRILLIANT hack grandeur_69 - this will make life much easier for me.

I apologise if this question has already been raised. I searched the thread but haven't found the answer I need.

I would like to remove the html version altogether and send to everyone in plain text.

I tried simply deleting everything in the preview HTML field....but that only results in receiving a blank email.

Thank you, any assistance/suggestions would be appreciated.

Find this bit towards the bottom of commbull.php
Code:

if ($user[receivebulletin_type] == '1')
{
/*
$htmlmail = new send_mail($user['email'],"$bbtitle Mailer",$webmasteremail,$subject,$HTML_mailbody);
$htmlmail->changetype('html');
$htmlmail->send();
*/
if (DEBUG_COMMBULL == '0')
{
        mail($user[email],$subject,$HTML_mailbody,$htmlEmailHeader);
}
echo ' html ';
}
else

and right before it, insert the new line:
Code:

$user[receivebulletin_type]=0;
That should force everyone to text regardless of their setting.

Regards,

Matt

Lee Wilde 02-14-2005 01:15 AM

That works brilliantly! Thanks so much :-)

Blam Forumz 02-14-2005 11:48 AM

Hey guys, love this hack, just a bit of a problem

in the html version that gets psoted automatically, it doesnt include the stats of the user it simply saus

$username, $whatever etc

diettalk 02-14-2005 12:21 PM

Don't forget about us.. we would like to have a functioning calendar too.

Quote:

Originally Posted by Viks
thanks memobug for helping me out with calender issue.

vik


jp2 02-15-2005 10:15 AM

Does this hack work on 3.0.6?

dethfire 02-16-2005 05:48 PM

I still can't get this to work. I click send and it proccesses, but just stops. Doesn't get to the next page to send out mails. This happens on a couple servers with large and small forums I own.

globalinsites 02-20-2005 12:25 AM

Is there an additional hack available that will automatically send all the pages of the bulletin, so that I don't have to click the next page button every time? That would make it a lot easier. I've tried increasing the number of emails sent on one page, but if it exceeds 1000 the page freezes and I have to start all over again.

Pseudomizer 02-20-2005 09:42 AM

Quote:

Originally Posted by globalinsites
Is there an additional hack available that will automatically send all the pages of the bulletin, so that I don't have to click the next page button every time? That would make it a lot easier. I've tried increasing the number of emails sent on one page, but if it exceeds 1000 the page freezes and I have to start all over again.

Hi Globalin,

why an additional hack? This is already implemented. Look at the settings on the main page. You can enable Javascript next page with a delay of 60 seconds per page. This is recommended to let your emailserver time to send the actual page emails.

Increasing to 1000 will let your IE die. Execution time 300 is the perfect number for my server.

Cheers,

joeychgo 02-20-2005 06:13 PM

Quote:

Originally Posted by dethfire
I still can't get this to work. I click send and it proccesses, but just stops. Doesn't get to the next page to send out mails. This happens on a couple servers with large and small forums I own.


I have the same problem -- probably coming from 3.06 because it worked fine before I upgraded.... It seems to have something to do with sending larger numbers of emails -

tormodg 02-20-2005 07:12 PM

It worked fine on 3.0.6 for me. I also just sent out a commbull to my admins from 3.0.7 with no glitches.

I can only send about 10-15 at a time, though, because the server has an automatic 30 second timeout on scripts. But when I see that it has gone through I wait a few seconds and then click "Next" (I have 1030 members and the last bulletin went out without a glitch).

joeychgo 02-20-2005 09:43 PM

what does this section of code do? It looks commented out...


PHP Code:

  <!--
  
countdown $auto_timer;
  
actualcountdown $timeremaining;
  function 
submit_form()
  {
     
document.cpform.submit();
  }

  function 
count_down()
  {
      
actualcountdown actualcountdown-1;
        
document.cpform.timeremaining.value=actualcountdown' seconds remaining';
        
setTimeout('count_down()',1000);
  }
  
//--> 


Blam Forumz 02-21-2005 06:01 AM

Quote:

Originally Posted by Blam Forumz
Hey guys, love this hack, just a bit of a problem

in the html version that gets psoted automatically, it doesnt include the stats of the user it simply saus

$username, $whatever etc

Bump
need help please :/

rajc007 02-21-2005 02:52 PM

Nice hack, thank you....

Viks 02-22-2005 10:23 PM

Quote:

Originally Posted by memobug
My commbull.php is pretty hacked up but generally you want to

1. Look for a line that looks like this

Code:

$datesql = "AND (lastpost>$olddate OR dateline>$olddate)";
and replace it with this:
Code:

$datesql = "AND (dateline>$olddate)";
2. You'll also need to check the box in the commbull setup titled "Select Items to include in your mailing.... Only include threads that have been started or replied to since this date? YES

Let me know if this produces the desired result.

Regards,

Matt

Hey Matt,
It did produce the desired results but partly...
I am picking up the threads for right dates but only the new threads.. I am not picking up most viewed or most replied threads!!
I am certain that is the commbull.php file. I was wondering if someone can lend me their commbull.php file which is working OK on their vB board.
im running 3.0.3.

cheers,

Vik

memobug 02-24-2005 06:02 AM

Hi Viks,

That line is probably in there multiple times - once for every block. The code frankly is not that efficient. The first thing I did was rewrite it with a loop, so I got rid of all those blocks of redundant code. It removed hundreds of lines of unnecessary php to put all the blocks into a single loop.

So just check the code, you'll probably find several more instances of that same replacement to be made.

Regards,

Matt

Quote:

Originally Posted by Viks
Hey Matt,
It did produce the desired results but partly...
I am picking up the threads for right dates but only the new threads.. I am not picking up most viewed or most replied threads!!
I am certain that is the commbull.php file. I was wondering if someone can lend me their commbull.php file which is working OK on their vB board.
im running 3.0.3.

cheers,

Vik


Viks 02-24-2005 10:31 AM

thanks Matt.. will do this tonite.

btw, why dont you release a upgrade version of CommBull or....maybe totally new Newsletter Mod, one with less bugs and efficient code..mmmm....just a thought.

cheers,

kall 03-10-2005 09:41 AM

Quote:

Originally Posted by diettalk
Don't forget about us.. we would like to have a functioning calendar too.

I too would like a functioning Events section of my commbull.

Neutral Singh 03-11-2005 08:30 AM

Hi

I have seen this small module on http://www.vbulletin.com on the left hand side bottom of the homepage. Its a mailing list where somebody can submit his email to receive newsletters from vB.com...

I already have Community Bulletin installed. Is it possible to add such an module intergrated with commbull that automatically takes emails from my homepage (vBadvanced or index page or even non-Vb page) and stores it in my forum database and when i send monthly newsletter to my members, those persons who have subscribed through that mailing list, too, are also sent a copy of the newsletter. This add-on hack would really useful for any forum in general.

Thanks

Lionel 03-13-2005 10:08 AM

Well done! Is there a way not to post the userinfo in the thread? It is printing the variables

Your username is: "$username"Forget your password?You have $posts PostsYou registered on $joindateYou were last active on Magazine at $lastactivity

apfparadise 03-16-2005 01:37 AM

Ok, how about this. Installed fine, all visible, get a preview, set to only send to Administrators (me and 2 more) and it says all done, shows each one as HTML ok! and then >>>>>> NOTHING!!! no email.

Please help!

crazymeezer 03-17-2005 07:43 AM

Quote:

Originally Posted by apfparadise
Ok, how about this. Installed fine, all visible, get a preview, set to only send to Administrators (me and 2 more) and it says all done, shows each one as HTML ok! and then >>>>>> NOTHING!!! no email.

Please help!

I get the exact same problem running 3.0.6

cmiller1014 03-18-2005 11:30 PM

Has anyone made a version that works? I dont want to install this with all the problems people have mentioned but I desperately need this functionality on my site.

Lionel 03-18-2005 11:33 PM

The current version works for me on 3.07

tormodg 03-19-2005 12:06 AM

Works fine for me too, on 3.0.7. We had to do some changes but they were mostly to reduce server load when sending posts due to a 30 second script time out on our host.

To those who do not receive e-mail: Make sure your commbull is not caught by spamfilters. I sent out a couple of tests and received nothing, and assumed there was something wrong, but my admins and mods got it so it turned out to be a spam issue.

MSC 03-19-2005 11:43 AM

Could somebody show me how I can add an opt in to commbull in my user registration.

At present there's a box for 'can be contacted by admisinstators' but I don't think this is enough to comply with spam guidelines.

I'd like an extra tick box on the registration form so that users are clear that they are opting in to a community bulletin.

I'd also like to have a box on the forum home that allows people to opt in to the bulletin.

Has anyone done this?

Thanks very much,

Chris

kall 03-19-2005 06:19 PM

Quote:

Originally Posted by Lionel
The current version works for me on 3.07

And the Events part?

Does that work too?

I ask because it doesn't for me, and I would really like it to.

Lionel 03-19-2005 06:42 PM

I can't say. It's because I don't have any events. Table for that period of time was empty. I just created a special calendar for events and posted in there, so I'll know next week....

cmiller1014 03-20-2005 04:55 AM

Yep calendar events doesnt work for us either. Just added this. I knew we should have waited. Now we have a half working script that is useless and hacked the forum up for nothing. :( :(

cmiller1014 03-24-2005 09:54 PM

So what's the deal? How do we make calendar events show up?!? PLEASE!

cmiller1014 03-25-2005 04:08 AM

I will pay for someone to get this working right for me, and to customize it a bit. Please contact me asap: chris@distributortalk.com

We really need to get this working.

Marco van Herwaarden 03-25-2005 06:57 AM

If you are offering payment, i suggest you repost your request on the Service Request forum. You will probably get more response from coders if posted there.

Koutaru 03-27-2005 10:24 PM

I just installed it and it works fine (minus the calendar) :)

One thing: Is there any way to just pull the templates from a current template. I don't want to keep editing the templates over and over with each mailing

GetGamer.com 03-29-2005 09:18 PM

Any suggestions for easily unsubscribing users with bad email addresses? I've got a lot of old user accounts with bad email addresses--about 10% of the membership database. It would be nice to compile a list of known "bad" email addresses and feed it into the database and unsubscribe those members so I don't keep trying to send them the bulletin.

Lionel 03-29-2005 09:27 PM

Quote:

Originally Posted by GetGamer.com
Any suggestions for easily unsubscribing users with bad email addresses? I've got a lot of old user accounts with bad email addresses--about 10% of the membership database. It would be nice to compile a list of known "bad" email addresses and feed it into the database and unsubscribe those members so I don't keep trying to send them the bulletin.

do a search for 'bouncer'. You might be able to tweak that. That was next on my list.

jzewatsky 03-29-2005 09:30 PM

Since the bulletin can be sent out by usergroup, could you create 2 secondary usergroups (send and dont send) and then go through and put the bad e-mails in dont send, the goods in send then set commbull to send to send. I know that it would be a lot of work, member by member, but it would be simple to administer once the grunt work is completed. Good luck!


All times are GMT. The time now is 06:28 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.01978 seconds
  • Memory Usage 1,841KB
  • 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
  • (6)bbcode_code_printable
  • (1)bbcode_php_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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