ChinSu Forum
Bạn có muốn phản ứng với tin nhắn này? Vui lòng đăng ký diễn đàn trong một vài cú nhấp chuột hoặc đăng nhập để tiếp tục.

Cách Làm Forum Với Phpbb 3

2 posters

Go down

Cách Làm Forum  Với Phpbb 3 Empty Cách Làm Forum Với Phpbb 3

Bài gửi by Admin Tue May 18, 2010 2:24 pm

Cách Làm 1 Forum Phpbb 3
Với cách làm dưới đây, đảm bảo bạn sẽ install thành công phpBB-3.0.RC6.zip - Phiên bản Phpbb mới nhất hiện nay!

Bước 1: vào đây để [You must be registered and logged in to see this link.] bản này về máy.

Bước 2: Đăng kí tài khoản tại [You must be registered and logged in to see this link.]
:178:
Bước 3: Truy cập vô web2ftp.de, tại Server, điền địa chỉ host của bạn có dạng tenban.free-site-host.com . Lưu ý, không được điền "http://" vào mục này. Benutzername: gõ tenban vào. Passwort: Password đăng kí. Sau đó nhấn "Login". Sau khi vào, nhìn vào phần ZIP-Upload bên phải màn hình, Click vào Choose... rồi upload phiên bản phpBB-3.0.RC6.zip vừa download xuống. Đợi upload xong, bạn chmod cache = 777, store = 777, files = 777, images/avatars/gallery = 777

Bước 4: [You must be registered and logged in to see this link.], điền Username và Password rồi vô Control Panel, chọn Files Manage, click vào mục Install, sau đó click vào file index.php để tiến hành cài đặt.

Bước 5: Hoàn tất cài đặt, vô lại Files Manage và xóa thư mục Install đi!

Bước 6: Đã có một forum PhpBB OK!
__________________
Admin
Admin
Admin
Admin

Nơi Ở : Tp HCM
Tổng số bài gửi : 420
Ngày Tham Gia : 06/04/2010
Điểm Số : 1067
Cảm Ơn : 8
Tuổi : 35

http://goldfxtrade.com

Về Đầu Trang Go down

Cách Làm Forum  Với Phpbb 3 Empty Tạo Thông Báo Dành Cho Khách

Bài gửi by Admin Sat Jun 26, 2010 4:01 pm

Đây là mod mà mình lấy từ CODEPRO.VN!
Demo đây:
Khi chưa đăng nhập
Cách Làm Forum  Với Phpbb 3 Thongbaofn1

Sau khi đăng nhập:
Cách Làm Forum  Với Phpbb 3 Thongbao1qp3

Hướng dẫn:

Mở file language\vi\common.php và
language\en\common.php rồi
Tìm:
Code:
));
?>
Thêm vào đằng trước:
Code:
'wellcome_session_logged_in' => '<p>Chào bạn <b>%s</b>, <br />Chúc bạn một ngày làm việc hiệu quả, và tìm được nhiều thông tin bổ ích tại TieuLuan.Net!</p>',
'wellcome_session_logged_out' => '<p>Chào mừng bạn đến với <b>TieuLuan.Net</b>, <br />Bạn chưa đăng nhập hoặc chưa đăng ký làm thành viên, nên bạn chỉ có thể xem các bài viết mà không thể gửi bài trả lời, thảo luận, đặt câu hỏi, hay tham gia các hoạt động khác trên diễn đàn. <br />Hãy đăng ký thành viên <a href="ucp.php?mode=register"><b>tại đây</b></a>, rất nhanh chóng và đơn giản. <br />Chúc bạn một ngày làm việc hiệu quả và tìm được nhiều thông tin bổ ích tại TieuLuan.Net!</p>',

Mở file index.php nếu bạn đã cài Portal thì chỉnh thêm cả trong file board.php nữa(Giống như nhau)
Tìm:
Code:
// Output page
page_header($user->lang

Rồi thêm vào đằng trước:
Code:
// Wellcome message
$wellcome = '';
if ($user->data['user_id'] == ANONYMOUS || !$user->data['is_registered'])
{
$wellcome = $user->lang['wellcome_session_logged_out'];
}
else
{
$wellcome = sprintf($user->lang['wellcome_session_logged_in'], $user->data['username']);
}

$template->assign_block_vars('wellcome', array(
'WELLCOME' => $wellcome
));

Tiếp đến mở file styles\prosilver\template\index_body.html
Tìm:
Code:
<!-- INCLUDE overall_header.html -->

<p class="{S_CONTENT_FLOW_END}<!-- IF S_USER_LOGGED_IN --> rightside<!-- ENDIF -->"><!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}<!-- ELSE -->{CURRENT_TIME}<!-- ENDIF --></p>
<!-- IF U_MCP --><p>{CURRENT_TIME} <br />[ <a href="{U_MCP}">{L_MCP}</a>&nbsp;]</p><!-- ELSEIF S_USER_LOGGED_IN --><p>{CURRENT_TIME}</p><!-- ENDIF -->
Thêm vào đằng sau nó:
Code:
<!-- BEGIN wellcome -->
<div class="wellcome">
{wellcome.WELLCOME}
</div>
<!-- END wellcome -->

Tiếp file styles\prosilver\theme\content.css
Thêm code sau vào cuối cùng:
Code:
div.wellcome {
/* color: dimgrey; */
/* color: darkslategrey; */
color: darkgreen;
margin-left: 6px;
}

Chúc các bạn thành công!
Admin
Admin
Admin
Admin

Nơi Ở : Tp HCM
Tổng số bài gửi : 420
Ngày Tham Gia : 06/04/2010
Điểm Số : 1067
Cảm Ơn : 8
Tuổi : 35

http://goldfxtrade.com

Về Đầu Trang Go down

Cách Làm Forum  Với Phpbb 3 Empty Tạo Thông Báo

Bài gửi by Admin Sun Jun 27, 2010 10:04 am

Cách Làm Forum  Với Phpbb 3 Imghuy10
Code:
</script>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled 2</title>
</head>

<body>

</body>

</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled 1</title>
</head>

<body>

</body>

</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled 1</title>
</head>

<body>

</body>

</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled 1</title>
</head>

<body>

</body>

</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled 2</title>
</head>

<body>

</body>

</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled 3</title>
<style type="text/css">
      .table-w970 {width: 900px;}


     

.tinnong {background: url('http://www.autinhyeu.com/forum/thongbao/bg-hotne.jpg') no-repeat right top;
width:294px; height:305px; text-align:left;
          overflow:hidden; position:relative
}
table {
  width:100%;
  border:0;
  padding:0;
  text-align:left;
  border-style: hidden;
  border-spacing:0;}

  td {
  font-family:Tahoma, Arial;
  font-size: 11px;
  color: #000000;
}
 
.tinnong-text {text-align:justify; width:194px;}

 
a {  text-decoration:none;}
 
.line-dot-pink {background:url('http://www.autinhyeu.com/forum/thongbao/line-dot.gif') repeat-x left 50%;
height:1px; width:194px;
}


.news-head-lc {float:left; background:url('http://www.autinhyeu.com/forum/thongbao/new-head.jpg') no-repeat right bottom;
width:15px; height:15px;
}
.news-head-m {float:left; background:url('http://www.autinhyeu.com/forum/thongbao/new-heae.jpg') repeat-x left bottom;
height:15px; width:300px;
}
.news-head-rc {float:left; background:url('http://www.autinhyeu.com/forum/thongbao/new-heaf.jpg') no-repeat left bottom;
width:15px; height:15px;
}
.news-mid-l {float:left; background:url('http://www.autinhyeu.com/forum/thongbao/new-mid-.jpg') repeat-y right top;
width:15px; height:265px
}
.news-content {float:left; background-color: #ffecf1; height:265px}
.news-title-m {background:url('http://www.autinhyeu.com/forum/thongbao/news-tiu.gif') repeat-x left 50%;
width:300px; font-weight:bold;
}
.news-title-l {background: url('http://www.autinhyeu.com/forum/thongbao/news-tit.gif') no-repeat left 50%;
height:28px
}
.news-title-r {background:url('http://www.autinhyeu.com/forum/thongbao/news-tiv.gif') no-repeat right 50%;
height:28px
}

  .news-mid-r {float:left; background:url('http://www.autinhyeu.com/forum/thongbao/new-mid0.jpg') repeat-y left top;
width:15px; height:265px
}
.news-foot-lc {float:left; background:url('http://www.autinhyeu.com/forum/thongbao/new-foot.jpg') no-repeat right top;
width:15px; height:15px;
}
.news-foot-m {float:left; background:url('http://www.autinhyeu.com/forum/thongbao/new-foou.jpg') repeat-x left top;
height:15px; width:300px;
}
.news-foot-rc {float:left; background:url('http://www.autinhyeu.com/forum/thongbao/new-foov.jpg') no-repeat left top;
width:15px; height:15px;;
}

  .hot1 {float:left; background: url('http://www.autinhyeu.com/forum/thongbao/hot10000.jpg') no-repeat left top;
width:198px; height:72px; text-align:left;
}
.hot2 {float:left; background: url('http://www.autinhyeu.com/forum/thongbao/hot20000.jpg') no-repeat left top;
width:198px; height:54px; text-align:left;
}
.hot3 {float:left; background: url('http://www.autinhyeu.com/forum/thongbao/hot30000.jpg') no-repeat left top;
width:198px; height:43px; text-align:left;
}
.hot4 {float:left; background: url('http://www.autinhyeu.com/forum/thongbao/hot40000.jpg') no-repeat left top;
width:198px; height:51px; text-align:left;
}
.hot5 {float:left; background: url('http://www.autinhyeu.com/forum/thongbao/hot50000.jpg') no-repeat left top;
width:198px; height:76px; text-align:left;
}

  .style1 {
  color: #FF0000;
  font-weight: bold;
}

  .style4 {
  text-decoration: none;
}
.style7 {
  font-size: large;
}
.style11 {
  font-size: medium;
}
.style12 {
  font-size: x-large;
}
.style15 {
  color: #808000;
}
.style16 {
  text-align: center;
}

  </style>
</head>

<body>

<p class="style16"><br />
<span class="style4">
<span class="style7">
<b>
<span class="style11">
<font color="blue"><div align="center">
  <div class="table-w970" style="background: #FFFFFF left top; height:100%; width: 841px;">       
    <div>   
        <div style="float:left; width:10px">
        <img src="http://www.autinhyeu.com/forum/thongbao/spacer00.gif" width="12" height="1"></div>
        <div class="tinnong" style="float:left; padding:">
        <div style="padding: 85px 50px 40px 45px; height:100%">
                <table id="Uc_HotNews1_dl_hot_news" cellspacing="0" cellpadding="0" border="0" style="border-collapse:collapse; height: 171px;">
<tr>
      <td>
                        <div class="tinnong-text">
                     
<img src="http://www.autinhyeu.com/for um/thongbao/dot-hong.jpg" width="6" height="6">
                            <a href="http://chinsu.forumvi.net/forum-f25/topic-t2.htm" target="_blank"><font color=blue><b> Nội Quy Diễn Đàn</b></font></a>
                           
                        </div>
                        <div class="line-dot-pink" style="padding:4px;"></div>
                    </td>
  </tr>
<tr>
      <td>
                        <div class="tinnong-text">
                      <img src=" http://www.autinhyeu.com/forum/thongbao/dot-hong.jpg " width="6" height="6">
                            <a href=" http://www.download.com.vn/Data/Soft/2009/09/01/32unikey40RC2_Download.com.vn.zip" target="_blank"><font color=RED><b> download unikey</b></font></a>
                           
                        </div>
                        <div class="line-dot-pink" style="padding:4px;"></div>
                    </td>
  </tr><tr>
      <td>
                        <div class="tinnong-text">
                      <img src="http://www.autinhyeu.com/forum/thongbao/dot-hong.jpg" width="6" height="6">
                            <a href=" http://chinsu.forumvi.net/forum-f3/topic-t21.htm" target="_blank"><font color=green ><b> Hướng dẫn post bài lên forum </b></font></a>
                           
                        </div>
                        <div class="line-dot-pink" style="padding:4px;"></div>
                    </td>
  </tr><tr>
      <td>
                        <div class="tinnong-text">
                      <img src="http://www.autinhyeu.com/forum/thongbao/dot-hong.jpg" width="6" height="6">
                            <blink>
                            <a href=" http://chinsu.forumvi.net/forum-f3/topic-t27.htm" target="_blank"><font color=black ><b> Hướng dẫn post Video </b></font></a> </div>
                        <div class="line-dot-pink" style="padding:4px;"></div>
                    </td>
  </tr><tr>
      <td>
                        <div class="tinnong-text">
                      <img src="http://www.autinhyeu.com/forum/thongbao/dot-hong.jpg" width="6" height="6">
                            <blink>
                            <a href=" http://chinsu.forumvi.net/forum-f3/topic-t17.htm " target="_blank"><font color=blue ><b> Hướng dẫn post hình ảnh </b> </font></a>
                           
                        </div>
                        <div class="line-dot-pink" style="padding:4px;"></div>
                    </td>
  </tr><tr>
      <td>
                        <blink>
                    </td>
  </tr>
</table>
        </div>
        </div>
        <div style="float:left;">
        <div class="news-head-lc"></div>
        <div class="news-head-m"></div>
        <div class="news-head-rc"></div>
          <div style="clear:both"></div>
        <div class="news-mid-l"></div>
        <div class="news-content">
            <div style="padding-bottom:8px">
            <div id="Uc_HotNews1_UpdatePanel1">
               
                    <a href="http://www.tieuluan.net" target="_blank">
              <img id="Uc_HotNews1_img_slide" src=" http://nhdien.files.wordpress.com/2009/06/hoadep3.gif " style="height:227px;width:300px;border-width:0px;" /></a>
               
</div>
            </div>
            <div class="news-title-m">
              <div class="news-title-l">
                  <div class="news-title-r">
                    <div style="padding-top:7px">
                    <div id="Uc_HotNews1_UpdatePanel2">
 
                                    <a href="http://www.tieuluan.net" target="_blank">
                          <span class="style1">Tiểu Luận. Net</span></a>   
                               
</div>
                    </div>
                  </div>
              </div>
          </div>
        </div>
        <div class="news-mid-r"></div>
          <div style="clear:both"></div>
        <div class="news-foot-lc"></div>
        <div class="news-foot-m"></div>
        <div class="news-foot-rc"></div>
        </div>
        <div id="Uc_HotNews1_UpdatePanel3">
 
                <div class="hot1">
                  <div style="padding: 38px 0 0 45px;">
                        <a href=" http://chinsu.forumvi.net/forum-f8/ " target="_blank"><font color=white><b> Luận Văn - Luận Án </b></font></a>
                       
                                           
                       
                  </div>
                </div>
                <div class="hot2">
                  <div style="padding: 12px 0 0 43px;">
                      <a href=" http://chinsu.forumvi.net/forum-f20/" target="_blank"><font color=white><b> Báo Cáo Thực tập</b></font></a>
                     
                                           
                       
                  </div>     
                </div>
                <div class="hot3">
                  <div style="padding: 12px 0 0 73px">
                      <a href="http://chinsu.forumvi.net/forum-f10/ " target=""><font color=white><b>Tiểu Luận</b></font></a>
                       
                                           
                       
                  </div> 
                </div>
                <div class="hot4">
                  <div style="padding: 12px 0 0 47px">
                      <a href="http://chinsu.forumvi.net/forum-f11/ " target=""><font color=white><b>Tài Liệu</b></font></a>
                     
                         
                 
                       
                  </div> 
                </div>
                <div class="hot5">
                  <div style="padding: 12px 0 0 60px">
                        <a href=" http://chinsu.forumvi.net/forum-f32/topic-t57.htm" target="_blank"><font color=white><b><Hình Ảnh</b></font></a>
                     
                     
 
                                           
                  </div> 
                </div>
           
</div>
      </div>
      <div style="clear:both"></div>
  </div>
</div>

   
    </body>


dán cái đó trong acp>display>home page>generalisties> dán cái đó vô homepage messenger


Được sửa bởi Admin ngày Wed Jul 21, 2010 10:12 pm; sửa lần 1.
Admin
Admin
Admin
Admin

Nơi Ở : Tp HCM
Tổng số bài gửi : 420
Ngày Tham Gia : 06/04/2010
Điểm Số : 1067
Cảm Ơn : 8
Tuổi : 35

http://goldfxtrade.com

Về Đầu Trang Go down

Cách Làm Forum  Với Phpbb 3 Empty Hướng dẫn cài mod cho forum phpbb 3

Bài gửi by Admin Thu Jul 01, 2010 10:31 am

Đây là kinh nghiệm của tớ khi sử dụng phpbb 3. Do mod trong phpbb3 thường khó cài và mất khá nhiều thời gian, nhất là hay lỗi nếu bạn sai bước nào đó khi cài.

Bước 1: Tìm mod, các mod cho forum phpbb 3 cũng rất phong phú, ko kém gì của vBulletin. Các bạn có thể tìm tại các địa chỉ sau:

[You must be registered and logged in to see this link.] >> Nơi phát hành các bản mod đã qua các giai đoạn phát triển dev, beta, rc v.v... Các mod ở đây nói chung hoạt động khá ổn định.

[You must be registered and logged in to see this link.] >> Nơi chia sẻ mod của các thành viên phpbb.com. Hầu hết đang ở giai đoạn thử nghiêm, các bạn nên chú ý khi cài các mod ở đây

[You must be registered and logged in to see this link.] >> Chuyên mục phpbb của FCVN. Ở đấy các thành viên sưu tầm hoặc tự viết mod. Ngoài ra các bạn có thể hỏi các thành viên trong đó khi forum của bạn gặp sự cố

Bước 2: Cài đặt

- Tạm thời tớ sẽ hướng dẫn cách cài đặt các mod kiểu MODX, có nghĩa là có file hướng dẫn cài đặt là các file có đuôi xml (install.xml, tên mod.xml). Đầu tiên các bạn mở file xml bằng trình duyệt web của bạn, nên là Firefox, IE thường hỏi bạn có cho phép chạy script trên trang này ko, bạn chọn cho phép (dùng để select all các đoạn code, copy cho nhanh)

- Bố cục một file modx thường là tên mod, mô tả, tác giả, nâng cấp mới từ phiên bản cũ, rồi đến các file sẽ sửa, các file cần copy, cuối cùng là các thao tác thực hiện.

- Trong gói mod sẽ chỉ cho bạn cần copy các file trong thư mục root tới các thư mục của forum.

- Các thao tác thực hiện gồm có SQL querry và sửa file

+ Về SQL querry, bạn cần mở phpmyadmin của host lên (có link trong cpanel của host), vào tab sql và paste đoạn querry trong mod vào. Chú ý nếu bạn để tiền tố các bảng của phpbb khác mặc định (phpbb_) thì phải sửa lại đoạn querry cho phù hợp.

+ Về sửa file gồm có các thao tác chính sau: Find, add-beforce, add-after, replace, replace inline. Về phần này bạn cần linh động 1 chút. Với các mod chuẩn (mod có code trong Find trùng hoàn toàn với code trong file cần sửa), bạn cứ việc select all rồi tìm. Nhưng với các mod mà tác giả viết sai 1 chút (dấu tab >> dấu cách hoặc thiếu 1 cụm nào đó trong đoạn mã tìm kiếm) bạn cần chọn đoạn code mà bạn cho là chính (sẽ có trong file cần sửa) để tìm được đoạn code ấy. Sau đó thì bạn lại tiến hành sửa code như bình thường.

- Lưu ý dành cho các giao diện. phpbb được phát triển theo 2 kiểu giao diện chính là prosilver và subsilver2. Bạn cần biết rõ giao diện mà bạn đang sử dụng thuộc loại giao diện nào. Hầu hết các giao diện của Việt Nam thiết kế đều là subsilver2. Theo ý kiến bản thân thì tớ thấy subsilver2 phong phú hơn nhưng cách quản lí kém thông minh và phần images trên trang có vẻ tĩnh hơn. Tóm lại, khi mod đã yêu cầu sửa đổi giao diện, bạn nhất thiết phải xác định giao diện của forum thuộc loại nào để hack cho phù hợp

Cuối cùng là thao tác nạp lại kiểu dáng (chỉ với prosilver), giao diện, gói hình cho forum. Vì forum phpbb mặc định lưu các thứ trên vào cache để giảm công việc cho máy chủ nên thao tác này là cần thiết nếu mod mà bạn hack có thay đổi giao diện.

Với một số mod yêu cầu bạn phải chạy file php (giống như khi cài phpbb). Sau khi chạy bạn nhớ xóa file đó để tránh ai đó nghịch làm hỏng forum của bạn. Một số mod thì yêu cầu bạn thêm, sửa đổi các bbcode. Nói chung sau khi cài bạn nhớ đọc phần DIY Instructions cuối gói mod.
Admin
Admin
Admin
Admin

Nơi Ở : Tp HCM
Tổng số bài gửi : 420
Ngày Tham Gia : 06/04/2010
Điểm Số : 1067
Cảm Ơn : 8
Tuổi : 35

http://goldfxtrade.com

Về Đầu Trang Go down

Cách Làm Forum  Với Phpbb 3 Empty Re: Cách Làm Forum Với Phpbb 3

Bài gửi by trongrong93 Tue Mar 01, 2011 10:29 pm

Khó hiểu quá anh ơi!

trongrong93
Sponsor
Sponsor

Tổng số bài gửi : 1
Ngày Tham Gia : 01/03/2011
Điểm Số : 1
Cảm Ơn : 0
Tuổi : 30

Về Đầu Trang Go down

Cách Làm Forum  Với Phpbb 3 Empty Re: Cách Làm Forum Với Phpbb 3

Bài gửi by Sponsored content


Sponsored content


Về Đầu Trang Go down

Về Đầu Trang

- Similar topics

 
Permissions in this forum:
Bạn không có quyền trả lời bài viết