Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=3636)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2F10j7wr7.png&hash=1a339aa7498802753f4cfe8f12958e76a48433f8)
Dowload Button BBc
Developed by Dhayzon (http://smfhispano.net/index.php?action=profile;u=216) for SMFhispano.com (http://smfhispano.net)
Special Thanks MARY LOU (http://plus.google.com/u/0/113366454254432649763)
SMF 2.0.XX
El soporte oficial de los desarrolladores de nuestros mods lo encontraras en smfhispano.net
Official Support in www.smfhispano.net (http://smfhispano.net)
Descripcion (Spanish):
Download button BBC es un simple boton con un diseño muy profesional donde se ocultara tu link de descarga
[descarga] url //.... [/descarga]
Description (English):
Download BBC button is a button with a very professional which hide your download link
[descarga] url //.... [/descarga]
Languages:english
spanish_es-utf8
spanish_latin
Demo: view demo (http://club-dhayzone.net/off-topic/botones-profecionales-para-usar-en-los-post/)
Screenshots | Imagenes.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FOxxw3eb.png&hash=6ed348ac13efd8c123006009fd69a61bc87f9c02)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2F3RUx8Cs.png&hash=64883f171aa879cd011b4a0aeef1c26f74afa42c)
dowload button bbc
Copyright 2012 |http://smfhispano.net (http://smfhispano.net)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.creativecommons.org%2Fl%2Fby-nc-sa%2F3.0%2F88x31.png&hash=be27368905a4a8052533722bf679594f2501899d)
(http://creativecommons.org/licenses/by-nc-sa/3.0/)
Very nice, good job.
Have you any plans to provide an English BBcode-tag or option?
I don't have spanish-utf8 language installed so I got a warning during package installation, which I ignored. It seems that without it, your mod will not work.
Quote from: Shambles on February 11, 2013, 02:32:19 AM
Have you any plans to provide an English BBcode-tag or option?
I don't have spanish-utf8 language installed so I got a warning during package installation, which I ignored. It seems that without it, your mod will not work.
Looks like I skipped over the spanish_es language file, it needs an error="skip" attached. The mod should work without the Spanish language files.
This modification was made to the Spanish language was essential so
as those with English language only they jumped the error, but they worked well
the mod already upgraded and placed as primary English language so no one will have problems
thanks for that little problem Report
Yes it works now - thanks for your efforts, though I thought the actual tag itself would be "english'ified", rather than [descarga].
Ho hum.
very nice - but you could improve it by using that - it is not necessary to load this png from another source.
background:transparent url(../images/e5EXM6o.png) no-repeat 50% 55%;
I modifiied the package and put it into /files and added this line in install/uninstall-area of package-info.xml
<require-file name="files/e5EXM6o.png" destination="$imagesdir" />
<remove-file name="$imagesdir/e5EXM6o.png" />
my example:
http://test.epica-forum.de/index.php?topic=562.0
great work
german
<file name="$languagedir/index.german.php">
<operation>
<search position="before"><![CDATA[// Use numeric entities in the below string.]]></search>
<add><![CDATA[//dowload button.
$txt['descarga'] = 'Download Button einfügen';
$txt['download'] ='Download Link';]]></add>
</operation>
</file>
<file name="$languagedir/index.german-utf8.php">
<operation>
<search position="before"><![CDATA[// Use numeric entities in the below string.]]></search>
<add><![CDATA[//dowload button
$txt['descarga'] = 'Download Button einfügen';
$txt['download'] ='Download Link';]]></add>
</operation>
</file>
Instead of [/descarga], can we have [/download]
For everyone wanting it in English, find in Sources/Subs.php:
'tag' => 'descarga',
Replace:
'tag' => 'download',
In Sources/Subs-Editor.php
Find:
'before' => '[descarga]',
'after' => '[/descarga]',
Replace:
'before' => '[download]',
'after' => '[/download]',
Quote
Instead of [/descarga], can we have [/download]
That was part of the question I was asking in Reply #2 (http://www.simplemachines.org/community/index.php?topic=497198.msg3488338#msg3488338) above.
Quote from: YoshiFor everyone wanting it in English, find in Sources/Subs.php
Yes, Yoshi, it is indeed simple to perform that edit, for those of us confident enough to locate, download, edit and upload. But for others who we've seen [recently] struggling with even the
concept of finding the Sources directory, the solution via Finding & Replacing isn't such an easy option.
Although I haven't read anything to support this, I'd always assumed that modifications were approved for the common language of installation - English - with options built-in (or later added) for alternative languages. Is that not the case [any more] ?
Quote from: Shambles on February 15, 2013, 05:50:15 AM
Although I haven't read anything to support this, I'd always assumed that modifications were approved for the common language of installation - English - with options built-in (or later added) for alternative languages. Is that not the case [any more] ?
The mod should include support for the English language, if the tags are in English it doesn't really matter.
Quote
...if the tags are in English it doesn't really matter.
And if they aren't, as in this example...?
Quote from: Shambles on February 15, 2013, 06:15:47 AM
Quote
...if the tags are in English it doesn't really matter.
And if they aren't, as in this example...?
Heh, I meant it doesn't matter a lot if the tags are in English or not :)
Does it hide the download link?
I've used this and if anything, it does the complete opposite.
when update dont forget portugues files
[/code]<file name="$languagedir/index.portuguese_pt.php" error="skip">
<operation>
<search position="before"><![CDATA[// Use numeric entities in the below string.]]></search>
<add><![CDATA[//dowload button by dhayzon for smfhispano.Translate by Candidosa2 Support smfpt.net
$txt['descarga'] = 'Insira um botão de download ';
$txt['download'] ='Link para download';]]></add>
</operation>
</file>
<file name="$languagedir/index.portuguese_pt-utf8.php" error="skip">
<operation>
<search position="before"><![CDATA[// Use numeric entities in the below string.]]></search>
<add><![CDATA[//dowload button by dhayzon for smfhispano.Translate by Candidosa2 Support smfpt.net
$txt['descarga'] = 'Insira um botão de download ';
$txt['download'] ='Link para download';]]></add>
</operation>
</file>
Am I missing something?
With version 1.1 when you hit the create button icon, it comes up backwards and does not make a button. Im using the new Mystic Theme from smfpersonal
When you insert the hyperlink in between, and hit save. You just get the txt and hyperlink with no nice button.
See photo:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.mediafire.com%2Fconvkey%2Fdeda%2F2q2playb6r0cxvefg.jpg&hash=efa3268b6e679c4d835f136f55ae4779f8f793eb)
Output after save
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.mediafire.com%2Fconvkey%2Ff4ac%2Fpjudmzhq5ru18o9fg.jpg&hash=5f87d608b11afd1a22da40a25348ceb38507fad8)
This mod is for smf 2.x.x
This doesent work on 2.0.8 can you fix this?
Quote from: phpshiva on June 19, 2014, 06:32:08 AM
This doesent work on 2.0.8 can you fix this?
Hi @phpshiva in attachments you will find the mod fixed to work in 2.0.8, just for 2.0.8 ok?
best regards
not work for 2.0.9