• Styling The Web Interface

    From Night Stalker@21:1/178 to All on Tue Feb 19 08:40:07 2019
    web pages .. I know html fairly well.. when the web first became big, I
    used to use notepad to create my html pages .. but all that is in the
    default page is a header .. and index.tpl does not process html tags ..



    --- MagickaBBS v0.12alpha (Linux/x86_64)
    * Origin: Internal Dimension [idbbs.dlinkddns.com:2023] (21:1/178)
  • From toofargone@21:4/132 to Night Stalker on Wed Feb 20 16:43:11 2019
    Ok.. call me stupid .. why cant I figure out how to change the default web pages .. I know html fairly well.. when the web first became big, I used to use notepad to create my html pages .. but all that is in the default page is a header .. and index.tpl does not process html tags ..

    The Magicka www service is a bit funny. It's hard coded into the server
    itself (for the index page) to use header.tpl, footer.tpl and index.tpl.

    Basically index.tpl behaves as the <body></body> content.

    So just edit index.tpl as if you were editing code between <body> and
    </body> and Magicka will slap on the header and footer and you're good to
    go.

    It generates the blog, emails, msg conferences and file bases
    automatically so you can't actually customize those from what I can see.

    I don't think you could use Magicka to host your own personal website.

    If you wanted further customization you should probably run apache/nginx
    on a standard 80 / 8080 port and run Magicka on something different and
    link to it from the main webserver.



    toofargone .:[fusion]:.
    telnet: telnet.fusionbbs.online:23
    ssh: telnet.fusionbbs.online:2222

    --- MagickaBBS v0.12alpha (Linux/x86_64)
    * Origin: Fusion BBS (21:4/132)
  • From apam@21:1/125 to toofargone on Wed Feb 20 17:51:06 2019
    Ok.. call me stupid .. why cant I figure out how to change the de
    web pages .. I know html fairly well.. when the web first became
    used to use notepad to create my html pages .. but all that is in default page is a header .. and index.tpl does not process html ta

    The Magicka www service is a bit funny. It's hard coded into the
    server itself (for the index page) to use header.tpl, footer.tpl and index.tpl.

    Basically index.tpl behaves as the <body></body> content.

    This is correct.

    It generates the blog, emails, msg conferences and file bases
    automatically so you can't actually customize those from what I can
    see.

    You can customize with css, but that's all. You can do quiet a bit with
    css though.

    I don't think you could use Magicka to host your own personal
    website.

    If your website is just html, then you can throw it in the static folder
    and it will be served as is.

    If you wanted further customization you should probably run
    apache/nginx on a standard 80 / 8080 port and run Magicka on
    something different and link to it from the main webserver.

    I use apache with SSL and use mod_proxy to forward requests to magicka.
    So magicka runs on port 8080 which is firewalled off, apache listens on
    80 and 443 which is whats visible on the net. I think that's the best way
    to go as you can easily use SSL.

    Andrew

    --- MagickaBBS v0.12alpha (Linux/x86_64)
    * Origin: The Fat Sandwich - sandwich.hopto.org:2023 (21:1/125)
  • From Night Stalker@21:1/178 to toofargone on Wed Feb 20 02:25:24 2019
    Ok.. call me stupid .. why cant I figure out how to change the de
    web pages .. I know html fairly well.. when the web first became
    used to use notepad to create my html pages .. but all that is in default page is a header .. and index.tpl does not process html ta

    The Magicka www service is a bit funny. It's hard coded into the
    server itself (for the index page) to use header.tpl, footer.tpl and index.tpl.

    Basically index.tpl behaves as the <body></body> content.

    So just edit index.tpl as if you were editing code between <body> and </body> and Magicka will slap on the header and footer and you're
    good to go.

    It generates the blog, emails, msg conferences and file bases
    automatically so you can't actually customize those from what I can
    see.

    I don't think you could use Magicka to host your own personal
    website.


    Yea.. I know that much.. but the problem is.. you can't really customize
    it much.. the index.tpl is white lol I can't get it to change any colors
    .. <body> tags are embedded in the header


    --- MagickaBBS v0.12alpha (Linux/x86_64)
    * Origin: Internal Dimension [idbbs.dlinkddns.com:2023] (21:1/178)
  • From apam@21:1/125 to Night Stalker on Wed Feb 20 19:56:25 2019
    Yea.. I know that much.. but the problem is.. you can't really
    customize it much.. the index.tpl is white lol I can't get it to
    change any colors .. <body> tags are embedded in the header

    Use css for that.

    Andrew

    --- MagickaBBS v0.12alpha (Linux/x86_64)
    * Origin: The Fat Sandwich - sandwich.hopto.org:2023 (21:1/125)
  • From dotslash@21:1/50 to Night Stalker on Mon Feb 25 21:15:12 2019
    Hello Night Stalker,

    Yea.. I know that much.. but the problem is.. you can't really
    customize it much.. the index.tpl is white lol I can't get it to
    change any colors .. <body> tags are embedded in the header

    Look in the www/ folder. Here is a tree structure:

    bbs@magickabbs:~/files/www$ tree
    .
    ÃÄÄ 401.tpl
    ÃÄÄ 403.tpl
    ÃÄÄ 404.tpl
    ÃÄÄ footer.tpl
    ÃÄÄ header.tpl
    ÃÄÄ index.tpl
    ÃÄÄ mime.types
    ÀÄÄ static
    ÃÄÄ delete.png
    ÃÄÄ flag.png
    ÃÄÄ fonts
    ³ ÃÄÄ LICENSE.TXT
    ³ ÃÄÄ pxplus_ibm_vga8-webfont.svg
    ³ ÃÄÄ pxplus_ibm_vga8-webfont.woff
    ³ ÀÄÄ pxplus_ibm_vga8-webfont.woff2
    ÃÄÄ header-m.png
    ÃÄÄ header.png
    ÃÄÄ newuser.png
    ÃÄÄ style.css
    ÀÄÄ style-mobile.css

    The two files "style.css" and "style-mobile.css" are the ones where you
    set up things like background colours and the like. By changing things
    here, you can make the web frontend roll over, sit up and beg and fetch
    your slippers (well, almost). CSS can be very obtuse, I find my mind to
    be like Teflon trying to bend it around the principles of CSS and
    Javascript, but once you master the ideas behind CSS it will enable you
    to change just about every visual aspect of the web frontend.

    Have fun! ;-)

    Cheerio,
    Jan Henkins

    --- MagickaBBS v0.12alpha (Linux/x86_64)
    + Origin: UnderZaNet BBS, ssh://bbs.under.za.net:2024 (@8)
    * Origin: FTN-MNET Gateway (21:1/50)
  • From Dave Vandermeer@21:1/178 to dotslash on Thu Feb 28 10:01:00 2019
    On 25 Feb 2019, dotslash said the following...


    The two files "style.css" and "style-mobile.css" are the ones where you set up things like background colours and the like. By changing things here, you can make the web frontend roll over, sit up and beg and fetch your slippers (well, almost). CSS can be very obtuse, I find my mind to
    be like Teflon trying to bend it around the principles of CSS and Javascript, but once you master the ideas behind CSS it will enable you
    to change just about every visual aspect of the web frontend.



    I know 2 things about CSS... Jack and Shit lol

    --- Mystic BBS v1.12 A42 2018/12/27 (Raspberry Pi/32)
    * Origin: internal dimension + idbbs.dlinkddns.com:2019 (21:1/178)