LeVin
03-10-2011, 12:46 PM
http://itvnn.net/attachment.php?attachmentid=4654&stc=1&d=1317620736
Khi đưa chuột vào cái hình ảnh trên thì nó xuất hiện ra 1 đoạn text. bây giờ muốn xóa phần đó thì làm sao vậy ?
Chỉ giúp mình với.:MatCuoi (49):
Tiểu Bá Vương 1404
03-10-2011, 06:39 PM
AdminCP -> Settings -> Options -> Forum Display Options (forumdisplay) -> Length of Thread Preview Text : 0
Đây là phần xem trước nội dung của đề tài.
LeVin
03-10-2011, 07:24 PM
chọn text = 0 thì lúc nào forumdisplay.php mình thấy báo Database error sau
Database error in vBulletin 4.1.4:
Invalid SQL:
SELECT
IF(votenum >= 1, votenum, 0) AS votenum,
IF(votenum >= 1 AND votenum > 0, votetotal / votenum, 0) AS voteavg,
post.pagetext AS thumb,
thread.threadid, thread.title AS threadtitle, thread.forumid, pollid, open, postusername, postuserid, thread.iconid AS threadiconid,
thread.dateline, notes, thread.visible, sticky, votetotal, thread.attach, thread.lastpost, thread.lastposter, thread.lastposterid, thread.lastpostid, thread.replycount, IF(thread.views<=thread.replycount, thread.replycount+1, thread.views) AS views,
thread.prefixid, thread.taglist, hiddencount, deletedcount,
user.usergroupid, user.homepage, user.options AS useroptions, IF(userlist.friend = 'yes', 1, 0) AS isfriend
, NOT ISNULL(subscribethread.subscribethreadid) AS issubscribed
, deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason
, threadredirect.expires
FROM thread AS thread
LEFT JOIN user AS user ON (user.userid = thread.lastposterid)
LEFT JOIN userlist AS userlist ON (userlist.relationid = user.userid AND userlist.type = 'buddy' AND userlist.userid = 1)
LEFT JOIN deletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND deletionlog.type = 'thread')
LEFT JOIN subscribethread AS subscribethread ON(subscribethread.threadid = thread.threadid AND subscribethread.userid = 1 AND canview = 1)
LEFT JOIN threadredirect AS threadredirect ON(thread.open = 10 AND thread.threadid = threadredirect.threadid)
WHERE thread.threadid IN (0,1)
ORDER BY sticky DESC, lastpost DESC;
MySQL Error : Unknown column 'post.pagetext' in 'field list'
Error Number : 1054
Request Date : Monday, October 3rd 2011 @ 07:16:27 PM
Error Date : Monday, October 3rd 2011 @ 07:16:28 PM
Script : http://localhost/diendan/forumdisplay.php?f=11
Referrer :
IP Address : 113.171.58.235
Username : Admin
Classname : vB_Database
MySQL Version : 5.1.57
mình vào admincp set lại mặc định thì lại vào bình thường.
giúp mình fix với :-s
computerangel
09-10-2011, 07:46 PM
Ok men đã thành công. Thế nếu như find all post mà nó hiện 1 phần nội dung bài viết , mình mún bỏ nó đi thì thế nào hả cậu :
demo :
(http://itvnn.net/attachment.php?attachmentid=4682&d=1318164379) http://itvnn.net/attachment.php?attachmentid=4681&d=1318164379 (http://itvnn.net/attachment.php?attachmentid=4681&d=1318164379)
http://itvnn.net/attachment.php?attachmentid=4682&d=1318164379 (http://itvnn.net/attachment.php?attachmentid=4682&d=1318164379)
(cắt ngắn các phần trong khung nhé ) :MatCuoi (21):
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.