Mod bulite onyonyo maka phpBB
Mod a na-agbakwunye ngwá ọrụ iji bulite ma tinye onyonyo n’ọkwa ngwa ngwa. A na-ebudata onyonyo na weebụsaịtị anyị, yabụ enweghị ihe ị ga-echegbu onwe gị gbasara ohere diski ma ọ bụ nhazi sava weebụ. Mgbe a bulitere onyonyo site na bọtịnụ mod a, a na-emepụta BBCode maka obere onyonyo na njikọ gaa na onyonyo mbụ na-akpaghị aka ma tinye ya n’ọkwa.
Ntuziaka nkwụnye
Budata mgbakwunye si weebụsaịtị phpBB
Wepu faịlụ zip e budatara n’ime ngalaba
./ext/
nke wụnye phpBB gị.
Nwụnye agwụla. Ugbu a i nwere ike iji Postimage na weebụsaịtị gị:

- Mepee faịlụ iji dezie:
orstyles/subsilver2/template/overall_header.html
styles/prosilver/template/overall_header.html
-
Chọta ahịrị nke nwere nke a:
</title>
-
Tinye akara a na ahịrị ọhụrụ efu mgbe ahịrị gara aga ị hụrụ.
<script type="text/javascript" src="//mod.postimage.org/phpbb3.js" charset="utf-8"></script>
Nwụnye agwụla. Ugbu a i nwere ike iji Postimage na weebụsaịtị gị:

- Mepee faịlụ iji dezie:
./includes/template.php
-
Chọta akara 265. Ọ ga-adị ka nke a:
$str = implode("", @file($filename));
-
Tinye koodu ndị a mgbe akara ahụ gasịrị:
$str=str_replace("</head>","<script type='text/javascript' src='//mod.postimage.org/phpbb2.js' charset='utf-8'></script>\n</head>",$str);
Nhọrọ
Ụdị niile nke plugins saịtị PostImage na-akwado ọtụtụ nhọrọ iji hazie ahụmịhe onye ọrụ. Usoro kachasị mfe iji tọọ nhọrọ bụ ikwupụta ya na adreesị nke plugin. A na-ekewa nhọrọ site na dashes ma nwee ike ikwupụta ha n’usoro ọ bụla. Dịka atụ, iji gbanwee plugin phpBB gaa German ma kpọọ ka onyonyo niile e bulitere site na saịtị bụrụ nke echekwabara ezinụlọ, ị nwere ike bulata plugin site n’idezi ahịrị kwekọrọ ka ọ bụrụ nke a:
<script type="text/javascript" src="//mod.postimage.org/phpbb3-de-hotlink.js" charset="utf-8"></script>
Nha nlele
thumb
(default) Jiri nlele pere mpe (ruo180x180px
na nha).hotlink
Jiri nlele buru ibu (ruo1280px
piksel obosara).
Asụsụ
A pụrụ igosipụta ederede bọtịnụ Postimage n’asụsụ ndị a kwadoro. Ị nwere ike iji aha asụsụ ọ bụla n’ime ndị a dịka nhọrọ.
af
az
bs
ca
cy
da
de
et
en
(default) es
es-mx
eu
fil
fr
ha
hr
ig
id
it
sw
ku
lv
lt
hu
ms
nl
no
uz
pl
pt
pt-br
ro
sk
sl
sr-me
fi
sv
tl
vi
tk
tr
yo
is
cs
el
bg
mk
mn
ru
sr
uk
kk
hy
he
ur
ar
fa
ps
ckb
ne
mr
hi
bn
pa
gu
ta
te
th
my
ka
am
zh-cn
zh-hk
ja
ko
Ọkachamara
Ị nwere ike hazie nhọrọ dịka ọdịdị bọtịnụ PostImage site n’itinye ọrụ postimage_customize()
n’ihe ederede JavaScript gị before oku ngwa mgbakwunye PostImage. Ọrụ ahụ kwesịrị ịdị ka e gosiri n’okpuru: e nwere ihe atọ ga-etinye na ụdị icon, njikọ, na akpa. Ị nwere ike itinye ihe onwunwe CSS ọ bụla ịchọrọ.
<script type="text/javascript" charset="utf-8">
function postimage_customize() {
if (typeof postimage === "undefined") {
return;
}
postimage.style = postimage.style || {};
postimage.style.link = {"color": "#3a80ea", "vertical-align": "middle", "font-size": "1em"};
postimage.style.icon = { "vertical-align": "middle", "margin-right": "0.5em", "margin-left": "0.5em"};
postimage.style.container = {"margin-bottom": "0.5em", "margin-top": "0.5em"};
/* Add more customizations here as needed */
}
</script>
Ọ bụrụ na ịchọghị ịgbanwe uru ndabara mana ịchọrọ imezi ma ọ bụ tinye nhọrọ style kpọmkwem, ọrụ gị kwesịrị ịdị ka nke a:<script type="text/javascript" charset="utf-8">
function postimage_customize() {
if (typeof postimage === "undefined") {
return;
}
postimage.style = postimage.style || {};
/* Specify different options for the same style separately */
postimage.style.link["color"] = "green";
postimage.style.link["text-decoration"] = "none";
postimage.style.icon["border"] = "1px solid black";
postimage.style.container["padding"] = "2px";
/* Add more customizations here as needed */
}
</script>
Nkwado
Biko kpọtụrụ anyị ma ọ bụrụ na ị nwere nsogbu ma ọ bụ ajụjụ ọ bụla. Anyị ọbụna nwere ike inyere gị aka jikọta weebụsaịtị gị na anyị n’efu!