Welcome, Guest. Please Login or Register.
May 13, 2025, 09:03:35 AM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Javascript check for Post() « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Javascript check for Post()  (Read 486 times)
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Javascript check for Post()
« on: April 13, 2003, 06:35:11 AM »
Reply with quote

instead of a fatal_error, it's better if there's a javascript check to check if the subject/message is empty

will also be useful for password check in Profile

fatal_error can be annoying when one has written a long post and forgot to give a subject :P
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:Javascript check for Post()
« Reply #1 on: April 13, 2003, 06:36:19 AM »
Reply with quote

OR....

Why don't you go to my secret project and try to post with no subject or something ;).

-[Unknown]
Logged
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:Javascript check for Post()
« Reply #2 on: April 13, 2003, 06:37:56 AM »
Reply with quote

pls release it as a mod... :P ;D
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:Javascript check for Post()
« Reply #3 on: April 13, 2003, 06:39:53 AM »
Reply with quote

Quote from: Spaceman-Spiff on April 13, 2003, 06:37:56 AM
pls release it as a mod... :P ;D

It's heavily based on the theming system.

-[Unknown]
Logged
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:Javascript check for Post()
« Reply #4 on: April 13, 2003, 06:42:00 AM »
Reply with quote

oh well... maybe i'll mod it myself... :P
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
Coyote
YaBB God
*****
Posts: 702


I love YaBB SE!

Re:Javascript check for Post()
« Reply #5 on: April 15, 2003, 07:06:08 PM »
Reply with quote

This would be a popular mod :)

Go on Spiffy!

;D
Logged

To the world - you are just one person, but to one person you are the world!
Jack.R.Abbit
Mod Team
YaBB God
*****
Posts: 553


RACE FOR SPENT!

Re:Javascript check for Post()
« Reply #6 on: April 15, 2003, 07:10:11 PM »
Reply with quote

as well as for PMs... I have sent coountless PMs both here and on my own board that have (No subject) as the subject line...  ;D

-Jack
Logged

<--------  Mods by Jack  -------->
Package Server: http://www.modsbydesign.com/mods.by.jack/yabbse/ (now serving)


|----------------------------------------------|
|                                              |
|          DON'T PM ME FOR SUPPORT!             |
|                                              |
|----------------------------------------------|
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:Javascript check for Post()
« Reply #7 on: April 15, 2003, 09:29:06 PM »
Reply with quote

Quote from: Jack.R.Abbit on April 15, 2003, 07:10:11 PM
as well as for PMs... I have sent coountless PMs both here and on my own board that have (No subject) as the subject line...  ;D

-Jack

That's also been done in my project ;).

-[Unknown]
Logged
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:Javascript check for Post()
« Reply #8 on: April 18, 2003, 11:04:58 PM »
Reply with quote

mod is released: http://www.yabbse.org/community/index.php?board=158;action=display;threadid=21647
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
MORT
Full Member
***
Posts: 132


I like stuff ...

mort@dsl.pipex.com WWW
Re:Javascript check for Post()
« Reply #9 on: April 19, 2003, 09:05:10 PM »
Reply with quote

sounds like a good way to do it .. but for all browser compatibilty .. why dont yabbse jsut check after the post, if something is missing, just say so, and echo the post form below, with whatever was in it on the last page already there? (<input type="text" value="' . $_POST['subject'] . '">) etc.
Logged

-MORT
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:Javascript check for Post()
« Reply #10 on: April 20, 2003, 01:26:52 AM »
Reply with quote

Quote from: MORT on April 19, 2003, 09:05:10 PM
sounds like a good way to do it .. but for all browser compatibilty .. why dont yabbse jsut check after the post, if something is missing, just say so, and echo the post form below, with whatever was in it on the last page already there? (<input type="text" value="' . $_POST['subject'] . '">) etc.

That's what mine does, basically.

-[Unknown]
Logged
MORT
Full Member
***
Posts: 132


I like stuff ...

mort@dsl.pipex.com WWW
Re:Javascript check for Post()
« Reply #11 on: April 20, 2003, 10:31:30 AM »
Reply with quote

cool
Logged

-MORT
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Javascript check for Post() « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.067 seconds with 21 queries.