| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: {at}CODES |
-=> On 08-21-14 18:20, Digital Man wrote to Bill McGarrity <=-
> -=> On 08-20-14 14:53, Digital Man wrote to Bill McGarrity <=-
>
> Hiya DM...
>
> > -=> On 08-19-14 15:23, Digital Man wrote to Bill McGarrity <=-
> >
> > DM> Re: {at}CODES
> > DM> By: Bill McGarrity to All on Tue Aug 19 2014
2:0
DM> 0
> > DM> pm
> > > Is there anyway to use SMBUTIL to import into a sub a file with
> > > {at}codes or am I shit out of luck?
> >
> > DM> SMBUTIL can import any file into any sub. What exactly are you
> > DM> having problems with?
> >
> > Hiya DM...
> >
> > I made a txt file using {at}-codes wanting to show real-time stats
> > (STATS.LOGIN, STATS.LTODAY...etc) but it doesn't seem to be passing the
> > actual info. I did a test in Fido Test Area and all it showed was the
> > actual text...
> >
> > {at}BBS{at} instead of TequilaMockingbird Online
> > {at}OS_VER{at} instead of Windows NT
> >
> > and so on..
> >
> > I noticed on the wiki you mentioned something about bbs.atcode() but I
> > am not familiar with JS to do any coding. Was just wondering if there
> > is a quick fix...
>
> DM> {at}-codes are parsed/expanded at the time the message is displayed to
> DM> the user.
>
> DM> {at}-codes for variable data (e.g. {at}bbs{at}, etc.) are only expanded if the
> DM> message was posted by the sysop of the BBS. This is to prevent users
> DM> from using {at}-codes for nefarious purposes. You can use the smbutil
> DM> '-e1' option to specify that the message was posted by user #1 (the
> DM> sysop) and that should enable the expansion of the {at}-codes when the
> DM> message is displayed to users.
>
> DM> This behavior of Synchronet is documented here:
> DM> http://synchro.net/docs/customization.html#MessageVariables
> DM> but I will also update the wiki.
>
> Thanks for the update... BUT... :/ Still the same problem. Here is the
> command line in the batch file..
>
> SMBUTIL -e1 ic:\sbbs\exec\test.txt c:\sbbs\data\subs\2fidotest.shd <
> c:\sbbs\exec\test.hdr
>
> Imports fine... but still showing the raw {at}-codes :(
DM> (e.g. using Telnet, RLogin or SSH) and read the message, it should
DM> parse out the {at}-codes for you. If it's not, then try displaying the
DM> message header (the 'H' sysop command while at the reading msgs prompt)
DM> and verify that the 'from_ext' value is #1. Also, you're not using a
DM> message reading mod by chance are you? If so, that could cause the
DM> problem of the {at}-codes not being parsed. If you post a message yourself
DM> (e.g. when logged in via Telnet), and re-read the same message, are the
DM> {at}-codes being expanded in that case?
This is the message header from a posting using SMBUTIL where the codes did not
work:
To All
Sender Bill McGarrity
SenderAgent 02 00
Subject TequilaMockingbird Online!
X-FTN-PID SMBUTIL 2.33-Win32 r1.105 Jul 14 2014 MSC 1800
when_written 53F58EB6 C12C Thu Aug 21 2014 02:16:22 EDT
when_imported 53F58EB6 C12C Thu Aug 21 2014 02:16:22 EDT
type 0000h
version 0121h
attr 0000h
auxattr 00000000h
netattr 00000000h
number 1000
header offset 0AB520h
header length 191
thread_id 1000
data offset 0AE600h
data field[0] TEXT_BODY, offset 0, length 31
When posting via telnet using Slyedit the codes work.... Here is the header.
To All
Sender Bill McGarrity
SenderExt 1
SenderUserID Bill McGarrity
SenderTime 20140822135701Z
SenderIpAddr 192.168.1.58
SenderHostName Bill-W7
SenderProtocol Telnet
SenderPort 50210
SenderServer
Subject Testing {at}-codes
Message-ID
X-FTN-MSGID 1003.2fidotest{at}1:266/404 185c8990
X-FTN-PID Synchronet 3.16a-Win32 Jul 14 2014 MSC 1800
Editor SlyEdit (Ice Style)
when_written 53F74FA5 C12C Fri Aug 22 2014 10:11:49 EDT
when_imported 53F74FA5 C12C Fri Aug 22 2014 10:11:49 EDT
type 0000h
version 0121h
attr 0000h
auxattr 00000000h
netattr 00000000h
number 1003
header offset 0ABC20h
header length 382
thread_id 1003
data offset 0AF000h
data field[0] TEXT_BODY, offset 0, length 333
There is a difference whereas the SenderExt is not apppearing on the first
post.
Regarding the mod, not that I am aware of. I am reading via telnet the way you
designed Synch..
I've been posting in Fidotest so if you need to see the headers on your end
have at it.
Thank you..
Bill
Telnet: bbs.tequilamockingbirdonline.net
Web: bbs.tequilamockingbirdonline.net
IRC: irc.tequilamockingbirdonline.net Ports: 6661-6670 SSL: +6697
Radio: radio.tequilamockingbirdonline.net:8010/live
... Look Twice, Save a Life... Motorcycles are EVERYWHERE!!
--- MultiMail/Win32 v0.50
--- SBBSecho 2.27-Win32
* Origin: TequilaMockingbird Online - Toms River, NJ (1:266/404)SEEN-BY: 3/0 633/267 280 712/0 620 848 770/1 @PATH: 266/404 261/38 712/848 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.