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)

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



All times are GMT. The time now is 04:52 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.01489 seconds
  • Memory Usage 1,751KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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