I've got a custom message header, and since I did the update, the avatars show up to high in the custom header. Is there a way to have it show about 5 lines further down in the header, or am I stuck redoing my custom header. I may be missing something fairly simple.
If you have a custom message header, then I assume you're using an @-code to display the avatar? Which @-code? How are you using it (e.g. where in your message header)? More info is needed. --
Re: Messahe Header & Avatars
By: Digital Man to DesotoFireflite on Tue Nov 17 2020 01:58 pm
If you have a custom message header, then I assume you're using an @-code to display the avatar? Which @-code? How are you using it (e.g. where in your message header)? More info is needed. --
Damn, compleatly missed it when I looked, I'm using EXEC:SHOWMSGAVATAR with the @ symbol before and after. One question, rather stupid, does the avitar show from top down from the @-code, from the bottom, or center. I have no idea why it doesn't place the avatar where it used to place it, as I have changed nothing in the header. The EXEC:SHOWMSGAVATAR is placed on the bottom line of the message header, at the end of the subject string. As always, thanks for the assist.
It moves the cursor up and right-justifies the avatar. See exec/showmsgavatar.js for more details. --
center. I have no idea why it doesn't place the avatar where it used
to place it, as I have changed nothing in the header. The
EXEC:SHOWMSGAVATAR is placed on the bottom line of the message header,
at the end of the subject string. As always, thanks for the assist.
It moves the cursor up and right-justifies the avatar. See exec/showmsgavatar.js for more details. --
Re: Messahe Header & Avatars
By: Digital Man to DesotoFireflite on Wed Nov 18 2020 12:55 pm
center. I have no idea why it doesn't place the avatar where it used
to place it, as I have changed nothing in the header. The
EXEC:SHOWMSGAVATAR is placed on the bottom line of the message header,
at the end of the subject string. As always, thanks for the assist.
It moves the cursor up and right-justifies the avatar. See exec/showmsgavatar.js for more details. --
I saw the file, and see the justification line, no matter what I do, I can't get it to display correctly, it always shows at the very top of the header. If I go back and use v1.1 dated 1/10/2018, it works like a charm, and displays the avitar right in the center of the message header, justified to the right, but that version doesn't have as much code in it so I fearfull I'm missing something needed elsewhere. The version I'm haveing trouble with is V1.9 dated 6/15/2019. As always, thanks, and sorry for being a pain :)
The difference that matters is probably the passing of bbs.msghdr_top_of_screen to avatar_lib.draw_bin(). You could try just removing that one argument to see if that's the relevant change that impacting you.
Also, more details about your custom message header would be helpful: do you have just a .msg or .asc variant of the file, with no-ANSI sequences in it? Or do you also have a .msg variant (e.g. with ANSI sequences)? So like, the output of "dir sbbs\text\menu\msghdr.*" and the contents of those files, would be helpful to know. --
digital man
Re: Messahe Header & Avatars
By: Digital Man to DesotoFireflite on Thu Nov 19 2020 02:05 pm
The difference that matters is probably the passing of bbs.msghdr_top_of_screen to avatar_lib.draw_bin(). You could try just removing that one argument to see if that's the relevant change that impacting you.
Ok, I'll try that tomorrow after work and see, and let you know.
Also, more details about your custom message header would be helpful: do you have just a .msg or .asc variant of the file, with no-ANSI sequences in it? Or do you also have a .msg variant (e.g. with ANSI sequences)? So like, the output of "dir sbbs\text\menu\msghdr.*" and the contents of those files, would be helpful to know. --
digital man
I'm running both variants, MSGHDR.ANS (ansi Sequences) & MSGHDR.ASC (no ansi)
Below is the content of the ascii file, ansi is the same layout. Hope it draws ok in this editor.
The difference that matters is probably the passing of
bbs.msghdr_top_of_screen to avatar_lib.draw_bin(). You could try
just removing that one argument to see if that's the relevant
change that impacting you.
ANSI sequences will definitely fowl-up the line counter and thus the correct placement of the avatar. Instead, convert your msghdr.ans to .msg or .asc and *only* use that file (e.g. delete or rename the .ans
variant).
Re: Messahe Header & Avatars
By: Digital Man to DesotoFireflite on Thu Nov 19 2020 04:45 pm
The difference that matters is probably the passing of
bbs.msghdr_top_of_screen to avatar_lib.draw_bin(). You could try DM>> just removing that one argument to see if that's the relevant
change that impacting you.
I tried deleting that line, and all I get are errors. I also tried commenting out different lines, with the same results.
ANSI sequences will definitely fowl-up the line counter and thus the correct placement of the avatar. Instead, convert your msghdr.ans to .msg or .asc and *only* use that file (e.g. delete or rename the .ans variant).
OK, I used ans2asc to convert the ansi file to asc, then renamed it msghdr.msg, and I deleted all other msghdr.* fils, to be sure I'm only using msghdr.msg, and I'm still getting the same results. seems like I'm stuck using ver 1.1 of showmsgavatar.js or changing my header for messages, unless you have some tricks up your sleve. As always, thanks, I really do appreciate everything you do.
I didn't say to delete line or comment-out a line. To be more clear, try changing this:
var success = bbs.mods.avatar_lib.draw(bbs.msg_from_ext, bbs.msg_from, bbs.msg_from_net, /* above: */true, /* right-justified: */true ,bbs.msghdr_top_of_screen);
to just this:
var success = bbs.mods.avatar_lib.draw(bbs.msg_from_ext, bbs.msg_from, bbs.msg_from_net, /* above: */true, /* right-justified: */true);
Re: Messahe Header & Avatars
By: Digital Man to DesotoFireflite on Fri Nov 20 2020 06:27 pm
I didn't say to delete line or comment-out a line. To be more clear, try changing this:
var success = bbs.mods.avatar_lib.draw(bbs.msg_from_ext, bbs.msg_from, bbs.msg_from_net, /* above: */true, /* right-justified: */true ,bbs.msghdr_top_of_screen);
to just this:
var success = bbs.mods.avatar_lib.draw(bbs.msg_from_ext, bbs.msg_from, bbs.msg_from_net, /* above: */true, /* right-justified: */true);
We have sucess, thanks so much. removing bbs.mshhdr_top_of_screen did the trick. I tried that the other day, but just put in ";", forgot to do ");". Syntax screws with me every time.
Just wondering, I can't be the only one using custom headers this has messed with, and let's assume I'm Not.
Is there a way, and don't take this the
wrong way, cos I'm just spitballing here, instead of telling the code to go to top of the screen, that it could be adjustbly set, using numbers, using 1,2,3, etc for fractions of an inch up or down, like drop avatar down 2 fractions use a 2. I don't know if I'm making sense or not, but I hope you understand what I'm saying. as always, thanks.
I'm not seeing a problem. Perhaps you could send some screen shots or the actual message header file that you're having problems with. Pretty sure I already asked for those... --
digital man
Re: Messahe Header & Avatars
By: Digital Man to DesotoFireflite on Sat Nov 21 2020 01:48 pm
I'm not seeing a problem. Perhaps you could send some screen shots or the actual message header file that you're having problems with. Pretty sure I already asked for those... --
digital man
I just sent you a message with a file attached called VHS_INFO.ZIP. Hopefully that has all the info you asked for and needed. Thanks
Yes, I see now. You don't want the avatar at the top of the screen because your custom header uses the right/top-most area of the screen for information. As of this change on April-11-2019: http://cvs.synchro.net/commitlog.ssjs?50000#38076 ... the avatar prints on the very top right of the terminal window if the message header was also displayed up there. --
Re: Messahe Header & Avatars
By: Digital Man to DesotoFireflite on Sun Nov 22 2020 01:56 pm
Yes, I see now. You don't want the avatar at the top of the screen because your custom header uses the right/top-most area of the screen for information. As of this change on April-11-2019: http://cvs.synchro.net/commitlog.ssjs?50000#38076 ... the avatar prints on the very top right of the terminal window if the message header was also displayed up there. --
Ok, I see the change you made, so we were right to take out the part we did. I understand now. Thanks for the help in solving this for me. I'm happy with the outcome.
Try updating to the latest showmsgavatar.js and setting modopts.ini [avatars] msghdr_draw_top = false
See how that works for ya,
Sysop: | MCMLXXIX |
---|---|
Location: | Prospect, CT |
Users: | 330 |
Nodes: | 10 (0 / 10) |
Uptime: | 240:48:23 |
Calls: | 555 |
Messages: | 231102 |