[ all ] [ a / b / c / f / h / jp / l / o / q / s / sw / lounge ] [ cgi ] [ up ] [ wiki ]
[Home] [Catalog] [Search] [RSS feed] [Inbox] [Write PM] [Admin]
[Return]
Posting mode: Reply
[]
(for deletion, 8 chars max)
  • Allowed file types are: GIF, JPG, JPEG, PNG, BMP, SWF, WEBM, MP4
  • Maximum file size allowed is 50000 KB.
  • Images greater than 200 * 200 pixels will be thumbnailed.

  • Switch Form Position | BBCode Reference
  • Read the rules before you post.
  • Protect your username, use a tripcode!
  • 日本のへゆり
    boku

  • 2024/09/12 - NEW GAME: Battle Royale R! Make characters and see if they can win the Heyuri Cup!
  • 2024/09/10 - Tegaki function has been added
  • 2024/06/19 - File size limits have been increased
  • 2024/06/11 - Overboard@Heyuri is back after 4 years
  • [Show All]


File: crying_cirno.png
(510 KB, 720x1280) [ImgOps]
510 KB
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 tongue

Marked for deletion (Old)
>>
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 rolleyes
>>
>>62558
but how does heyuri display these files? is it through something outside of kokonotsuba or something?
>>
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
>>
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 biggrin
>>
>>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 tongue
>>
>>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 nyaoo


Delete Post: []
Password:
First[0] Last