PDA

查看完整版本 : 如何增加本站下方的ImageShack功能


kevin
2006-03-16, 10:11 AM
請教哈啦, 本站下方的ImageShack功能, 要如何才能加入VBB中呢?

我知道是在後端控制台的footer中新增程式碼, 但程式碼是直接去ImageShack申請嗎?
感謝回答!!~happyguy

kevin
2006-03-16, 10:23 AM
哈~ 我找到囉~

在這裡申請加入: http://reg.imageshack.us/content.php?page=syndicate

哈啦
2006-03-16, 10:26 AM
對,正要回覆你:D

那裡有適合以下四種的碼:
phpBB
vBulletin
Invision Power Board 2.0.x
Simple Machines

kevin
2006-03-16, 10:32 AM
再請問哈啦,

本站的Imageshack上傳區, 外面的框框, 是直接用html 中的 table 語法做出來的嗎

哈啦
2006-03-16, 02:39 PM
再請問哈啦,

本站的Imageshack上傳區, 外面的框框, 是直接用html 中的 table 語法做出來的嗎


這是我放在footer的原始檔,你可以參考看看:D 。
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><fieldset class="fieldset"><legend>免費上傳圖檔至ImageShack</legend>
<div style="padding:$stylevar[formspacer]px">
<iframe src="http://imageshack.us/iframe.php?txtcolor=111111" scrolling="no" allowtransparency="true" frameborder="0" width="352" height="90"> You must
have an iframe-compatable browser to view the ImageShack.us upload form.</iframe></div></fieldset>

</td>
</tr>
<tr>
<td><!-- Search Google -->
<center>
<form method="get" action="http://www.google.com/custom" target="google_window">
<table bgcolor="#ffffff">
<tr><td nowrap="nowrap" valign="top" align="left" height="32">

<input type="text" name="q" size="30" maxlength="255" value=""></input>
<input type="submit" name="sa" value="Google 搜索"></input>
<input type="hidden" name="client" value="pub-5580347579080858"></input>
<input type="hidden" name="forid" value="1"></input>
<input type="hidden" name="ie" value="UTF-8"></input>
<input type="hidden" name="oe" value="UTF-8"></input>
<input type="hidden" name="cof" value="GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;FORID:1;"></input>
<input type="hidden" name="hl" value="zh-CN"></input>
</td></tr></table>
</form>
</center>
<!-- Search Google -->
</td>
</tr>
</table>
</center>
</div>
<p align="center"> 
<div class="smallfont" align="center">$vbphrase[all_times_are_gmt_x_time_now_is_y]</div>
<br />

$spacer_close
<!-- /content area table -->

<form action="$vboptions[forumhome].php" method="get">

<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="$stylevar[outertablewidth]" class="page" align="center">
<tr>
<if condition="$show['quickchooser']">
<td class="tfoot">
<select name="styleid" onchange="switch_id(this, 'style')">
<optgroup label="$vbphrase[quick_style_chooser]">
$quickchooserbits
</optgroup>
</select>
</td>
</if>
<if condition="$show['languagechooser']">
<td class="tfoot">
<select name="langid" onchange="switch_id(this, 'lang')">
<optgroup label="$vbphrase[quick_language_chooser]">
$languagechooserbits
</optgroup>
</select>
</td>
</if>
<td class="tfoot" align="$stylevar[right]" width="100%">
<div class="smallfont">
<strong>
<if condition="$show['contactus']"><a href="$vboptions[contactuslink]" rel="nofollow">$vbphrase[contact_us]</a> -</if>
<a href="$vboptions[homeurl]">$vboptions[hometitle]</a> -
<if condition="$show['admincplink']"><a href="$admincpdir/index.php$session[sessionurl_q]">$vbphrase[admin]</a> -</if>
<if condition="$show['modcplink']"><a href="$modcpdir/index.php$session[sessionurl_q]">$vbphrase[mod]</a> -</if>
<if condition="$vboptions['archiveenabled']"><a href="archive/index.php">$vbphrase[archive]</a> -</if>
<if condition="$vboptions[privacyurl]"><a href="$vboptions[privacyurl]">$vbphrase[privacy_statement]</a> -</if>
<a href="#top" onclick="self.scrollTo(0, 0); return false;">$vbphrase[top]</a>
</strong>
</div>
</td>
</tr>
</table>

<br />

<div align="center">
<div class="smallfont" align="center">
<!-- Do not remove this copyright notice -->
$vbphrase[powered_by_vbulletin]
<!-- Do not remove this copyright notice -->
</div>

<div class="smallfont" align="center">
<!-- Do not remove $cronimage or your scheduled tasks will cease to function -->
$cronimage
<!-- Do not remove $cronimage or your scheduled tasks will cease to function -->

$vboptions[copyrighttext]
</div>
</div>

</form>

<if condition="$show['dst_correction']">
<!-- auto DST correction code -->
<form action="profile.php" method="post" name="dstform">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="dst" />
</form>
<script type="text/javascript">
<!--
var tzOffset = $bbuserinfo[timezoneoffset] + $bbuserinfo[dstonoff];
var utcOffset = new Date().getTimezoneOffset() / 60;
if (Math.abs(tzOffset + utcOffset) == 1)
{ // Dst offset is 1 so its changed
document.forms.dstform.submit();
}
//-->
</script>
<!-- / auto DST correction code -->

</if>
<script type="text/javascript">
<!--
// Main vBulletin Javascript Initialization
vBulletin_init();
//-->
</script>

kevin
2006-03-16, 11:50 PM
感謝哈啦大方的提供出來, 那我就不客氣的拿來用囉~ :embarasse

哈啦
2006-03-17, 06:41 AM
感謝哈啦大方的提供出來, 那我就不客氣的拿來用囉~ :embarasse


忘了說,下方的google搜尋本身有我的客戶碼,如果你有去申請自己的google adsense for search (http://www.webmasterclub.org/showthread.php?t=175)的話,就換成你的碼,或者你把它直接拿掉也行。
當然你直接放著幫我賺點廣告費我也不反對啦:greenwink :D