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

Steve Machol 12-03-2001 03:57 PM

Yes, that makes sense. However it doesn't work that way. For instance I choose to include threads that only had new posts after 11/01/01. However the script chose threads that hadn't had any new posts since last March! I've done this several times with the exat same results. I'd appreciate any help you could provide in fixing this.

christec 12-03-2001 04:06 PM

Could this be related to ubb and need the ubbdatefix.php?

Steve Machol 12-03-2001 04:11 PM

Nope, I've already run ubbdatefix.php.

christec 12-03-2001 04:18 PM

Quote:

Originally posted by DarkReaper
Also, I spent about 5 minutes getting the settings right, then hit preview, forgot someting, hit back, and it was reset! :(
Do you access the bulletin generator through the admin cp or directly to the file? I tested this with IE and through the admin cp, selected some options, clicked Preview Email, looked at it, clicked back, and all the options that I selected were still there.

Steve Machol 12-03-2001 04:24 PM

I access commbull.php directly. I don't have the desire or need to hack my admin/index.php file.

[Edit - Oops! I see your question wasn't directed to me.]

christec 12-03-2001 04:36 PM

Quote:

Originally posted by smachol
Yes, that makes sense. However it doesn't work that way. For instance I choose to include threads that only had new posts after 11/01/01. However the script chose threads that hadn't had any new posts since last March! I've done this several times with the exat same results. I'd appreciate any help you could provide in fixing this.
Are you selecting the "Include Hot Threads only" option?

Steve Machol 12-03-2001 04:54 PM

[QUOTE]Originally posted by christec

Are you selecting the "Include Hot Threads only" option?

christec 12-03-2001 05:21 PM

Steve,
Can you post (or PM me) the exact options that you are selecting, excluding the forums and groups?

Steve Machol 12-03-2001 05:43 PM

Here's the options page:

Steve Machol 12-03-2001 05:46 PM

And here's the email it generated. Notice the 'Last Post On' dates:

christec 12-03-2001 06:07 PM

I can not replicate this problem on my machine. I'll keep looking though. I did notice that the thread (in pic) "The Future of Opticianry" had 83 replies and only 41 views. Is this correct. Could there be a problem with the database? Not sure, I just noticed that.

Steve Machol 12-03-2001 06:17 PM

The reason for the discrepancy in that thread is that thread when I was still running UBB. Since switching to vB it hasn't had many views.

Steve Machol 12-05-2001 02:50 PM

Any progress on figuring out the problem I'm having? I need to send out my monthly newsletter in the next couple of days and would like to use this. However I can't use it if it picks old threads.

Thanks for any help you can provide! :)

christec 12-05-2001 04:33 PM

After carefully looking at the dates you are choosing I am seeing (see pic) that you choose Jan 11, 2001. Every thread in the bulletin (see pic) is after that date. The format is day, month, year. Not month, day, year.
:D

Steve Machol 12-05-2001 04:48 PM

OMG, I feel so stupid! I was thinking like an American and assumed the first field was the month not the day. Thanks!

FWC 12-05-2001 04:52 PM

Quote:

Originally posted by smachol
I was thinking like an American and assumed the first field was the month not the day. Thanks!
I hate that when that happens. :)

DarkReaper 12-10-2001 12:05 AM

Quote:

Originally posted by DarkReaper
Would it be possible to have it remember settings? That would help a LOT.
It would save time, as the settings wouldn't have to be re-configured every time...

Sadie Frost 01-11-2002 01:00 PM

(Edit: Answered my own stupid question lol)

This looks great, btw! :)

Ninth Dimension 01-24-2002 10:13 AM

This is a fantastic hack, i'm very very impressed with it, I do however have some questions (i'm sorry if these have already been asked)

First off, I would like to add the ability to change the users commbull details in the control panel, but the text file included in the zip file with the instructions on it is all squshed up, with no line breaks making it very hard to read.

second of all, I'm really interested in knowing how I might be able to edit the colours of the html email so they fit into my site better, how would I do this?


Edit OK, you can ignore the above, i've done it now :)

Cool script.

Ninth Dimension 01-28-2002 02:42 PM

This is a fantastic hack, however i've just noticed a problem with it. The Plain text mail that is sent out is fine, but the HTML email has a problem, none of the new lines (in the features news articles bit at the top) are converted to <br>'s in it, which means that it is all delered at one big block of text, which can be hard to read.

Now i'm no expert on this, but I should image this can be solved by using the nl2br() function, any ideas?

Thanx in advance, cool script.

sccr410 01-29-2002 07:34 PM

How can I edit the register.php file so people can decide to subscribe to a newsletter when they register?

DJ FRESCO 02-11-2002 03:10 PM

What to do now??? Please advise

thanks,

dj fresco

Database error in vBulletin Control Panel: Invalid SQL: SELECT userid,username,birthday FROM user WHERE SUBSTRING(birthday,6)>='02-11' AND SUBSTRING(birthday,6)<='02-25' ORDER BY SUBSTRING(birthday,6) LIMIT 0,10
mysql error: You have an error in your SQL syntax near 'SUBSTRING(birthday,6) LIMIT 0,10' at line 1
mysql error number: 1064
Date: Monday 11th of February 2002 12:08:05 PM
Script: /forum/admin/commbull.php
Referer: http://www.djfresco.com/forum/admin/commbull.php

centris 02-11-2002 04:55 PM

Quote:

Originally posted by sccr410
How can I edit the register.php file so people can decide to subscribe to a newsletter when they register?
If you apply the script hacks "member.php and admin/index.php" and the modifyoptions template addition this option will be included in the member registration area by default and the Admin CP.

DJ FRESCO
Check member.php for script errors if you hacked this script.

DJ FRESCO 02-11-2002 06:40 PM

I made sure to check my hack code everything is okay... This is the error I get now:


Database error in vBulletin Control Panel 2.2.2:

Invalid SQL: SELECT userid,username,birthday FROM user WHERE SUBSTRING(birthday,6)>='02-11' AND SUBSTRING(birthday,6)<='02-25' ORDER BY SUBSTRING(birthday,6) LIMIT 0,10
mysql error: You have an error in your SQL syntax near 'SUBSTRING(birthday,6) LIMIT 0,10' at line 1

mysql error number: 1064

Date: Monday 11th of February 2002 03:28:57 PM
Script: http://www.djfresco.com/forum/forum/admin/commbull.php
Referer: http://www.djfresco.com/forum/admin/commbull.php

slideboxer 02-13-2002 03:32 AM

I keep getting the following databse error whenever I include the birthdays in the bulletin:

Quote:

Database error in vBulletin Control Panel 2.2.2:

Invalid SQL: SELECT * FROM user WHERE SUBSTRING(birthday,6)>='02-13' AND SUBSTRING(birthday,6)<='02-27' ORDER BY SUBSTRING(birthday,6) LIMIT 0,10
mysql error: You have an error in your SQL syntax near 'SUBSTRING(birthday,6) LIMIT 0,10' at line 1

mysql error number: 1064
Works fine and well when I set the birthdays/events stuff to 0, but otherwise I get the error. Ideas?

DJ FRESCO 02-13-2002 10:06 AM

That worked

over 02-13-2002 10:40 AM

seems a good hack :) gonna install it :D

Held der Nacht 02-13-2002 06:22 PM

hello,

i have a small problem.

When a User want get his Mail as text, then he get a E-Mail with a .txt file. How i can change it, that the Text is in the Mail without a .txt file ?

I hope anybody can me help.

Thx.

slideboxer 02-19-2002 03:44 AM

Quote:

Originally posted by slideboxer
I keep getting the following databse error whenever I include the birthdays in the bulletin:

Quote:

Database error in vBulletin Control Panel 2.2.2:

Invalid SQL: SELECT * FROM user WHERE SUBSTRING(birthday,6)>='02-13' AND SUBSTRING(birthday,6)<='02-27' ORDER BY SUBSTRING(birthday,6) LIMIT 0,10
mysql error: You have an error in your SQL syntax near 'SUBSTRING(birthday,6) LIMIT 0,10' at line 1

mysql error number: 1064
Works fine and well when I set the birthdays/events stuff to 0, but otherwise I get the error. Ideas?

*bump*

Also, receiving this error message while executing the mailings:
Quote:

Fatal error: Maximum execution time of 30 seconds exceeded in /home/www/abudokan/forums/admin/commbull.php on line 932
Is this simply from sending too many (300) mails at a time?

christec 02-19-2002 01:06 PM

Quote:

Is this simply from sending too many (300) mails at a time?
Yes

Held der Nacht 02-19-2002 06:02 PM

Can nobody help me ? :(

My users get the text mode e-mails as .txt file (textfile) in the mail.

slideboxer 02-23-2002 05:32 PM

Quote:

Originally posted by DJ FRESCO
Database error in vBulletin Control Panel 2.2.2:

Invalid SQL: SELECT userid,username,birthday FROM user WHERE SUBSTRING(birthday,6)>='02-11' AND SUBSTRING(birthday,6)<='02-25' ORDER BY SUBSTRING(birthday,6) LIMIT 0,10
mysql error: You have an error in your SQL syntax near 'SUBSTRING(birthday,6) LIMIT 0,10' at line 1

mysql error number: 1064

Date: Monday 11th of February 2002 03:28:57 PM
Script: http://www.djfresco.com/forum/forum/admin/commbull.php
Referer: http://www.djfresco.com/forum/admin/commbull.php

So what's the word on the fix for this error? I get it whenever I allow birthdays or events into the bulletin. Doesn't happen when I leave them as zero. ANyone get this to go?

The Matrix 7 02-24-2002 06:12 AM

Quote:

My users get the text mode e-mails as .txt file (textfile) in the mail.
The problem is recovered

pigsy 02-25-2002 08:14 PM

Now we just need a way of saving the settings. Changing them each time is a real chore!

Good work though!

pran 02-26-2002 03:05 AM

Is it possible to configure the sender of the e-mail?

Dan Flynn 03-02-2002 02:48 PM

Hello,

Can anyone tell me what might be wrong. I sent a test email to myself.

The dates are all messed up. 1938????? plus recent post are from 38 and last post 2 uears ago in 2000.

Thanks

cditty 03-04-2002 05:23 AM

I seem to be having a problem in the members.php page. It doesn't seem to remember the yes/no choice the user made. It reflects it in the database, just not on the page itself.

Any tips?

Chris

Ig@r 03-05-2002 06:41 PM

Installed and tested!
Good job! Thank you!

Now, can I make it work with cron?

cditty 03-07-2002 03:21 AM

Can anyone offer any advice on this? I want to send a bulletin out to my people but I want them to be able to remove themselves if they want.

Chris

christec 03-07-2002 03:35 AM

Under the users control panel a user can select NOT to receive the community bulletin.


All times are GMT. The time now is 04:47 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.01329 seconds
  • Memory Usage 1,820KB
  • 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
  • (12)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