Những vấn đề cần hỏi về Forum Vbulletin !

_Kain chỉ luôn cái code hình với cái ko tính bài viết đi :D
_@Haidang13: Mod Post Thanks 6.0 Gold
Trong đó đã có HD, Up cái file XML lên nhớ chọn Ignore Version là OK
Hack cái Thanks này cẩn thận từng bước một ko có hỏng đấy :wink:

Trùi , nhầm lẫn đôi chút , ko tính số bài viết trong 1 box nè : vào forum manager -> edit box đó -> Count Posts Made in this Forum Towards User Post Counts -> No :;)

Mod icon cho box :

Nếu như bạn muốn Forum category Icons hiển thị như thế này

untitled3mc9.gif


thì trong AcminCP các bạn làm như sau :

Template Edits
Mở Forum Home Templates > forumhome_forumbit_level1_post

Tìm

Mã:
<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" />

hoặc là

Mã:
<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" />

thay thế bằng

Mã:
<if condition="$vboptions[customimg_enabled] == 1"> <if condition="$forum[customimg] == ''"> <img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /> <else /> <img src="$forum[customimg]" alt="" border="0" id="forum_statusicon_$forum[forumid]" /> </if> <else /> <img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /> </if>

Save.
Sau đó mở Forum Home Templates > forumhome_forumbit_level2_post

Tìm

Mã:
<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" />

hoặc

Mã:
<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" />

Thay bằng

Mã:
<if condition="$vboptions[customimg_enabled] == 1"> <if condition="$forum[customimg] == ''"> <img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /> <else /> <img src="$forum[customimg]" alt="" border="0" id="forum_statusicon_$forum[forumid]" /> </if> <else /> <img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /> </if>

Xong.....chúc thành công

==================================================

Còn nếu như bạn muốn hiển thị như thế này

untitledwk8.gif


thì trong AcminCP các bạn làm như sau :

Template Edits

Mở Forum Home Templates > forumhome_forumbit_level1_post


Tìm

Mã:
<td>
<div>
				<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
				<if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if>
			</div>
			<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
			<if condition="$show['forumsubscription']"><div class="smallfont"><strong><a href="subscription.php?$session[sessionurl]do=removesubscription&amp;f=$forum[forumid]">$vbphrase[unsubscribe_from_this_forum]</a></strong></div></if>
			<if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>

	</td>

Thay bằng

Mã:
<td>

<table border=0><tr><td>
<if condition="$vboptions[customimg_enabled] == 1"> <if condition="$forum[customimg] == ''"><else /><img src="$forum[customimg]" alt="" border="0" id="forum_statusicon_$forum[forumid]" /> </if></if>
</td><td>

			<div>
				<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
				<if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if>
			</div>
			<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
			<if condition="$show['forumsubscription']"><div class="smallfont"><strong><a href="subscription.php?$session[sessionurl]do=removesubscription&amp;f=$forum[forumid]">$vbphrase[unsubscribe_from_this_forum]</a></strong></div></if>
			<if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>

</td></tr></table>

			</td>

Tương tự với forumhome_forumbit_level2_post

Xong.....chúc thành công

Sau đó là phải chỉnh icon cho từng box -> tha hồ mệt :D
 

Attachments

@Nguyen_Kain : Cho em hỏi là sau khi hack mod đó xong thì mình được quyền chỉnh lại icon chứ ? Hay là icon sẽ hiện y như thế ?

Và em đã hack mod thanks theo chỉ dẫn của link này . Nhưng ở bước 3 thì không thấy đoạn này :
<!-- / post #$post[postid] -->

Và với VBB thì có mod nào cộng điểm không ? Nếu có thì cho em xin down và bản hướng dẫn . Thanks :)

Nhầm link http://hoiquantinhoc.com/forum/c-n-h-t724.html?t=724
 
Mod cộng điểm thừong ngừoi ta tự viết, nhưng nếu thích bạn dùng hệ thống points cũng dc :D
 
Hướng dẫn cho đầy đủ nè : Vbulletin Option -> General Settings -> Disable AJAX Features -> đánh dấu chọn Enable :;)

Vào thấy nó đã enable rùi mấy bác ui #-o phải refresh mới thấy
 
@Nguyen_Kain : Cho em hỏi là sau khi hack mod đó xong thì mình được quyền chỉnh lại icon chứ ? Hay là icon sẽ hiện y như thế ?

Và em đã hack mod thanks theo chỉ dẫn của link này . Nhưng ở bước 3 thì không thấy đoạn này :


Và với VBB thì có mod nào cộng điểm không ? Nếu có thì cho em xin down và bản hướng dẫn . Thanks :)

Nhầm link http://hoiquantinhoc.com/forum/c-n-h-t724.html?t=724

Khi bạn tra ko thấy ! Thì tốt nhất là bạn nên tra phần nhỏ của nó , ví dụ bạn tra :

Mã:
$post[postid]

Nó có thể ra nhiều kết quả , tuy nhiên hãy chọn kết quả đúng nhất :;)

@huykhoa_azn : Bạn có hack thêm code gì động đến ajax của forum ko ? :-/
 
Cho mình hỏi làm sao chỉnh lại giờ cho 4rom, nó chạy sai giờ mà mình kiếm mãi ko thấy chỗ để sửa. Thx
 
Vào admincp , vb options , date & time options.
 
Có thể cho em xin BB code Latex ko - code dùng để gõ các công thức Toán học ấy ?

Và với một số skin thì ở Banner có chừa trống vài chỗ cho mình nhập nhan đề của diễn đàn chẳng hạn , thì mình edit ở đâu trong Style Manager ? Vd em có banner để dòng : PLEASE TYPE YOUR SLOGAN HERE thì em edit nó ở đâu ?
Link 4rum : http://thucnghiem.newsit.es/forum
 
Có thể cho em xin BB code Latex ko - code dùng để gõ các công thức Toán học ấy ?
http://vbbvn.com
Và với một số skin thì ở Banner có chừa trống vài chỗ cho mình nhập nhan đề của diễn đàn chẳng hạn , thì mình edit ở đâu trong Style Manager ? Vd em có banner để dòng : PLEASE TYPE YOUR SLOGAN HERE thì em edit nó ở đâu ?
Link 4rum : http://thucnghiem.newsit.es/forum
ACP > Language & Phrase > Search phrase > Nhập PLEASE TYPE.... rồi click FIND, tìm phần nằm trong GLOBAL PHRASE mà sửa lại :D
 
Vào admincp , vb options , date & time options.

Vấn đề là mình đã sửa nó thành múi giờ GTM +7, nhưng nó vẫn chạy sai, hiển thị giờ khác -.- ::(
 
Lỗi này một là do máy của bạn, kiểm tra lại xem có đúng không, 2 là do múi giờ của host sai
 
máy tui thì đúng rồi, nhưng tui nghĩ có liên quan j tới đâu. Đã đặt là GTM+7 thì mày tui có hiện mấy h đi nữa, thì nó cũng phỉa hiện giờ của GTM +7 chứ nhỉ ...
 
Có thể cho em xin BB code Latex ko - code dùng để gõ các công thức Toán học ấy ?
http://vbbvn.com

Search ko có . Pác chỉ cụ thể giúp em .

Vào Search Phrase trong Global có chết liền á . Chỉ giúp tui với
 
cho mình xin hack mod giống như hình này:
welcomepanelloggedintq0.gif


--------------------------------
Cám ơn rất nhiều ! :hug:
-------------------------------
Mình có làm đúng theo hướng dẫn của file nó gửi kèm nhưng lại báo lỗi:
Đây là toàn bộ phần hướng dẫn của nó:
cái phần mình để mầu xanh là phần khi hack xong nó báo lỗi !
Files To Edit: (1)
index.php
Templates To Edit: (1)
FORUMHOME
Templates To Add: (0)
N/A
Files To Add: (0)
N/A
Queries To Run: (0)
N/A
Phrases To Add: (0)
N/A

________________________
Step 1: Open 'index.php'
________________________
Find:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
// ######################### REQUIRE BACK-END ############################
require_once('./global.php');
require_once('./includes/functions_bigthree.php');
require_once('./includes/functions_forumlist.php');
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Underneath Place:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
// ##################### Welcome Box Requirements ########################
// Require User Functions
require_once('./includes/functions_user.php');
// Top Row - Welcome Message
if($bbuserinfo['userid']!=0)
{
$welcome_message="Welcome Back <a href='member.php?{$session['sessionurl']}u={$bbuserinfo['userid']}' title='Go To Your Profile'>{$bbuserinfo['username']}</a>!";
} else {
$welcome_message="Welcome Guest! Please Login Or <a href='register.php?{$session['sessionurl']}'>Register</a>";
}
// Cell 1 - Avatar
if($bbuserinfo['userid']!=0)
{
$bbuserinfo['user_avatar']=fetch_avatar_url($bbuserinfo['userid']);
if($bbuserinfo['user_avatar']==""){
$bbuserinfo['user_avatar']="<img src='noavatar.gif' alt='Edit Your Avatar' border='0'>";
$bbuserinfo['user_avatar']="<a href='profile.php?{$session['sessionurl']}&do=editavatar'>{$bbuserinfo['user_avatar']}</a>";
$welcome_avatar=$bbuserinfo['user_avatar'];
} else {
$bbuserinfo['user_avatar']="<img src='{$bbuserinfo['user_avatar']}' alt='Edit Your Avatar' border='0'>";
$bbuserinfo['user_avatar']="<a href='profile.php?{$session['sessionurl']}&do=editavatar'>{$bbuserinfo['user_avatar']}</a>";
$welcome_avatar=$bbuserinfo['user_avatar'];
}
} else {
$welcome_avatar="<i><b>Guest<br/>No Avatar</b></i>";
}
// Cell 2 - Quick Forum Stats
$welcome_new_posts=$DB_site->query_first("select count(*) as new_posts from ".TABLE_PREFIX."post where dateline > '{$bbuserinfo['lastvisit']}'");
$welcome_new_topics=$DB_site->query_first("select count(*) as new_topics from ".TABLE_PREFIX."thread where lastpost > '{$bbuserinfo['lastvisit']}'");
$total_members=$DB_site->query_first("select count(*) as all_users from ".TABLE_PREFIX."user");
$total_posts=$DB_site->query_first("select count(*) as all_posts from ".TABLE_PREFIX."post");
$total_topics=$DB_site->query_first("select count(*) as all_topics from ".TABLE_PREFIX."thread");
$welcome_members="<b>Total {$vbphrase['members']}</b>:</td><td> {$total_members['all_users']}";
$welcome_topics="<b>Total Threads</b>:</td><td> {$total_topics['all_topics']}";
$welcome_posts="<b>Total Posts</b>:</td><td> {$total_posts['all_posts']}";
if($bbuserinfo['userid']!=0)
{
$welcome_intro="Welcome back {$bbuserinfo['username']}, there has been {$welcome_new_posts['new_posts']} new posts and {$welcome_new_topics['new_topics']} new threads since your last visit. <a href='search.php?{$session['sessionurl']}&do=getnew'>Search For New Posts</a>";
} else
{
$welcome_intro="Welcome to the forums Guest, please take a look around, if your already a member login, if not then please register. Enjoy Your Stay";
}
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|-/\ Save And Upload 'index.php' /\-|
_________________________________
Step 2: Edit Template 'FORUMHOME'
_________________________________
Find:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
$navbar
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Underneath Place:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
<!-- Welcome Panel v1.0 :: Created By Zero Tolerance -->
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="3"><a style="float:right" href="#top" onclick="return toggle_collapse('forumhome_welcome_panel')"><img id="collapseimg_forumhome_welcome_panel" src="$stylevar[imgdir_button]/collapse_tcat.gif" alt="" border="0" /></a><div align='center'><b>{$welcome_message}</b></div></td>
</tr>
</thead>
<tbody id="collapseobj_forumhome_welcome_panel" style="">
<tr>
<!-- Main Welcome Panel Block :: Begin -->
<td class='alt1' width='1%'>
<!-- Avatar Cell :: Begin -->
{$welcome_avatar}
<!-- Avatar Cell :: End -->
</td>

<td class='alt2' width='55%' valign='top'>
<!-- Forum Quick Stats :: Begin -->
{$welcome_intro}
<table width='100%' cellspacing='0' cellpadding='0' valign='bottom'><tr><td width='50%' valign='bottom'>
<table width='100%' cellspacing='1' cellpadding='1' valign='bottom'><tr>
<td width='85%'>
{$welcome_topics}
</td></tr>
<tr><td width='85%'>
{$welcome_posts}
</td></tr>
</table>
</td>
<td valign='top'>
<table width='100%' cellspacing='1' cellpadding='1' valign='bottom'><tr>
<td width='85%' colspan='2'>
<phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase>
</td></tr>
<tr><td width='85%'>
{$welcome_members}
</td></tr>
</table>
</td></tr></table>
<!-- Forum Quick Stats :: End -->
</td>
<if condition="$bbuserinfo[userid]!=0">
<td class='alt2' width='40%' valign='top'>
<!-- User Stats :: Begin -->
<b>Users Online:</b> $totalonline<br />
<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase><br />
<phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase><br />
<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
<!-- User Stats :: End -->
</td>
</if>
<!-- Main Welcome Panel Block :: End -->
</tr>
</tbody>
</table>
<br/>
<!-- Welcome Panel v1.0 :: Created By Zero Tolerance -->
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|-/\ Save Template 'FORUMHOME' /\-|

Instalation is now complete, enjoy >=D
- Zero Tolerance
 
máy tui thì đúng rồi, nhưng tui nghĩ có liên quan j tới đâu. Đã đặt là GTM+7 thì mày tui có hiện mấy h đi nữa, thì nó cũng phỉa hiện giờ của GTM +7 chứ nhỉ ...
Đó là lỗi của host bạn. Host của bạn đã bị chỉnh sai giờ. Nếu bạn dùng host trả tiền, nên nhờ người ta fix hộ, còn host free thì miễn :devil:
 
Cho mình hỏi về code portal của VBB dùng để làm trang chủ ấy, bạn nào có thì share cho mình với thx trước.(hướng dẫn sử dụng lun thì càng tốt ^^)
 
Cho mình hỏi về code portal của VBB dùng để làm trang chủ ấy, bạn nào có thì share cho mình với thx trước.(hướng dẫn sử dụng lun thì càng tốt ^^)

Tải file này về , làm theo hướng dẫn trong đó :;)
 

Attachments

Cho hỏi lỗi 500 Internal server error là bị sao nhỉ.
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected]r and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
 
Muốn tạo 1 bảng thông báo khi người khác truy cập vào diễn đàn và hẹn họ khi khác quay lại thì phải làm sao ?? Vd như khi truy cập vào một diễn đàn thì hiện ra 1 thông báo rằng " Các bạn hãy quay lại sau vài ngày nữa ... " Đại loại thế , thì phải làm sao ???
 
Back
Top