vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Administrative and Maintenance Tools - Commbull (Community Bulletin) 5.1a for vBulletin 4.01 (https://vborg.vbsupport.ru/showthread.php?t=233798)

djbaxter 07-14-2010 02:56 AM

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.

Dragonsys 07-14-2010 03:22 AM

Quote:

Originally Posted by djbaxter (Post 2068839)
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.

lol yeah that is what I figured after I looked at the xml file, so I am trying that. I will let you know how it goes.

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.

djbaxter 07-14-2010 03:31 AM

Sorry about that. I have posted a warning now so others don't make that mistake.

Dragonsys 07-14-2010 03:44 AM

Quote:

Originally Posted by djbaxter (Post 2068844)
Sorry about that. I have posted a warning now so others don't make that mistake.

:D not a problem
The template edits from the xml file do not show up though

djbaxter 07-14-2010 03:58 AM

OK. Then uninstall it and use the manual edits. I'll let grandeur_69 know.

Are you using a custom template? or the default?

Dragonsys 07-14-2010 04:01 AM

Quote:

Originally Posted by djbaxter (Post 2068855)
OK. Then uninstall it and use the manual edits. I'll let grandeur_69 know.

Are you using a custom template? or the default?

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?

djbaxter 07-14-2010 04:11 AM

Quote:

Originally Posted by Dragonsys (Post 2068857)
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?

Yes. That's what I would do. And then use the manual edits to add the stuff in the Settings.

Dragonsys 07-14-2010 04:12 AM

Quote:

Originally Posted by djbaxter (Post 2068859)
Yes. Thaty's what I would do. And then use the manual edits to add the stuff in the Settings.

cool, thanks for the help!

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

Dragonsys 07-14-2010 01:52 PM

There is another problem with the xml file (both versions). I posted it here - https://vborg.vbsupport.ru/showpost....&postcount=162

Dragonsys 07-14-2010 02:02 PM

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>


djbaxter 07-14-2010 02:14 PM

Quote:

Originally Posted by Dragonsys (Post 2069053)
There is another problem with the xml file (both versions). I posted it here - https://vborg.vbsupport.ru/showpost....&postcount=162

Thank you. Attached file updated in first post.

djbaxter 07-14-2010 02:20 PM

Quote:

Originally Posted by Dragonsys (Post 2069056)
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>


Thank you. The reason I used the if statements is because I don't want the member to be receiving the newsletters if s/he's unchecked the "Receive Email from Administrators" checkbox.

I've never had the email other members option disabled - I'll look further into this.

Dragonsys 07-14-2010 02:58 PM

Quote:

Originally Posted by djbaxter (Post 2069068)
Thank you. The reason I used the if statements is because I don't want the member to be receiving the newsletters if s/he's unchecked the "Receive Email from Administrators" checkbox.

I've never had the email other members option disabled - I'll look further into this.

That is what I figured. from the looks of it though, it looks like Commbull supports and complies with the Admin Email option. So if (if I am reading it right) they have that option off, they won't get the newsletter anyway (unless you check the box to ignore this option).

khalled 07-15-2010 11:53 PM

Can Commbull run via cron job

djbaxter 07-16-2010 12:17 AM

Quote:

Originally Posted by khalled (Post 2069769)
Can Commbull run via cron job

I run CommBull 4.5f using a vBulletin cron job (schedfuled task) to send out the newsletter automatically every Wednesday.

I assume the same is true of CommBull 5.1, the version released here as a non-commercial vBulletin product.

khalled 07-16-2010 10:57 PM

Quote:

Originally Posted by djbaxter (Post 2069776)
I run CommBull 4.5f using a vBulletin cron job (schedfuled task) to send out the newsletter automatically every Wednesday.

I assume the same is true of CommBull 5.1, the version released here as a non-commercial vBulletin product.

what version of vBulletin you used

i run vb4.0.4 but the cron job not run

djbaxter 07-16-2010 11:12 PM

It's been working for me on 4.01, 4.02, 4.03, 4.04, and now 4.05.

khalled 07-18-2010 05:20 PM

Quote:

Originally Posted by djbaxter (Post 2070380)
It's been working for me on 4.01, 4.02, 4.03, 4.04, and now 4.05.

i follow the procedure you mention but the cron job not work with me

djbaxter 07-18-2010 08:07 PM

Quote:

Originally Posted by khalled (Post 2071178)
i follow the procedure you mention but the cron job not work with me

For that, you'll have to ask the CommBull creator at https://vborg.vbsupport.ru/showthread.php?t=230359

asuccar 07-19-2010 11:28 PM

Hey guys,

I downloaded & installed this great mod without a hitch...I configured the html to look exactly as I wanted it to.

When I was ready, I went to the send page and clicked on the 'send' button below...then the mod done its thing and listed all my user (blu blu...user...html ok) and way at the bottom it says 'All Done!.

Problem: None of my users got the email! And there's no way (that I know of) to verify delivery (something like 'sent mail')...can anyone tell me what's going on?

djbaxter 07-20-2010 12:02 AM

Quote:

Originally Posted by asuccar (Post 2071765)
Hey guys,

I downloaded & installed this great mod without a hitch...I configured the html to look exactly as I wanted it to.

When I was ready, I went to the send page and clicked on the 'send' button below...then the mod done its thing and listed all my user (blu blu...user...html ok) and way at the bottom it says 'All Done!.

Problem: None of my users got the email! And there's no way (that I know of) to verify delivery (something like 'sent mail')...can anyone tell me what's going on?

I see you also posted this in the CommBull thread at https://vborg.vbsupport.ru/showthread.php?t=230359 - you'll need to get grandeur_69 to help you with this. I'm just trying to provide support for adapting the add-on to 4.x but I'm not using version 5.1.

robbiefritz 07-22-2010 12:15 PM

So just to make sure that I understand, I download v5.1 from that page then use the xml file here to install?

djbaxter 07-22-2010 12:30 PM

Quote:

Originally Posted by robbiefritz (Post 2072882)
So just to make sure that I understand, I download v5.1 from that page then use the xml file here to install?

I used the manual ediots and they are working well for me.

grandeur_69 provided the XML file but I have not personally tested it. However, if you're installing 5.1, by all means give the XML product file here a shot. If it doesn't work for you, try the manual edits instead.

robbiefritz 07-22-2010 12:52 PM

Quote:

Originally Posted by djbaxter (Post 2072887)
I used the manual ediots and they are working well for me.

grandeur_69 provided the XML file but I have not personally tested it. However, if you're installing 5.1, by all means give the XML product file here a shot. If it doesn't work for you, try the manual edits instead.

Thanks m8! Appreciate your efforts.

jiffylb1 08-08-2010 02:59 PM

get this dtatabase error when trying to send news letter now did not happend before

Database error in vBulletin 4.0.5:
Invalid SQL:
UPDATE forum SET replycount=replycount+1,threadcount=threadcount+1, lastpost='1281283070',lastposter='Diablo' WHERE forumid IN ();
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1
Error Number : 1064
Request Date : Sunday, August 8th 2010 @ 11:57:50 AM
Error Date : Sunday, August 8th 2010 @ 11:57:50 AM
Script : http://www.clearwaterbiker.biz/forum...ll.php?do=send
Referrer : http://www.clearwaterbiker.biz/forum...p/commbull.php
IP Address :
Username : admin
Classname : vB_Database
MySQL Version : 5.1.48-ius

djbaxter 08-08-2010 03:08 PM

Quote:

Originally Posted by jiffylb1 (Post 2080893)
get this dtatabase error when trying to send news letter now did not happend before

Database error in vBulletin 4.0.5:
Invalid SQL:
UPDATE forum SET replycount=replycount+1,threadcount=threadcount+1, lastpost='1281283070',lastposter='Diablo' WHERE forumid IN ();
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1
Error Number : 1064
Request Date : Sunday, August 8th 2010 @ 11:57:50 AM
Error Date : Sunday, August 8th 2010 @ 11:57:50 AM
Script : http://www.clearwaterbiker.biz/forum...ll.php?do=send
Referrer : http://www.clearwaterbiker.biz/forum...p/commbull.php
IP Address :
Username : admin
Classname : vB_Database
MySQL Version : 5.1.48-ius

Please post thisv at https://vborg.vbsupport.ru/showthread.php?t=230359 - this thread is just about how to adapt CommBull to 4.x.

Noerenberg 08-09-2010 01:06 PM

i used your xml

my problem is, all my settings are right, i got the newsletter but NOT the users

Dragonsys 08-09-2010 02:13 PM

Quote:

Originally Posted by Noerenberg (Post 2081282)
i used your xml

my problem is, all my settings are right, i got the newsletter but NOT the users

Check and make sure you selected the correct Usergroups
Also, make sure your users are set to receive email from Admins & to get the Newsletter

djbaxter 08-09-2010 02:15 PM

Quote:

Originally Posted by Noerenberg (Post 2081282)
i used your xml

my problem is, all my settings are right, i got the newsletter but NOT the users

Quote:

Originally Posted by Dragonsys (Post 2081313)
Check and make sure you selected the correct Usergroups
Also, make sure your users are set to receive email from Admins & to get the Newsletter

Thanks, Dragonsys.

Noerenberg, if you still have problems, try uninstalling the product and using the manual edits instead of the XML product file.

RichieBoy67 11-02-2010 06:12 PM

I know to ask in the other forum but I just wondered if there were any mods known to interfere with this mod?

Thankls

djbaxter 11-03-2010 01:09 AM

That's a server error. You'll need to contact tech support for your hosting service.

racingsolution 12-04-2010 05:32 PM

Installed this on my 4.x forums and it's working great.. thank you

asuccar 01-31-2011 01:21 AM

Great add-on...work perfectly

Request though, i can sent latest posts, polls, b'days, events...but can we also send out latest blogs and articles? Does anyone knows how?

oh, just one more question:)

I want to greet the user as 'Dear Username', where i want the username to appear, to '\$vbphrase[username]' or just '$username'...or is it something different?

djbaxter 01-31-2011 10:59 AM

Quote:

Originally Posted by asuccar (Post 2156746)
Great add-on...work perfectly

Request though, i can sent latest posts, polls, b'days, events...but can we also send out latest blogs and articles? Does anyone knows how?

No. This add-on was originally created for vBulletin 3.x, before the Suite was released. It will work on 4.x with the modifications outlined here but I know of no way to include articles and blogs.

Quote:

Originally Posted by asuccar (Post 2156746)
oh, just one more question:)

I want to greet the user as 'Dear Username', where i want the username to appear, to '\$vbphrase[username]' or just '$username'...or is it something different?

Not sure I understand your question but if you want it to appear as "Dear asuccar:" you would use:

PHP Code:

Dear \$username


asuccar 01-31-2011 08:10 PM

Cheers dude...and yep, that was exactly what i was asking:)

hudarsono 02-18-2011 02:07 AM

Hi,

I just installed this mod. But i couldn't find the option to send html newsletter? Does it has html editor for us to write the newsletter ourself?

Thank you

djbaxter 02-18-2011 03:10 AM

Depending on which version you installed, you should find it in the Admin CP -> Users menu.

Scroll down to Send Community Bulletin.

kaype 05-26-2011 04:33 PM

Tried to install this on 4.1.3, but did not install the XML, gave me the following error message below. Any help will be appreciated.

The following dependencies were not met:

This product is not compatible with version 4.1.3 of vBulletin. (Compatible starting with 3.0 / Incompatible with 4.1 and greater)

djbaxter 05-26-2011 04:47 PM

You'll need to edit the product-Commbull.xml file.

FIND around line 10:

PHP Code:

<dependency dependencytype="vbulletin" minversion="3.5" maxversion="3.8" /> 

CHANGE TO:

PHP Code:

<dependency dependencytype="vbulletin" minversion="3.5" maxversion="4.9" /> 


StarBuG 07-01-2011 11:29 AM

I get the following error when I try to send the newsletter:
Code:

Warning: Missing argument 1 for vB_Database::query_write(), called in [path]/acp/commbull_functions.php on line 366 and defined in [path]/includes/class_core.php on line 438


Database error in vBulletin 4.1.4:

Invalid SQL:
;

MySQL Error  : Query was empty
Error Number  : 1065
Request Date  : Friday, July 1st 2011 @ 02:27:27 PM
Error Date    : Friday, July 1st 2011 @ 02:27:27 PM
Script        : http://www.adsenseexperts.com/acp/commbull.php?do=send
Referrer      : http://www.adsenseexperts.com/acp/commbull.php
IP Address    : xxx
Username      : me
Classname    : vB_Database
MySQL Version : 5.0.51a-24+lenny5

I run 4.14

Any help is appreciated


All times are GMT. The time now is 01:03 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.01722 seconds
  • Memory Usage 1,860KB
  • 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
  • (3)bbcode_php_printable
  • (21)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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