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

tubedogg 05-26-2001 07:54 PM

Quote:

Originally posted by RobAC
Where is the correct location to place the line of code he is talking about? [/B]
right below
PHP Code:

       $message str_replace("\\'","'",$message); 


julius 05-26-2001 08:01 PM

How can I change last post time to -> server time + 6 hours (GMT+1)?
Thanks :)

tubedogg 05-26-2001 08:05 PM

The time will be displayed as whatever you set in your User CP - the server time is automatically adjusted by vB.

julius 05-26-2001 08:25 PM

In Admin CP I have:
Time Zone Offset
Time (in hours) that the server is offset from GMT. = GMT -5 hours
In My User CP I have: GMT +1 (Central Europe)

The last post time in the Community bulletin is GMT -5.

Don't know way. :(

RobAC 05-26-2001 08:54 PM

Quote:

Originally posted by tubedogg


right below
PHP Code:

       $message str_replace("\\'","'",$message); 


I can't find that line in the commbull97.php file at all.

tubedogg 05-26-2001 09:01 PM

That's because vB removed the two backslashes.

Try this
Code:

$message = str_replace("\\'","'",$message);

EXCHANGE 05-27-2001 03:46 AM

First of all: Great Hack :D

But I had a problem when letting the Script create a new Thread. Actually my "News and Announcements" Forum is moderated, so I?m getting this Error when trying to use the "Create Thread" function in the bulletin mailer. The thread and post tables are updated correctly, but updating the forum table causes a problem.

chrispadfield 05-30-2001 09:42 AM

I am getting this SQL error:

Quote:

<!-- Database error in vBulletin Control Panel: Invalid SQL: SELECT * FROM user WHERE SUBSTRING(birthday,6)>='05-30' AND SUBSTRING(birthday,6)<='06-13' 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: Wednesday 30th of May 2001 02:19:18 AM
Script: /forums/admin/commbull.php

the_sisko 05-30-2001 10:48 AM

@chrispadfield:
[QUOTE]Originally posted by The_Sisko
Turn Birthdays to 0!!!
Your mysql version is not up to date and doesn't support SUBSTRING!

chrispadfield 05-30-2001 12:22 PM

arr. ok thank you.


All times are GMT. The time now is 10:29 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.01347 seconds
  • Memory Usage 1,739KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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