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

RobAC 05-09-2001 09:03 PM

Tubedogg,

I assume that if I install this hack now, I'll have to re-hack this after each forum software upgrade, correct?

JJR512 05-09-2001 10:08 PM

I've discovered a tiny little bug in this.

In the instructions that show up from commbull.php, it says to add to the admin/index.php file this:
PHP Code:

<a href="commbull.php?s=<?php echo $session[sessionhash]; ?>"> Send Community Bulletin >/a><br>

The very end should say ></a><br> ... In other words, you are missing the < in </a>. As far as I can tell, this only affects the way the link is displayed in the admin cp. It works, it just shows up wrong.

tubedogg 05-09-2001 11:53 PM

Yes you're right :) I'll put up the fixed version in just a minute. Just a minor change, no need to upgrade if you've already installed it.

In admin/index.php, find
Code:

<a href="commbull.php?s=<?php echo $session[sessionhash]; ?>"> Send Community Bulletin >/a><br>
and replace it with
Code:

<a href="commbull.php?s=<?php echo $session[sessionhash]; ?>"> Send Community Bulletin </a><br>
Fixed. :) Thanks JJR.

tubedogg 05-09-2001 11:54 PM

RobAC: Yes, you will have to rehack member.php and admin/index.php, however they are minor changes.

tubedogg 05-10-2001 01:50 PM

I have updated the first post in this thread with new v0.95, which has new features as detailed in that post. :)

JJR512 05-10-2001 05:36 PM

Question about the upgrade. What I have is commbull92. Do I just simply upload the new file and that's it? Or do I need to run it and do all the instructions again, or what?

chrispadfield 05-10-2001 05:55 PM

Couple of suggestions if anyone is interested...

1. Threads only get set once. My worry is that for the threads like "top ten recent activity" i am often going to get the same ones coming up, like "word game" sort of thing. Perhaps nice if you could add a field to thread to turn that thread of after it has been used once (also preventing the same thread appearing more than once in each mailing). This would be quite a big hack i presume and perhaps not worth it.

2. Automatic

This would be mega useful. Basically, the way i see it happening is having a slightly different version of the script in which you hard code your options (not hard me thinks) and then that is run by cron at your set time.... but..

3. Option in profile for frequency.

To make it trully automatic have a frequency setting in profile (perhaps limit this to daily, weekly or monthly). The mailer the cron script then runs through but only sends to those on weekly if it is a monday and only to those on monthly if it is 1st of month.

anyway, that whole automatic cron thing would be cool if someone is interested...

smelialichu 05-10-2001 06:00 PM

I have some suggestions. the statistics, I was hoping to use this to send outg weekly stats. It would be useful to have it so you can show statistics from the start and from lets say the last week? Also it would be nice to include new stories. We have a news forum and it would be nice to email our users a copy of the text. Only of the first post though?ome more stats would be nice, or you could help me get more stats :)

JJR512 05-10-2001 06:10 PM

I almost forgot, I have two suggestions, too.

1. Add an area on the page where you set your options of what you want to send, etc., for you to type in some text to be included with the message. A textarea thing. So you can add some thoughts or comments, or maybe a promo message, something that you might want to change each time.

2. Right now a user can disable receiving this for himself by editing their options. I'd like to have the same thing in the admin cp part of editing a user, so I can disable it (or enable it ;)) for a user, myself.

3. (Yes I said two, but this just came to me!) The preview feature doesn't show you exactly what you really end up getting. Could you include a way to send a test email to just one address, like your own address?

Kier 05-10-2001 08:54 PM

Quote:

Originally posted by JJR512
I almost forgot, I have two suggestions, too.

1. Add an area on the page where you set your options of what you want to send, etc., for you to type in some text to be included with the message. A textarea thing. So you can add some thoughts or comments, or maybe a promo message, something that you might want to change each time.

Ummm... you already have this ability.


All times are GMT. The time now is 09:23 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.01289 seconds
  • Memory Usage 1,741KB
  • 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
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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