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)

SirSteve 11-05-2001 04:52 AM

So the User CP receive community bulletin bug is not just me?

Guru 11-05-2001 05:59 AM

I haven't noticed that as a bug...

thewitt 11-05-2001 10:13 PM

Has anyone attempted to automate the running of this hack from a cron job by using snoopy? Looked promising, but I have not played with it yet.

-t

Prince 11-06-2001 06:40 PM

Quote:

Originally posted by smachol

I have one minor problem with dates though. Here's a excerpt from a test bulletin I sent:

The posted date on this should actually be 10-29-2000. This exact date error (01-18-2038) is repeated for every thread that was originally started in my UBB forums prior to upgrading to vB.

Any idea how to fix this?

I am having this exact same problem! All threads that were started in my UBB get reported as being started in the year 2003.

Any ideas???

thewitt 11-06-2001 07:16 PM

Quote:

Originally posted by Prince


I am having this exact same problem! All threads that were started in my UBB get reported as being started in the year 2003.

Any ideas???

There's a fix for the UBB Date import problem in an earlier post in this thread by tubedog.

Steve Machol 11-06-2001 08:09 PM

[QUOTE]Originally posted by thewitt

There's a fix for the UBB Date import problem in an earlier post in this thread by tubedog.

Steve Machol 11-06-2001 08:15 PM

It didn't work with vB 2.2.0:

Quote:

Warning: Failed opening '/path_hidden/forums/admin/fixubbdate.php' for inclusion (include_path='') in Unknown on line 0

Prince 11-06-2001 08:27 PM

Save as ubbfixdate.php, upload to admin and run in browser.

(back-up your database first!!!)


PHP Code:

<?
require("./global.php");
if (!isset($action)) {
    echo("This script will correct the dates on threads which were imported from UBB5.4x. Make sure you backup your database before proceeding!<br>");
    echo("If you have a backup, <a href=\"fixubbdate.php?action=doconvert\">click here</a> to proceed.");
}
if ($action=="doconvert") {
  $threads=$DB_site->query("SELECT MIN(post.postid),post.dateline AS dateline,post.threadid AS id,thread.threadid FROM post,thread WHERE post.threadid=thread.threadid GROUP BY thread.threadid ORDER BY thread.threadid ASC");
  echo("Line inserted on purpose<br>Rows in result: ");
  echo(mysql_num_rows($threads));
  while ($thread=$DB_site->fetch_array($threads)) {
    $DB_site->query("UPDATE thread SET dateline='$thread[dateline]' WHERE threadid='$thread[id]'");
    echo(mysql_affected_rows());
    $i++;
    if ($i==50) {
        echo("Updated another 50 threads...continuing<br>");
        $i = 0;
    }
  }
} else {
  echo("Done.");
}
?>


Steve Machol 11-06-2001 08:35 PM

See my note above. The script did not work for me. :stupid:

Steve Machol 11-06-2001 08:39 PM

Never mind! It was a file permissions problem. I ran it but I'm not sure if it worked or not. I'll test it out.


All times are GMT. The time now is 02:26 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.01395 seconds
  • Memory Usage 1,742KB
  • 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_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