The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Links and Downloads Manager Details »» | |||||||||||||||||||||||||
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
|
Comments |
#1722
|
|||
|
|||
Quote:
|
#1723
|
|||
|
|||
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.'&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>'; Code:
$linkimgmag = '<a href="local_resize.php?pic='.$linkimg.'&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>'; 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&id='.$linkid.'&set='. iif($linkfav,"-1","1").'&catid='.$linkcatid.'&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&linkid='.$linkid.'&catid='.$linkcatid. '&page='.$pagenumber.'" title="'.$vbphrase['ll_edit'].'">'.$editicon.'</a>'; } } 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&id='.$linkid.'&set='. iif($linkfav,"-1","1").'&catid='.$linkcatid.'&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&linkid='.$linkid.'&catid='.$linkcatid. '&page='.$pagenumber.'" title="'.$vbphrase['ll_edit'].'">'.$editicon.'</a>'; } } 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&catid=$linkcatid&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&linkid=$linkid&catid=$viewcatid&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> Hope this helps, enjoy. |
#1724
|
|||
|
|||
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.
|
#1725
|
||||
|
||||
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 ? |
#1726
|
|||
|
|||
Quote:
|
#1727
|
||||
|
||||
Quote:
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 ? |
#1728
|
|||
|
|||
Quote:
|
#1729
|
||||
|
||||
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? |
#1730
|
|||
|
|||
Quote:
- 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 |
#1731
|
||||
|
||||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|