Previous Thread
Next Thread
Print Thread
Rate Thread
#35930 01/11/2000 9:23 AM
Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
Ok, I've managed to fix the preview bug with very long topics and the one with editing another one's message.
In fact the javascript functions are plain easier now...

If you've allready installed this hack, you'll have to replace all the javascript-functions with the one that are in my documentation

and modify the preview and submit buttons so they look like how I documented it.

For instructions goto: http://feyenoordmb.virtualave.net/ubbhacks/preview-hack.txt

Sponsored Links
#35931 01/11/2000 6:21 PM
Joined: Jan 2000
Posts: 18
Member
Member
Offline
Joined: Jan 2000
Posts: 18
aaaaa maybe not?

My Preview button - is posting !

I preview the post, close the window, then submit, when the index comes back, there are two posts!!!

I am going to go over the code again....and see if I can spot it..

#35932 01/11/2000 7:25 PM
Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
? Very odd...it works perfectly for me!

Did you change the preview button to an input type="submit" instead of a input type="button"?

#35933 01/11/2000 7:59 PM
Joined: Jan 2000
Posts: 18
Member
Member
Offline
Joined: Jan 2000
Posts: 18
yes, actually I tried changing it back and made it worse.....(submit-button)

dunno

did try it 3 - 4 times ... same result....

#35934 03/20/2000 3:56 AM
Joined: Mar 2000
Posts: 4
Junior Member
Junior Member
Offline
Joined: Mar 2000
Posts: 4
Same problems,
sometimes its workin' sometimes its postin'. What else could it be? Ive hab also Problems that after installing this hack the Reply Subject Hack wont display ths "Re:" Statement before Reply Subject anymore!

Mas*Mind: Im not new here, i needed a long time before i decided to register *g*. So I know your fav skills in hacking the ubb , so could you please overlook the code?

thx

BeastMaster


<FONT COLOR="silver">WfG
BeastMaster
<FONT size="1">

How should I know what I'm thinking, if I haven't heard what I'm saying?</FONT s></FONT c>
Sponsored Links
#35935 03/20/2000 1:51 PM
Joined: Mar 2000
Posts: 4
Junior Member
Junior Member
Offline
Joined: Mar 2000
Posts: 4
I finally got it working, i messed al little bit at inserting the code. Now it works!


<FONT COLOR="silver">WfG
BeastMaster
<FONT size="1">

How should I know what I'm thinking, if I haven't heard what I'm saying?</FONT s></FONT c>
#35936 03/24/2000 1:55 PM
Joined: Mar 2000
Posts: 10
Junior Member
Junior Member
Offline
Joined: Mar 2000
Posts: 10
Quote
quote:
Ok, found the bug. Did sth wrong with the icon hack...

#35937 03/26/2000 9:28 PM
Joined: Mar 2000
Posts: 20
Member
Member
Offline
Joined: Mar 2000
Posts: 20
Worked great out of the box first time on version 5.38c.

Thanks

#35938 03/26/2000 9:56 PM
Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
Hi,
I have the non-java version installed.
When I preview, the preview shows the preview in the box at the top, but the text gets stripped from the text box below, and I can't post straight from the preview screen since the text is missing.

What's the fix for this?

(This started after I installed UBB Code Buttons hack)

Thanks in advance.

#35939 03/27/2000 3:39 AM
Joined: Feb 1999
Posts: 1,379
cal Offline
Programmer
Programmer
Offline
Joined: Feb 1999
Posts: 1,379
chances are you've just knocked a bit of code. go back to your backup (you did make one, didn't you?) and try the ubb code buttons hack again.

Just a thought [Linked Image]

Sponsored Links
#35940 03/27/2000 2:02 PM
Joined: Mar 2000
Posts: 3
Junior Member
Junior Member
Offline
Joined: Mar 2000
Posts: 3
Registered just so I could say thanks for this hack [Linked Image]!!! Worked right out of the box for me, too . . . my users and I will put it to good use!

#35941 03/27/2000 5:32 PM
Joined: Mar 2000
Posts: 20
Member
Member
Offline
Joined: Mar 2000
Posts: 20
found a bug.

When you press the close window link in the popup window it is posting the topic. Now this is only when starting a new topic.

Got a reason why? I haven't been able to fiqure it out.

hunter

#35942 03/27/2000 5:51 PM
Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
Thanks cal,

I redid the preview hack. Some how some code got stripped out. I replaced it and it works fine now.

#35943 04/01/2000 2:20 AM
Joined: Mar 2000
Posts: 2
Junior Member
Junior Member
Offline
Joined: Mar 2000
Posts: 2
i had a problem and i solved it, so for others not to spend an hour on it this was it :

on the code

INPUT TYPE="Submit" NAME="SUBMIT" VALUE="Submit New Topic"

be sure that the first "Submit" look like this, and the second "SUBMIT" look like this.

that little mistake made me spend over an hour trying to track it down. thanks for this nice hack.

#35944 04/13/2000 10:32 AM
Joined: Mar 2000
Posts: 20
Member
Member
Offline
Joined: Mar 2000
Posts: 20
Another bug found with Netscape version 6. When you select the preview button it is posting the message with no chance for a preview.

hunter

#35945 04/21/2000 11:50 PM
Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
I discovered that my board, which uses Andy Tomaka's "Formatting Messages" hack, had a problem with this script... the preview window didn't include the formatted text... adding the following code fixed that issue:

find in the PreviewForm routine:

Code
code:

add right after it:

Code
code:

That did the trick.

I'm having the same problems with the preview button submitting the post, but I think I've got it fixed... I discovered that deleting the "document.forms[0].submit();" lines out of each of the javascript headers did the trick. After parsing through the code, I really have no idea why it was in there in the first place...

#35946 04/29/2000 7:41 PM
Joined: Apr 2001
Posts: 22
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 22
I installed this hack on 5.45c and it worked like a charm! The only problem was that it called icon.gif from the icons directory, which didn't exist. (so I made one)


Awesome, and thanks!

------------------
OpalCat >^,,^<
homepage: http://opalcat.com
UBB: http://fff.fathom.org

#35947 04/29/2000 10:22 PM
Joined: Jun 2000
Posts: 59
Member
Member
Offline
Joined: Jun 2000
Posts: 59
Quote
quote:
Are you using the PullDown Message Hack from Cal...if so you need to make this change:
##
## Find:
##

$PreviewMessage= &PipeCleaner("$PreviewMessage");

$ThisIcon = qq( );

##
## Change the last line so it reads as follows:
##

$ThisIcon = qq( );


I do not offer support by EMail or ICQ, please post your question at UBBDev....
#35948 04/30/2000 4:26 PM
Joined: Apr 2000
Posts: 1
Junior Member
Junior Member
Offline
Joined: Apr 2000
Posts: 1
JimSomething: I was having the preview-does-post problem and what you suggested fixed it. Thanks!

#35949 05/02/2000 6:15 PM
Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
I am having a problem that I see others have had. I am using 5.45b and it is posting twice when I preview. Anyone have a fix for this? It works great just need to fix this.

Fred

Quote
quote:

#35950 05/05/2000 9:18 PM
Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
Worked for me with no problems on 5.45c.

#35951 05/09/2000 1:30 AM
Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
Myself the same... 5.45c, first time, no issues whatsoever. My old board (Ultraboard) had a preview function and I missed it so much that I tried this, and it worked perfectly... I am 99% happy.

That other 1% has to do with the previewed message, the two right columns in the table end far before the right side of the window, I'd like to extend it out a little bit, so I'm gonna [censored] around with it for a little while tonight and see if I can make it look perfect.

If not, expect another stupid question from me asking why and how... [Linked Image]

#35952 05/23/2000 11:18 AM
Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
Could someone please post the fix? Im still having the same problems, and I know nothing about debugging that kinda stuff :

Thanks

#35953 12/08/2000 9:11 AM
Joined: Dec 2000
Posts: 151
Member
Member
Offline
Joined: Dec 2000
Posts: 151
I just installed the Java version of the preview mod on my 5.47b version of UBB

It works just fine

It does do a double post ONLY when I open the preview window, close it, and open it again. Then I will end up with a double post.

But only then.

#35954 05/18/2001 1:35 PM
Joined: Apr 2001
Posts: 8
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 8
Does anyone have a fix for the double posting problem?

Even if I just hit "Preview" it posts the message.

Thanks,
Dane


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,833
Joined: January 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)