Sharemmo 1 Опубликовано: 16 марта 2017 Рассказать Опубликовано: 16 марта 2017 Hello I am having leech problems when writing new articles if you do not understand how I will describe the image for you to imagine. First go to the administration Quote http://yourdomain.com/admin.php?mod=xfields&xfieldsaction=configure 2 . Select Create field 3. Then fill in the required fields in the picture Field name : linkField description :Link AndroidCategory : AllField type: One StringDefault value: **** In it I choose the line Use as desired (you can leave this field blank) Save Visit Manage Website Templates to create the file download-button.tpl extension Then I leave the code like thisDone on New Article Link adnroid fill is http://google.com after finishing writing it will show on the external link article in the frame when we mouse cursor it will have the link Quote /engine/go.php?url= AHR0cDovL2dvb2dsZS5jb20udm4%3D Revising the article, it displays the form Quote <a href="http://domain.com/engine/go.php?url=aHR0cDovL2dvb2dsZS5jb20udm4%3D" target="_blank"><!--dle_leech_begin--><a href="http://domain.com/engine/go.php?url=aHR0cDovL2dvb2dsZS5jb20udm4%3D" target="_blank">http://google.com.vn</a><!--dle_leech_end--></a> But how does it display the word Android before you create the file extension download-button.tpl want it to be like this Quote <a href="http://domain.com/engine/go.php?url=aHR0cDovL2dvb2dsZS5jb20udm4%3D" target="_blank"><!--dle_leech_begin--><a href="http://domain.com/engine/go.php?url=aHR0cDovL2dvb2dsZS5jb20udm4%3D" target="_blank">ANDROID</a><!--dle_leech_end--></a> Please guide you to fix this Ссылка на сообщение Поделиться на других сайтах
odys 385 Опубликовано: 16 марта 2017 Рассказать Опубликовано: 16 марта 2017 [leech=http://domain.com/engine/go.php?url=aHR0cDovL2dvb2dsZS5jb20udm4%3D]Link[/leech] Ссылка на сообщение Поделиться на других сайтах
Sharemmo 1 Опубликовано: 16 марта 2017 Рассказать Опубликовано: 16 марта 2017 Автор 22 minutes ago, odys said: [leech=http://domain.com/engine/go.php?url=aHR0cDovL2dvb2dsZS5jb20udm4%3D]Link[/leech] No, do not use bbcode leech just paste the empty box you created the field Ссылка на сообщение Поделиться на других сайтах
Sharemmo 1 Опубликовано: 16 марта 2017 Рассказать Опубликовано: 16 марта 2017 (изменено) Автор When dragging, it has a link like this Quote http://domain.com/engine/go.php?url=aHR0cDovL3B1Yi5hZGZsZXgudm4vcmVnaXN0ZXI%2FcmVmPTE1TktmQ0JaQTg%3D When editing posts it has lines Quote <!--dle_leech_begin--><a href="http://domain.com/engine/go.php?url=aHR0cDovL3B1Yi5hZGZsZXgudm4vcmVnaXN0ZXI%2FcmVmPTE1TktmQ0JaQTg%3D" target="_blank">##################</a><!--dle_leech_end--> ###### which is not the Android word that follows the website link in the download-button.tpl that has this code. <div class="botdonload"> <a href="#example" class="openModal"><div class="textbd"><i class="fa fa-server"></i> Download torrent</div></a> <aside id="example" class="modal"> <div> <h2>Chọn server <a href="#close" title="Close"><font color="red"><b>Close</b></font></a></h2> <div class="blocks-vis"> <div class="midle"> <a class="download-torrent" [xfvalue_link]> <i class="fa fa-android"></i>ANDROID</a> </div> </div> </div> </aside> </div> Find Quote <a class="download-torrent" [xfvalue_link]> <i class="fa fa-android"></i>ANDROID</a> [xfvalue_link] is the link in the article it will encrypt that link @odys @celsoft Изменено 16 марта 2017 пользователем Sharemmo edit Ссылка на сообщение Поделиться на других сайтах
celsoft 6257 Опубликовано: 17 марта 2017 Рассказать Опубликовано: 17 марта 2017 Цитата <a class="download-torrent" [xfvalue_link]> You use this code, and <a> tag in field text. Tag "a" cannot be in "a" inside You need write <a class="download-torrent" href="[xfvalue_link]"> and in text field only http://domain.com/engine/go.php?url=aHR0cDovL3B1Yi5hZGZsZXgudm4vcmVnaXN0ZXI%2FcmVmPTE1TktmQ0JaQTg%3D Ссылка на сообщение Поделиться на других сайтах
Sharemmo 1 Опубликовано: 17 марта 2017 Рассказать Опубликовано: 17 марта 2017 Автор 3 hours ago, celsoft said: You use this code, and <a> tag in field text. Tag "a" cannot be in "a" inside You need write <a class="download-torrent" href="[xfvalue_link]"> and in text field only http://domain.com/engine/go.php?url=aHR0cDovL3B1Yi5hZGZsZXgudm4vcmVnaXN0ZXI%2FcmVmPTE1TktmQ0JaQTg%3D That problem I know but mostly it does not show the ANDROID in line <a class="download-torrent" href="[xfvalue_link]"> <i class="fa fa-android"></i>ANDROID</a> That it displays the original link rather than the link encoding when i go to edit the article then it has lines like this that are encrypted <!--dle_leech_begin--><a href="http://domain.com/engine/go.php?url=aHR0cDovL2dvb2dsZS5jb20%3D" target="_blank">http://google.com</a><!--dle_leech_end--> http://google.com must display the correct ANDROID text if the original link is displayed (http://google.com), then the error is correct only to correct this error. Ссылка на сообщение Поделиться на других сайтах
celsoft 6257 Опубликовано: 18 марта 2017 Рассказать Опубликовано: 18 марта 2017 What you write in the field, in the news, if adding the news on the website? Ссылка на сообщение Поделиться на других сайтах
Рекомендованные сообщения
Создайте аккаунт или войдите в него для комментирования
Вы должны быть пользователем, чтобы оставить комментарий
Создать аккаунт
Зарегистрируйтесь для получения аккаунта. Это просто!
Зарегистрировать аккаунтВойти
Уже зарегистрированы? Войдите здесь.
Войти сейчас