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?


All times are GMT. The time now is 11:00 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.01704 seconds
  • Memory Usage 1,745KB
  • 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
  • (3)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