Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Beta Releases

Closed Thread
 
Thread Tools
Archivhack for vB Details »»
Archivhack for vB
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: 04-23-2002 Last Update: Never Installs: 0
Is in Beta Stage  
No support by the author.

Ok, i have written a small Archivhack, more an Addon but i think i can post it here.

What it does:
It compresses a thread in the database, so it would take less space, but it cannot be posted in it anymore.

It isn't finished now, but you can already use it now.

I won't give full support for this Hack, but if you have suggestion, you can post them here.

While this Hack is in its Beta, most Expressions are in german, but i think this wouldn't be a problem

Show Your Support

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

Comments
  #12  
Old 04-25-2002, 06:29 PM
BigJohnson BigJohnson is offline
 
Join Date: Nov 2001
Posts: 535
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanx
  #13  
Old 04-26-2002, 06:54 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it was a good idea, i could use it for myself too ^^

ok, another update today.

the showarchiv-page now shows all Forums where threads originally were, so that there's a bit more order in it

screenshot follows here:
  #14  
Old 04-28-2002, 05:17 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool...

Sounds very interesting...

Satan
  #15  
Old 04-30-2002, 11:48 PM
Ordovicium's Avatar
Ordovicium Ordovicium is offline
 
Join Date: Oct 2001
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think the hack is great, but when I would like make a archive, I get this message:
Code:
Fatal error: Call to undefined function: gzdeflate() in c:\program files\nusphere\apache\htdocs\phpwebsite-0.8.1\admin\makearchiv.php on line 124
  #16  
Old 05-01-2002, 02:43 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm, i think then you don't have PHP v4 right?
  #17  
Old 05-01-2002, 04:12 PM
Ordovicium's Avatar
Ordovicium Ordovicium is offline
 
Join Date: Oct 2001
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

PHP Version 4.0.6
  #18  
Old 05-01-2002, 04:32 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm, look at php.net:

gzdeflate
(PHP 4 >= 4.0.4)

gzdeflate -- Deflate a string

its a standart function in php, so you have to look into your php options if you turned of this function. I cannot help you, because i haven't installed php on my server myself.
  #19  
Old 05-06-2002, 08:42 PM
ZiRu$'s Avatar
ZiRu$ ZiRu$ is offline
 
Join Date: Jan 2002
Location: Manitoba, Canada
Posts: 520
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks! But not needed! It would be better if all CLOSED THREADS became archived! I'd install it then
  #20  
Old 05-07-2002, 06:51 AM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this shouldn't be a problem to code, i will make it into the next version
  #21  
Old 05-16-2002, 09:36 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

After a long time, i have worked again on this hack, and made some big changes.

now you can archivate all closed thread on your board (just a small change)

i have written a completly new makearchivroutine.
i think its better than the old one, bcause the colors are no longer hardcoded, so you can use different styles.
the new routine allows me to write a function, which will redo an archiv to a thread when you want to do so (in the next release or one later)
the old routine ist inside the showarchiv, so you can view your made archives.
in the next version i will release a converter (if this is possible )

i have bit problem with the templates when you view an archive. Nothing serious, but when someone see what i made wrong (colums of author an real poster colum doesnt match), tell me.

please read the installation file carefully when you update your version, because ther are changes to the DB this time!

and DON'T DELETE YOUR ARCHIVPAGES TABLE WHEN YOU HAVE ALREADY MADE ARCHIVS WHERE THE ORIGINAL THREAD HAS BEEN DELETED!!!!!!!

Hope you'll enjoy the new version.

The release is not too far away now
So if you find bugs, tell me please

PS. @Oro: If you want to use the hack on your local PC, you have to install zlib right. i have had the same problem lasttime, cause i have installed php 4.2.0 but not the zlib
if you want to check it without the zlib, just uncomment the function decleration gzdeflate in makearchiv.php and gzinflate in showarchiv.php
threads wont be compressed then, but you'll see how it works i have testet it so myself
Closed Thread

Thread Tools

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 12:01 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.10785 seconds
  • Memory Usage 2,292KB
  • 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_code
  • (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
  • (2)pagenav_pagelink
  • (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