Mystic PHP

Originally written by Frank Linhares (netsurge/demonic/bbs-scene.org) and updated by Philipp Giebel (kuehlbox.wtf), this is a library for reading MysticBBS data files with php.

Available functions

  • Last Callers:
    $mystic->lastcallers( $number = 10, $pipe = false );
  • Oneliner:
    $mystic->oneliner( $number = 10, $pipe = false );
  • Files:
    $mystic->files( $area, $number = 10, $start = 0, $pipe = false );
  • Filebases:
    $mystic->fbases( $number = 10, $start = 0, $pipe = false );
  • Chat:
    $mystic->chat( $nodes = 1, $pipe = false );
  • History
    $mystic->history( $number = 10 );
  • Userlist
    $mystic->userlist( $number = 10, $start = 0, $pipe = false );

Usage

First include the library using something like:

require_once 'inc/mystic_library.php';

Then create a new element with the class, providing the full path to your mystic data files:

$mystic = new mystic( '/path/to/your/mystic/data/' );

When using Mystic v1.11, add 1.11 as a parameter:

$mystic = new mystic( '/path/to/your/mystic/data/', 1.11 );

Now you can use its methods like:

$userlist = $mystic->userlist();

Please check the comments inside the library for more detailed information on how to use the different methods.

Demo

Well.. ..This page! :)

The oneliners, last callers and the filebase are written using this library.

History

Originally written by Frank Linhares (netsurge/demonic/bbs-scene.org), this library looked pretty much abandoned, when I started using it in 2015.
So, first I updated it to work with MysticBBS v1.11 and later, I added a few more methods.
Lastly, I made it a class for object oriented use and started uploading it publicly to my personal gitlab.
In 2019, I updated this library to work with MysticBBS v1.12 as well.

So now you can use it, too, contribute to or extend it.

Warranty

There is absolutely no guarantee that this will work with your setup, won't damage anything or work at all! Don't blame me!

Download

Download ZIP

GIT

    git clone https://gitlab.ambhost.net/stimpy/phplib_mystic.git

Callers

guest 08/07 01:32
guest 08/05 23:03
Mindsurfer 08/04 23:26
paulie420 08/04 22:43
paulie420 08/03 01:56
guest 08/01 00:53
CrazyNoodle 07/28 22:02
CrazyNoodle 07/28 21:39
CrazyNoodle 07/27 19:29
CrazyNoodle 07/26 18:45

Shouts

  • MeaTLoTioN
    qUAntUm RaDio! https://radio.erb.pw
  • MeaTLoTioN
    Come check out 24/7 chiptunes for the scene by the scene
  • guest
    Atascii lives
  • jas hud
    hey kids
  • guest
    Greetings from Karlsruhe and a RC2014 CP/M machine
  • stimpy
    Wow! --^
  • guest
    Let the ANSI escape code blow your mind!
  • maskwabear
    chiptunes eh? gotta check that out
  • CrazyNoodle
    Hi there, back to my 80s/90s experiences
  • paulie420
    KuehlBox rox, daddio! 20forbeers.com:1337 pw=meatloaf