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)
-   -   News & Email Community Bulletin Generator (https://vborg.vbsupport.ru/showthread.php?t=32517)

christec 11-18-2001 10:00 PM

Updated 30 Nov 2001
Fixed a typo and Birthday Date Bug
---------------------------------------------

Here's a new version of the Community Bulletin + HTML
With the changes and the inclusion of the news section I have
titled it News and Email Community Bulletin Generator.

Here's a list of the changes/modifications that were made

Include News Articles (Threads) in bulletin.
Remove vbCode from news articles before sending email.
User email options include HTML or Text.
Forums are sorted by displayorder.
Category forums do not contain yes/no option.
Private forums marked as no by default.
Fix lasteventdate bug.
Modify admin/index.php installation instructions for version 2.2.x and version 2.0.x.
Include Admin CP edit user option to include Receive Community Email Bulletin and Type (HTML or TEXT).
Remove user password, send link instead.
Preview of HTML and TEXT email.
Post to Forum can be HTML or TEXT
Modified a few mysql SELECT * queries to include only necessary fields.
Cosmetic changes
......

To install
Copy the commbull.php file to the admin/ directory.
WIth a web browser access the commbull.php file.

Example: http: //yoursite.com/forums/admin/commbull.php

Follow the additional installation instructions.

This hack is based on Community Bulletin Generator by Kier
and additional Community Bulletin Generator functions by Kevin

Additional: This hack has only been tested on my machines. I don't have the ability to send emails
to a lot of users so this has not been tested either.

Remember: BACKUP and TEST.
213

FWC 11-19-2001 05:45 PM

Cool! I'll have to try this when I get home from work tonight. :)

Princeton 11-19-2001 07:50 PM

GREAT JOB! I was hoping for a text or html version.

thank you and keep up the great work.

FWC 11-19-2001 07:52 PM

I lied. I installed it during lunch. Excellent job!! :D

DarkReaper 11-19-2001 09:35 PM

Does this display the forums in a straight list or in a hierarchy?

Robert Basil 11-20-2001 12:26 AM

Well,

I told you in the other thread I'm not ready to give up on this hack. :)

I gave up on the script not being able to add the fields in my user table so I added them myself using these commands (Yes, it worked fine)

Code:

ALTER TABLE user ADD receivebulletin SMALLINT (5) UNSIGNED DEFAULT '1' not null
Code:

ALTER TABLE user ADD receivebulletin_type SMALLINT (5) UNSIGNED DEFAULT '1' not null
Then I made the changes according to the admin_commbull.txt

I then accessed the commbull.php via the web and yes, it FINALLY asked me for my admin username and password (This was my stumbling block with the old version)

I entered my username and password and then got the screen stating:

"User tables have been altered sucessfully.

Installation instructions for the News and Email Community Bulletin Generator. "

So I made all of the changes according to this file. And then I clicked on the "Go" button at the bottom of the page.

And....... nothing. :( The same install page just keeps repeating itself when I click on the "Go" button.


Sooooo close..........

Any ideas?

christec 11-20-2001 02:17 AM

Quote:

Originally posted by DarkReaper
Does this display the forums in a straight list or in a hierarchy?
Hierarchy, just like the list is displayed in the modify forum section, Sorted by Categories, but listed in a straight line.

christec 11-20-2001 02:19 AM

Quote:

And....... nothing. The same install page just keeps repeating itself when I click on the "Go" button.
Have you tried the link through the Admin CP

Robert Basil 11-20-2001 02:40 AM

Quote:

Originally posted by christec

Have you tried the link through the Admin CP

Yes, it just keeps repeating itself there also.

christec 11-20-2001 02:44 AM

Quote:

Originally posted by Sportbikeworld


Yes, it just keeps repeating itself there also.

How about www.yoursite.com/forums/admin/commbull.php?&action=info


All times are GMT. The time now is 06:49 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.01163 seconds
  • Memory Usage 1,738KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)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