介紹:會員可連結 Flash Logo 作為個人圖示\r
DEMO: http://www.animestationun.com/phpbbhk/viewtopic.php?t=2
代碼: 選擇全部
#################################################################
##
## MOD: Flash Avatar in phpBB
## Version: 1.0
## Author: Davin Wu <webmaster@animestationun.com>
## Description: Members can link their flash logo into phpBB as their Avatar
## Only tested with phpBB 2.0.1 - 2.0.2 - 2.0.3 / phpBB-HK
##
#################################################################
##
## Edit Files: viewtopic.php
## admin/admin_users.php
## includes/usercp_register.php
## includes/usercp_viewprofile.php
##
#################################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
#################################################################
##
## Revision History:
##
## v1.0.0
## - Initial Release
##
#################################################################
##
## Author Note:
##
## The Flash Avatar Feature was an idea from Miniforum (www.miniforum.f4w.net)
##
## You should change all your templates and language pack
##
## This MOD is Copyright ?Davin Wu, 2002
##
## (Any changes to this MOD must retain my Copyright Notice)
##
#################################################################
#
#------[open]------------------------------------------------------------
#
viewtopic.php
#
#------[find]-------------------------------------------------------------
#
case USER_AVATAR_REMOTE
#
#------[find]-------------------------------------------------------------
#
<img src="' . $postrow[$i]['user_avatar'] . '" alt="" border="0" />
#
#------[replace]-------------------------------------------------------------
#
<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" WIDTH="140" HEIGHT="140"
><PARAM NAME="MOVIE" VALUE="' . $postrow[$i]['user_avatar'] . '"><PARAM NAME="PLAY" VALUE
="TRUE"><PARAM NAME="LOOP" VALUE="TRUE"><PARAM NAME="QUALITY" VALUE="HIGH"><EMBED
SRC="' . $postrow[$i]['user_avatar'] . '" WIDTH="140" HEIGHT="140" PLAY="TRUE" LOOP="TRUE"
QUALITY="HIGH"></EMBED></OBJECT>
#
#------[close and save]-------------------------------------------------------------
#
#
#------[open]-------------------------------------------------------------
#
admin/admin_users.php
#
#------[find]-------------------------------------------------------------
#
case USER_AVATAR_REMOTE
#
#------[find]-------------------------------------------------------------
#
<img src="' . $user_avatar . '" alt="" />
#
#------[replace]-------------------------------------------------------------
#
<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" WIDTH="140" HEIGHT="140"
><PARAM NAME="MOVIE" VALUE="' . $user_avatar . '"><PARAM NAME="PLAY" VALUE="TRUE"
><PARAM NAME="LOOP" VALUE="TRUE"><PARAM NAME="QUALITY" VALUE="HIGH"><EMBED SRC="' .
$user_avatar . '" WIDTH="140" HEIGHT="140" PLAY="TRUE" LOOP="TRUE" QUALITY="HIGH"></
EMBED></OBJECT>
#
#------[close and save]-------------------------------------------------------------
#
#
#------[open]-------------------------------------------------------------
#
includes/usercp_register.php
#
#------[find]-------------------------------------------------------------
#
case USER_AVATAR_REMOTE
#
#------[find]-------------------------------------------------------------
#
<img src="' . $user_avatar . '" alt="" />
#
#------[replace]-------------------------------------------------------------
#
<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" WIDTH="140" HEIGHT="140"
><PARAM NAME="MOVIE" VALUE="' . $user_avatar . '"><PARAM NAME="PLAY" VALUE="TRUE"
><PARAM NAME="LOOP" VALUE="TRUE"><PARAM NAME="QUALITY" VALUE="HIGH"><EMBED SRC="' .
$user_avatar . '" WIDTH="140" HEIGHT="140" PLAY="TRUE" LOOP="TRUE" QUALITY="HIGH"></
EMBED></OBJECT>
#
#------[close and save]-------------------------------------------------------------
#
#
#------[open]-------------------------------------------------------------
#
includes/usercp_viewprofile.php
#
#------[find]-------------------------------------------------------------
#
case USER_AVATAR_REMOTE
#
#------[find]-------------------------------------------------------------
#
<img src="' . $profiledata['user_avatar'] . '" alt="" border="0" />
#
#------[replace]-------------------------------------------------------------
#
<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" WIDTH="140" HEIGHT="140"
><PARAM NAME="MOVIE" VALUE="' . $profiledata['user_avatar'] . '"><PARAM NAME="PLAY" VALUE
="TRUE"><PARAM NAME="LOOP" VALUE="TRUE"><PARAM NAME="QUALITY" VALUE="HIGH"><EMBED
SRC="' . $profiledata['user_avatar'] . '" WIDTH="140" HEIGHT="140" PLAY="TRUE" LOOP="TRUE"
QUALITY="HIGH"></EMBED></OBJECT>
#
#------[close and save]-------------------------------------------------------------
#
#
#------[Notes]-------------------------------------------------------------
#
In this MOD, members can link their flash logo as their avatar, but all flash logo's size are locked in 140 x 140. If you want to change the size, just change the value of "WIDTH" and "HEIGHT".(But don't be too large!)
#
#------[EOM]-------------------------------------------------------------
#