Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools
Details »»

Version: , by (Guest)
Developer Last Online: Jan 1970 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 12-18-2000 Last Update: Never Installs: 0
 
No support by the author.

I know VB doesn't have a 'digest' function. Will this be a new feature in the 2.0 upgrade? If not, is there a known hack that will create a digest for selected threads in *chronological* order, regardless of how the threads are displayed in each forum?

I switched from UBB, and I find VB to be a far superior product. The only feature I miss is the digest function, because I do a lot of thread archiving, and I (and several of my members) like to save finished threads as text files. In UBB, the digest will email the text of a thread - in chronological order - to whoever wants it, no matter how the threads are displayed in the forums.

I'm not looking for notification that tells me someone's posted to a thread, I need something that will email the text of the thread itself. I did search this section for a similar hack, but I came up empty-handed.

In VB, I've been using the 'Show As Printable Version' feature, and this works to a degree. The only dilemma I have is that I've got the threads displayed 'newest to oldest'. When I click on 'Show As Printable Version', it will display the text, but the text will also be listed from newest to oldest (and we'd prefer to not have to re-read it from the bottom to the top). As is stands, I have to switch the thread order back to chronological order, save all the finished threads as printed versions/text, then switch back.

Does anyone have any suggestions?

- RJ

Show Your Support

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

Comments
  #2  
Old 02-12-2001, 02:23 AM
Guest
 
Posts: n/a
Default

I'm evaluating VB and I really need the digest function as well. I would like to be able to email to the group as well, but will settle for digest.
Reply With Quote
  #3  
Old 02-12-2001, 02:30 AM
Guest
 
Posts: n/a
Default

With VB you will not need to get rid of any message like you had to with ubb. I think that's partly why there isnt a digest made.
Reply With Quote
  #4  
Old 02-12-2001, 05:07 AM
Guest
 
Posts: n/a
Default

I have made a digest function for our team forums at SitePoint. I am going to upgrade that to fit version 2.0 and a member's subscribed forums. It will run as a CRON job and create the digests as often as you set the job to run.
Reply With Quote
  #5  
Old 02-12-2001, 10:46 AM
Guest
 
Posts: n/a
Default

Wluke, Great, are you willing to make that hack available? p.s. to the prior persons comment, the reason for the digest is becaus manay members want just a summary of the emails, not individual emails. It's much easier to take a quick look at what has transpired that way for many folks.
Reply With Quote
  #6  
Old 03-26-2001, 11:13 AM
Guest
 
Posts: n/a
Default

Since no one seems to be jumping on this, I'm going to have to hack it(in the truest sense) together. Here's the approach I've been thinking on....I'd appreciate any comments or suggestions.

1) Add a userfield to keep an array of the forums on a per user basis. This will keep a flag of some sort for each forum noting that the user wants a digest for that particular forum.

2) Modify forum bits to have a checkbox for each displayed forum that would allow user to request a digest for that forum. (I need some help here...what would be the cleanest way to do this? I would like it transparent to user...i.e. I'd rather not have to have them click some button to save the changes, it should be saved no matter what they do on the page).

3) A chron job will run daily to gather the text from new messages since the prior chron run...probably forum by forum for now....i.e. user would get one email per forum they have digest enabled for.

Step one, build the text for messages.
Step two, scan the user,userfied tables to see who gets this forum in digest mode and send email..pref. a large BCC for fewer emails going through SMTP

I'm still working through the best way to manage the forum flags in the forum display bits and the best way to represent the flag data in the db....I was thinking of a mask but don't want to complicate it if I don't have to.
Any thougts or other examples out there would be appreciated.

Anyone see probs with just doing a chronological forum display versus a forum/thread sort? If so, how would the later look in the email?
Reply With Quote
  #7  
Old 03-26-2001, 01:23 PM
Guest
 
Posts: n/a
Default

[QUOTE]Originally posted by dons
Since no one seems to be jumping on this, I'm going to have to hack it(in the truest sense) together. Here's the approach I've been thinking on....I'd appreciate any comments or suggestions.
Quote:
1) Add a userfield to keep an array of the forums on a per user basis. This will keep a flag of some sort for each forum noting that the user wants a digest for that particular forum.
Would be better to add a field to the "subscribedforum" table.
digest smallint 6 not null default 0;

There is already an email notification field in there, but I feel it has other uses.
Quote:
2) Modify forum bits to have a checkbox for each displayed forum that would allow user to request a digest for that forum. (I need some help here...what would be the cleanest way to do this? I would like it transparent to user...i.e. I'd rather not have to have them click some button to save the changes, it should be saved no matter what they do on the page).
In my opinion the cleanest way to do this would be similar to the move/delete functionality on the PM screen. They would have to click a button but you can set the programming in such a way so that the screen doesn't refresh.

Quote:
3) A chron job will run daily to gather the text from new messages since the prior chron run...probably forum by forum for now....i.e. user would get one email per forum they have digest enabled for.
This is the best way to do it automatically.

Quote:
pref. a large BCC for fewer emails going through SMTP
Programmatically using BCC over individual TO: must likely won't save email resources but might on PHP.

Quote:
Anyone see probs with just doing a chronological forum display versus a forum/thread sort? If so, how would the later look in the email?
If someone subscribes to a very active forum, these emails can be quite large. I am personally working on doing a layout like:

Newthread title (XX replies)
Snippet of Text
...
Old Thread Title has XX New Replies
...
Related News (most likely from Moreover)

NewThreads are those created within the last 24 hours. Old Threads anything else. I will most likely insert targetted text advertisements in my digests as well.

What I have currently is for our team forums. It doesn't have subscription or template capabilities. It sends an email to everyone who has access to those forums regardless of their desire to receive it.
Reply With Quote
  #8  
Old 03-27-2001, 11:07 AM
Guest
 
Posts: n/a
Default

Is the emailupdate field really planned for other use? I can't find a reference to it in the code.
Reply With Quote
  #9  
Old 03-27-2001, 01:07 PM
Guest
 
Posts: n/a
Default

I'm also looking for a hack like this.

What about an extra field for example digestsent for the posts, true/false.

For digest make the email for all posts where digestsent =false, then set for these posts digestsent = true. Then you will only receive the new posts.

Anyway, looking forward to see your progress.
Reply With Quote
  #10  
Old 03-27-2001, 01:24 PM
Guest
 
Posts: n/a
Default

At this point it's not clear to me that I need to flag the posts themselves that a digest was processed if it's date/time driven...maybe just a field to log the date/time when the last digests were processed.
Reply With Quote
 


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 11:44 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.04145 seconds
  • Memory Usage 2,271KB
  • Queries Executed 24 (?)
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
  • (5)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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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
  • 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