vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Community Bulletin Email Generator + HTML (https://vborg.vbsupport.ru/showthread.php?t=32129)

christec 11-05-2001 03:41 PM

Copy the commbull.php file to your forums/admin directory.

Access the commbull.php file through a web browser
http://www. yoursite.com/forums/admin/commbull.php

It will show the install instructions

cyrus 11-05-2001 04:38 PM

thanks
done
like it
BUT

To unsubscribe from the Community Bulletin Email, click unsubscribe. In the user control panel change "Recive Community Bulletin Email" from yes, to no.

typo : receive

thanks

aldamon 11-05-2001 05:04 PM

WOW! Thanks! I swear we get some truly amazing results on this board when more than one person works on a hack!

RobAC 11-05-2001 10:06 PM

I received the following error when I set it to send out emails to 1000 users at a time:

Quote:

Fatal error: Maximum execution time of 30 seconds exceeded in /pathway/commbull.php(692) : eval()'d code on line 484
It sent out 800 emails and then quit. I have no way of emailing the rest of my members from that point on.

christec 11-06-2001 01:42 AM

1000 email at once, (:eek: )
Quote:

Maximum execution time of 30 seconds exceeded
You received this error because it took longer that 30 seconds to process this script and email.

In the php.ini file there is a max_execution_time = 30 (limit in seconds).
You can increase the time limit to something higher.

RobAC 11-06-2001 01:48 AM

Yeah I realized that afterwards. I'm curious....how would AOL users receive the Community Bulletin with the HTML code in it?

tamarian 11-06-2001 02:12 AM

Great hack Christec!

Any thoughts of setting an option for Txt vs Html for members' options?

FWC 11-06-2001 05:27 AM

Quote:

Originally posted by RobAC
Yeah I realized that afterwards. I'm curious....how would AOL users receive the Community Bulletin with the HTML code in it?
Works fine with AOL users. I've tried it.

Prince 11-06-2001 03:08 PM

When you edit a user's profile in the CP the "Receive Community Bulletin Email?" field is not there.

christec 11-06-2001 03:14 PM

In the install instructions you will see this (add this field to the users cp)

modifyoptions template
You will need to add this code to an appropriate place in your modifyoptions template:

<tr>
<td bgcolor="{secondaltcolor}"><normalfont><b>Receive Community Bulletin Email?</b></normalfont></td>
<td bgcolor="{secondaltcolor}"><normalfont>
<input type="radio" name="receivebulletin" value="yes"$receivebulletinchecked> Yes
<input type="radio" name="receivebulletin" value="no"$receivebulletinnotchecked> No
</normalfont></td>
</tr>


All times are GMT. The time now is 02:33 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.01926 seconds
  • Memory Usage 1,732KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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