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
  #132  
Old 01-05-2003, 11:18 AM
NuclioN's Avatar
NuclioN NuclioN is offline
 
Join Date: Aug 2002
Posts: 955
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's to bad. It looks if moderators can archieve postings and they show up in the showarchiv.php, but the admin can't see this submission nor can alter it. I don't know if there are members who can see and archieve but it would be great if this could be controled somewhere.
Reply With Quote
  #133  
Old 01-05-2003, 08:25 PM
mistyl mistyl is offline
 
Join Date: Dec 2002
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It is working now! I coverted my first thread! But when I click on the link that say Show All Archives it doesn't show the threads contain in there.

http://www.divamoms.com/forums/showarchiv.php
Reply With Quote
  #134  
Old 01-05-2003, 08:36 PM
mistyl mistyl is offline
 
Join Date: Dec 2002
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also is there anyway to get the Archive on the forum home?
Reply With Quote
  #135  
Old 01-06-2003, 07:21 AM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@mistyl: whenever you provide an url to your board to show something be sure it's opened to guest, or give a test account or we can't help

question2: just add a link tho showarchiv.php on the forumhome template.

@Nuclion: hmm, you must have made an mistake, normally just admiins can create archives, that's why archiv.php is in admin-cp...
Reply With Quote
  #136  
Old 01-06-2003, 08:12 PM
AWS's Avatar
AWS AWS is offline
 
Join Date: Nov 2001
Location: Joliet, IL
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent hack. Just what I was looking for.

Clicks install.

One question where is this located in the Archive templates?

Extreme .NET Forums > Archiv > All Archives

I want to change Archiv to Archive.
Reply With Quote
  #137  
Old 01-07-2003, 03:24 AM
AWS's Avatar
AWS AWS is offline
 
Join Date: Nov 2001
Location: Joliet, IL
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Uninstalled it for now. I archive a forum and all is ok. The per-page links are ok. As soon as I archive a second forum and head into that archive the first page shows the correct per-page links for that archive, but, if you click on the link to page 2 it takes you to page 2 of the whole archive. It doesn't seem to build multi-page links per forum archive but instead makes them for the whole archive and sets them in each. To see what I mean go to:

http://visualbasicforum.com/showarchiv.php

click on ADO.net archive. Then click at bottom of page click one of the per-page links. It will show posts from ASP.net the other forum I archived. If you want to view the rest of the ADO.net archived threads you have to click through all the links until you get back to them.

This is still a great hack and does just what I want, but, I can't use it as it is now. Once I archive all my forums it would be insane for a user to be able to navigate each archived forum since the perpage links seem to link randomly by date rather than by forum.

I fixed this.

This line:
PHP Code:
$pagenav=getpagenav($totalarchives,"showarchiv.php?s=$session[sessionhash]&action=showarchives&forum=".htmlspecialchars($forum)); 
should be:
PHP Code:
$pagenav=getpagenav($totalarchives,"showarchiv.php?s=$session[sessionhash]&action=showarchives&forumid=".htmlspecialchars($forumid)); 
Now to start archiving all my old threads and removing forums that I have closed after I archive them.

One more question. Could you add the feature to archive a forum by using the forum ID?
I want to archive all threads in a few of my forums and doing by date doesn't get all the posts. I would like to be able to just put a forum id in and have it do it that way then I know I get everything. This will also archive orphaned threads left behind that are tied to an ID of a removed forum.
Reply With Quote
  #138  
Old 01-07-2003, 04:08 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@AWS: Thanks, that bug comes with version3, i've forgotten to change the pagenavlink here thanks

also it should be that:
PHP Code:
  $pagenav getpagenav($totalarchives,"showarchiv.php?s=$session[sessionhash]&action=showarchives&forumid=".intval($forumid)); 
[high]* Xenon updates file
[/high]


Quote:
One question where is this located in the Archive templates?

Extreme .NET Forums > Archiv > All Archives
you have to edit showarchiv.php the function makearchivnav($archivid=0, $forumid=-1, $title="")

Quote:
One more question. Could you add the feature to archive a forum by using the forum ID?
it's already there, there is a forumchooser code when converting threads, no need for an id here
Reply With Quote
  #139  
Old 01-07-2003, 04:30 PM
AWS's Avatar
AWS AWS is offline
 
Join Date: Nov 2001
Location: Joliet, IL
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
it's already there, there is a forumchooser code when converting threads, no need for an id here
I see that. The ability to put in a forum id would be good also.
If you remove a large forum like I did, 50,000+ posts, more than likely vbulletins script will time out and all posts won't be removed. They are still in the db tied to an id, but, since the forum is no longer there it won't show in the dropdown box.
If we are able to input an id to the missing forum we could archive those old posts and remove then from the db.
This would be very helpful to not only archive these posts, but also remove them altogether.
Reply With Quote
  #140  
Old 01-07-2003, 04:38 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm, i can give you the code

open archiv.php and replace this:
PHP Code:
  makeforumchoosercode("and forum is<br><smallfont>Subforums are not included!</smallfont>","useforumid",-1,"Any"); 
with this:
PHP Code:
  makeinputcode("and forumid is<br><smallfont>Subforums are not included!</smallfont>","useforumid","-1"); 
this should work..
Reply With Quote
  #141  
Old 01-07-2003, 06:22 PM
AWS's Avatar
AWS AWS is offline
 
Join Date: Nov 2001
Location: Joliet, IL
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Xenon
hmm, i can give you the code

open archiv.php and replace this:
PHP Code:
  makeforumchoosercode("and forum is<br><smallfont>Subforums are not included!</smallfont>","useforumid",-1,"Any"); 
with this:
PHP Code:
  makeinputcode("and forumid is<br><smallfont>Subforums are not included!</smallfont>","useforumid","-1"); 
this should work..
Works great. I'm archiving the orphaned threads that vbulletin didn't remove when I removed the forums. Great work.
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:36 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.04884 seconds
  • Memory Usage 2,320KB
  • 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
  • (7)bbcode_php
  • (4)bbcode_quote
  • (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