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
  #1712  
Old 04-25-2006, 08:03 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AndrewD
Is there a space character or some similar in the jpg's filename. I can see a bug in the code in this situation, although I can't get it to trigger your message.
No, sir, the filename is mark.jpg.
Reply With Quote
  #1713  
Old 04-25-2006, 08:09 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo
No, sir, the filename is mark.jpg.
OK, can you send me a pm with a full url to the jpg, also (if it exists) to your LDM entry showing this bug. Thanks
Reply With Quote
  #1714  
Old 04-25-2006, 08:36 AM
redlabour's Avatar
redlabour redlabour is offline
 
Join Date: Mar 2004
Location: Wuppertal, NRW, Germany
Posts: 1,541
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AndrewD
I have a new German translation, very kindly completed a few days ago by dlutt, but I hadn't had a chance to upload it yet (am in the middle of a yet another business trip). It will be uploaded as a complete product xml file next weekend, when I'm back home. Or you can find his phrases file here

Thx !!! :laugh:
Reply With Quote
  #1715  
Old 04-25-2006, 02:36 PM
odln018's Avatar
odln018 odln018 is offline
 
Join Date: Mar 2006
Posts: 210
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AndrewD
No problem. Perhaps the coding is too clever for its own good.



The easiest way to do this for banners is to use Vb codes e.g. the img code. For small icon images, you can try Edit Category/Display Settings/cat_icon and cat_icon_new




Usually the Links and Download group appears close to the top of the list in the left hand column of the ACP. Sometimes I've noticed that you need to close all browser windows completely and restart before VB picks up these xml files.



You can get rid of several of these by changing the permissions (LDM/Admin/Permissions)

"Submitted by" - take away can_view_names permission
hits - take away can_view_hits permission
display order - take away can_set_display_order permission

For Date and size you would have to edit the template (VB/styles/style manager/edit templates) If you're using the standard layout (outer box with inner box on the right hand side, you would have to edit the links_linkbit template. As example, I attach a modified version of the links_linkbit template without the right nahd box.

Andrew - Thank you very much! This took care of all of those concerns, I just have a final (hopefully!) two questions, and then I'll ride off into the sunset.

1) Is there a way to remove the "enlarge image" expansion button.
2) Is there a way to remove the "add to favorites" button.

Thanks in advance!
Reply With Quote
  #1716  
Old 04-25-2006, 05:26 PM
|oR|Greg |oR|Greg is offline
 
Join Date: May 2003
Location: AMACNY.COM
Posts: 418
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can edit the template to look how you want. Here is my links_linkbit template. Feel free to use it if you like it.

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" align="left"><if condition="$linknew">$linknew </if>$linktypebit</td>
				<td class="tcat" width="65%" align="left"><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>
				<td class="alt1" align="center">$linkimgjump</td>
				<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>
				<td class="thead" align="left"><span class="smallfont">Enlarge Thumbnail $linkimgmag</span></td>
				<td class="thead" width="85%" align="right">
				<span class="smallfont">Favorite </span> $linkfavbit
				<span class="smallfont">Edit </span> $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]"><span class="smallfont">Send To Friend </span> <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"><span class="smallfont">Report Bad Link </span> <img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[ll_report_bad_link]" border="0" /></a></if>
				</td>
			</tr>
		</table>
		</td>
	</tr>
</table>
</div>
</td>
</tr>
Reply With Quote
  #1717  
Old 04-25-2006, 05:45 PM
odln018's Avatar
odln018 odln018 is offline
 
Join Date: Mar 2006
Posts: 210
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by |oR|Greg
You can edit the template to look how you want. Here is my links_linkbit template. Feel free to use it if you like it.

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" align="left"><if condition="$linknew">$linknew </if>$linktypebit</td>
				<td class="tcat" width="65%" align="left"><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>
				<td class="alt1" align="center">$linkimgjump</td>
				<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>
				<td class="thead" align="left"><span class="smallfont">Enlarge Thumbnail $linkimgmag</span></td>
				<td class="thead" width="85%" align="right">
				<span class="smallfont">Favorite </span> $linkfavbit
				<span class="smallfont">Edit </span> $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]"><span class="smallfont">Send To Friend </span> <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"><span class="smallfont">Report Bad Link </span> <img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[ll_report_bad_link]" border="0" /></a></if>
				</td>
			</tr>
		</table>
		</td>
	</tr>
</table>
</div>
</td>
</tr>

Greg -
Thank you very much! I really like the look you achieved, and I really like your vertical menu system, was that a custom hack, or something you received from a third party?
Reply With Quote
  #1718  
Old 04-25-2006, 05:58 PM
|oR|Greg |oR|Greg is offline
 
Join Date: May 2003
Location: AMACNY.COM
Posts: 418
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's a hack for vBAdvanced. They have a tutorial where you can add blocks to any vB page. Once I installed vBA, did the tutorial, there was a Module that someone wrote for the vertical NavMenu, I rewrote it with what I wanted and how I wanted. So... I guess it's 3rd party customized. I made it's sections collapsable, and made the Forum/Home link a little smarter then the normal one people use:


Using this will generate a warning in IE on the bottom status bar that there is an error on the page, however the "error" is that I left a quote off the first table column lines (in 3 places), I did this because with the quote, it totally screws up how things look and behave, without the quote it's perfect, don't ask me why. This is the line I'm talking about (<td style="cursor:hand" class='alt1' onmouseover="this.className='alt1'" onmouseout="this.className='alt1'>) Notice that the last " is missing.
Code:
<tr>
<td class="alt2">
<span class="smallfont"> 


<!-- The Community -->

<table border="0" cellpadding="0" cellspacing="0" width="100%">

<tr><td style="cursor:hand" class='alt1' onmouseover="this.className='alt1'" onmouseout="this.className='alt1'>
<a href="#top" onclick="return toggle_collapse('community')">
<img id="collapseimg_community" border="0" src="$stylevar[imgdir_misc]/navbits_start+.gif"/></a>&nbsp;<b>Community</b></td></tr>

<tbody id="collapseobj_community" style="$vbcollapse[collapseobj_community]">

<if condition="THIS_SCRIPT == 'adv_index'">
<tr onmouseover="this.className='alt1'" onmouseout="this.className='alt2'">
<td><img src="$stylevar[imgdir_misc]/navbits_dash.gif" alt=""/> <a href="$vboptions[bburl]/$vboptions[forumhome].php?$session[sessionurl_q]">Forums</a></td></tr>
</if>

<if condition="THIS_SCRIPT == 'index'">
<tr onmouseover="this.className='alt1'" onmouseout="this.className='alt2'">
<td><img src="$stylevar[imgdir_misc]/navbits_dash.gif" alt=""/> <a href="$vboptions[homeurl]?$session[sessionurl_q]">Home</a></td></tr>
</if>

<if condition="THIS_SCRIPT != 'adv_index' AND THIS_SCRIPT != 'index'">
<tr onmouseover="this.className='alt1'" onmouseout="this.className='alt2'">
<td><img src="$stylevar[imgdir_misc]/navbits_dash.gif" alt=""/> <a href="$vboptions[homeurl]?$session[sessionurl_q]">Home</a></td></tr>

<tr onmouseover="this.className='alt1'" onmouseout="this.className='alt2'">
<td><img src="$stylevar[imgdir_misc]/navbits_dash.gif" alt=""/> <a href="$vboptions[bburl]/$vboptions[forumhome].php?$session[sessionurl_q]">Forums</a></td></tr>
</if>


<tr onmouseover="this.className='alt1'" onmouseout="this.className='alt2'"><td><img src="$stylevar[imgdir_misc]/navbits_dash.gif" alt=""/> <a href="$vboptions[bburl]/calendar.php$session[sessionurl_q]">Calendar</a></td></tr>

<tr onmouseover="this.className='alt1'" onmouseout="this.className='alt2'"><td><img src="$stylevar[imgdir_misc]/navbits_dash.gif" alt=""/> <a href="$vboptions[bburl]/faq.php$session[sessionurl_q]">F.A.Q.</a></td></tr>

<tr onmouseover="this.className='alt1'" onmouseout="this.className='alt2'"><td><img src="$stylevar[imgdir_misc]/navbits_dash.gif" alt=""/> <a href="$vboptions[bburl]/arcade.php$session[sessionurl_q]">Arcade</a></td></tr>

<tr onmouseover="this.className='alt1'" onmouseout="this.className='alt2'"><td><img src="$stylevar[imgdir_misc]/navbits_dash.gif" alt=""/> <a href="http://www.limmac.org/vb/vbpicgallery.php?do=list">Gallery</a></td></tr>

<tr onmouseover="this.className='alt1'" onmouseout="this.className='alt2'"><td><img src="$stylevar[imgdir_misc]/navbits_dash.gif" alt=""/> <a href="$vboptions[bburl]/local_links.php?catid=3$session[sessionurl_q]">Media</a></td></tr>

<tr onmouseover="this.className='alt1'" onmouseout="this.className='alt2'"><td><img src="$stylevar[imgdir_misc]/navbits_dash.gif" alt=""/> <a href="$vboptions[bburl]/local_links.php?catid=5$session[sessionurl_q]">Links</a></td></tr>

<tr onmouseover="this.className='alt1'" onmouseout="this.className='alt2'"><td><img src="$stylevar[imgdir_misc]/navbits_dash.gif" alt=""/> <a href="$vboptions[bburl]/local_links.php?catid=6$session[sessionurl_q]">Car Clubs</a></td></tr>

<tr onmouseover="this.className='alt1'" onmouseout="this.className='alt2'"><td><img src="$stylevar[imgdir_misc]/navbits_dash.gif" alt=""/> <a href="http://www.limmac.org/vb/local_links.php?catid=2">Driving Directions</a></td></tr>


</tbody>
</table>

<!-- / The Community -->


<!-- LIMMAC -->

<table border="0" cellpadding="0" cellspacing="0" width="100%">

<tr>
<td style="cursor:hand" class='alt1' onmouseover="this.className='alt1'" onmouseout="this.className='alt1'>
<a href="#top" onclick="return toggle_collapse('limmac')">
<img id="collapseimg_limmac" border="0" src="$stylevar[imgdir_misc]/navbits_start+.gif"/></a>&nbsp;<b>LIMMAC</b></td></tr>

<tbody id="collapseobj_limmac" style="$vbcollapse[collapseobj_limmac]">

<tr onmouseover="this.className='alt1'" onmouseout="this.className='alt2'"><td><img src="$stylevar[imgdir_misc]/navbits_dash.gif" alt=""/> <a href="http://www.limmac.org/vb/local_links.php?catid=4">LIMMAC Rides</a></td></tr>

<tr onmouseover="this.className='alt1'" onmouseout="this.className='alt2'"><td><img src="$stylevar[imgdir_misc]/navbits_dash.gif" alt=""/> <a href="$vboptions[homeurl]/index.php?page=events">LIMMAC Events</a></td></tr>

<tr onmouseover="this.className='alt1'" onmouseout="this.className='alt2'"><td><img src="$stylevar[imgdir_misc]/navbits_dash.gif" alt=""/> <a href="$vboptions[homeurl]/index.php?page=cruises">LIMMAC Cruises</a></td></tr>

<tr onmouseover="this.className='alt1'" onmouseout="this.className='alt2'"><td><img src="$stylevar[imgdir_misc]/navbits_dash.gif" alt=""/> <a href="$vboptions[homeurl]/index.php?page=clubinfo">LIMMAC Club Info</a></td></tr>

<!--<tr onmouseover="this.className='alt1'" onmouseout="this.className='alt2'"><td><img src="$stylevar[imgdir_misc]/navbits_dash.gif" alt=""/> <a href="http://www.limmac.org/vb/timeslips.php?$session[sessionurl]">LIMMAC TimeSlips</a></td></tr>-->

<tr onmouseover="this.className='alt1'" onmouseout="this.className='alt2'"><td><img src="$stylevar[imgdir_misc]/navbits_dash.gif" alt=""/> <a href="$vboptions[bburl]/local_links.php?catid=1$session[sessionurl_q]">LIMMAC Downloads</a></td></tr>

<tr onmouseover="this.className='alt1'" onmouseout="this.className='alt2'"><td><img src="$stylevar[imgdir_misc]/navbits_dash.gif" alt=""/> <a href="$vboptions[bburl]/showgroups.php$session[sessionurl_q]" rel="nofollow">LIMMAC Members</a></td></tr>

<tr onmouseover="this.className='alt1'" onmouseout="this.className='alt2'"><td><img src="$stylevar[imgdir_misc]/navbits_dash.gif" alt=""/> <a href="http://www.limmac.org/webmail/">LIMMAC WebMail</a></td></tr>

</tbody>
</table>

<!-- / LIMMAC -->


<!-- Contact Zone -->

<table border="0" cellpadding="0" cellspacing="0" width="100%">

<tr><td style="cursor:hand" class='alt1' onmouseover="this.className='alt1'" onmouseout="this.className='alt1'>
<a href="#top" onclick="return toggle_collapse('czone')">
<img id="collapseimg_czone" border="0" src="$stylevar[imgdir_misc]/navbits_start+.gif"/></a>&nbsp;<b>Contact Zone</b></td></tr>

<tbody id="collapseobj_czone" style="$vbcollapse[collapseobj_czone]">

<tr onmouseover="this.className='alt1'" onmouseout="this.className='alt2'"><td><img src="$stylevar[imgdir_misc]/navbits_dash.gif" alt=""/> <a href="mailto:mike98ws6@gmail.com" rel="nofollow">Contact Mike</a></td></tr>

<tr onmouseover="this.className='alt1'" onmouseout="this.className='alt2'"><td><img src="$stylevar[imgdir_misc]/navbits_dash.gif" alt=""/> <a href="mailto:limmacinfo@aol.com" rel="nofollow">Contact Ryan</a></td></tr>

<tr onmouseover="this.className='alt1'" onmouseout="this.className='alt2'"><td><img src="$stylevar[imgdir_misc]/navbits_dash.gif" alt=""/> <a href="$vboptions[contactuslink]" rel="nofollow">$vbphrase[contact_us]</a></td></tr>

</tbody>
</table>

<!-- / Contact Zone -->

<!-- Administrators -->

<if condition="$show['admincplink']"> <hr size="1"/>
<table class="alt1" height="18" border="1" cellpadding="0" cellspacing="0" width="100%"><tr onmouseover="this.className='alt2'" onmouseout="this.className='alt1'"><td align="center">

<tr class="alt1">
<td align="center" class="tcat"><span id="other"><strong> <a href="$vboptions[bburl]/admincp/index.php$session[sessionurl_q]" target="_blank"> $vbphrase[admin]</a></strong></span></td></tr>
<!-- / Administrators -->
</td>
          </tr>
</table>

</if>


</span> 
</td>
</tr>
Reply With Quote
  #1719  
Old 04-25-2006, 06:11 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by |oR|Greg
You can edit the template to look how you want. Here is my links_linkbit template. Feel free to use it if you like it.

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" align="left"><if condition="$linknew">$linknew </if>$linktypebit</td>
                <td class="tcat" width="65%" align="left"><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>
                <td class="alt1" align="center">$linkimgjump</td>
                <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>
                <td class="thead" align="left"><span class="smallfont">Enlarge Thumbnail $linkimgmag</span></td>
                <td class="thead" width="85%" align="right">
                <span class="smallfont">Favorite </span> $linkfavbit
                <span class="smallfont">Edit </span> $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]"><span class="smallfont">Send To Friend </span> <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"><span class="smallfont">Report Bad Link </span> <img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[ll_report_bad_link]" border="0" /></a></if>
                </td>
            </tr>
        </table>
        </td>
    </tr>
</table>
</div>
</td>
</tr>
What size do you have your image thumbnails set to?
Reply With Quote
  #1720  
Old 04-25-2006, 10:01 PM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by odln018
1) Is there a way to remove the "enlarge image" expansion button.
This needs a template edit. Kill the lines in the linkbit template that read as follows:
Code:
<br />
<span class="smallfont">$linkimgmag</span>
Quote:
Originally Posted by odln018
2) Is there a way to remove the "add to favorites" button.
Remove the can_mark_link permission for all usergroups
Reply With Quote
  #1721  
Old 04-26-2006, 03:09 AM
shiva shiva is offline
 
Join Date: Apr 2002
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by |oR|Greg
You can edit the template to look how you want. Here is my links_linkbit template. Feel free to use it if you like it.
Nice look, but I noticed that if you don't have a thumbnail image, it still shows the "Enlarge Thumbnail" and the icon for it. Could you post the code to fix that.

I also noticed that it didn't align to the top, but that is easy to fix.
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 07:56 AM.


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.05877 seconds
  • Memory Usage 2,375KB
  • 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
  • (9)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