vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   CommBull (Community Bulletin) (https://vborg.vbsupport.ru/showthread.php?t=66334)

memobug 09-29-2004 09:27 PM

Thanks TTG
Here's my update
1. I found a minor bug in the HTML printout that causes Thread block 4 to be labeled the same as thread block 3. You might want to edit it
replace
Code:

                        $HTML_threadspreview4 .="        <td colspan=\"7\"><b><i>$title3</i></b></td>\n";
with the following:
Code:

                        $HTML_threadspreview4 .="        <td colspan=\"7\"><b><i>$title4</i></b></td>\n";
It's somewhere around line 850 - I have added so much I can't be specific, but about midway down in the block that starts "if ($numtopics4)"

2. I have added the user-selected articles header back in. The text version is working well but for the HTML version to be usable I would need to have a way of ensuring that truncating the message doesn't split HTML tags or tag pairs, or it could mess up the rest of the message.

update - I got around this by using a tag like -MORE- right in the post. Then I made the commbull trim the article right at the tag, and there is no danger of cutting in a bad place!

3. I got rid of 222 lines of code in commbull.php by removing the redundant iterations of the same code for thread blocks 2, 3, 4 as were used in block 1.

4. I found a problem when I designated some 24 forum members in a special public group called proofreaders. When I tried to send the newsletter to them for proofing commbull complained that there were no users. I had to fix two queries to enable it to recognize the auxilliary user groups.

All in all, with the exception of not having any calendar or birthday events working, it came off pretty well. I sent out 2800 newsletters this afternoon.

Matt

traderx 10-02-2004 12:22 AM

Quote:

Originally Posted by grandeur_69
[INSTALL]
drop the 3 files into the admincp directory and then go to admincp/commbull.php ... follow the instructions and you are good to go.
If you find that the option isn't showing up on the control panel after the install, then it's because you aren't using the default phrases. Go into phrase manager, search for 'commbull' and update the fields appropriately.

I did a 'commbull' search in my phrase manager and NOTHING came up. now am I to add this phrase? A little more info would help this rookie, as I don't see it in my ACP as it shows in the first post attachment.

EDIT
I did a search with "Phrase Variable Name Only" on 'commbull' and it showed:
Control Panel Global Phrases Containing 'commbull'
commbull - Standard Phrase - Send Community Bulletin this is correct?

But still isn't showing up.



Other then this so far, install went smooth
Thanks
Coll

Toneboy 10-02-2004 09:01 AM

I don't have commbull shown as a phrase. Even did a manual search for it but no luck!

Can someone with php MyAdmin please enter the following command:

SELECT * FROM 'phrase' WHERE varname = 'commbull'

And let me know what is displayed please?

Thanks.

joergh 10-03-2004 12:46 AM

Quote:

Originally Posted by David_McPherson
Seems to be missing something with an install....

Its a fresh unhacked version of 3.0.3 and I am missing the HTML ok or whatever it is.... Note the picture. I believe I followed the instructions exactly.

I do get the some error in a fresh vb3.0.3 install.

Did anyone has a hint?

joergh

joergh 10-03-2004 12:49 AM

Upps, problem solved? Seems to have something to do with the phrases. After a reload it is okay and says:

Format of the Newsletters

[] HTML if checked. Plain Text if unchecked.

thx!

joergh

memobug 10-03-2004 04:49 AM

Quote:

Originally Posted by joergh
Upps, problem solved? Seems to have something to do with the phrases. After a reload it is okay and says:

Format of the Newsletters

[] HTML if checked. Plain Text if unchecked.

thx!

joergh

I had the same thing happen, as I documented above

If you want to change any of the phrases, I think you go right into the language attachment file and change them there.

Regards,

Matt

Toneboy 10-04-2004 10:43 AM

BTW I've uploaded the files but haven't sent a new bulletin as yet, is that why I don't have commbull shown as a phrase?

I don't have the option to send it from the admincp either. As well as that users don't have the option to subscribe/unsubscribe from their control panel. Will these appear after a Community Bulletin has been sent?

memobug 10-04-2004 06:42 PM

Quote:

Originally Posted by Toneboy
BTW I've uploaded the files but haven't sent a new bulletin as yet, is that why I don't have commbull shown as a phrase?

I don't have the option to send it from the admincp either. As well as that users don't have the option to subscribe/unsubscribe from their control panel. Will these appear after a Community Bulletin has been sent?

No, but have you made the template and script modifications shown when you click on the link that says Installation instructions?

xug 10-04-2004 09:23 PM

Just hard code it if you still have problems ;)

Code:

    <td>Format of the Newsletters<br /><label for="commbull"><input type="checkbox" name="commbull_type" value="1" id="commbull_type" $checked[receivebulletin_type] />HTML if checked. Plain Text if unchecked.</label></td>

breathwork 10-08-2004 06:50 AM

How can I automate the production of the community bulletin to run say every Monday morning at 06:00 hrs?

:speechless:


All times are GMT. The time now is 03:31 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.01342 seconds
  • Memory Usage 1,746KB
  • 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
  • (3)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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