PDA

View Full Version : Mình muốn chèn đoạn code liên kết website vào mục TÌNH HÌNH DIỄN ĐÀN dưới Thống kê ?



vanminh
12-04-2011, 10:13 AM
Mình vô diễn đàn sinhvienit thấy họ chèn Link liên kết vào Mục TÌNH HÌNH DIỄN ĐÀN dưới dòng thống kê. Mình đã có đoạn code, nhưng không biết vô đâu để chèn. giúp mình với

Dunglx
12-04-2011, 10:23 AM
Anh vào footer rồi chèn vào cuối thử xem sau đó có thể chỉnh sửa dần theo ý mình
Phần liên kết em hay để cuối footer
Admin >> Styles & Teamplates >>> Edit templates cần chèn >>> Footer

vanminh
12-04-2011, 10:42 AM
ok, mình đã chèn theo hướng dẫn của bạn nó cũng hiện thi dưới dòng Thống kê, nhưng nó không nằm trong mục TÌNH HÌNH DIỄN ĐÀN bạn ạ

bạn hiểu sai ý mình rồi, mình muốn chèn đúng vào vị trí : Nằm trong mục TÌNH HÌNH DIỄN ĐÀN kìa chứ không phải dưới forder

kahlakhooc
12-04-2011, 10:57 AM
chèn vào temp ForumHome

Dunglx
12-04-2011, 11:28 AM
Anh vào forum home
Tìm

src="{vb:stylevar imgdir_statusicon}/forum_link-16.png" alt="{vb:rawphrase link_forum}" /></dt><dd>{vb:rawphrase link_forum}</dd>

Chèn code của anh xuống dưới nhé

vanminh
12-04-2011, 11:56 AM
Không có dòng ban

{vb:stylevar htmldoctype}
<html xmlns="http://www.w3.org/1999/xhtml"<vb:if condition="$vboptions['enablefacebookconnect']"> xmlns:fb="http://www.facebook.com/2008/fbml"</vb:if> dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html">
<head>
{vb:raw headinclude}
<title>{vb:raw vboptions.bbtitle}</title>

<vb:if condition="$vboptions['storecssasfile']">
{vb:cssfile forumhome-rollup.css}
<vb:else />
{vb:cssfile forumbits.css,forumhome.css,widgets.css,sidebar.cs s,options.css,tagcloud.css}
</vb:if>

<!--[if lt IE 8]>{vb:cssfile forumbits-ie.css,sidebar-ie.css,options-ie.css}<![endif]-->
<vb:if condition="$show['sidebar']">
<script type="text/javascript" src="{vb:stylevar yuipath}/animation/animation-min.js?v={vb:raw vboptions.simpleversion}"></script>
<script type="text/javascript">
var sidebar_align = '{vb:raw show.sidebarposition}';
var content_container_margin = parseInt('{vb:math {vb:stylevar forum_sidebar_width}+{vb:math {vb:stylevar padding}*2}}');
var sidebar_width = parseInt('{vb:stylevar forum_sidebar_width}');
</script>
<script type="text/javascript" src="{vb:raw vboptions.bburl}/clientscript/vbulletin-sidebar.js?v={vb:raw vboptions.simpleversion}"></script>
</vb:if>
{vb:raw headinclude_bottom}
</head>
<body>

{vb:raw header}

{vb:raw navbar}

<div id="pagetitle">
<h1>{vb:raw vboptions.bbtitle}</h1>
<p id="welcomemessage" class="description">{vb:rawphrase welcome_to_the_x, {vb:raw vboptions.bbtitle}}</p>
</div>

<table id="Table_01" border="0" align="center" width="926" cellspacing="0" cellpadding="0"> <tr> <td> <img src="mod3in1/top_1.gif" border="0"></td> </tr> </table> <table id="Table_02" border="0" align="center" width="926" cellspacing="0" cellpadding="0"> <tr> <td> <img src="mod3in1/top_left.gif" border="0"></td> <td width="176" height="18"><img src="http://opi.yahoo.com/online?u=minhsu.1314" alt="Online Status" border="0" /> <a href="ymsgr:sendim?minhsu.1314"> <b>minhsu</b></a></td> <td> <img src="mod3in1/top_right2.gif" border="0"></td> </tr> </table> <table id="Table_03" border="0" align="center" width="926" cellspacing="0" cellpadding="0"> <tr> <td> <img src="mod3in1/top_2.gif" border="0"></td> </tr> </table><table id="Table_04" border="0" align="center" width="926" cellspacing="0" cellpadding="0"> <tr> <td> <img src="mod3in1/left.gif" border="0"></td> <td width="241" height="190">
<iframe src="missmr.html" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" height="190" scrolling="no" width="241"></iframe>
</td> <td> <img src="mod3in1/center.gif" border="0"></td> <td width="720" height="190">
<b><a href="http://anhminh.lairspace.com/forum/showthread.php?50-Tuyển-Mod&p=68#post68"><font color="DarkOrchid">• Tuyển Mod</font></a><br><br>
<a href="Link thông báo 2"><font color="red">• Nội dung thông báo 2</font></a><br><br>
<a href="Link thông báo 3"><font color="magenta">• Nội dung thông báo 3</font></a><br><br>
<a href="Link thông báo 4"><font color="green">• Nội dung thông báo 4</font></a><br><br>
<a href="Link thông báo 5"><font color="Sienna">• Nội dung thông báo 5</font></a><br><br>
<a href="Link thông báo 6"><font color="blue">• Nội dung thông báo 6</font></a></b>
</td> <td> <img src="mod3in1/right.gif" border="0"></td>
<td width="124" height="190">
<embed src="mod3in1/playmusic.swf" allowfullscreen="true" allowscriptaccess="always" flashvars="&file=mod3in1/listmusic.xml&displayheight=0&backcolor=0xFB3C6D&frontcolor=0xFFFFFF&lightcolor=0xFFFFFF&showdigits=true&showeq=true&showfsbutton=true&autostart=false&shuffle=false&repeat=true;volume=100;width=124&amp;height=190" width="124" height="190" />
<td> <img src="mod3in1/right2.gif" border="0"></td> </tr> </table> <table id="Table_05" border="0" align="center" width="926" cellspacing="0" cellpadding="0"> <tr> <td> <img src="mod3in1/bot.gif"></td> </tr> </table><br>
{vb:raw ad_location.vietv2b_topx}
<vb:if condition="$show['sidebar']">
<div id="content_container"<vb:if condition="$show['sidebarposition'] == 'left'"> class="contentright"</vb:if>>
<div id="content">
</vb:if>
<!-- main -->
{vb:raw template_hook.forumhome_above_forums}
<ol id="forums" class="floatcontainer">
{vb:raw forumbits}
</ol>
{vb:raw template_hook.forumhome_below_forums}
<!-- /main -->

<div class="navlinksBox"><div class="navlinksBoxWrap">
<a href="forumdisplay.php?{vb:raw session.sessionurl}do=markread&amp;markreadhash={vb:ra w bbuserinfo.securitytoken}" rel="nofollow">{vb:rawphrase mark_forums_read}</a>
<vb:if condition="$vboptions['forumleaders']">|
<a href="showgroups.php{vb:raw session.sessionurl_q}" rel="nofollow">
<vb:if condition="$vb_suite_installed">
{vb:rawphrase view_site_leaders}
<vb:else />
{vb:rawphrase view_forum_leaders}
</vb:if>
</a></vb:if>
</div></div>

{vb:raw forumhome_markread_script}

{vb:raw ad_location.board_after_forums}

<!-- what's going on box -->
<!-- Start Whats Going Heading ForumThemes -->
<div class="tcat">
<div class="tcatLeft"><div class="tcatRight foruminfo L1 collapse">
<h2>
<span class="forumtitle">{vb:rawphrase whats_going_on}</span>
</h2>
</div></div>
</div>
<!-- End Whats Going Heading ForumThemes -->
<div id="wgo" class="collapse wgo_block block">
<div class="blockbody formcontrols floatcontainer">
{vb:raw template_hook.forumhome_wgo_pos1}
<vb:if condition="$show['loggedinusers']">
<!-- logged-in users -->
<div id="wgo_onlineusers" class="wgo_subblock section">
<h3 class="blocksubhead"><img src="{vb:stylevar imgdir_misc}/users_online.png" alt="{vb:rawphrase currently_active_users}" />{vb:rawphrase currently_active_users}</h3>
<div>
<p>{vb:rawphrase there_are_x_y_online_link, {vb:raw totalonline}, {vb:raw session.sessionurl}} <span class="shade">{vb:rawphrase x_members_and_y_guests, {vb:raw numberregistered}, {vb:raw numberguest}}</span></p>
<p>{vb:rawphrase most_users_ever_online_was_x_y_at_z, {vb:raw recordusers}, {vb:raw recorddate}, {vb:raw recordtime}}</p>
<vb:if condition="$activeusers">
<ol class="commalist" id="wgo_onlineusers_list">
{vb:raw activeusers}
</ol>
</vb:if>
</div>
</div>
<!-- end logged-in users -->
</vb:if>
{vb:raw template_hook.forumhome_wgo_pos2}
<vb:if condition="$show['upcomingevents']">
<div id="wgo_events" class="wgo_subblock section">
<h3 class="blocksubhead"><img src="{vb:stylevar imgdir_misc}/event.png" alt="{vb:rawphrase todays_events}" /><vb:if condition="$show['todaysevents']">{vb:rawphrase todays_events}<vb:else />{vb:rawphrase upcoming_events_for_the_next_x_days, {vb:raw vboptions.showevents}}</vb:if></h3>
<ol>
{vb:raw upcomingevents}
</ol>
</div>
</vb:if>
{vb:raw template_hook.forumhome_wgo_pos3}
<vb:if condition="$show['birthdays']">
<!-- today's birthdays -->
<div id="wgo_birthdays" class="wgo_subblock section">
<h3 class="blocksubhead"><img src="{vb:stylevar imgdir_misc}/birthday.png" alt="{vb:rawphrase todays_birthdays}" />{vb:rawphrase todays_birthdays}</h3>
<ol class="commalist">
{vb:raw birthdays}
</ol>
</div>
<!-- end today's birthdays -->
</vb:if>

{vb:raw template_hook.forumhome_wgo_pos4}
<div id="wgo_stats" class="wgo_subblock section">
<h3 class="blocksubhead"><img src="{vb:stylevar imgdir_misc}/forum_stats.png" alt="{vb:rawphrase x_statistics, {vb:raw vboptions.bbtitle}}" />{vb:rawphrase x_statistics, {vb:raw vboptions.bbtitle}}</h3>
<div>
<dl>
<dt>{vb:rawphrase threads}</dt>
<dd>{vb:raw totalthreads}</dd>
<dt>{vb:rawphrase posts}</dt>
<dd>{vb:raw totalposts}</dd>
<dt>{vb:rawphrase members}</dt>
<dd>{vb:raw numbermembers}</dd>
<vb:if condition="$show['activemembers']">
<dt>{vb:rawphrase active_members}</dt>
<dd>{vb:raw activemembers}</dd>
</vb:if>
</dl>
<p>{vb:rawphrase welcome_to_our_newest_member_x, {vb:link member, {vb:raw newuserinfo}}, {vb:raw newuserinfo.username}}</p>
{vb:raw template_hook.forumhome_wgo_stats}
</div>
</div>
{vb:raw template_hook.forumhome_wgo_pos5}
</div>
</div>
<div class="bottomBar"><div class="bottomBarLeft"><div class="bottomBarRight">&nbsp;</div></div></div>
<!-- end what's going on box -->

{vb:raw ad_location.board_below_whats_going_on}
<vb:if condition="$show['sidebar']">
</div>
</div>
<div id="sidebar_home">
<div id="sidebar_container"<vb:if condition="$show['sidebarposition'] == 'left'"> class="sidebarleft"</vb:if>>
<a id="sidebar_button_link" href="#">
<vb:if condition="$show['sidebarposition'] == 'left'">
<img id="sidebar_button" src="{vb:stylevar imgdir_misc}/tab-collapsed-left.png" alt="" />
<vb:else />
<img id="sidebar_button" src="{vb:stylevar imgdir_misc}/tab-collapsed.png" alt="" />
</vb:if>
</a>
<ul id="sidebar">
{vb:raw sidebar}
</ul>
</div>
</div>
</vb:if>

{vb:raw footer}

</body>
</html>

Dunglx
12-04-2011, 12:08 PM
Anh thay thế toàn bộ bằng cái này cho em nhé

Tahy liên kết link vào dongc hữ màu đỏ ạ
Nếu không được cho em cai link demo


{vb:stylevar htmldoctype}
<html xmlns="http://www.w3.org/1999/xhtml"<vb:if condition="$vboptions['enablefacebookconnect']"> xmlns:fb="http://www.facebook.com/2008/fbml"</vb:if> dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html">
<head>
{vb:raw headinclude}
<title>{vb:raw vboptions.bbtitle}</title>

<vb:if condition="$vboptions['storecssasfile']">
{vb:cssfile forumhome-rollup.css}
<vb:else />
{vb:cssfile forumbits.css,forumhome.css,widgets.css,sidebar.cs s,options.css,tagcloud.css}
</vb:if>

<!--[if lt IE 8]>{vb:cssfile forumbits-ie.css,sidebar-ie.css,options-ie.css}<![endif]-->
<vb:if condition="$show['sidebar']">
<script type="text/javascript" src="{vb:stylevar yuipath}/animation/animation-min.js?v={vb:raw vboptions.simpleversion}"></script>
<script type="text/javascript">
var sidebar_align = '{vb:raw show.sidebarposition}';
var content_container_margin = parseInt('{vb:math {vb:stylevar forum_sidebar_width}+{vb:math {vb:stylevar padding}*2}}');
var sidebar_width = parseInt('{vb:stylevar forum_sidebar_width}');
</script>
<script type="text/javascript" src="{vb:raw vboptions.bburl}/clientscript/vbulletin-sidebar.js?v={vb:raw vboptions.simpleversion}"></script>
</vb:if>
{vb:raw headinclude_bottom}
</head>
<body>

{vb:raw header}

{vb:raw navbar}

<div id="pagetitle">
<h1>{vb:raw vboptions.bbtitle}</h1>
<p id="welcomemessage" class="description">{vb:rawphrase welcome_to_the_x, {vb:raw vboptions.bbtitle}}</p>
</div>

<table id="Table_01" border="0" align="center" width="926" cellspacing="0" cellpadding="0"> <tr> <td> <img src="mod3in1/top_1.gif" border="0"></td> </tr> </table> <table id="Table_02" border="0" align="center" width="926" cellspacing="0" cellpadding="0"> <tr> <td> <img src="mod3in1/top_left.gif" border="0"></td> <td width="176" height="18"><img src="http://opi.yahoo.com/online?u=minhsu.1314" alt="Online Status" border="0" /> <a href="ymsgr:sendim?minhsu.1314"> <b>minhsu</b></a></td> <td> <img src="mod3in1/top_right2.gif" border="0"></td> </tr> </table> <table id="Table_03" border="0" align="center" width="926" cellspacing="0" cellpadding="0"> <tr> <td> <img src="mod3in1/top_2.gif" border="0"></td> </tr> </table><table id="Table_04" border="0" align="center" width="926" cellspacing="0" cellpadding="0"> <tr> <td> <img src="mod3in1/left.gif" border="0"></td> <td width="241" height="190">
<iframe src="missmr.html" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" height="190" scrolling="no" width="241"></iframe>
</td> <td> <img src="mod3in1/center.gif" border="0"></td> <td width="720" height="190">
<b><a href="http://anhminh.lairspace.com/forum/showthread.php?50-Tuyển-Mod&p=68#post68"><font color="DarkOrchid">• Tuyển Mod</font></a><br><br>
<a href="Link thông báo 2"><font color="red">• Nội dung thông báo 2</font></a><br><br>
<a href="Link thông báo 3"><font color="magenta">• Nội dung thông báo 3</font></a><br><br>
<a href="Link thông báo 4"><font color="green">• Nội dung thông báo 4</font></a><br><br>
<a href="Link thông báo 5"><font color="Sienna">• Nội dung thông báo 5</font></a><br><br>
<a href="Link thông báo 6"><font color="blue">• Nội dung thông báo 6</font></a></b>
</td> <td> <img src="mod3in1/right.gif" border="0"></td>
<td width="124" height="190">
<embed src="mod3in1/playmusic.swf" allowfullscreen="true" allowscriptaccess="always" flashvars="&file=mod3in1/listmusic.xml&displayheight=0&backcolor=0xFB3C6D&frontcolor=0xFFFFFF&lightcolor=0xFFFFFF&showdigits=true&showeq=true&showfsbutton=true&autostart=false&shuffle=false&repeat=true;volume=100;width=124&amp;height=190" width="124" height="190" />
<td> <img src="mod3in1/right2.gif" border="0"></td> </tr> </table> <table id="Table_05" border="0" align="center" width="926" cellspacing="0" cellpadding="0"> <tr> <td> <img src="mod3in1/bot.gif"></td> </tr> </table><br>
{vb:raw ad_location.vietv2b_topx}
<vb:if condition="$show['sidebar']">
<div id="content_container"<vb:if condition="$show['sidebarposition'] == 'left'"> class="contentright"</vb:if>>
<div id="content">
</vb:if>
<!-- main -->
{vb:raw template_hook.forumhome_above_forums}
<ol id="forums" class="floatcontainer">
{vb:raw forumbits}
</ol>
{vb:raw template_hook.forumhome_below_forums}
<!-- /main -->

<div class="navlinksBox"><div class="navlinksBoxWrap">
<a href="forumdisplay.php?{vb:raw session.sessionurl}do=markread&amp;markreadhash={vb:ra w bbuserinfo.securitytoken}" rel="nofollow">{vb:rawphrase mark_forums_read}</a>
<vb:if condition="$vboptions['forumleaders']">|
<a href="showgroups.php{vb:raw session.sessionurl_q}" rel="nofollow">
<vb:if condition="$vb_suite_installed">
{vb:rawphrase view_site_leaders}
<vb:else />
{vb:rawphrase view_forum_leaders}
</vb:if>
</a></vb:if>
</div></div>

{vb:raw forumhome_markread_script}

{vb:raw ad_location.board_after_forums}

<!-- what's going on box -->
<!-- Start Whats Going Heading ForumThemes -->
<div class="tcat">
<div class="tcatLeft"><div class="tcatRight foruminfo L1 collapse">
<h2>
<span class="forumtitle">{vb:rawphrase whats_going_on}</span>
</h2>
</div></div>
</div>
<!-- End Whats Going Heading ForumThemes -->
<div id="wgo" class="collapse wgo_block block">
<div class="blockbody formcontrols floatcontainer">
{vb:raw template_hook.forumhome_wgo_pos1}
<vb:if condition="$show['loggedinusers']">
<!-- logged-in users -->
<div id="wgo_onlineusers" class="wgo_subblock section">
<h3 class="blocksubhead"><img src="{vb:stylevar imgdir_misc}/users_online.png" alt="{vb:rawphrase currently_active_users}" />{vb:rawphrase currently_active_users}</h3>
<div>
<p>{vb:rawphrase there_are_x_y_online_link, {vb:raw totalonline}, {vb:raw session.sessionurl}} <span class="shade">{vb:rawphrase x_members_and_y_guests, {vb:raw numberregistered}, {vb:raw numberguest}}</span></p>
<p>{vb:rawphrase most_users_ever_online_was_x_y_at_z, {vb:raw recordusers}, {vb:raw recorddate}, {vb:raw recordtime}}</p>
<vb:if condition="$activeusers">
<ol class="commalist" id="wgo_onlineusers_list">
{vb:raw activeusers}
</ol>
</vb:if>
</div>
</div>
<!-- end logged-in users -->
</vb:if>
{vb:raw template_hook.forumhome_wgo_pos2}
<vb:if condition="$show['upcomingevents']">
<div id="wgo_events" class="wgo_subblock section">
<h3 class="blocksubhead"><img src="{vb:stylevar imgdir_misc}/event.png" alt="{vb:rawphrase todays_events}" /><vb:if condition="$show['todaysevents']">{vb:rawphrase todays_events}<vb:else />{vb:rawphrase upcoming_events_for_the_next_x_days, {vb:raw vboptions.showevents}}</vb:if></h3>
<ol>
{vb:raw upcomingevents}
</ol>
</div>
</vb:if>
{vb:raw template_hook.forumhome_wgo_pos3}
<vb:if condition="$show['birthdays']">
<!-- today's birthdays -->
<div id="wgo_birthdays" class="wgo_subblock section">
<h3 class="blocksubhead"><img src="{vb:stylevar imgdir_misc}/birthday.png" alt="{vb:rawphrase todays_birthdays}" />{vb:rawphrase todays_birthdays}</h3>
<ol class="commalist">
{vb:raw birthdays}
</ol>
</div>
<!-- end today's birthdays -->
</vb:if>

{vb:raw template_hook.forumhome_wgo_pos4}
<div id="wgo_stats" class="wgo_subblock section">
<h3 class="blocksubhead"><img src="{vb:stylevar imgdir_misc}/forum_stats.png" alt="{vb:rawphrase x_statistics, {vb:raw vboptions.bbtitle}}" />{vb:rawphrase x_statistics, {vb:raw vboptions.bbtitle}}</h3>
<div>
<dl>
<dt>{vb:rawphrase threads}</dt>
<dd>{vb:raw totalthreads}</dd>
<dt>{vb:rawphrase posts}</dt>
<dd>{vb:raw totalposts}</dd>
<dt>{vb:rawphrase members}</dt>
<dd>{vb:raw numbermembers}</dd>
<vb:if condition="$show['activemembers']">
<dt>{vb:rawphrase active_members}</dt>
<dd>{vb:raw activemembers}</dd>
</vb:if>
</dl>
<p>{vb:rawphrase welcome_to_our_newest_member_x, {vb:link member, {vb:raw newuserinfo}}, {vb:raw newuserinfo.username}}</p>
{vb:raw template_hook.forumhome_wgo_stats}
</div>
</div>
{vb:raw template_hook.forumhome_wgo_pos5}
</div>
</div>
<div class="bottomBar"><div class="bottomBarLeft"><div class="bottomBarRight">&nbsp;</div></div></div>
code liên kết link
<!-- end what's going on box -->

{vb:raw ad_location.board_below_whats_going_on}
<vb:if condition="$show['sidebar']">
</div>
</div>
<div id="sidebar_home">
<div id="sidebar_container"<vb:if condition="$show['sidebarposition'] == 'left'"> class="sidebarleft"</vb:if>>
<a id="sidebar_button_link" href="#">
<vb:if condition="$show['sidebarposition'] == 'left'">
<img id="sidebar_button" src="{vb:stylevar imgdir_misc}/tab-collapsed-left.png" alt="" />
<vb:else />
<img id="sidebar_button" src="{vb:stylevar imgdir_misc}/tab-collapsed.png" alt="" />
</vb:if>
</a>
<ul id="sidebar">
{vb:raw sidebar}
</ul>
</div>
</div>
</vb:if>

{vb:raw footer}

</body>
</html>

vanminh
12-04-2011, 02:20 PM
Demo của sinhvienit: cái mà mình cần
http://cB5.upanh.com/21.155.28097884.5Bl0/m3.jpg
đúng là trong FORUMHOME nhưng ở vị trí nào, chứ không phải </div>

<div class="bottomBar"><div class="bottomBarLeft"><div class="bottomBarRight">&nbsp;</div></div></div>
code liên kết link
<!-- end what's going on box -->

s0ct0j0c
12-04-2011, 02:47 PM
Nếu xài logo hay flash thì thầy xài Advertising cho tiền có cái Above Footer đó ngon lành dễ xơi :MatCuoi (40):

Dunglx
12-04-2011, 04:28 PM
Cái này bác chịu khó thay vài chỗ cho hợp ý mình sai lại xóa đi chèn vô một chỗ khác

Tiểu Bá Vương 1404
12-04-2011, 08:13 PM
Demo của sinhvienit: cái mà mình cần...
Cái temp này là vBB 3.x, chèn vào vB 4 chưa biết lỗi sao, thầy nên dùng mod thì hay hơn, thầy lấy mod này : http://www.mediafire.com/?vdn8qtqzx7kh5vq

P.S : Cái temp của thầy là temp đã qua thay đổi của style, style mặc định mới có đoạn đó !