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....."


All times are GMT. The time now is 10:20 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.01970 seconds
  • Memory Usage 1,738KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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