Previous Thread
Next Thread
Print Thread
Hop To
#110347 01/11/2002 6:48 AM
Anonymous
Unregistered
Anonymous
Unregistered
1. http://www.lkubb.dns2go.com/cgi-bin/ulti...0000;u=00000001 - Why do we need ;u=00000001 ?

2. When you try to edit a topic, and typed in the syntax manually but forgot to use ;reply_num=XXXXXX , it edits ALL the posts in the topic. <img src="https://www.ubbcentral.com/boards/images/graemlins/frown.gif" alt="" />

[This message was edited by Charles Capps on November 05, 2002 at 09:51 AM.]

#110348 01/11/2002 1:29 PM
Anonymous
Unregistered
Anonymous
Unregistered
1) Uh.. good question! <img src="https://www.ubbcentral.com/boards/images/graemlins/laugh.gif" alt="" />

2) Then don't DO that. <img src="https://www.ubbcentral.com/boards/images/graemlins/smile.gif" alt="" />

--
Charles Capps
Programmer, Infopop Corporation
Please do not contact me privately for support - post on the board or open a support ticket instead!

#110349 01/11/2002 3:33 PM
Anonymous
Unregistered
Anonymous
Unregistered
2) I just tried it on UBBCentral and was only able to edit the first post by omitting reply_num ...??

However, I'd suggest (anyway) changing:
ubb_edit_post.cgi line 53:
@post_line = grep(/^Z&#0124;&#0124;$in{reply_num}/, @this_topic);
to
@post_line = grep(/^Z&#0124;&#0124;$in{reply_num}&#0124;&#0124;/, @this_topic);

Graeme

Moderator: UBB6 How Do I?

NOTE: Any email requests for support will be ignored.

"The ships hung in the sky in much the same way that bricks don't." --Douglas Adams

#110350 01/11/2002 3:40 PM
Anonymous
Unregistered
Anonymous
Unregistered
It showed the first post in the textfield, but when I clicked on Edit Post all the two pages became the edited post <img src="https://www.ubbcentral.com/boards/images/graemlins/frown.gif" alt="" /> And I had a backup only for the first page

#110351 01/11/2002 5:20 PM
Anonymous
Unregistered
Anonymous
Unregistered
Yipe!

Okay, thank you.

--
Charles Capps
Programmer, Infopop Corporation
Please do not contact me privately for support - post on the board or open a support ticket instead!

#110352 01/11/2002 7:19 PM
Anonymous
Unregistered
Anonymous
Unregistered
Suggest applying the same fix mentioned above circa line 224 and 331.

Graeme

Moderator: UBB6 How Do I?

NOTE: Any email requests for support will be ignored.

"The ships hung in the sky in much the same way that bricks don't." --Douglas Adams


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
1 members (Ruben), 476 guests, and 111 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 20230217)