JavaScript and php changes needed
There are JavaScript files associated with the page. If I was on my desktop then I could list them. Most browsers have built in developer tools that let you read them.
I imagine that these files are somewhere on the server and could be edited to do almost anything.
My preference would be to drop *NM* or replace it with a bitmap that replaces the preview button when the msg has no contents. So you would either see nothing (no preview speech bubble) or see a *NM* bitmap where the speech bubble would be.
I'd have this be automatic. If a message has no non-blank non-comment text when the post button is pressed then the JavaScript sends an empty msg to the server. When the server delivers the page, the php script will check to see if there is any text in the msg - if it has then it adds a preview button for that msg - if it's empty then it adds nothing or a do nothing *NM* bitmap label.
So you need JavaScript changes on the client side and php changes on the server side.
Complete thread:
- *NM* -
Schooly D,
2013-02-16, 13:18
- *NM* - Ragashingo, 2013-02-16, 13:26
- *NM* - Leviathan, 2013-02-16, 13:35
- *NM* - Jillybean, 2013-02-16, 13:51
- *NM* *NM* Fail -
breitzen,
2013-02-16, 14:08
- Re: *NM* *NM* *NM* -
UnrealCh13f,
2013-02-16, 14:19
- Re: *NM* *NM* -
ZackDark,
2013-02-16, 14:21
- JavaScript and php changes needed -
scarab,
2013-02-16, 16:56
- Or it could all be done on the server side - scarab, 2013-02-16, 17:08
- JavaScript and php changes needed -
ZackDark,
2013-02-16, 17:31
- We'd need another way to separate the in from the out crowd. -
scarab,
2013-02-16, 17:34
- I see what you did there *NM* -
ZackDark,
2013-02-16, 17:41
- Need to allow quote only msgs -
scarab,
2013-02-17, 02:27
- Need to allow quote only msgs - thebruce, 2013-02-17, 12:17
- Need to allow quote only msgs -
scarab,
2013-02-17, 02:27
- I see what you did there *NM* -
ZackDark,
2013-02-16, 17:41
- JavaScript and php changes needed -
thebruce,
2013-02-17, 12:15
- Just have server send *NM* bitmap instead of speech bubble -
scarab,
2013-02-17, 13:42
- Just have server send *NM* bitmap instead of speech bubble - thebruce, 2013-02-18, 03:14
- Just have server send *NM* bitmap instead of speech bubble -
scarab,
2013-02-17, 13:42
- We'd need another way to separate the in from the out crowd. -
scarab,
2013-02-16, 17:34
- JavaScript and php changes needed -
scarab,
2013-02-16, 16:56
- Re: *NM* *NM* -
ZackDark,
2013-02-16, 14:21
- Re: *NM* *NM* *NM* -
UnrealCh13f,
2013-02-16, 14:19
- *NM* - Atsumi, 2013-02-16, 14:43
- But for Realz -
breitzen,
2013-02-16, 14:50
- But for Realz - Kermit, 2013-02-16, 15:40
- *NM* -
scarab,
2013-02-16, 15:49
- *NM* -
Ragashingo,
2013-02-16, 15:53
- *NM* - scarab, 2013-02-16, 16:06
- remove *NM*? - scarab, 2013-02-16, 15:57
- *NM* -
Ragashingo,
2013-02-16, 15:53