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

Reply
 
Thread Tools
Links and Files Database Details »»
Links and Files Database
Version: 1.60, by AndrewD AndrewD is offline
Developer Last Online: Apr 2010 Show Printable Version Email this Page

Version: 3.0.7 Rating:
Released: 01-17-2004 Last Update: 07-25-2005 Installs: 238
DB Changes Template Edits
 
No support by the author.

The VB3.0 version is no longer supported although there have been no reported problems for some time

See here for the VB 3.6 version of this hack, which is now the supported version. This version currently also works with VB 3.5
See here for the VB 3.5 thread for this hack.

What's new in v1.60?

Option to display associated thumbnail images
Option to accept/not accept new entries if these already exists in database
Code for mass edits (accessed via admincp) tidied up
VB phrasing completed
Includes a full French and a partial German translation (thanks to cclaerhout, Allan and LeeWicKeD), handled properly by installation script.
Various bugs fixed and tested against php4 and php5:
Better database validation (on startup/in admincp: links with invalid associated forumids, categories with invalid parentids)
Alternative linkbit templates provided (default uses a fieldset, the other is the old-style table row)
Alternative category selection templates (pull down menu/list of checkboxes),
Star rating displayed using standard VB stars rather than in text form
Series of minor bug fixes
See file change.txt in zip file

What it is/does

- Provides a searchable database of weblinks and/or downloadable files, for example manuals, music files, pictures, etc.
- Integrates within VBulletin, without requiring any code changes.
- Transparently handles links and file downloads. (If you want to provide downloads from your own site, you need a separate tool to upload these files. This hack does not and will not include a file uploader.)
- Provides unlimited nested categories.
- Each link/file can be a member of multiple categories.
- Link and category title and descriptions can use all BBCODEs, giving the possibility to add images, colouring, etc, as you wish
- Viewing/access permissions controlled using VBulletin forum system
- Users can rate links, in a similar manner to VB thread rating.
- File downloads are semi-leechproof, i.e. the user does not see where the file is stored and can only access the link if she has access to the associated forum.
- Audio files playable via Windows Media Player can be offered as a jukebox .
- Tracks who downloads what
- Validates links on entry/editing, and provides admin facility to validate the entire database.

Installation/upgrading instructions

Read instructions.txt in the zip file. Installation script works out whether to install or upgrade.

To upgrade from an earlier release of this hack, simply re-run the installation script. If you modified the templates in the top styles, you will lose these modifications unless you back up and re-edit.

PLEASE BACK UP YOUR DATABASE

See also

For screen shots, see attachments.

Tested with

VBulletin 3.0 and higher
PHP 4.1.1 and 4.3.4, should work with all 4.x versions, seems ok with 5.0.4
MySQL 4.0.
Reported ok with MySQL 4.1 but not exhaustively tested

Credits

Initially inspired by drkFusion's vb2 hack "vb Link Directory" v.2 and discussion about v.3 on Vbulletin.org. This is a complete rewrite with many more features. Every credit to the VBulletin folks for providing the infrastructure and to those on vbulletin.org who have helped with testing.

Integrations/Conversions

Natch has written extensions to integrate this hack with VBindex and VBAdvanced.

For convenience, this hack includes fully integrates with, but does not install, his VBIndex hack - i.e. the required template and code are provided, and the admin panel handles the configuration settings. Please refer to his thread for instructions.

Integration with VBadvanced is described in thread 1319 at vbadvanced.com.

The zip file includes a script and instructions for converting from vbLinks v2 (see thread 44551

Show Your Support

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

Comments
  #692  
Old 11-16-2004, 08:20 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by restless
while this is indeed a great hack, i would like to reiterate was is probably beating a dead horse...

this addition has nothing to do with a files database. it's links. the name is misleading.

i wish someone would do an addon to this hack that includes an uploader.
Sorry that you feel this way - I am clearly doing something wrong in offering our members access to several hundred files by using this hack! I think that the only possible confusion is that the "files" are not stored in the database, only the location of the files. Storing lots of files in a database is generally not good practice anyway because of the size problems.

An uploader is deliberately not part of the hack, as I did not want to get into all the issues of security management that it will create. There is plenty of software available to handle secure file uploading into web site directories, or into secure directories outside the web structure. Of course, there's nothing to stop anyone providing a separate hack to achieve this, but I want to resist any extensions *to this hack*.
Reply With Quote
  #693  
Old 11-16-2004, 05:47 PM
restless's Avatar
restless restless is offline
 
Join Date: Jan 2002
Location: Canada
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

don't get me wrong.. i think your hack is great and i'm sure i'll end up clicking install and using it. i'm just not sure for what at this point.
Reply With Quote
  #694  
Old 11-17-2004, 07:27 PM
jugo jugo is offline
 
Join Date: Feb 2004
Location: Reading your emails.
Posts: 573
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well...

I love this hack. so there!!

Now for the upload, I'm going to make me alittle something something using the httpupload hack.

I've used that for sig uploads and a couple of other things, why not this. I'll let you know what I come up with.

jugo out

LMAO...Who says that!?!?!?
Reply With Quote
  #695  
Old 11-18-2004, 12:52 AM
restless's Avatar
restless restless is offline
 
Join Date: Jan 2002
Location: Canada
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i'm sorry if this was already covered in another post, but.....

is there any way to tell who added the link? i hate everything being so anonymous.

other than that.. i've managed a configuration. i wish i could do coding to get it to do what i want... (have an uploader on the add page that automatically places the link in the text box after uploading.)
Reply With Quote
  #696  
Old 11-18-2004, 11:54 PM
spence2 spence2 is offline
 
Join Date: Jun 2002
Location: usa
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AndrewD
OK, I'll include this on the list for the next version. Give me a few days

Any more urgent (simple to implement) wishes, anyone?
Yes, it would be great to be able to display the username of the person who added the link.

Thanks
Reply With Quote
  #697  
Old 11-20-2004, 09:18 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by spence2
Yes, it would be great to be able to display the username of the person who added the link.
I'm rather busy, so the next release will be a couple of weeks still.

In the meantime, those who want to display submitting username might try this. Just replace the links_linkbit template with the attached. Please let me know if this is what you're wanting, or if Ive got the wrong message.

The submitting username and #hits are only visible to usergroups which you give can_view_hits privilege (see links admin page)
Reply With Quote
  #698  
Old 11-22-2004, 08:40 PM
fortnox fortnox is offline
 
Join Date: Aug 2003
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi!

First thanks for this great Hack.

I have a little Problem.

I can not set usergroup Permissions.Always when i give the permissions and click to "go" i become this on a new site :surprised: :

Quote:
The following setting(s) are invalid
file_icons_dir : /
Go back
Can me anybody help please?
Reply With Quote
  #699  
Old 11-22-2004, 08:43 PM
Bhuwan's Avatar
Bhuwan Bhuwan is offline
 
Join Date: Jul 2004
Location: USA
Posts: 425
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i am using it as a download system. iuploaded a 20 mb file and when i go to download it only 2.35 MB is downloaded.
Reply With Quote
  #700  
Old 11-22-2004, 10:47 PM
fortnox fortnox is offline
 
Join Date: Aug 2003
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry i found what i`ve maked false.

Great Hack!!

*clicks Install
Reply With Quote
  #701  
Old 11-23-2004, 02:47 AM
restless's Avatar
restless restless is offline
 
Join Date: Jan 2002
Location: Canada
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

excellent!

Quote:
Originally Posted by AndrewD
I'm rather busy, so the next release will be a couple of weeks still.

In the meantime, those who want to display submitting username might try this. Just replace the links_linkbit template with the attached. Please let me know if this is what you're wanting, or if Ive got the wrong message.

The submitting username and #hits are only visible to usergroups which you give can_view_hits privilege (see links admin page)
Reply With Quote
  #702  
Old 11-23-2004, 04:24 PM
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
Location: Portland, Oregon
Posts: 1,407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by restless
excellent!
This is a well documented, great mod but I want to make sure I am not missing something here, is there a way to have it display all the attached files from a specific forum?
Reply With Quote
  #703  
Old 11-23-2004, 04:31 PM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bchawla
i am using it as a download system. iuploaded a 20 mb file and when i go to download it only 2.35 MB is downloaded.
You are probably exceeding the CPU time limit allowed for php scripts. If you're controlling your own site, this is set in php.ini. Also, the script handles large files much quicker if you set force_redirect on the links admin page, but then the location of the file on your site will become visible.
Reply With Quote
  #704  
Old 11-23-2004, 04:32 PM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ericgtr
This is a well documented, great mod but I want to make sure I am not missing something here, is there a way to have it display all the attached files from a specific forum?
Yes I think I coded this inb, but I need to get home to remind myself! Will post an answer tomorrow.
Reply With Quote
  #705  
Old 11-23-2004, 04:35 PM
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
Location: Portland, Oregon
Posts: 1,407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AndrewD
Yes I think I coded this inb, but I need to get home to remind myself! Will post an answer tomorrow.
Great, thanks! Just so I am making myself clear, that would be existing files from a forum, right?
Reply With Quote
  #706  
Old 11-24-2004, 04:07 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ericgtr
Great, thanks! Just so I am making myself clear, that would be existing files from a forum, right?
OK, I think we're talking at cross purposes. (1) Do you want to be able to find all the regular VBulletin attachments in a forum? Or (2) do you want to find all the files mentioned in a forum using the URL bbcode? Or (3) do you want to find all the files that have been set up using this hack which are associated with a particular forum?

This hack current will handle the third (although I think I found a bug). There's another hack somewhere that deals with the first. And I wrote some code, but haven't released it yet, that handles the second.
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:19 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.06757 seconds
  • Memory Usage 2,374KB
  • Queries Executed 30 (?)
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
  • (10)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
  • (2)pagenav_pagelinkrel
  • (16)post_thanks_box
  • (16)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (16)post_thanks_postbit_info
  • (15)postbit
  • (16)postbit_onlinestatus
  • (16)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