Search trên google share mấy cái ko hoạt động nên nhờ ae phố nhỏ giúp
HỏiXin Code TWIG đọc từ đầu diễn đàn
12 bài đăng
09.07.2016 / 21:12
![kayer](/files/users/avatar/921.png?1527248850)
Bài đăng: 240
Member
Đã đủ 18 dấu + làm người lớn
duongchung đã viết ↑
Thêm $read=1 vào link
Bạn nói cụ thể hơn chút đi
09.07.2016 / 21:31
![mad](/files/users/avatar/104.png?1527248850)
Bài đăng: 2434
Member
Nhào vô cắn tao đi, tao sợ mày à cắn bừa.
{%if api.r.get('read')!=1%}<script>function turn(){location.href="linkforum&read=1";setTimeout(function(){turn()},1000)}</script>{%endif%}
09.07.2016 / 21:37
![hanhphucao](/assets/images/noavatar.png)
Bài đăng: 2470
Admin
Admin là người tận tâm và luôn hành xử đúng mực.
Chú ý box đăng bài nhé
Windyluck thích điều này
09.07.2016 / 21:49
![hanhphucao](/assets/images/noavatar.png)
Bài đăng: 2470
Admin
Admin là người tận tâm và luôn hành xử đúng mực.
Dán code sau vào đầu hoặc cuối diễn đàn
Mã PHP:
PHP
if(($_GET["id"]=="topic")&&($_GET["read"]!="1")&&(isset($_GET["page"]))){ echo '<style type="text/css">body{display:none!important}</style><meta http-equiv="refresh" content="0;url=/forums.php?id=topic&f='.$_GET["f"].'&t='.$_GET["t"].'&read=1&page='.$_GET["page"].'"/>'; }else if(($_GET["id"]=="topic")&&($_GET["read"]!="1")&&(!isset($_GET["page"]))){ echo '<style type="text/css">body{display:none!important}</style><meta http-equiv="refresh" content="0;url=/forums.php?id=topic&f='.$_GET["f"].'&t='.$_GET["t"].'&read=1"/>'; };
hoặc Mã TWIG:
TWIG
{%if api.r.get('id')=='topic' and api.r.get('read')!='1' and api.r.get('page')%} <style type="text/css">body{display:none!important}</style> <meta http-equiv="refresh" content="0;url=/forums.php?id=topic&f={{api.r.get('f')}}&t={{api.r.get('t')}}&read=1&page={{api.r.get('page')}}"/> {%elseif api.r.get('id')=='topic' and api.r.get('read')!='1' and api.r.get('page')==''%} <style type="text/css">body{display:none!important}</style> <meta http-equiv="refresh" content="0;url=/forums.php?id=topic&f={{api.r.get('f')}}&t={{api.r.get('t')}}&read=1"/> {%endif%}
Updated: Thêm code bằng TWIG
Đã chỉnh sửa. hanhphucao (09.07.2016 / 21:50)
09.07.2016 / 21:51
![Kelry](/assets/images/noavatar.png)
Bài đăng: 77
Member
[ĐB] fb.com/groups/wapegovn
đb cái bọn này bị ngáo nhiều lên ngu cmnr =]] đb cái đơn giản đi hoá thành phức tạp
09.07.2016 / 21:54
![Kelry](/assets/images/noavatar.png)
Bài đăng: 77
Member
[ĐB] fb.com/groups/wapegovn
đb vào đây http://wapego.net/cpanel.php?i ... _list đb chỉ thêm đoạn &read=1 là xong =]]
TWIG
<div class="topic"><a href="{{topic_url}}&read=1">{{topic_icon}} {{lock_icon}} {{pin_icon}} {{poll_notice}} {{topic_name}} ({{messages}})</a> {% if show_author %} <a href="{{author_profile_url}}">[{{author_nick}}]</a> {% endif %} </div>
Đã chỉnh sửa. Kelry (09.07.2016 / 21:56)
09.07.2016 / 21:56
![kayer](/files/users/avatar/921.png?1527248850)
Bài đăng: 240
Member
Đã đủ 18 dấu + làm người lớn
hanhphucao đã viết ↑
Dán code sau vào đầu hoặc cuối diễn đàn
Mã PHP:
PHP
if(($_GET["id"]=="topic")&&($_GET["read"]!="1")&&(isset($_GET["page"]))){ echo '<style type="text/css">body{display:none!important}</style><meta http-equiv="refresh" content="0;url=/forums.php?id=topic&f='.$_GET["f"].'&t='.$_GET["t"].'&read=1&page='.$_GET["page"].'"/>'; }else if(($_GET["id"]=="topic")&&($_GET["read"]!="1")&&(!isset($_GET["page"]))){ echo '<style type="text/css">body{display:none!important}</style><meta http-equiv="refresh" content="0;url=/forums.php?id=topic&f='.$_GET["f"].'&t='.$_GET["t"].'&read=1"/>'; };hoặc Mã TWIG:
TWIG
{%if api.r.get('id')=='topic' and api.r.get('read')!='1' and api.r.get('page')%} <style type="text/css">body{display:none!important}</style> <meta http-equiv="refresh" content="0;url=/forums.php?id=topic&f={{api.r.get('f')}}&t={{api.r.get('t')}}&read=1&page={{api.r.get('page')}}"/> {%elseif api.r.get('id')=='topic' and api.r.get('read')!='1' and api.r.get('page')==''%} <style type="text/css">body{display:none!important}</style> <meta http-equiv="refresh" content="0;url=/forums.php?id=topic&f={{api.r.get('f')}}&t={{api.r.get('t')}}&read=1"/> {%endif%}Updated: Thêm code bằng TWIG
Vào thiết kế > cài đặt bố trí > diễn đàn > danh sách bố cục topic
Tìm biến {{topic_url}} thêm &read=1 sẽ được {{topic_url}}&read=1 và LƯU lại
09.07.2016 / 22:00
![hanhphucao](/assets/images/noavatar.png)
Bài đăng: 2470
Admin
Admin là người tận tâm và luôn hành xử đúng mực.
sor=new rất nể
Người dùng đã xem (39)
nhox49,
phuongk,
khanh2002hn,
nhoc49,
mcvp9x,
Yaka99,
Zinesking,
adu2002hn,
quality,
DucVuPro,
SangLT,
Poker,
mellody,
Lount,
monaechi,
kimycelove,
popokeen,
Vnhaha,
tnit2510,
locga113z,
Buianhduong,
Hgimmortal,
dingyuan,
minhduc,
VazDN,
MnpNgok,
Hoccode,
VinaDP,
hidden,
Koollzboy,
b0ysh0ckhn,
Gamex9x,
minhmon2000,
PMTpro,
Tieu.ka,
Jichan,
hanhphucao,
MrKen,
thanhtung698,