Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by christec christec is offline
Developer Last Online: Mar 2004 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 11-03-2001 Last Update: Never Installs: 18
 
No support by the author.

First off this is Kier's hack and it's a great one. There are other contributors like tubedog.

Update 16-Nov-2001:
Include News Article(s) in bulletin
Optional - Add "Receive Community Email Bulliten" option to the admin CP. When editing a user you can turn on and off the bulletin.
Fixed lasteventdate bug

These changes are based on version 0.98
Changes/Additions
Preview includes html tags
Email is sent in an HTML format
Post to thread is HTML
Updated install to include changes for vBulletin v2.2
Private Forums marked No by default (if accessmask is ON)
Password removed - Link to Forgot your password added

Installation is still the same. If you already have commbull.php installed you can just copy this file to the same location.

(I'm not trying to take any credit for this hack. Just share the modifications that I made.)
Always backup and test.
CC

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 11-05-2001, 03:41 PM
christec christec is offline
 
Join Date: Oct 2001
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #13  
Old 11-05-2001, 04:38 PM
cyrus's Avatar
cyrus cyrus is offline
 
Join Date: Oct 2001
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #14  
Old 11-05-2001, 05:04 PM
aldamon aldamon is offline
 
Join Date: Oct 2001
Location: Durham, NC
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

WOW! Thanks! I swear we get some truly amazing results on this board when more than one person works on a hack!
Reply With Quote
  #15  
Old 11-05-2001, 10:06 PM
RobAC RobAC is offline
 
Join Date: Oct 2001
Posts: 314
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #16  
Old 11-06-2001, 01:42 AM
christec christec is offline
 
Join Date: Oct 2001
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

1000 email at once, ( )
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.
Reply With Quote
  #17  
Old 11-06-2001, 01:48 AM
RobAC RobAC is offline
 
Join Date: Oct 2001
Posts: 314
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah I realized that afterwards. I'm curious....how would AOL users receive the Community Bulletin with the HTML code in it?
Reply With Quote
  #18  
Old 11-06-2001, 02:12 AM
tamarian tamarian is offline
 
Join Date: Oct 2001
Location: Canada
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack Christec!

Any thoughts of setting an option for Txt vs Html for members' options?
Reply With Quote
  #19  
Old 11-06-2001, 05:27 AM
FWC's Avatar
FWC FWC is offline
 
Join Date: Oct 2001
Location: Ontario, CA
Posts: 821
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #20  
Old 11-06-2001, 03:08 PM
Prince Prince is offline
 
Join Date: Oct 2001
Posts: 333
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When you edit a user's profile in the CP the "Receive Community Bulletin Email?" field is not there.
Reply With Quote
  #21  
Old 11-06-2001, 03:14 PM
christec christec is offline
 
Join Date: Oct 2001
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
Reply


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 06:49 PM.


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.09556 seconds
  • Memory Usage 2,298KB
  • Queries Executed 25 (?)
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
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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_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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete