The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
CommBull (Community Bulletin) Details »» | |||||||||||||||||||||||||
vb3.5 Commbull
vb3.6 Commbull Note: The 3.6 version is a commercial product, any queries on it should be submitted to: vb3.6 Support Site THIS THREAD IS FOR SUPPORT FOR 3.0 VERSIONS ONLY. PLEASE VISIT THE APPROPRIATE FORUMS (links above) FOR THEIR SUPPORT [valid point] it's been brought to my attention that not everyone knows what this is ... fair enough: This hack is considered a "weekly newsletter" by the fact that it will email members (only sent by an admin) who have opted to receive it new posts, hot threads, etc ... basically a summary of what has been going on since the last time the newsletter was sent out. However there is a vast number of options, and I won't go into detail of all of them ... you can view the the images that I've attached, but u will only get a full idea by installing it. I would say that there is 0 risk of this installation doing any damage to your current install as these are the changes that it does (manually and automatically): - change profile.php and admincp/index.php - add a couple columns to user table (receivebulletin and receivebulletin_type) - add some phrases to phrase table (receive_email_from_commbull, type_email_from_commbull, newsletterformat, commbul) - add a row to datastore table (commbull) - add some html to nav template for admin side So, if you are unhappy with the install. you can just ignore that it's there and it'll never cause any problems ... your next upgrade will overwrite any changes to the index and profile pages and the extra columns in the DB won't be an issue [mods that i've added from vB2 version] - to change languages, comment/uncomment line 22 and 23 to switch from English to German - save prefs (option) - skip to page X in case of mailout freeze - auto redirect to next page (option) - adding personalized text to top of newsletter w/out searching through the two text & html fields ... u'll c what i mean :ermm: [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. If something goes wrong, don't worry .. it checks for already completed updates to the database to avoid redundancy ... enjoy!! Show Your Support
|
Comments |
#82
|
|||
|
|||
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"; Code:
$HTML_threadspreview4 .=" <td colspan=\"7\"><b><i>$title4</i></b></td>\n"; 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 |
#83
|
||||
|
||||
Quote:
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 |
#84
|
||||
|
||||
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. |
#85
|
||||
|
||||
Quote:
Did anyone has a hint? joergh |
#86
|
||||
|
||||
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 |
#87
|
|||
|
|||
Quote:
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 |
#88
|
||||
|
||||
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? |
#89
|
|||
|
|||
Quote:
|
#90
|
|||
|
|||
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> |
#91
|
||||
|
||||
How can I automate the production of the community bulletin to run say every Monday morning at 06:00 hrs?
:speechless: |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|