Previous Thread
Next Thread
Print Thread
Hop To
#140528 04/22/2006 6:06 PM
Joined: Apr 2006
Posts: 116
F
member
member
F Offline
Joined: Apr 2006
Posts: 116
When making a new post (not a reply) if subject field is left blank it is impossible to make a post, you need to hit back button and fill the subject in. The annoying bit is that whatever you've written in the Post field gets lost. So you're there writing and writing then hit continue but forgot to enter the subject - it's all gone as soon as you hit back on your browser (tested on firefox).

This is probably something that needs to be looked into. Temporary solution: edit 'newpost' template and put value="No Subject" in the Subject <input> element. When you will be making new post next time, the subject field will not be empty if you forget.

#140529 04/22/2006 7:51 PM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
I'm looking at a few different header options to fix this. There are a few that can be specified so forms aren't blanked out. Just need to make sure that they don't interfere with normal behaviour.

#140530 04/22/2006 8:36 PM
Joined: Apr 2006
Posts: 116
F
member
member
F Offline
Joined: Apr 2006
Posts: 116
To have a proper solution would be really nice since when the form reset itself all the optional tick boxes return to the default settings as well.

#140531 04/23/2006 12:57 PM
Joined: Jun 2006
Posts: 182
A
member
member
A Offline
Joined: Jun 2006
Posts: 182
On our board ( www.shroomery.org/forums/ ) we made it so that you are returned to the composing page again, with all the text you filled in, and an error message explaining the problem(no text, no subject, too long text, too many quotes ...)

#140532 04/29/2006 5:58 PM
Joined: Apr 2006
Posts: 116
F
member
member
F Offline
Joined: Apr 2006
Posts: 116
[]I'm looking at a few different header options to fix this. There are a few that can be specified so forms aren't blanked out. Just need to make sure that they don't interfere with normal behaviour. [/]

Any progress?

#140533 04/30/2006 4:35 AM
Joined: Jun 2006
Posts: 16,301
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,301
Likes: 116
I like what Anno has sugguested; instead of giving a raw error and having to hit back and do your thing, just reload the newpost script with the already filled variables (the post) and have an error listed at the top "You must enter a subject" to where a user can just fill in the sub and hit enter wihtout having to do any part of hitting back oand praying things function properly <img src="https://www.ubbcentral.com/boards/images/graemlins/wink.gif" alt="" />


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
#140534 04/30/2006 7:43 AM
Joined: Apr 2006
Posts: 116
F
member
member
F Offline
Joined: Apr 2006
Posts: 116
which method do you use to pass variables back to newpost?

#140535 04/30/2006 11:10 AM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
You can try adding a one-liner to ubbt.inc.php. It's what I'm testing now to see if it causes any issues, but so far it seems to be ok. In ubbt.inc.php on line #130 you'll see this:

$check = @session_start();

Right after that, add this:

header("Cache-control: private");

#140536 05/01/2006 10:01 AM
Joined: Apr 2006
Posts: 116
F
member
member
F Offline
Joined: Apr 2006
Posts: 116
So far so good, thanks Rick.


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Version 7.7.5 Images suddenly not displaying
by Stovebolt - 05/04/2024 11:19 AM
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Who's Online Now
2 members (Geoff, 1 invisible), 692 guests, and 171 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)