The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Links and Files Database Details »» | |||||||||||||||||||||||||
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
|
Comments |
#227
|
|||
|
|||
Quote:
I assume you mean PHP 4.3.2 not 2.3.4! Find the following lines in your php.ini - I've no idea where it will be on your server. PHP Code:
Quite possibly a new version of php was installed? |
#228
|
|||
|
|||
Thanks, Andrew. I've made that change.
However, another problem has cropped up. When clicking on "Revalidate", browsers have now started trying to download the file rather than execute it. I decided to try upgrading to 1.0 (I was on 0.95), and local_links_install.php does the same thing - won't open in the browser, just tried to download it. If I permit the download, the resultant text file appears to be garbage: Quote:
|
#229
|
|||
|
|||
Quote:
First question - does any php script now run? If not, then your php installation is corrupt. Are you sure you've only changed the one line in php.ini? If yes, how much of the standard VB s/w works and how much of my hack works? |
#230
|
|||
|
|||
Quote:
This was happening before I changed the php.ini file, so it's not connected to that (it started last night). Can't really tell how well the rest of the hack is working because, with half an upgrade to 1.0 done, I can't test it! |
#231
|
|||
|
|||
Quote:
|
#232
|
|||
|
|||
Quote:
Thanks for your help! |
#233
|
|||
|
|||
Quote:
|
#234
|
|||
|
|||
Here's what he said:
Quote:
|
#235
|
|||
|
|||
Quote:
[New version of local_links.php attached for testing - now removed] |
#236
|
|||
|
|||
Installed without problems. Great Hack!
One suggestion, when I added a link for a video, it simply opened it up. I'd rather have it bring up the prompt to open or download first. Kinda like when you right click, save as. Is this possible? Maybe through the mime type? |
#237
|
|||
|
|||
We have talked about this before because i had the same problem with pdf and xls files on my board but if there's a way none of us have been able to figure it out just yet.
Mark |
#238
|
||||
|
||||
This issue can be resolved thru correct config of your mime types ON YOUR SERVER ...
However, if this is not possible for you, the PHP file headers can be used to modify the behaviour of downloads - this would require a new class to be added to detect the filetype (based on the extension) and apply the appropriate headers to the download link based on that ... |
#239
|
|||
|
|||
thats over my head but ill work on it and see what i can come up with.
Thanks Natch. Mark |
#240
|
|||
|
|||
Quote:
|
#241
|
|||
|
|||
After some checking, I can also set my mime types on my server as well but I'm to unfamilar with how to do this so any adviced would be appreciated.
Thanks, Mark |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|