• Mysticphp Disply last callers in a web page

    From Richard Fairman@3:770/3 to All on Fri Oct 11 11:02:01 2019
    I'm using the mysticphp library to pull in a list of callers to a web page An array is created and displays on screen How do I format it for a readable display

    Regards

    Richard Fairman

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Netsurge@1:229/101 to Richard Fairman on Fri Oct 11 15:23:28 2019
    I'm using the mysticphp library to pull in a list of callers to a web
    page An ar ray is created and displays on screen How do I format it for
    a readable display

    You want a foreach formula for each item contained in the array. Something
    like this:

    $lastcalls=$mystic->lastcallers(10, true);
    $lcr = array_reverse($lastcalls, true);
    foreach ($lcr as $lc){
    $lc['city']=$mystic->decode($lc['city']);
    echo "<tr>";
    echo "<td width='25%'>".$lc['user']."</td>";
    echo "<td >".$lc['city']."</td>";
    $ldate=date("d/m/y",$lc['date']);
    echo "<td align='right'>".$ldate."</td>";
    echo "</tr>";
    ;

    |15frank |08// |15netsurge
    |07disksh0p|08!|07bbs |08% |07bbs.diskshop.ca |08% |07mystic goodness |11SciNet |03ftn hq |08% |07https://scinet-ftn.org

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: % disksh0p!bbs % bbs.diskshop.ca % SciNet ftn hq % (1:229/101)
  • From Todd Yatzook@1:142/799 to Netsurge on Fri Oct 11 15:56:49 2019
    On 11 Oct 2019, Netsurge said the following...

    I'm using the mysticphp library to pull in a list of callers to a web page An ar ray is created and displays on screen How do I format it f a readable display

    You want a foreach formula for each item contained in the array.
    Something like this:

    Yeah, what he said. =) Anything to loop through each row, and you can format
    it in HTML however you want it displayed after that.

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: http://www.throwbackbbs.com -\- meriden, ct -\- (1:142/799)
  • From Richard Fairman@3:770/3 to All on Sat Oct 12 01:44:04 2019
    I'm afraid I'm a non programmer Is there any existing software to do this I have looked at mysticphp website and the info is nicely displayed I want to do something similar. Sorry to be a pain but I have been struggling for days An alternative ive I have
    been pursuing is to directly display the mystic data file in a web page.

    Regards
    Richard

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Netsurge@1:229/101 to Richard Fairman on Sat Oct 12 09:21:18 2019
    I'm afraid I'm a non programmer Is there any existing software to do
    this I have looked at mysticphp website and the info is nicely displayed
    I want to do somet hing similar. Sorry to be a pain but I have been struggling for days An alternat ive ive I have
    been pursuing is to directly display the mystic data file in a web page.

    I'm the original creator of the mysticphp library and unless you have some understanding of using php I don't know of any other way to display the info you are looking at displaying.

    |15frank |08// |15netsurge
    |07disksh0p|08!|07bbs |08% |07bbs.diskshop.ca |08% |07mystic goodness |11SciNet |03ftn hq |08% |07https://scinet-ftn.org

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: % disksh0p!bbs % bbs.diskshop.ca % SciNet ftn hq % (1:229/101)
  • From Todd Yatzook@1:142/799 to Netsurge on Sat Oct 12 12:14:42 2019
    On 12 Oct 2019, Netsurge said the following...

    I'm afraid I'm a non programmer Is there any existing software to do this I have looked at mysticphp website and the info is nicely displa I want to do somet hing similar. Sorry to be a pain but I have been struggling for days An alternat ive ive I have
    been pursuing is to directly display the mystic data file in a web pa

    I'm the original creator of the mysticphp library and unless you have
    some understanding of using php I don't know of any other way to display the info you are looking at displaying.

    Awesome, I finally get a chance to thank you for indirectly helping me with a formatting issue I was having when I wrote my own PHP script to display Mystic's last callers with custom image and formatting.

    Getting the info to display right was a bitch, so I "cheated" and used your example just to get the data to show correctly. I even thanked you and
    credited you in my script.

    So, seriously, thank you again =)

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: http://www.throwbackbbs.com -\- meriden, ct -\- (1:142/799)
  • From Richard Fairman@3:770/3 to All on Sat Oct 12 11:31:22 2019
    Can you point me to the example. I have seen the web page at mysticphp where the array has been formatted nicely but I cannot fathom how it was done. I've
    looked at the page source
    Regards

    Richard

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Netsurge@1:229/101 to Todd Yatzook on Sat Oct 12 20:59:00 2019
    Awesome, I finally get a chance to thank you for indirectly helping me with a formatting issue I was having when I wrote my own PHP script to display Mystic's last callers with custom image and formatting.

    Getting the info to display right was a bitch, so I "cheated" and used your example just to get the data to show correctly. I even thanked you and credited you in my script.

    No worries. It's not cheating at all, it's called learning, lol.

    I'm just glad that after all these years, before returning to bbsing, someone has kept the damn thing alive.

    |15frank |08// |15netsurge
    |07disksh0p|08!|07bbs |08% |07bbs.diskshop.ca |08% |07mystic goodness |11SciNet |03ftn hq |08% |07https://scinet-ftn.org

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: % disksh0p!bbs % bbs.diskshop.ca % SciNet ftn hq % (1:229/101)
  • From Richard Fairman@3:770/3 to All on Tue Oct 15 02:00:37 2019
    I've got round my lack of program skills by pulling in the callers.dat file for
    display in a web page Not very pretty but readable Still hoping for a way to format the array created by mysticphp

    Regards

    Richard

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Todd Yatzook@1:142/799 to Richard Fairman on Tue Oct 15 14:45:12 2019
    On 15 Oct 2019, Richard Fairman said the following...

    I've got round my lack of program skills by pulling in the callers.dat file for display in a web page Not very pretty but readable Still hoping for a way to format the array created by mysticphp

    Hey Richard. Netsurge gave an example in response to your question a few days ago. Here's his example:

    $lastcalls=$mystic->lastcallers(10, true);
    $lcr = array_reverse($lastcalls, true);
    foreach ($lcr as $lc){
    $lc['city']=$mystic->decode($lc['city']);
    echo "<tr>";
    echo "<td width='25%'>".$lc['user']."</td>";
    echo "<td >".$lc['city']."</td>";
    $ldate=date("d/m/y",$lc['date']);
    echo "<td align='right'>".$ldate."</td>";
    echo "</tr>";
    ;

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: http://www.throwbackbbs.com -\- meriden, ct -\- (1:142/799)
  • From Netsurge@1:229/101 to Todd Yatzook on Tue Oct 15 22:20:56 2019
    Hey Richard. Netsurge gave an example in response to your question a few days ago. Here's his example:

    I thought I made it easy, guess not.

    |15frank |08// |15netsurge
    |07disksh0p|08!|07bbs |08% |07bbs.diskshop.ca |08% |07mystic goodness |11SciNet |03ftn hq |08% |07https://scinet-ftn.org

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: % disksh0p!bbs % bbs.diskshop.ca % SciNet ftn hq % (1:229/101)
  • From Richard Fairman@3:770/3 to All on Wed Oct 16 00:07:17 2019
    Hi I'm afraid I'm very much a non programmer Where do I place your code to use with mysticphp Do I place it within mysticphp or immediately after An example would be useful Sorry about my lack of knowledge I'm 70 and still remember the old days of
    acoustic modems and dial up at 300 each way My main interest is with BBC micros
    to use them to play online adventure games linking to my bbs via via a hayes software modem on a pc My web site would be a gateway to my bbs using ftelnet I
    have got the
    array to display ok
    Thanks again
    Richard Fairman

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Netsurge@1:229/101 to Richard Fairman on Wed Oct 16 21:50:24 2019
    Hi I'm afraid I'm very much a non programmer Where do I place your code
    to use w ith mysticphp Do I place it within mysticphp or immediately
    after An example wou ld be useful Sorry about my lack of knowledge I'm
    70 and still remember the old days of
    acoustic modems and dial up at 300 each way My main interest is with BBC micros to use them to play online adventure games linking to my bbs via via a hayes so ftware modem on a pc My web site would be a gateway to
    my bbs using ftelnet I ha ve got the
    array to display ok

    You will need some basic understanding of PHP and HTML in order to achieve
    what you are looking for.

    May I suggest googling some PHP/HTML examples in order to get you headed in
    the right direction.

    |15frank |08// |15netsurge
    |07disksh0p|08!|07bbs |08% |07bbs.diskshop.ca |08% |07mystic goodness |11SciNet |03ftn hq |08% |07https://scinet-ftn.org

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: % disksh0p!bbs % bbs.diskshop.ca % SciNet ftn hq % (1:229/101)
  • From BRIAN J MARTIN@1:305/3 to Richard Fairman on Sat Oct 22 18:04:42 2022
    HI RICHARD , interested in how you have a BBS . did I understand correctly
    you run it from a BBC micro? I am attempting to create a BBS for my BBC. In fact I am using it to write this message. Hope too hear back from you.
    ZINC (Brian)

    --- Mystic BBS v1.12 A46 2020/03/02 (Windows/32)
    * Origin: 8-Bit Boyz BBS! -=[ bbs.8bitboyz.com port:6502 ]=- (1:305/3)
  • From Robbert@3:770/3 to All on Sat Nov 5 04:04:52 2022
    This can be done by extracting the data (ANY data) directly from Mystic BBS through websockets.

    I wrote an Mystic Webmail client proof of concept by using websockets and a custom Mystic connect.mpx and startup.mpx.

    See proof of concept here: https://thawk.nl/mystic-webmail/.

    This shows that you can directly retrieve _any_ data live from any mystic board instantly without delays.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)