Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Links and Files Database Details »
Links and Files Database
Mod Version: 1.60, by AndrewD (R.I.P) AndrewD is offline
Developer Last Online: Apr 2010 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.0.7 Rating: (7 votes - 5.00 average) Installs: 238
Released: 18 Jan 2004 Last Update: 26 Jul 2005 Downloads: 51
Not Supported DB Changes Template Edits  

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

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	cat_with_image.jpg
Views:	7884
Size:	38.8 KB
ID:	18075  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 18 Jan 2004, 17:16
tomshawk's Avatar
tomshawk tomshawk is offline
 
Join Date: Jul 2003
Sounds like something I could use, Got any screenshots?
Reply With Quote
  #3  
Old 18 Jan 2004, 18:09
gmarik's Avatar
gmarik gmarik is offline
 
Join Date: May 2002
Real name: Marco
Arrow Help

This is what we needed. Several things:
- not integrated with the admin cp is no good - you need to integrate it, it's the most important part
- we could make the design together - and we could cooperate with other download zone vb2 hackers to unite the code and make it even better.
Attached Images
File Type: gif Abacus-Download-Add-on-1.gif (31.3 KB, 4020 views)
File Type: gif Abacus-Download-Add-on-2.gif (31.6 KB, 3405 views)
File Type: gif Abacus-Download-Add-on-3.gif (30.9 KB, 2358 views)

Last edited by gmarik; 18 Jan 2004 at 18:13. Reason: webmaxtor.com got it working
Reply With Quote
  #4  
Old 18 Jan 2004, 19:10
dede1 dede1 is offline
 
Join Date: Mar 2002
Error comes with me if I one left to insert wants:

Database error in vBulletin 3.0.0 Release Candidate 2:
Invalid SQL:
INSERT INTO local_linkslink (linkname, linkurl, linkdesc, linkimage, hits, linkforum, linkcheck, linkstatus)
VALUES (
'Dede1',
'http://www.dede1.de',
'test test',
'http://63.246.136.220/Board/images/misc/vbulletin3_logo_white.gif',
0,
'9',
1074456318,
0
)

mysql error: Unknown column 'linkcheck' in 'field list'
mysql error number: 1054
Date: Sunday 18th of January 2004 03:05:58 PM
Script: http://63.246.136.220/Board/local_links.php
Referer: http://63.246.136.220/Board/local_li...dlink&catid=-1
Username: Dede1
IP Address: xxxxxxxxxxxxxx
Reply With Quote
  #5  
Old 18 Jan 2004, 19:16
Nmidia Nmidia is offline
 
Join Date: Jan 2004
Originally Posted by dede1
Error comes with me if I one left to insert wants:
I get this when I try and run the queries. I'm using RC1. Is it incompatible?

An error occurred while attempting to execute your query. The following information was returned.
error number: 1064
error desc: You have an error in your SQL syntax near ';
CREATE TABLE local_linkscat (
catid smallint(5) NOT NULL auto_increment,
' at line 1
Reply With Quote
  #6  
Old 18 Jan 2004, 19:17
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Real name: Andrew
msysql error

Originally Posted by dede1
Error comes with me if I one left to insert wants:
fixed, answer no longer relevant

Last edited by AndrewD; 02 Mar 2004 at 14:38.
Reply With Quote
  #7  
Old 18 Jan 2004, 19:22
gmarik's Avatar
gmarik gmarik is offline
 
Join Date: May 2002
Real name: Marco
You should add:
- admin / moderator {editor} link rating (5 stars)
- links out
- links in page
- total statistics
Reply With Quote
  #8  
Old 18 Jan 2004, 19:28
Nmidia Nmidia is offline
 
Join Date: Jan 2004
Originally Posted by gmarik
You should add:
- admin / moderator {editor} link rating (5 stars)
- links out
- links in page
- total statistics
Also would be good to add a way of iconising the fact that you have categories. So cats have an icon, links have their own icon
Reply With Quote
  #9  
Old 18 Jan 2004, 19:29
Nmidia Nmidia is offline
 
Join Date: Jan 2004
Originally Posted by AndrewD
sorry - try downloading the zip again or use the definition below - I'd included an old set of table definitions

DROP TABLE IF EXISTS local_linkslink;
CREATE TABLE local_linkslink (
linkid int(11) NOT NULL auto_increment,
linkname varchar(255) NOT NULL,
linkdesc text NOT NULL,
linkurl text NOT NULL,
linkimage text NOT NULL,
hits text NOT NULL,
linkforum smallint(5) NOT NULL,
linkcheck int(10) unsigned NOT NULL,
linkstatus smallint(2) NOT NULL,
PRIMARY KEY (linkid)
);

I re-ran the queries and got exactly the same error. My error is in the local_linkscat query.
Reply With Quote
  #10  
Old 18 Jan 2004, 19:36
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Real name: Andrew
Originally Posted by Nmidia
I re-ran the queries and got exactly the same error. My error is in the local_linkscat query.
fixed, no longer relevant

Agree with you about the icons

Last edited by AndrewD; 02 Mar 2004 at 14:38.
Reply With Quote
  #11  
Old 18 Jan 2004, 19:43
Nmidia Nmidia is offline
 
Join Date: Jan 2004
Originally Posted by AndrewD
Not sure what's happing to you - I tried the sql code and it's fine for me. Is this what you're trying to execute?

DROP TABLE IF EXISTS local_linkscat;
CREATE TABLE local_linkscat (
catid smallint(5) NOT NULL auto_increment,
catname varchar(255) NOT NULL,
catdesc text NOT NULL,
cattext mediumtext NOT NULL,
parentid smallint(5) NOT NULL,
parentlist varchar(250) NOT NULL,
catforum smallint(5) NOT NULL,
PRIMARY KEY (catid)
);

Agree with you about the icons
was being a bit of a muppet. Running that querry through my forum did nothing. I then ran it from PHPMyAdmin from host, importing the file did nothing. The I ran it in query window, worked. The entire thing works fine now
Reply With Quote
  #12  
Old 18 Jan 2004, 19:52
dede1 dede1 is offline
 
Join Date: Mar 2002
Originally Posted by AndrewD
sorry - try downloading the zip again or use the definition below - I'd included an old set of table definitions

);
thanks läuft jetzt
Reply With Quote
  #13  
Old 18 Jan 2004, 20:36
dede1 dede1 is offline
 
Join Date: Mar 2002
Error comes with me if I one left to insert wants:


Database error in vBulletin 3.0.0 Release Candidate 2:
Invalid SQL:
SELECT mimetype
FROM attachmenttype AS attachmenttype
WHERE extension = 'php'
LIMIT 1;

mysql error: You have an error in your SQL syntax near ';
' at line 5

mysql error number: 1064

Date: Sunday 18th of January 2004 04:37:29 PM
Script: http://63.246.136.220/Board/local_li...tion=jump&id=4
Referer: http://63.246.136.220/Board/local_li...=links&catid=3
Username: Dede1
IP Address: xxxxxxxxxxxxxxx
Reply With Quote
  #14  
Old 19 Jan 2004, 08:09
gmarik's Avatar
gmarik gmarik is offline
 
Join Date: May 2002
Real name: Marco
Yes, icons are very important - 32x32 icons, that have the same id, as the cetegory. For example Photoshop link category with ID=4 has a gif stored in folder images/links called l04.gif and so, if the icon option is turned on, the users sees it - it's a very important thing and must be operated from the admin CP. http://tutorials.yaxay.com/

Last edited by gmarik; 19 Jan 2004 at 08:11.
Reply With Quote
  #15  
Old 19 Jan 2004, 08:13
colicab-d's Avatar
colicab-d colicab-d is offline
 
Join Date: Dec 2002
Real name: Dave
gmarik are you using andews files/link archive in those pictures or are you using your own one? if so why not release it, or maybe just to me :d lol
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 06:34.

Layout Options | Width: Wide Color: