Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Download button link Details »»
Download button link
Version: 1.00, by anywares anywares is offline
Developer Last Online: Jan 2008 Show Printable Version Email this Page

Version: 3.6.4 Rating:
Released: 02-03-2007 Last Update: Never Installs: 56
 
No support by the author.

This is my first release so go easy on me okay

This will add a nifty little hyperlinked immage so that if someone were to post a download link, it would display a hyper-linked immage for the user to click on instead of a long download link to a file or w/e

Installation:
Goto adminCP ->Custom BBCodes-> Add new BBCode

Title:
Download

Tag:
dl

Replacement:
HTML Code:
<a href="{param}" target="_new"><img src="http://img186.imageshack.us/img186/9572/downloadzc4.png" /></a>

Example:

[dl]http://[/dl]

Description:

Hyperlinked download immage

Use {option}
No

Button Immage:



PLEASE NOTE: I uploaded the immage so if you wish to download it and upload it to your server, just change
Code:
http://img186.imageshack.us/img186/9572/downloadzc4.png
to the path of where its located at on your server

For instance, if you upload it to your /images file the code would look like this:
HTML Code:
<a href="{param}" target="_new"><img src=Forum/images/misc/IMAGE NAME /></a>


If you like it, click install

Show Your Support

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

Comments
  #12  
Old 03-06-2007, 03:10 PM
anywares anywares is offline
 
Join Date: Dec 2006
Posts: 175
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Glad you like them
Reply With Quote
  #13  
Old 03-15-2007, 04:21 AM
smoovie's Avatar
smoovie smoovie is offline
 
Join Date: Nov 2006
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm new here and I really like this mod ... but. There's always a but, huh? When in use on the forums the image has a link hilight box around it. Is there any way to remove/hide that? It's like underlined for text links but it wraps around the image.

Thanks
Reply With Quote
  #14  
Old 03-15-2007, 05:59 PM
anywares anywares is offline
 
Join Date: Dec 2006
Posts: 175
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lolz ive encountered this problem with firefox. they think its leet or smtin to link the immages like that. im not sure at all if this will work but its worth a try eh?

use this code:
HTML Code:
<table border="0">
<tr>
<td>
<a href="{param}" target="_new"><img src="http://img186.imageshack.us/img186/9572/downloadzc4.png" /></a>
</td>
</tr>
</table>
Reply With Quote
  #15  
Old 03-16-2007, 05:07 AM
smoovie's Avatar
smoovie smoovie is offline
 
Join Date: Nov 2006
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks anywares, valiant effort but it had no effect on the image. I have the image uploaded to my server but it still shows the "link" outine.
Reply With Quote
  #16  
Old 03-17-2007, 08:52 PM
darkman's Avatar
darkman darkman is offline
 
Join Date: Mar 2002
Location: USA
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You have to put border=0 in the code to remove the ugly box:
Code:
<a href="{param}" target="_new"><img src="http://img186.imageshack.us/img186/9572/downloadzc4.png" border=0/></a>
Nice mod - thanks
Reply With Quote
  #17  
Old 03-18-2007, 01:43 AM
darkman's Avatar
darkman darkman is offline
 
Join Date: Mar 2002
Location: USA
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

...also, if you are hosting the file in your forums/images/misc directory you need to put a forward slash before forums:
Code:
<a href="http://" target="_new"><img src=/forums/images/misc/downloadzc4.png border=0/></a>
Here's a cool little png file to use as a button image:
Reply With Quote
  #18  
Old 03-18-2007, 09:48 AM
harlita harlita is offline
 
Join Date: Dec 2006
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I freaking love it!! Especially for what my forums are for - this is totally useful. *clicked installed*
Reply With Quote
  #19  
Old 03-18-2007, 09:54 AM
anywares anywares is offline
 
Join Date: Dec 2006
Posts: 175
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by darkman View Post
You have to put border=0 in the code to remove the ugly box:
Code:
<a href="{param}" target="_new"><img src="http://img186.imageshack.us/img186/9572/downloadzc4.png" border=0/></a>
Nice mod - thanks
lol glad you like it but he doesnt mean that border, he means the border that Firefox 2+ puts around a hyperlinked immage
Reply With Quote
  #20  
Old 03-18-2007, 12:45 PM
iHostile iHostile is offline
 
Join Date: Feb 2007
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm where do you put the other <a> tag? Cant seem to work it out :S

<a href="{param}" target="_new"><img src="http://img186.imageshack.us/img186/9572/downloadzc4.png" /></a>

Theres no <a> :S
Reply With Quote
  #21  
Old 03-18-2007, 01:07 PM
anywares anywares is offline
 
Join Date: Dec 2006
Posts: 175
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no need.

HTML Code:
<a href="
is the begining of the <a> tag ;]

and
HTML Code:
</a>
is the end if the <a> tag ;]
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 11:55 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.05060 seconds
  • Memory Usage 2,309KB
  • 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
  • (4)bbcode_code
  • (5)bbcode_html
  • (1)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
  • (3)pagenav_pagelink
  • (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