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)
-   -   [RELEASE vB2.0] Community Bulletin Mailer (https://vborg.vbsupport.ru/showthread.php?t=16161)

Kier 05-06-2001 10:00 PM

First up, huge apologies to everyone who has been waiting for this hack... I actually got it to the state it's in now about a month ago, but never really polished it off after I joined the vB Dev team... and then I completely forgot about it.

So sorry about that.

http://kier.3dfrontier.com/vbhacks/commbull.gif

Installation is a breeze. Simply unzip the attached file and copy commbull.php to your admin folder. When you run the script for the first time, it will detect that you have not altered the user table to include the receivebulletin field, and add that field for you. It will also display the necessary information about what alterations you need to make to the modifyoptions template, and the member.php file.

If you ever want to view the installation instructions again, there is a link at the bottom of the main page.

Once installation is complete, the rest is really very easy to use.

You may find that this hack is a little rough around the edges, but I'm afraid I just don't have the time to dedicate to polishing it right now, so if anyone wants to have a fiddle with the code, be by guest.

Kier 05-07-2001 10:52 AM

Might help if I actually ~released~ the hack too eh?

floleb7 05-07-2001 11:13 AM

when i click to go i have this

Fatal error: Call to unsupported or undefined function maketableheader() in /home/latriade.net/www/forum/admin/commbull.php3 on line 75

Kier 05-07-2001 11:27 AM

Quote:

Fatal error: Call to unsupported or undefined function maketableheader()
You will need to upgrade to at least Release Candidate 2 to use this script.

TommyBALL 05-07-2001 11:30 AM

This will of couse be included in the next release of vb? ;)

:D
- TommyBALL

chrispadfield 05-07-2001 11:57 AM

looks very cool. A few suggestions if anyone has a chance to work on it:

i) ability to send multiple sets of threads. I would quite like to be able to send all of:

- top 10 threads by replies
- most recent 10 unanswered threads
- top 10 threads by views

etc.

I imagine this just needs a repliaction of the code that generates the threads..

ii) a way to run this script by cron.

Streicher 05-07-2001 03:15 PM

What a awasome hack!

Is it possible to send a HTML-Mail as Bulletin?

Streicher 05-07-2001 03:24 PM

A Bug:

I have set "Get threads according to" to "Most recently posted" and get this. Look at the dates :D ;)

Title: "Salzs?ure" (posted 19-01-2038 by MichiG)
o (3 replies, 3 views, last post: 22:10, 22-03-2000 by CO-Kowtun)
o http://www.chemieonline.de/forum/sho...?s=&threadid=1

My private Forums are also included.

Arkham 05-07-2001 03:51 PM

Please excuse my ignorance, but as a soon-to-be vBulletin owner I haven't seen this one in use and really not sure what it does. Could I buy a clue?

From what I could tell, it looks like a hack for people to receive a certain (subscribed?) thread pushed via email instead of having to log on and pull it themselves.

Thanks.

JonnyQuest 05-07-2001 03:52 PM

Great idea!
My thoughts:
1) Be able to choose to send HTML mail using the standard header and footer
2) Instead of hacking the user table, it should just use the field for recieve email from admins.


All times are GMT. The time now is 12:35 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.01117 seconds
  • Memory Usage 1,733KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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