Customizing SMF > Modifications and Packages
Download System 2.0! (With TP Downloads Import Tool) Updated for SMF 2.0!
promonkey:
thanks i will get the pro next week once ive been paid, sorry i was meaning i wonted to add a download button instead of text
http://talkappliance.co.uk/imgup/image_files/download-now.gif
is tht possible in the file?
Thanks
vbgamer45:
Updated file attached
promonkey:
herrm i upload this file to themes/core/ and it doesnt add the image :S im i putting it in the correct place? sorry im a complete noob :)
vbgamer45:
Oops attached wrong file download this one.
Inti31:
--- Quote from: vbgamer45 on April 16, 2012, 04:02:26 PM ---Have it build in Downloads Pro
But here is similiar code
--- End quote ---
THX very much
if you want to make it more professional for us "Non-Pro-Users"...
--- Code: ---echo '<br /><br /><a href="' . $scripturl . '?action=downloads;sa=downfile&id=', $context['downloads_file']['ID_FILE'], ';t=' . time() .'" target="_blank"><img src="' . $settings['images_url'] . '/download.png" alt="' . $txt['txt_missingdlpic'] . '" title="' . $txt['txt_dlnow'] . '" width="150" /></a>';
--- End code ---
so you just need this in Modifications.<language(-utf8).php>
--- Code: ---$txt['txt_dlnow'] = download now!';
$txt['txt_missingdlpic'] = DOWNLOAD NOW!';
--- End code ---
the width="150"- parameter is just for me to resize my download.png which is located in "Themes\default\images"
When done it looks like this (see att'ed file)
cheers Inti31
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version