all
a
/
b
/
c
/
f
/
h
/
j
/
jp
/
l
/
o
/
q
/
s
/
sw
/
lounge
cgi
up
wiki
Heyuri!
Bulletin Boards
2D Cute
2D Ero
2D Lolikon
3D Girls
Anime/Manga
Flash
Girl Talk
日本語/Japan
Lounge
Oekaki
Off-Topic
Site Discussion
Strange World
Overboard
Heyuri★CGI
Heyuri★CGI
@PartyII
Battle Royale R
Chat
Chinsouki★
Dating
DevChat
Drama Club
Hakoniwa Islands PvE
Hakoniwa Islands PvP
Polls
Slime Breeder
Web Banana
Web Shiritori
Yumemiru Gambler
Kakiko Checker
Other
Anime Nominations
Banners
Cytube
Heyuri Calendar
Heyuri Wiki
MAL Club
Museum
Steam Group
Uploader
[
Settings
]
[
Home
] [
Contact
] [
Catalog
] [
Search
] [
Thread list
] [
Stats
] [
Reports
] [
Watcher
] [
PMs
] [
Banners
] [
Admin
]
Submit board banners here.
Site Discussion@Heyuri
it's the place to be!
[
Return
] [
Bottom
]
Posting mode: Reply
Name
E-mail
sage
noko
dump
Subject
Post
Comment
Tegaki
Emotes
Kaomoji
ヽ(´ー`)ノ
(;´Д`)
ヽ(´∇`)ノ
(´人`)
(^Д^)
(´ー`)
( ´,_ゝ`)
(´~`)
(;゚Д゚)
(;゚∀゚)
┐(゚~゚)┌
ヽ(`Д´)ノ
( ´ω`)
(゚ー`)
(・∀・)
(⌒∇⌒ゞ)
(゚血゚#)
(゚ー゚)
(´¬`)
(´π`)
ヽ(゚ρ゚)ノ
Σ(;゚Д゚)
Σ(゚д゚|||)
キタ━━━(・∀・)━━━!!
(*゚∀゚)
( ̄ー ̄)
\(^o^)/
(´・ω・`)
(σ・∀・)σ
(*^ー゚)b
(-_-)
(=゚ω゚)ノ
(・A・)
( ´∀`)つ
(@^▽^)/
Emoji
BBCode
B
I
U
S
Spoiler
Quote
Scroll
Code
C
o
l
o
r
Size
ASCII
File
Animated image
Password
(for deletion)
Allowed file types are: gif, jpg, jpeg, png, bmp, webp, swf, webm, mp4
Maximum file size allowed is 50000 KB.
Images greater than 200 * 200 pixels will be thumbnailed.
12
unique users in the last 10 minutes (including lurkers)
Switch form position
|
BBCode reference
|
Banned?
|
Quick reply
|
Post API
Read the
rules
before you post.
Protect your username, use a
tripcode!
日本のへゆり
2026-09-23
-
*´Д`) < i'm gay, i admit it!)
2026-08-14
-
meow
2026-08-13
-
Kaotype, kaomoji at your fingertips
2026-08-10
-
Hot OL x Peanut Butter Cracker
[
Show all
]
Want your banner here? Click here to submit yours!
File:
crying_cirno.png
[Animated PNG]
(510 KB, 720x1280)
[
ImgOps
]
ImgOps
Hide image
▶
How are .tpl files loaded in Heyuri?
Anonymous
2023/01/17(Tue)17:01 ID:srQ2pqMc
No.
62557
[
Edit
]
[
Report
]
AS
[
Edit
] [
Report
]
▶
I've been wanting to contribute to the template files, but I have no ideas which file is loading them in, therefore I am unable to add anything to the variables that are used in their files.
Don't know how else I'd contact Kaguya or whatever so I'm makin a post
>>
1
kaguya ## Admin
2023/01/17(Tue)17:08 ID:ADMIN
No.
62558
[
Edit
]
[
Report
]
[
Edit
] [
Report
]
▶
There are these two lines at config.php:
define("TEMPLATE_FILE", 'kokoimg.tpl'); // Template File
define("REPLY_TEMPLATE_FILE", 'kokoimgreply.tpl'); // Reply page template file
This is all I know
>>
2
Anonymous
2023/01/17(Tue)17:10 ID:srQ2pqMc
No.
62559
[
Edit
]
[
Report
]
[
Edit
] [
Report
]
▶
>>62558
but how does heyuri display these files? is it through something outside of kokonotsuba or something?
>>
3
kaguya ## Admin
2023/01/17(Tue)17:24 ID:ADMIN
No.
62560
[
Edit
]
[
Report
]
[
Edit
] [
Report
]
▶
I am not a programmer but it's not something via outside of kokonotsuba, I think it should just werk. There were some users who could set up their instances without any issues with tpl files
>>
4
Anonymous
2023/01/17(Tue)20:38 ID:mq3gCj4A
No.
62562
[
Edit
]
[
Report
]
[
Edit
] [
Report
]
▶
variables seem to be loaded through the ParseBlock method in the PTELibrary class. you should be able to just modify the arrays that get passed to the method in koko.php if you want to add variables
>>
5
Anonymous
2023/01/18(Wed)06:31 ID:B1hkW1zU
No.
62565
[
Edit
]
[
Report
]
[
Edit
] [
Report
]
▶
>>62562
Thanks! Although it seems like there are some variables that aren't defined in either koko nor PTELibrary, which is a bit weird but I should just search further
>>
6
Anonymous
2023/01/18(Wed)07:23 ID:mq3gCj4A
No.
62566
[
Edit
]
[
Report
]
[
Edit
] [
Report
]
▶
>>62565
the others are probably from lib_common.php and the optional modules, just do a regex search for '\{\$.+\}' and it should come up with all of the template variable definitions
Want your banner here? Click here to submit yours!
[
Top
]
Delete post: [
File only
]
Password:
First
[1]
Last
Style: