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

Reply
 
Thread Tools
Have Newsletters Posted To Your VB Details »»
Have Newsletters Posted To Your VB
Version: 1.00, by kreftt kreftt is offline
Developer Last Online: Nov 2005 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 05-19-2003 Last Update: Never Installs: 7
Is in Beta Stage  
No support by the author.

TESTED ON 2.2.9, SHOULD WORK ON ANY 2.X BOARD

What does it do?

Say you have a newsletter from some site like sitepoint, that you receive and want to make available to your members.
so usually you would check your mailbox, read the mail, do a copy'n'paste and post the newsletter in your forum.
if there is more than one or the one comes quite often the work sums up.

now you can have this hack run by a cronjob or run it manual and have your new newsletters from any pop3-box automatically posted into your board.

detailed features:
  • no vb file edits at all, just one file to upload and adapt to your needs
  • check any pop3-mailbox for a newsletter
  • define as which user thenewsletter should be posted
  • define in which forum that user should post
  • basic spam check (checks sender name for a string you define)
  • url-parsing
  • cut off unneeded parts in header and footer that are always the same by strings you define
    DO NOT BREAK ANY COPYRIGHTS WITH THAT
  • posted newsletters get deleted after posting from the mailbox, other mails stay intact
  • with little adaptation to vb3's database scheme it will be vb3-compatible

instructions:
  • preparation: subscribe to a newsletter
    i personally would use a dedicated email-account just for the newsletter/-s to prevent spam
  • download the attachment, which contains a single php-file
  • rename the file to whatever you like, like newsletterxyz.php
  • edit the file and adapt it to your needs, like mailbox-variables and the username as who the newsletter should be posted
  • Check if you have scott macvicars last post on forumhome hack installed as you have to edit another line in the file then (line 193)
  • close and upload to [FORUMROOT]
  • either run it manually once in a while in browser or setup a cronjob if your host supports this

    THATS IT
  • for uninstallation: delete the file off your server

you have to use a new copy of the hack for every newsletter you subscribe to

screenshot wont be provided as you would only see some user having posted some thread, nothing exciting

the hack has run for about a month on my board and has posted about 500 threads so far, without a problem

as i have rearranged the variables so that you can change all variables in the header and dont need to scroll through the whole file, i might have made a mistake in this process.
thats why its in beta for now.

please try it, feel free to comment and ask for support, and please click "install" if you decide to use it

finally: i will not be held responsible for any harm you do to your board by using this hack

EDIT: 27.05.03 trouble with cron when running from admin-dir, updated to have it reside in forumroot

Show Your Support

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

Comments
  #22  
Old 12-28-2003, 03:53 PM
gmarik's Avatar
gmarik gmarik is offline
 
Join Date: May 2002
Location: Mocsow
Posts: 1,288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great, how is 2.3.2?
Reply With Quote
  #23  
Old 01-11-2004, 03:41 PM
X-Caliber X-Caliber is offline
 
Join Date: Dec 2003
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Seems that this hack has a problem with database access.

Warning: main(./config.php) [function.main]: failed to create stream: No such file or directory in /www/htdocs/headpres/forum/admin/global.php on line 96

Can anyone help out on this.
Reply With Quote
  #24  
Old 03-10-2004, 06:54 PM
gopherhockey's Avatar
gopherhockey gopherhockey is offline
 
Join Date: Jul 2002
Posts: 202
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone working on something like this for vb3?
Reply With Quote
  #25  
Old 04-18-2004, 06:29 PM
kreftt's Avatar
kreftt kreftt is offline
 
Join Date: Dec 2001
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

im running this on vb3 with over 3000 posts by this hack so far.
but apparently it doesnt work for others.
if you want to try it, email me.

greetz
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 05:30 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.09869 seconds
  • Memory Usage 2,239KB
  • Queries Executed 19 (?)
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
  • (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
  • (2)pagenav_pagelink
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (4)postbit
  • (5)postbit_onlinestatus
  • (5)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