Thế thì việc không cho hiện nhận xét của Nặc danh trên blogspot của bạn một cách tự động sẽ giúp bạn giải quyết vấn đề nói trên. Mình viết thủ thuật này theo yêu cầu của bạn Yolks tại trang Vngreenzone.
Để thực hiện thủ thuật này, bạn hãy thực hiện như sau. Đăng nhập Blogger, vào Design >> Edit HTML, chọn Expand Widget Templates.
Tìm đến dòng <b:loop values='data:post.comments' var='comment'>
và đặt sau nó bằng đoạn code bên dưới.
<!-- Anti-Anonymous START -->
<b:if cond='data:comment.author != "Nặc danh"'>
<!-- Anti-Anonymous START -->
Tiếp tục kéo xuống dưới một đoạn để tìm đến thẻ đóng </b:loop> cho thẻ <b:loop> ở trên và đặt trước nó bằng đoạn code bên dưới.
<!-- Anti-Anonymous CLOSE -->
</b:if>
<!-- Anti-Anonymous CLOSE -->
Lưu Template là OK. Lưu ý nếu blogspot của bạn có ngôn ngữ tiếng Anh thì thay từ Nặc danh bằng từ Anonymous. Ý nghĩa của đoạn code này là nếu người nhận xét với tư cách Nặc danh hoặc có tên Nặc danh (nếu đăng nhập tài khoản Google có tên Nặc danh) thì sẽ không có chức năng hiển thị các thành phần của nhận xét như Avatar, tên, URL, nội dung nhận xét …
Ngoài ra nếu bạn muốn thay thế phần nhận xét của Nặc danh bằng một đoạn text thông báo riêng của Quản trị viên thì bạn hãy thay đoạn code:
<!-- Anti-Anonymous START -->
<b:if cond='data:comment.author != "Nặc danh"'>
<!-- Anti-Anonymous START -->
bằng đoạn code bên dưới:
<!-- Anti-Anonymous START -->
<b:if cond='data:comment.author == "Nặc danh"'>
<div class='anoncm-wrapper' expr:id='data:comment.id'><p style='float:left;padding:10px;margin:0;width:400px;color:green;text-align:justify'>Ban Quản trị thông báo: Người bình luận có tên <strong>Nặc danh/Anonymous</strong> không được phép chém gió tại đây.</p>
</div>
<div style='clear:both'/>
<b:else/>
<!-- Anti-Anonymous START -->
Tuy thủ thuật thật đơn giản song kết quả nó mang lại không hề nhỏ.
Unknown
11 June, 2015 14:43
cheap nike shoes
new york knicks jersey
hermes birkin
san francisco 49ers jerseys
nike free 5.0
hermes belt
washington redskins jerseys
denver broncos jerseys
cleveland cavaliers jersey
custom mlb jerseys
evening dresses
kansas city chiefs jerseys
chanel handbags
cheap football shirts
chicago bulls jersey
the north face outlet store
stuart weitzman boots
michael kors outlet
michael kors uk
golden state warriors jerseys
new orleans saints jerseys
cheap wedding dresses
coach outlet canada
bottega veneta outlet
oakley sunglasses canada
kate spade outlet
koby bryant shoes
ralph lauren uk
air max 2014
wei20150611
Unknown
16 July, 2015 09:56
real madrid jersey
rolex watches
air jordan 13
cartier watches
tiffany and co jewelry
north face jackets
michael kors outlet
babyliss hair dryer
nhl jerseys wholesale
san antonio spurs jerseys
oakley sunglasses
minnesota vikings jerseys
hollister clothing
kate spade outlet
swarovski jewelry
ghd hair straighteners
toms shoes
new england patriots jerseys
lacoste polo shirts
instyler ionic styler
mac cosmetics
puma shoes
timberland boots
true religion sale
futbol baratas
kobe 9 shoes
adidas wings
new york knicks jersey
adidas wings
ferragamo shoes
michael kors outlet
tory burch flats
mont blanc pens for sale
herve leger sale
los angeles clippers jerseys
seattle seahawks jerseys
zheng123 7.16