Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

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

Version: 3.5.x Rating:
Released: 06-25-2005 Last Update: 05-10-2006 Installs: 337
DB Changes Uses Plugins
Additional Files  
No support by the author.

LDM extends VBulletin to manage a library of documents, files and links to other web sites. Documents can be stored on your own web site, stored on your server separate from the web site, uploaded by your user community, or held somewhere else altogether. So you can use LDM to provide your user community with access to your own files and allow them to share files with each other.

12/08/06 - Versions that work with vb36 are available and supported in the VB36 thread. Version 2.2.1, which works with VB 3.5 but not with VB 3.6, remains available here.

Thanks to everyone who has helped with all the design, testing, etc.
Translations are provided (thanks dLutt and LeeWicked) into German, (thanks to Allan) into French, and (thanks to Hugo) into Spanish. Harry1951 has handled the Dutch translation.

Screenshots, Instructions and How to Install

Full details and instructions are available as a Wiki at http://www.eirma.org/wikis/index.php...nloads_Manager

LDM installs as a VBulletin product. There are no modifications required to standard VB code.

Basically - upload php files and run the installer through VB's Product installer. No changes needed to VB code. Remember to BACKUP YOUR DATABASE. By default, LDM prefixes its database tables 'local_'. Edit the configuration file, local_links_init.php, if you need/wish to change this.

LDM can handle an essentially unlimited number of categories and nested subcategories, and an unlimited number of entries (hyperlinks or downloadable files). Each entry can be placed in one or several categories. Categories can have styles. Descriptions and titles can optionally include BBcodes, smilies, images and html, giving the possibility to add images, colouring, etc. File types can be flagged using icons and individual entries can also have associated thumbnail images.

Standards templates are provided for libraries of links, files, documents, and photographs.

Users can offer comments and rate the links/downloads. Each user is allowed one rating and many comments per entry, and can freely edit these if they change their mind.

Permission to use specific features is established via the product's admin page, where the administrator specifies which usergroups can add and edit entries, comment and rate these entries, moderate, etc.

By default, all entries are visible to all users. You can restrict visibility/access to links and categories by using the permissions masks from your board's forums.

Moderation of new entries is available but turned off by default.

Users can report bad links to the relevant moderators/administrators.

Each user can flag links as his/her "Favourites".

Modules are provided for VBAdvanced.

Hooks are provided in suitable places in LDM and sample plugins are included in the release (see extras directory), for example to integrate with ID3 tags in mp3 files, for slideshows, to autocreate new threads in your forums, etc.

Plus much more.

Show Your Support

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

Comments
  #1722  
Old 04-26-2006, 01:11 PM
|oR|Greg |oR|Greg is offline
 
Join Date: May 2003
Location: AMACNY.COM
Posts: 418
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo
What size do you have your image thumbnails set to?
Thumbs are 100px.
Reply With Quote
  #1723  
Old 04-26-2006, 02:23 PM
|oR|Greg |oR|Greg is offline
 
Join Date: May 2003
Location: AMACNY.COM
Posts: 418
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All problems fixed, well.. all my problems anyway...

Ok, made some cleanup changes, and code changes.

If you want it to look like mine, do the following:

Open ../includes/local_links_include.php

Goto Lines 2304-2306 you'll see this:

Code:
		$linkimgmag = '<a href="local_resize.php?pic='.$linkimg.'&amp;size=600" target="_blank" title="'.$vbphrase['ll_enlarge_thumb'].'">'.
			iif(isset($icon_cache['magnify']),'<img border="0" src="'.$icon_cache['magnify'].'" alt="'.$vbphrase['ll_enlarge_thumb'].'" />','[+]').
			'</a>';
Replace it with this:

Code:
		$linkimgmag = '<a href="local_resize.php?pic='.$linkimg.'&amp;size=600" target="_blank" title="'.$vbphrase['ll_enlarge_thumb'].'">'.
			iif(isset($icon_cache['magnify']),'Enlarge Thumbnail <img border="0" src="'.$icon_cache['magnify'].'" alt="'.$vbphrase['ll_enlarge_thumb'].'" />','[+]').
			'</a>';
Goto Lines 2378-2400 you'll see this:

Code:
		$linkfavbit = "";
		if ($links_permissions["can_mark_link"]) {
			$favicon = iif(isset($icon_cache['myfav']), 
					'<img class="inlineimg" src="'.mk_file_name($links_defaults[file_icons_dir],'myfav.gif').'" alt="" border="0" />',
					'['.iif($linkfav,$vbphrase['ll_ab_favminus'],$vbphrase['ll_ab_favplus']).']');
			$linkfavbit = '<a href="'.$LINKS_SCRIPT.'.php?action=dofavlink&amp;id='.$linkid.'&amp;set='.
					iif($linkfav,"-1","1").'&amp;catid='.$linkcatid.'&amp;page='.$pagenumber.
					'" title="'.iif($linkfav,$vbphrase['ll_myfav_del'],$vbphrase['ll_myfav_add']).'">'.$favicon.'</a>';
			if ($linkfav and $viewcatid!=-2) {
				$linkfavbit = '<span class="highlight">'.$vbphrase[ll_myfav].'</span> '.$linkfavbit;
			}
		}

		$linkeditbit = "";
		if ($links_permissions['can_edit_link'] or $vbulletin->userinfo['userid']==$linkuserid) {
			$editicon = iif(isset($icon_cache['pencil']),
					'<img class="inlineimg" src="'.mk_file_name($links_defaults[file_icons_dir],'pencil.gif').'" alt="" border="0" />',
					'['.$vbphrase['ll_editlc'].']');
			$linkeditbit = '<a href="'.$LINKS_SCRIPT.'.php?action=editlink&amp;linkid='.$linkid.'&amp;catid='.$linkcatid.
					'&amp;page='.$pagenumber.'" title="'.$vbphrase['ll_edit'].'">'.$editicon.'</a>';
		}

	}
Replace it with this:

Code:
		$linkfavbit = "";
		if ($links_permissions["can_mark_link"]) {
			$favicon = iif(isset($icon_cache['myfav']), 
					'Favorite <img class="inlineimg" src="'.mk_file_name($links_defaults[file_icons_dir],'myfav.gif').'" alt="Favorite" border="0" />',
					'['.iif($linkfav,$vbphrase['ll_ab_favminus'],$vbphrase['ll_ab_favplus']).']');
			$linkfavbit = '<a href="'.$LINKS_SCRIPT.'.php?action=dofavlink&amp;id='.$linkid.'&amp;set='.
					iif($linkfav,"-1","1").'&amp;catid='.$linkcatid.'&amp;page='.$pagenumber.
					'" title="'.iif($linkfav,$vbphrase['ll_myfav_del'],$vbphrase['ll_myfav_add']).'">'.$favicon.'</a>';
			if ($linkfav and $viewcatid!=-2) {
				$linkfavbit = '<span class="highlight">'.$vbphrase[ll_myfav].'</span> '.$linkfavbit;
			}
		}

		$linkeditbit = "";
		if ($links_permissions['can_edit_link'] or $vbulletin->userinfo['userid']==$linkuserid) {
			$editicon = iif(isset($icon_cache['pencil']),
					'Edit <img class="inlineimg" src="'.mk_file_name($links_defaults[file_icons_dir],'pencil.gif').'" alt="Edit" border="0" />',
					'['.$vbphrase['ll_editlc'].']');
			$linkeditbit = '<a href="'.$LINKS_SCRIPT.'.php?action=editlink&amp;linkid='.$linkid.'&amp;catid='.$linkcatid.
					'&amp;page='.$pagenumber.'" title="'.$vbphrase['ll_edit'].'">'.$editicon.'</a>';
		}

	}
That will add in the associated link text and corrected alt="" portions for the images.

Now use the updated template code:

Code:
<tr>
<td colspan="2">
<div style="margin-top:3px">

<table border="0" width="100%" cellspacing="0" cellpadding="0">
	<tr>
		<td width="100%">
		<table border="0" width="100%" cellspacing="0" cellpadding="0">
			<tr>
				<td class="tcat" width="65%" align="left"><if condition="$linknew">$linknew </if>$linktypebit <strong>$linkurljump <if condition="$linksize"> Size: $linksize $vbphrase[ll_kb]</if></strong></td>
				<td class="tcat" width="35%" align="right"><if condition="$links_permissions[can_view_names]">$vbphrase[ll_submitby] <a href="member.php?u=$linkuserid">$linkusername</a> On: $linkdate</if></td>
			</tr>
		</table>
		</td>
	</tr>
	<tr>
		<td width="100%">
		<table border="0" width="100%" cellspacing="0" cellpadding="0">
			<tr>
				<if condition="$linkimg"><td class="alt1" align="left" valign="top">$linkimgjump</td></if>
				<td class="alt1" width="100%" align="left" valign="top"><span class="smallfont">$linkdesc</span></td>
				<td class="alt1" width="100" align="right">
					<if condition="$links_permissions[can_view_hits]">
						<div align="center">
						<table cellpadding="0" cellspacing="0" border="0" width="100">
							<tr>
								<td width="100" valign="top" class="thead" align="center">Hits/Views</td>
							</tr>
							<tr>
								<td width="100" valign="top" class="tcat" align="center">$linkhits</td>
							</tr>
						</table>
						</div>
					</if>
				</td>
			</tr>
		</table>		
		</td>
	</tr>
	<tr>
		<td width="100%">
		<table border="0" width="100%" cellspacing="0" cellpadding="0">
			<tr>
				<if condition="$linkimg"><td width="15%" class="thead" align="left"><span class="smallfont">$linkimgmag</span></td></if>
				<td class="thead" width="85%" align="right">
				<span class="smallfont">
				$linkfavbit
				$linkeditbit
				<if condition="$links_permissions[can_send_tofriend]"><a href="$LINKS_SCRIPT.php?action=sendtofriend&amp;catid=$linkcatid&amp;linkid=$linkid" target="_blank" title="$vbphrase[ll_sendtofriend]">Send To Friend<img class="inlineimg" src="$stylevar[imgdir_button]/sendtofriend.gif" alt="$vbphrase[ll_sendtofriend]" border="0" /></a></if>
				<if condition="$links_permissions[can_report_link] and $linkuserid != $bbuserinfo[userid]"><a href="$LINKS_SCRIPT.php?action=reportlink&amp;linkid=$linkid&amp;catid=$viewcatid&amp;page=$pagenumber" title="$vbphrase[ll_report_bad_link]">Report Bad Link<img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[ll_report_bad_link]" border="0" /></a></if>
				</span>
				</td>
			</tr>
		</table>
		</td>
	</tr>
</table>
</div>
</td>
</tr>
I also updated my magnify.gif and removed the excess white space around it. I've attached it here as well as a screen shot of my final template output.

Hope this helps, enjoy.
Reply With Quote
  #1724  
Old 04-29-2006, 12:04 AM
saidev saidev is offline
 
Join Date: Apr 2006
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed, awsome plugin. I was wondering if there a preset of categories that I can import, so I don't have to create everyone of them by hand. (sorry I don't want to sound lazy) but I'm busy with few other new sites. Anything to speed things up would be helpful. Thank you.
Reply With Quote
  #1725  
Old 04-29-2006, 12:50 PM
q8-star's Avatar
q8-star q8-star is offline
 
Join Date: Aug 2005
Location: KWI
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I spent lots of time to translate this hack to Arabic ,but ,after I upgraded this hack to the latest stable version I lost all the translated phrases .Unfortunate I didn't take backup for it .
So ,does anyone have the Arabic translation for that hack ?
Reply With Quote
  #1726  
Old 04-29-2006, 02:26 PM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by q8-star
I spent lots of time to translate this hack to Arabic ,but ,after I upgraded this hack to the latest stable version I lost all the translated phrases .Unfortunate I didn't take backup for it .
So ,does anyone have the Arabic translation for that hack ?
I'm sorry to hear this. When you obtain a new Arabic translation, maybe you can post it here, so that we can include it as parts of the official release and so avoid the problem in future?
Reply With Quote
  #1727  
Old 04-29-2006, 03:02 PM
q8-star's Avatar
q8-star q8-star is offline
 
Join Date: Aug 2005
Location: KWI
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AndrewD
I'm sorry to hear this. When you obtain a new Arabic translation, maybe you can post it here, so that we can include it as parts of the official release and so avoid the problem in future?
Well ,thanks AndrewD ..I'm trying my best now ,but it's really a hard process to translate it to Arabic ,specially technical terms since there is no official Arabic standard terminology .
But sure ,once I get it done 100% translated I'll give you the first copy of it
One more thing .. this problem has been happening several times to me now with different hacks ,also to note that in every upgrade you to "Allow overwrite" ..so I really don't know ,am I missing something or it's just something I have to take and accept it as it is ?
Reply With Quote
  #1728  
Old 04-29-2006, 04:20 PM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by q8-star
Well ,thanks AndrewD ..I'm trying my best now ,but it's really a hard process to translate it to Arabic ,specially technical terms since there is no official Arabic standard terminology .
But sure ,once I get it done 100% translated I'll give you the first copy of it
One more thing .. this problem has been happening several times to me now with different hacks ,also to note that in every upgrade you to "Allow overwrite" ..so I really don't know ,am I missing something or it's just something I have to take and accept it as it is ?
I think that this is a problem in VB itself, but a couple of people have pointed it out, so I will investigate whether it can be overcomne. The LDM installer is not deliberately erasing phrases (although it does clear out old templates).
Reply With Quote
  #1729  
Old 04-29-2006, 04:37 PM
Deska's Avatar
Deska Deska is offline
 
Join Date: Aug 2002
Location: Asia
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can I use this hack for something like address book?
So, I or my board's user can add address there with or without links to their website.

Is this possible?
Reply With Quote
  #1730  
Old 04-29-2006, 06:18 PM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Deska
Can I use this hack for something like address book?
So, I or my board's user can add address there with or without links to their website.

Is this possible?
I imagine so, for example:
- set the entry name as the person's name
- set the url as their web site, or leave blank
- use the description for the address

in the settings, set allow_null_links
Reply With Quote
  #1731  
Old 04-29-2006, 11:13 PM
Tyegurl's Avatar
Tyegurl Tyegurl is offline
 
Join Date: Mar 2006
Location: NY
Posts: 480
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Deska
Can I use this hack for something like address book?
So, I or my board's user can add address there with or without links to their website.

Is this possible?
i created a category "Site Links" I am sure you could do the same using a similar if not the same name maybe "Member Pages" and then in the title put their name and in the description any additional info they would like to share...then add the URL and save if they don't have a web site they can add the linkk to their memberlist profile in the URL
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 01:46 PM.


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.06140 seconds
  • Memory Usage 2,339KB
  • 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
  • (5)bbcode_code
  • (6)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
  • (5)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