Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Archiv for vBulletin Details »»
Archiv for vBulletin
Version: 1.00, by Xenon Xenon is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 05-26-2002 Last Update: Never Installs: 38
 
No support by the author.

Ok, i have completed my Archivhack now

Hackversion: 3.00
Known Bugs: The permissionsystem doesn't work with php4.1.x
What it does:
It compresses a thread in the database, so it would take less space, but it cannot be posted in it anymore.
Zlib-functions must be installed on your server. Without this hack won't work

You can revert Archives to threads when you want it.
A small searchengine is also included.


Install it at your own risk!!!
It should work without problems, it has been tested very long, but you know Murphys Law..

A hint how to use it with PPN's thread description Hack is in the install file.

Thanx to Foxtroter for the help on english Templates.
The conversion can take a longer timespan, read this for optimization.

look at the screenies below

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #142  
Old 01-07-2003, 06:27 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

np

you're welcome
Reply With Quote
  #143  
Old 01-09-2003, 06:17 AM
alexi alexi is offline
 
Join Date: Feb 2002
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am able to archive one or two threads then I recieve this error:

Database error in vBulletin Control Panel 2.2.9:

Invalid SQL: INSERT INTO archive (archivid,ersteller,title,forumid,firstpost,lastpo st,posts,topposter,description,archivtext) VALUES (13,'buzznwoody','Discount for 2nd day?',8,'984525232','984526514','3','Striske (1)','','
-np-

---Newsite---
uU?n?0??+6A?$@,Dz?:?zh
(?A?@?+??D
$eE??????n{?c[??ٙY:??v??_?l?ͳ$?߮n??/,Bi?.?h?*c=x?ZP?t???ЇJ/6????o?D ?hT=L&? dW{???W??5???Jl4n???;o??r?.?*帙?Rye?Cnq?? <?zƈq??]ú??pр6\\G??J??%?*? q ?=Ƃ??I
~7@?ټi?H1Lg?
?O?a?P??\\I H?_??h?X]!?׵?Y??Lh
~N?z\0?\\n:?YU?m_ʑg?? #cˏ????E?Jf?l?>I??
ȸ?f?uK?t`*H?? ?x?ilB?Y??V?Z?kz??ܞ?*`0?A?+?t??\0&?d0s?ۥi???? >?C\"?? ??gB?PI}U?a?ym?r? ehk?c????2????8B?@r;V5Q=h???0?&?df?E??2V? (@e?g??1?????Oԕ@X?_Dt???*+??|\'ޮe ????׫?&ɶq?w?`\'?9?c0?_Uú,????y?/
ϵ;?T????(???!\'?E??F?#??uTq3s3zBiv?????H????
?Ok\'|gc?$?lx??J??n]?*
??&?E]?
i?q?Y???c??\0fF???λ??D(?w?֘&?=?!?])
ZFZ?@E^??t\\??7???W?%{?u<???l??U????? Q)P#?n??ݰ???6?]?p?1??u?D!%?l9?p??m?q???|?н?K%caF???t??}| ?? ,5gAR6ӛ?????n]??????-??a]??gI????G?}?a:??~?.o,]??fړ? 4?e??J????x???
')
mysql error: Duplicate entry '13' for key 1

mysql error number: 1062

Date: Thursday 09th of January 2003 03:07:14 AM
Script: http://www.disboards.com/admin/archiv.php
Referer: http://disboards.com/admin/archiv.php?action=chooser&s=

Any clues?
Reply With Quote
  #144  
Old 01-09-2003, 11:24 AM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm, seems like a problem with your DB.

which MySSQL version is running?
the problem is, id 13 is tried to be inserted twice, which is impossible, because the code has this:
PHP Code:
  $tmp=$DB_site->query_first("SELECT MAX(archivid) as maxid FROM archive");
  
$archivid=$tmp[maxid]+1
which makes shure, that the inserting id does not exist before inserting..

try to delete the table archiv, and recreate it, maybe it could help
Reply With Quote
  #145  
Old 01-10-2003, 11:05 AM
NuclioN's Avatar
NuclioN NuclioN is offline
 
Join Date: Aug 2002
Posts: 955
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It seems to work now. How can i let moderators archive threads into it, by putting a link in the page nav?
Reply With Quote
  #146  
Old 01-10-2003, 10:19 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm, it's not tested, but if you copy archiv.php from your admin directory into the mod dir and add the links to the pagenav it should work.....
Reply With Quote
  #147  
Old 01-12-2003, 07:19 AM
L-Mane L-Mane is offline
 
Join Date: Jul 2002
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What will happen when VB3 is released? Will this hack cause problems or anything?
Reply With Quote
  #148  
Old 01-12-2003, 11:31 AM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would have thought it won't be compatible but vb3 already has it's own archive system

- miSt
Reply With Quote
  #149  
Old 01-12-2003, 11:56 AM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Mist: you can't compare, vb3's archivesystem is just for Searchengines, it doesn't Compress anything as far as i know.

@L-Mane: Nobody could tell, because i havn't tested vb3 yet....
But it's an Addon, so it should work withouth problems, at least the old Archives should stay ok.
The action to convert new Threads into archives could perhaps make problems, i don't know how the db structure has changed.
I will surely make it vb3 compatible when i have enough time for it..
Reply With Quote
  #150  
Old 01-12-2003, 02:03 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh i see - well it still looks nice
Reply With Quote
  #151  
Old 01-12-2003, 03:08 PM
NuclioN's Avatar
NuclioN NuclioN is offline
 
Join Date: Aug 2002
Posts: 955
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great addition. The only thing that's strange is the connection time out message when i make an archive of a thread with a certain amount of pages.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:48 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04505 seconds
  • Memory Usage 2,308KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete