vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Download button link (https://vborg.vbsupport.ru/showthread.php?t=138449)

anywares 02-03-2007 10:00 PM

Download button link
 
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:

http://anywares.info/ImgHost/images/5639dl.gif

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 ;)

Jorrit787 02-04-2007 07:35 PM

Nifty idea :)

anywares 02-05-2007 03:05 PM

Lol glad you like my "nifty" idea :p

stigz 02-07-2007 04:49 PM

after ive installed this hack my post show as this:

http://w12.easy-share.com/856073.html" target="_new">https://vborg.vbsupport.ru/

anywares 02-07-2007 05:29 PM

Did you close your <a> tags? make sure to start AND finish with <a> tags.... other than that its suppose to work. remember

HTML Code:

<a href="{param}" target="_new"><img src="http://img186.imageshack.us/img186/9572/downloadzc4.png" /></a>
the <a> tags HAVE to open AND close otherwise it wont work ;)

Jorrit787 02-07-2007 08:37 PM

You might want to include the image in a ZIP so that users can upload it to their own server, in case it ever gets taken off ImageShack.

anywares 02-08-2007 12:43 PM

Very well then. Thread updated :D

stigz 02-10-2007 07:37 PM

yep it works now thanks

anywares 02-11-2007 09:22 AM

np man glad you like it....and glad it works :)

Deadly Assassin 03-05-2007 10:39 AM

works like a charm and compliments your other hack that uses a similar image set.

http://www.game-image.com/uploads/b9fc922302.jpg


All times are GMT. The time now is 10:52 PM.

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.01129 seconds
  • Memory Usage 1,733KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (3)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete