PDA

View Full Version : Message Editing Hierarchy


Logician
05-24-2002, 07:07 AM
oh come on not again..

Guys please check newthread.php, it really doesnt work..

Here is how this error happens:
I first choose "message preview" before posting this message and then choose send and my message dissappears..

Either the message preview template lacks the hidden "$message" variable inside form and does not return to newthread.php correctly or it's not parsed inside newthread.php after it comes from preview screen..

I thought error corrected since JakeX has posted 2 hacks without any problems and it has not.. It's very likely related to message preview..

I appreciate if you can check it, thank you..

Regards,
Logician

Admin
05-24-2002, 07:08 AM
I'll look into this issue right away. For the mean time try posting your thread without previewing the post. Sorry!

Admin
05-24-2002, 07:13 AM
Seems to work fine for me.
Do you mind if I login to your account and try posting as you? Maybe it's something specific that only happens to you.

Can you post new threads in other forums?

Logician
05-24-2002, 07:22 AM
Firefly,

I sent without previewing and didnt work again. Maybe it's because of the attachment file, I dont know..

No I dont mind you logging into my account and try it, go ahead..

I'll try if I can create threads in other boards right away..Havent experienced such a problem until yesterday though..

Logician
05-24-2002, 07:26 AM
no problems at testing board.. It's weird but seems I cant create a new thread in Full Installations board..Really weird..

Admin
05-24-2002, 07:50 AM
Ok, I found the problem. You'll be able post now. :) Sorry once again.

Logician
05-24-2002, 08:09 AM
yep corrected thx.. :)

BTW I dont use attachments in my board so I'm not aware if this is a default behaviour of vbulletin: Do you know that if you add an attachment to your message and then preview message, attachment vanishes in the preview window and you have to add it again before sending the post? I thought this might be a bug in vbulletin.org but if it's the default behaviour of vbulletin, may be a hack would be nice, dont you think? :)

Admin
05-24-2002, 08:47 AM
http://vbulletin.com/forum/showthread.php?s=&threadid=29950&highlight=preview :)

tubedogg
05-24-2002, 09:37 AM
<a href="http://vbulletin.com/forum/showthread.php?s=&threadid=46580&highlight=html" target="_blank">http://vbulletin.com/forum/showthrea...highlight=html</a>

Admin
05-24-2002, 10:32 AM
I'll try to create a hack to "fix" this, it's quite simple really.

Logician
05-24-2002, 10:59 AM
Originally posted by FireFly
I'll try to create a hack to "fix" this, it's quite simple really.
This is what I first thought, when I read the thread. If what you have in your mind is modifiying the form field via javascript, this does not work.. ;)

Admin
05-24-2002, 11:06 AM
That's not what I had in mind, no. :)

Logician
05-24-2002, 11:17 AM
ok waiting impatiently here to learn what you have in your mind. I dont need the hack but if you wont give any clue, plz release the hack quick anyway! lol

Ps. BTW temporarily taking the file to the database doesnt count! This is already mentioned in the thread and also too simple hehe

Admin
05-24-2002, 11:20 AM
Do you have another idea? Just save the attachment in the database, then in the preview show the "edit attachment" box.

Logician
05-24-2002, 11:27 AM
This can cause problems.. What if I choose message preview first, you write the file to database then I simply close my browser?

You have to write a code to periodically check orphaned attachments which causes an unwanted disadvantage and SQL query load, especially compared to small benefit the hack features.. Just my 2 cents..

Admin
05-24-2002, 11:34 AM
An extra query on newreply.php will not hurt anyone.