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

 
 
Thread Tools
Files List v3.01 Details »»
Files List v3.01
Version: 1.00, by DWard DWard is offline
Developer Last Online: Mar 2018 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 05-03-2004 Last Update: Never Installs: 34
 
No support by the author.

Hey,

VERSION 3.01
[25/05/2004]

-----------------------------------------------

This Hack is released under an EverythingvB.com FullAttribution-LimitedDerivs-LimitedTranslation License
-----------------------------------------------

This new hack gives you the function of grouping all your attachments in one single list, divided into pages and with the option of viewing files by category, eg Video Clips, Archives and Excecutables etc.

All installation instructions are provided in the install file, and modification details are in the php file included in the zip. All images used for some files are also attached.

Any problems, queries or errors, please report here or PM me so I can sort them out as soon as possible, to ensure this hack is to your standards.

Current key functions:


  • Lists all attachments and spans over pages. You can specifiy the amount of attachments per page.
  • Specify usergroups who you do not wish to view the attachments.
  • Set out the same as attachments in posts, with icon, size and views.
  • Categories, so you can quickly view one type of file.
  • Display username.
  • Sort by username or filename.
  • If enabled, images category shows thumbnails.
  • Table row colours altered to make it easier to read username.
  • Shows forum name and a link to the parent thread.
  • Ability to sort by forum name.
  • Set the amount of files to view per page.
An example of the hack can be found here:
http://www.collegepranks.co.uk/forums/fileslist.php

Note to current users about upgrading:
  • Replace your fileslist.php file with the new one.
  • Replace the attachment_view and attachment_view_bits with the ones in the install file.
FOR THE BEST AND QUICKEST SUPPORT TIME, PLEASE POST HERE.

PLEASE CLICK INSTALL

Show Your Support

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

Comments
  #62  
Old 05-08-2004, 07:01 PM
DWard's Avatar
DWard DWard is offline
 
Join Date: Mar 2004
Location: Peterborough, UK
Posts: 320
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SmartGnome
I only changes the two templates and uploaded the new php file

Got this error now, the old version did work:

Code:
Database error in vBulletin 3.0.1:

Invalid SQL: SELECT * FROM vb3_attachment LEFT JOIN user ON (user.userid = attachment.userid) ORDER BY filename asc LIMIT 0, 30
mysql error: Table 'adfs_nl_-_vbgold.user' doesn't exist

mysql error number: 1146

Date: Saturday 08th of May 2004 09:55:28 PM
Script: http://anita.adfs.nl/forum/fileslist.php?
Referer: 
Username: SmartGnome
IP Address: 62.100.24.35
With the earlier version you gave me another filelist.php cause of same sort of probs.

Thanks Dan.
yer i see the problem, 2mins
Reply With Quote
  #63  
Old 05-08-2004, 07:04 PM
DWard's Avatar
DWard DWard is offline
 
Join Date: Mar 2004
Location: Peterborough, UK
Posts: 320
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, i updated the actual ZIP file, but there is the fileslist file:
Reply With Quote
  #64  
Old 05-08-2004, 07:06 PM
DWard's Avatar
DWard DWard is offline
 
Join Date: Mar 2004
Location: Peterborough, UK
Posts: 320
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tel me if that works plz
Reply With Quote
  #65  
Old 05-08-2004, 07:11 PM
SmartGnome's Avatar
SmartGnome SmartGnome is offline
 
Join Date: Mar 2003
Location: Amsterdam
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DWard
tel me if that works plz

Great !! Works fine now with the usernames at the end :laugh:

Hope for the far future there will be also the forum title there :grins:

Tnx Dan
Reply With Quote
  #66  
Old 05-08-2004, 07:48 PM
DWard's Avatar
DWard DWard is offline
 
Join Date: Mar 2004
Location: Peterborough, UK
Posts: 320
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm working on it
Reply With Quote
  #67  
Old 05-08-2004, 07:53 PM
DWard's Avatar
DWard DWard is offline
 
Join Date: Mar 2004
Location: Peterborough, UK
Posts: 320
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

SuperGnome... please do this when you have some free time, it makes sure the next button is all on one line in your fileslist page number block:

https://vborg.vbsupport.ru/showpost....3&postcount=40
Reply With Quote
  #68  
Old 05-08-2004, 07:55 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DWard
I'm working on it
DWard, I have fixed your file. You really had some things messed up in it, sorry to say. You CAN'T put table prefixes on userid variables. This:

PHP Code:
$attachment_data $DB_site->query("SELECT * FROM ".TABLE_PREFIX."attachment LEFT JOIN ".TABLE_PREFIX."user ON (".TABLE_PREFIX."user.userid = ".TABLE_PREFIX."attachment.userid) ".$soundclips_filetypes." ORDER BY ".$sorttype." asc LIMIT " . ($minlimit-1) . ", $perpage");

Should be this:

PHP Code:
$attachment_data $DB_site->query("
SELECT * FROM "
.TABLE_PREFIX."attachment AS attachment
LEFT JOIN "
.TABLE_PREFIX."user AS user ON (user.userid = attachment.userid) ".$soundclips_filetypes."
ORDER BY "
.$sorttype." ASC
LIMIT " 
. ($minlimit-1) . ", $perpage"); 
And also, anytime you query more than one table in a query, ALL tables have to have the table AS table to it when someone has a table prefix in their db.

Here is the updated file.
Reply With Quote
  #69  
Old 05-08-2004, 07:59 PM
DWard's Avatar
DWard DWard is offline
 
Join Date: Mar 2004
Location: Peterborough, UK
Posts: 320
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I know its all over the place, it works, just need to get smartgnome to try out the new file to make sure it works, because the fixed file is how it was before i changed it, and supregnome had problems with that.

I promised everybody that I would get the cod out by 2night so I had to post it pretty much how it was
Reply With Quote
  #70  
Old 05-08-2004, 08:01 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DWard
I know its all over the place, it works, just need to get smartgnome to try out the new file to make sure it works, because the fixed file is how it was before i changed it, and supregnome had problems with that.

I promised everybody that I would get the cod out by 2night so I had to post it pretty much how it was
That's because he has a table prefix and you need to use the table as table in queries with more than one table.
Reply With Quote
  #71  
Old 05-09-2004, 04:49 AM
Natch's Avatar
Natch Natch is offline
 
Join Date: Nov 2002
Location: Australia
Posts: 851
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DWard
ATTACHMENT THUMBNAILS FOR IMAGES IN THE FILELIST
Preview for next version: http://www.collegepranks.co.uk/forums/fileslist.php
Wasn't this version going to include Thumbnailed Images ??

It's a great hack - but this was what I was waiting for (installed today and it's not there) ... I don't wanna +++++ (by any means) but was just wondering if it might have been an oversight ...
Reply With Quote
 


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 06:04 PM.


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.04657 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_code
  • (2)bbcode_php
  • (5)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