vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   Archivhack for vB (https://vborg.vbsupport.ru/showthread.php?t=37838)

Xenon 05-17-2002 03:05 PM

i have written a small convertingscript, to convert old archives into the new format. just copy the file in your admin folder and start it.

be carefull, if you have changed some codelines in my old makearchiv.php
there shouldnt be problems if you have just changed the colors of your archiv, but if you have changed the dateformat, you must change the line mktim(....) into the right format too

i have testet the script an it works very good on my local server, but i won't be responsible if it dont work on yours.
now, it doesent kill the old tables, so you can make more tries.

if every archiv is converted and it looks right, there is no need any longer for the archivpages table, so kill them in the database.

And a small bugfix to showarchiv.php:
line 132
$archivpost[username]=substr($fullpost,$idstop+1,$namestop-$idstop-1);
must be
$archivpost[postusername]=substr($fullpost,$idstop+1,$namestop-$idstop-1);

hope this can help you guys.

i think next version will be the release version.
i'll make some cosmetics to the templates, and a reconverter to threads, and a small install routine...

perhaps i'll post one more betaversion with the reconverter, we'll see

nuno 05-25-2002 04:59 PM

nice hack Xenon
thanks :)

Xenon 05-27-2002 06:37 PM

RELEASE:
https://vborg.vbsupport.ru/showthrea...threadid=39104


All times are GMT. The time now is 04:01 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.01011 seconds
  • Memory Usage 1,714KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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