The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Commbull (Community Bulletin) 5.1a for vBulletin 4.01 Details »» | |||||||||||||||||||||||||||||||||||||
Commbull (Community Bulletin) 5.1a for vBulletin 4.01
Developer Last Online: Aug 2021
This not the CommBull product itself. This is simply instructions for adapting it to work with vBulletin 4.x.
Download CommBull from: Commbull (Community Bulletin) 5.1a for vBulletin 3.8x grandeur_69 has released his latest version of CommBull as a free add-on, indicating that he no longer has time to continue developing it. I am posting this here for the benefit of other vBulletin 4.x who don't want to lose the newsletter feature (grandeur_69 has approved this). At https://vborg.vbsupport.ru/showpost....6&postcount=71 a member asks: Quote:
I have the previous (commercial) version, 4.5f, which does run successfully via a cron job, running on 4.01. It required some modification of the installation instructions but it does work. I expect you should be able to get this version running as well, although as the coder noted the cron capability won't work. 1. Edit product-Commbull.xml and find the following line: PHP Code:
PHP Code:
2. Upload the files and import the product. 3. Now you need to do the template edits so that members can opt-in or opt-out of your newsletter. The current instructions are as follows: Quote:
Now, obviously this won't work in 4.x. These need to be modified as follows: 1. Edit Template: "Modify User Option" -> "modifyoptions" FIND: PHP Code:
ADD AFTER: PHP Code:
Next would be the option for HTML or plain text emails, which should be: PHP Code:
This now works. I had a ( instead of a { on the previous code. Thanks to grandeur_69 for pointing this out! Notes:
Update July 12, 2010: Product XML file provided by grandeur_69 for vBulletin 4.x. NOTE:
Update July 14, 2010: Error in XML file corrected. Download Now
Screenshots
Show Your Support
|
Comments |
#42
|
|||
|
|||
Oh. Did you do the manual edits AND import the XML file? It should be either/or, not both.
I'll edit the instructions to clarify that. What I would suggest is that you undo the manual edits and see if that works for you. If you still have a problem, uninstall and start again, this time trying just the XML file. |
#43
|
||||
|
||||
Quote:
EDIT: Ok, when I uninstalled and reinstalled, without the manual edits (I reverted the template prior to install). They check boxes do not show up at all. |
#44
|
|||
|
|||
Sorry about that. I have posted a warning now so others don't make that mistake.
|
#45
|
||||
|
||||
Quote:
The template edits from the xml file do not show up though |
#46
|
|||
|
|||
OK. Then uninstall it and use the manual edits. I'll let grandeur_69 know.
Are you using a custom template? or the default? |
#47
|
||||
|
||||
I am using a custom template. The only problem with uninstalling the xml is all of the other changes it makes other than the template changes. Can I use the old xml file for the phrases and such?
|
#48
|
|||
|
|||
Yes. That's what I would do. And then use the manual edits to add the stuff in the Settings.
|
#49
|
||||
|
||||
Quote:
EDIT: That worked. The checkboxes work as expected now. Thanks again for your help. This is a great product and exactly what I have been looking for. I'm glad you have been able to share how to get it working in 4.x |
#50
|
||||
|
||||
There is another problem with the xml file (both versions). I posted it here - https://vborg.vbsupport.ru/showpost....&postcount=162
|
#51
|
||||
|
||||
With your manual edits to modifyoptions above, the problem is, if the Admin does not allow members to email other members, these options will not show in the UserCP. I think that since the Newsletter will usually come from an Admin, the options should be available regardless of the Members being able to email each other. To correct this the <vb:if> statements should be removed (they are not included in the xml file either).
Also, IMHO, it looks better if you put a space in between the check box and the label. To do this, you just need to insert a space before the phrase. I have included the code for both items above, in the below box (this is both check boxes): Code:
<li> <label for="commbull"><input type="checkbox" name="commbull" value="1" id="commbull" tabindex="1" {vb:raw checked.receivebulletin} /> {vb:rawphrase receive_email_from_commbull}</label> <input type="hidden" name="set_options[receivebulletin]" value="1" /> </li> <li> <label for="commbull_type"><input type="checkbox" name="commbull_type" value="1" id="commbull_type" tabindex="1" {vb:raw checked.receivebulletin_type} /> {vb:rawphrase type_email_from_commbull}</label> <input type="hidden" name="set_options[receivebulletin_type]" value="1" /> </li> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|