[GOeditor] GOeditor 1.5

  Bài viết hay nhất1
First topic message reminder :

GOeditor - Quick Editor
Written by : Get_Over
Giao diện :

[GOeditor] GOeditor 1.5 - Page 2 77777710


Code:

Tính năng chính :
+ Hỗ trợ bbcode
+ Trả lời nhanh không chuyển trang
+ Preview nhanh

Cập nhật sau bản 1.5 :
+ Chỉnh lại CSS
+ Tự động focus giữa bbcode
+ Làm lại smile và color
+ Gửi tin nhắn nhanh đến tường
+ Quote nhanh (Cái này riêng)

Hướng dẫn :
Mình viết hướng dẫn dựa trên viewtopic punbb mặc định còn 2 phiên bản phpbb3Invision mình sẽ convert sau

Bước 1 : ACP --> QLTT --> Forum --> Security
Unauthorize unofficial forms to post messages and private messages on the forum : Không


Bước 2 : ACP --> Messages and e-mails --> Cấu hình diễn đàn

Allow Quick Reply : Không


Bước 3 : ACP --> Display --> CSS :

Trong CSS tìm : #GOeditor và tìm thông số width:70% thay 70% thành độ dài để phù hợp với forum bạn

Code:
#GO-quickrep .repnotice{background-color:#d9ffd1;background-image:url(http://cdn1.iconfinder.com/data/icons/musthave/24/Information.png);background-position:10px center;background-repeat:no-repeat;border:1px solid #36bf00;display:block;font-size:15px;font-weight:700;height:40px;line-height:35px;margin:20px auto;padding:5px;text-align:center;width:50%}
#GO-quickrep .previewdata{background:#fcfcfc;border:1.5px solid #D5D5D5;margin:20px auto;width:97%}
#GO-quickrep .buttonrep #sendrep:focus,#GO-quickrep .buttonrep #preview:focus,#GO-quickrep #backpreview:focus,#GO-quickrep .buttonrep #re-advance:focus{outline:none}
#GO-quickrep #repsmile{background:#F7F7F7;border:1px solid #D5D5D5;display:none;margin-left:15%;margin-top:35px;min-height:100px;padding:3px;position:absolute;width:600px}
#GO-quickrep #repcolour td{border:1px solid #AAA;float:left;height:13px;margin:0 2px 2px 0;outline:0 none;width:13px}
#GO-quickrep #repcolour table:last-child{background-color:transparent!important}
#GO-quickrep #repcolour{background:#F7F7F7;border:1px solid #D5D5D5;display:none;margin-left:20%;margin-top:35px;max-width:400px;min-height:100px;padding:3px;position:absolute}
#GO-quickrep .go-bbcodeimg,#GO-quickrep .senddata{background:#fff;border:1px solid #D5D5D5;color:#000;display:none;height:100px;margin-top:20px;padding:3px;position:absolute;width:230px}
#GO-quickrep #bbcodeimg,#GOdata{border-radius:none;display:block;margin-left:auto;margin-right:auto;margin-top:10px;min-height:20px!important;outline:none;padding:5px;width:70%!important}
#GO-quickrep #gorep{border:1px solid #B6B6B6;border-radius:none;display:block;margin:auto;min-height:200px!important;outline:none;width:97%!important}
#GO-quickrep .buttonimg,#GO-quickrep .buttonwall{background-color:#2797f2!important;border:none;color:#fff!important;cursor:pointer;display:block;font-size:12px;font-weight:700;height:25px;margin:10px auto;min-width:50px;padding:0 10px}
#GO-quickrep .buttonrep #sendrep,#GO-quickrep #backpreview{margin-left:1.5%}
#GO-quickrep .buttonrep #re-advance{-moz-transition:all .2s ease;-ms-transition:all .2s ease;-webkit-transition:all .2s ease;background-color:#000!important;color:#FFF!important;float:right!important;margin-right:1.5%;o-transition:all .2s ease;transition:all .2s ease}
#GO-quickrep #backpreview{margin-top:-20px}
#GO-quickrep .buttonrep #sendrep,#GO-quickrep .buttonrep #preview,#GO-quickrep .buttonrep #re-advance,#GO-quickrep #backpreview{background-color:#2797f2;border:none;color:#fff;cursor:pointer;display:inline-block;font-size:15px;font-weight:700;height:40px;min-width:80px;padding:0 10px}
#GO-quickrep .buttonrep #sendrep:hover,#GO-quickrep .buttonrep #preview:hover,#GO-quickrep #backpreview:hover,.buttonimg:hover{background-color:#7fc5ff;color:#fff}
#GO-quickrep .bbcode{border:none;color:#fff;cursor:pointer;display:block;font-size:12px;font-weight:700;height:30px;margin:auto;width:97%}
#GO-quickrep .bbcode span{-moz-border-radius:2px;-moz-box-shadow:inset 0 7px 10px #FFF;-webkit-border-radius:2px;-webkit-box-shadow:inset 0 7px 10px #FFF;border:1px solid #CCC;border-radius:2px;box-shadow:inset 0 7px 10px #FFF;color:#888;cursor:pointer;display:block;float:left;margin-right:3px;padding:4px 10px;text-shadow:0 1px #FFF}
#GO-quickrep .bbcode span:hover{border:1px solid #006adb;color:#000}
#GO-quickrep .buttonrep #re-advance:hover{background-color:#2797f2!important;color:#FFF!important}
#GO-quickrep textarea:focus,#GO-quickrep #bbcodeimg:focus{border:1px solid #0081eb!important;outline:none}
#GOeditor{background: #f5f5f5;border:1px solid #B6B6B6;box-shadow:0 0 3px rgba(0,0,0,0.15);margin:auto;min-height:50px;padding:5px;width:70%}
#GO-quickrep #backpreview,#GO-quickrep .repnotice,#GO-quickrep #repcolour form tr:first-child,#repcolour td:first-child,#repcolour td:nth-child(2),#repcolour td:nth-child(3){display:none}
Bước 4 : ACP --> Modules --> Javascript :
Title : GOeditor - Quick Editor
Place : In the topic

Spoiler:

[Plugin] Quick Quote for GOeditor 1.5

JS :
Spoiler:
GOeditor  © Get Over - doannamthai
  Bài viết hay nhất26
làm sao để tắt cái trả lời nhanh mặc đệnh để 2 cái xấu quá
  Bài viết hay nhất27
ReuPhong wrote:làm sao để tắt cái trả lời nhanh mặc đệnh để 2 cái xấu quá

Xem lại bước 2. Cái tội không chịu đọc kỹ hướng dẫn
  Bài viết hay nhất28
Update [Plugin] Quick Quote for GOeditor 1.5

JS :
Spoiler:
  Bài viết hay nhất29
làm thêm 1 nút up ảnh lên severming thì hay nhỉ :D
  Bài viết hay nhất30
Get_Over wrote:Bạn chỉnh lại view rồi thế thì dùng đoạn này nhé

Tìm : trong js :
Code:
$(z).find(".post:last").hide().insertAfter(".post:last").slideDown(400);
thay bằng

Code:
$(z).find(".post1:last").hide().insertAfter(".post1:last").slideDown(400);
skin G+ sửa lại như thế này vẫn k load cmt đc, mà phải f5 thì cmt mới hiện lên (k load cmt nhanh đc :) )
demo http://nhipsongcva.forumvi.com/t73-topic#460
acc test
ID: anhoang_qn
pass: hoang123
  Bài viết hay nhất31
anhoang_qn wrote:
Get_Over wrote:Bạn chỉnh lại view rồi thế thì dùng đoạn này nhé

Tìm : trong js :
Code:
$(z).find(".post:last").hide().insertAfter(".post:last").slideDown(400);
thay bằng

Code:
$(z).find(".post1:last").hide().insertAfter(".post1:last").slideDown(400);
skin G+ sửa lại như thế này vẫn k load cmt đc, mà phải f5 thì cmt mới hiện lên (k load cmt nhanh đc :) )
demo http://nhipsongcva.forumvi.com/t73-topic#460
acc test
ID: anhoang_qn
pass: hoang123

Code:
$(z).find(".a_box:last").hide().insertAfter(".a_box:last").slideDown(400);

Thay class rồi làm sao mà giữ nguyên thế được -_-
  Bài viết hay nhất32
Hóng thêm vài cái Plugin =_=
  Bài viết hay nhất33
Bước 3 : ACP --> Display --> CSS :

Trong CSS tìm : #GOeditor và tìm thông số width:70% thay 70% thành độ dài để phù hợp với forum bạn
là sao bạn mình không hiểu thấy không có



[Plugin] Quick Quote for GOeditor 1.5
JS :


là sao bạn nói rõ tí mình hơi dốt vụ này
  Bài viết hay nhất34
tommy_phan wrote:Bước 3 : ACP --> Display --> CSS :

Trong CSS tìm : #GOeditor và tìm thông số width:70% thay 70% thành độ dài để phù hợp với forum bạn
là sao bạn mình không hiểu thấy không có



[Plugin] Quick Quote for GOeditor 1.5
JS :


là sao bạn nói rõ tí mình hơi dốt vụ này

Về CSS thì nếu bạn thấy để độ dài của GOeditor chưa phù hợp với forum thì bạn có thể tăng hoặc giảm số 70% để độ dài nó tăng học giảm hợp theo chiều rộng của forum bạn
Về Plugin bạn có thể cài nó nếu bạn muốn . Bạn cài ngay dưới chỗ bạn cài js Goeditor. Chức năng : khi bạn click vào trích dẫn thì nội dùng trích dẫn sẽ được chuyển vào Goeditor làm nó ko chuyển trang
  Bài viết hay nhất35
a ơi, cái plugin e add thêm vào cuối cái mớ js ấy fải k a, tại e có add vào cuối js đó ùi nhưng phần trích dẫn vẫn vào full mà k xuống nhanh được ạ !
  Bài viết hay nhất36
Cais nay forum demo minh dung dc add forum minh lai dung ko dc

Dùng cái cũ trên cp do bài nhiều gần 1tr nên load chậm . Cái này load chậm k chạy nhỉ

Mình dùng xem trước cũng k hiện ra
  Bài viết hay nhất37
phutu01 wrote:Cais nay forum demo minh dung dc add forum minh lai dung ko dc

Dùng cái cũ trên cp do bài nhiều gần 1tr nên load chậm . Cái này load chậm k chạy nhỉ

Mình dùng xem trước cũng k hiện ra

gặp lỗi giữ nguyên hiện trường + link forum + acc test ! thân :)
  Bài viết hay nhất38
à thì ra là do Unauthorize unofficial forms to post messages and private messages on the forum : Không
sr :D
------
à khi chèn ảnh , Ảnh không hiện tại vị trí mà di chuyển xuống dưới
  Bài viết hay nhất39
phutu01 wrote:à thì ra là do Unauthorize unofficial forms to post messages and private messages on the forum : Không
sr :D
------
à khi chèn ảnh , Ảnh không hiện tại vị trí mà di chuyển xuống dưới
có vụ này nữa à, cho xem demo thử :fb163:
  Bài viết hay nhất40
Báo lỗi nữa khi chuyển qua khung full ko còn toàn bộ bài đã viết .
  Bài viết hay nhất41
Sao cậu k làm thêm cái nút trả lời ở mỗi bài viết , khi nào nhấn trả lời show ra cái khung ngay chỗ đó viết bài cho gọn
  Bài viết hay nhất42
ko biết làm :3
  Bài viết hay nhất43
Kindly give the code for version phpbb3.
  Bài viết hay nhất44
Fm mới up gì đó . Nó phải load lại trang sau khi trả lời
  Bài viết hay nhất45
Không khả quan cho lắm
  Bài viết hay nhất46
chú ơi, con không xài dc cái color ạ :'( có cách chỉnh ko chú :*
  Bài viết hay nhất47
You cannot reply to topics in this forum