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
Advanced File Archive 2.0 Details »»
Advanced File Archive 2.0
Version: 1.00, by erdem erdem is offline
Developer Last Online: Dec 2013 Show Printable Version Email this Page

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

What it does ?
This hack is integration of pafiledb to vbulletin.
Its complete new code. Nothing imported from pafiledb.
* Please dont remove the link and my name *
Currently this hack is working without any problem.
Tested on Local vb 2.2.9.
Also tnx limpkinw for testing it on his server ...

Current Version : 2.0

Features :
-> Search (via date, via viewcount, via name and more)
-> Letter view
-> Perpage display
-> Subcats
-> User file submissions
-> Forum per category
-> Thread per program (if category forum selected)
-> Custom userfields
-> Moderate files
-> Easy admin panel
-> Template based
-> Archive stats
-> Installer - UnInstaller
-> And more

How to use ?
- Upload filesadmin.php to your forum admin dir.
- Upload filesinstall.php to your forum admin dir.
- Upload files.php to your forum dir.
- Access filesinstall.php and then click install.
- Access filesadmin.php to set it up.
- Add categories , files , custom fields.

Feature Requests :
Request anything you want i will try to add it

Bug reports :
Bug? Huh? After 5 beta release ? There shouldnt be!
Anyway post under this thread and i will try to solve..

Support :
Support on this hack is only in this thread.

Screen Shots?
Sorry i cant provide a test server cuz i have only one license
anyway here is some screen shots : https://vborg.vbsupport.ru/attachmen...&postid=318089

Credits
While coding , DrkFusion's codes taken as guide for files.php
While coding , vbulletin's memberlist.php, newthread.php, showthread.php files taken as a guide for files.php
While coding , vbulletin's admin/forum.php file taken as a guide for admin/filesadmin.php

Greetz
Erdem
:bunny:

Show Your Support

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

Comments
  #52  
Old 11-11-2002, 12:24 AM
Sebastian's Avatar
Sebastian Sebastian is offline
 
Join Date: Oct 2002
Location: America
Posts: 488
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a cool hack, I installed it

I would like to be able to upload files too! And make comments too! Do it! gogoggo!!!!! Good job!
Reply With Quote
  #53  
Old 11-11-2002, 03:24 AM
erdem erdem is offline
 
Join Date: Oct 2001
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Erwin
Just give credit to Drkfusion, and keep the hack threads separate. Giving credit can't be that hard - a quick "code partially based on .... etc." would suffice.
look at first post ...
every credit in it ... anything missing ?
Reply With Quote
  #54  
Old 11-11-2002, 04:39 AM
Sebastian's Avatar
Sebastian Sebastian is offline
 
Join Date: Oct 2002
Location: America
Posts: 488
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by erdem
... anything missing ?
yes, upload attachment ability and post comments
Reply With Quote
  #55  
Old 11-14-2002, 02:07 PM
erdem erdem is offline
 
Join Date: Oct 2001
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i am working on attachments ..
but i cant store files on database ..

i try to use similiar function as vb used but i cant upload any file to db ...

anyone can help me on this ?
tnx
Reply With Quote
  #56  
Old 11-14-2002, 04:14 PM
BeatDown BeatDown is offline
 
Join Date: Oct 2002
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by erdem
i am working on attachments ..
but i cant store files on database ..

I'd actually perfer if the files themselves were not in the database.
Reply With Quote
  #57  
Old 11-15-2002, 03:26 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well i'd prefer them to be stored in the database with the option maybe to turn that feature off

- miSt
Reply With Quote
  #58  
Old 11-15-2002, 04:01 PM
erdem erdem is offline
 
Join Date: Oct 2001
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Mist
Well i'd prefer them to be stored in the database with the option maybe to turn that feature off

- miSt
and help ?
:ermm:
Reply With Quote
  #59  
Old 11-15-2002, 05:38 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Unfortunately i dont have any great experience with coding

- miSt
Reply With Quote
  #60  
Old 11-16-2002, 04:20 AM
erdem erdem is offline
 
Join Date: Oct 2001
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

allright here is what i did :
*code modified from newthread.php and acceptupload function *

this is the code in files.php .. with this code if admin set submissions on user can submit files .. but not working ..
PHP Code:
    if (is_array($HTTP_POST_FILES)) {
    
$attachment $HTTP_POST_FILES['attachment']['tmp_name'];
    
$attachment_name $HTTP_POST_FILES['attachment']['name'];
    
$attachment_size $HTTP_POST_FILES['attachment']['size'];
    if (
is_uploaded_file($attachment)) {
    if (
$safeupload) {
      
$path "$tmppath/vba".substr(uniqid(microtime()),-8);
      
move_uploaded_file($attachment"$path");
      
$attachment $path;
    }

    
$attachment_name strtolower($attachment_name);

    
$filenum fopen($attachment,"rb");
    
$filestuff fread($filenum,$filesize);
    
fclose($filenum);
    @
unlink($attachment);

    
$DB_site->query("INSERT INTO file_attach (aid,userid,filename,filedata,fileid) VALUES (NULL,$bbuserinfo[userid],'".addslashes($attachment_name)."','".addslashes($filestuff)."',$id)");
    
$aid=$DB_site->insert_id();
    }
    } 
info : i created my own attachment table for files archive .. and editted * a little * the vb functions ..

if i can figure out how i will add this also to admin panel ..

greetz
Reply With Quote
  #61  
Old 11-17-2002, 01:34 AM
Si9naL-9 Si9naL-9 is offline
 
Join Date: Feb 2002
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

has anyone thought about adding a batch build capability so that you could use the admin to generate the cats and sub cats, and then you just upload the files.. the script will then parse all the dirs for files and filenames.. calculate the size, and then build the links.

This is what I have been searching for.

MyeGallery has it. but the download plugin which makes the files downloadable is bugged, but the batch build functions work fine..

maybe someone can combine that with this?

the site for MyeGallery is http://www.marsishere.net
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 02:05 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.09658 seconds
  • Memory Usage 2,319KB
  • 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
  • (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
  • (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