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

Robert Basil 11-17-2001 11:36 PM

Quote:

Originally posted by FWC
I only have 604 lines in combull.php. :surprised
For some reason I don't think my commbull.php file is un-zipping correctly.

Can someone post a .txt version of it here?

Thanks for all your help everyone!

Robert Basil 11-17-2001 11:59 PM

I've been looking at the script, and it looks like it's supposed to create a receivebulletin field in my user table.

After the error I thought I would check and it is not adding the field for me.

So I thought I would try and force it with the action=install option. But still getting the same error message.

uugg..

FWC 11-17-2001 11:59 PM

Here's a copy. The HTML color variables are set for my board. You'll need to edit those:

Robert Basil 11-18-2001 12:05 AM

Quote:

Originally posted by FWC
Here's a copy. The HTML color variables are set for my board. You'll need to edit those:
I still get the same error with your copy.

Damn, I wish I knew what was going on, I REALLY could use this script. :(

FWC 11-18-2001 12:08 AM

Have you tried the original non-HTML version to see if that works?

Ooops, I see you already did above.

christec 11-18-2001 12:33 AM

Quote:

Originally posted by Sportbikeworld


I still get the same error with your copy.

Damn, I wish I knew what was going on, I REALLY could use this script. :(

Try this
Find this
PHP Code:

if ($DB_site->query("ALTER TABLE user ADD receivebulletin SMALLINT (5) UNSIGNED DEFAULT '1' not null, ADD receivebulletin_html SMALLINT (5) UNSIGNED DEFAULT '1' not null")) { 

and replace with this
PHP Code:

if ($DB_site->query("ALTER TABLE user ADD receivebulletin SMALLINT (5) UNSIGNED DEFAULT '1' not null")) { 

I was working on including the text and html option. It may be causing the problem.
Line 831 is } and line 832 is blank

Robert Basil 11-18-2001 12:53 AM

Just tried the fix....

Now getting the error:

Code:

Parse error: parse error in /home/admin/www/v2/forums/admin/commbull.php on line 831

Robert Basil 11-18-2001 12:58 AM

Quote:

Originally posted by christec
Line 831 is } and line 832 is blank
Can you post a few lines above and below this } so I can maybe take a look?

Thanks!

christec 11-18-2001 01:01 AM

Are you being prompted for the admin login page before getting the error code. It should show up first before proceeding on to the commbull install.
Try setting the full path to the require(./global.php) file

christec 11-18-2001 01:05 AM

Quote:

Originally posted by Sportbikeworld
Can you post a few lines above and below this } so I can maybe take a look?
Thanks!

829 <?php
830
831 }
832
833 //########################
834
835 if ($action == "changelog") {
836
837 echo "<b>Community Bulletin Email Gen....."

Robert Basil 11-18-2001 01:09 AM

Quote:

Originally posted by christec
Are you being prompted for the admin login page before getting the error code. It should show up first before proceeding on to the commbull install.
Try setting the full path to the require(./global.php) file

No, I am not being prompted for a log-in. And I tried the full path. Same error.

christec 11-18-2001 01:11 AM

Quote:

Originally posted by Sportbikeworld

No, I am not being prompted for a log-in. And I tried the full path. Same error.

Try clearing your cookies before running commbull.php. It seems like it is trying to run the program and not install it.

Robert Basil 11-18-2001 01:14 AM

Quote:

Originally posted by christec

Try clearing your cookies before running commbull.php. It seems like it is trying to run the program and not install it.

I should have let you know in the last post....

I ran it from a different machine that was logged out of my VB and didn't have any cookies. :(

That was one of the first things I thought of when you told me it should be prompting me for a log-in.

I also tried forcing it to install using the "commbull.php?action=install" link. Should I try a different syntax?

christec 11-18-2001 01:32 AM

I think it's an admin permissions problem. Have you tried with a different user account that has admin permissions. Yes &action=install is correct. The other actions are info, changelog and preview

Robert Basil 11-18-2001 01:42 AM

Quote:

Originally posted by christec
I think it's an admin permissions problem. Have you tried with a different user account that has admin permissions. Yes &action=install is correct. The other actions are info, changelog and preview
The problem is that I don't even get the option to log-in so I can't try it with a different admin account. :(

I have to leave for the night (dinner with the wife) But I'll pick this back up tomorrow. Thanks for all your help!

christec 11-18-2001 05:38 AM

It's what you've all been waiting for the "Text" OR "HTML" option,
and other options (of course)
:surprised

LuBi 11-18-2001 05:41 AM

Quote:

Originally posted by christec
It's what you've all been waiting for the "Text" OR "HTML" option,
and other options (of course)
:surprised

Sweet! When by any chance? 2nite?? :eek: lol might it have a save feature?? ;)

christec 11-19-2001 05:31 PM

The newest news and email community bulletin release is here

https://vborg.vbsupport.ru/showthrea...threadid=32517

pran 03-24-2002 02:48 PM

The script sends an empty e-mail if sending mails less than 300 at a time. I need someone to confirm this as my users will be annoyed if I keep on sending blank e-mails.

FWC 03-24-2002 03:53 PM

Quote:

Originally posted by pran
The script sends an empty e-mail if sending mails less than 300 at a time. I need someone to confirm this as my users will be annoyed if I keep on sending blank e-mails.
We have sent many bulletins with this script to less than 300 people. It has always worked fine.

Webdork 09-02-2002 11:16 PM

Sorry for whats probably a dumb question, but I did a search and couldnt find any reference...

What are the Threads Block 1 to 4 for ?

and whats the purpose of "Reuse threads gathered for this block"?

M.C. 11-14-2002 06:19 PM

hallo. i want ask where that hack hold defoult template for generation e-mail?

P.S. Anywhere it`s a super hack!!! Good Luck!
P.P.S Sorry for my english 8)

NTLDR 11-14-2002 07:17 PM

This hack doesn't use templates, all the HTML is in the PHP file.

M.C. 11-15-2002 10:42 PM

NTLDR, thanx a lot, i already got it ;)

Schorsch 12-15-2002 03:45 PM

thanks :)

bandersen 05-21-2003 07:17 AM

I have just tested this - very cool! Actually none of the testmails that I sent yesterday was received by people - BUT that was due to my host having it's own short problem with php email! This morning the hack worked just great.

One question: I altered the html that is sent out (cut and paste from Frontpage) - how do I get the images to go along with the email so they show when viewing the mail?
Imgaes that are linked only show when online.

Dez_U 06-20-2003 08:24 AM

this hack used to work great for me untill I upgaded to the latest version and now when I try to generate a newsletter it just hangs then comes up url not found ??

Any Ideas as I love this hack

Bison 06-20-2003 03:30 PM

I've been getting messages from members saying that they are getting two copies of the newsletter when I submit it.

What might cause this to happen?


All times are GMT. The time now is 12:10 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.02873 seconds
  • Memory Usage 1,780KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (28)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