Edit/Delete Topic

M

Matrix

Guest
I wonder if you can help me out with the script to get edit/delete working. I saw it posted from you before but can't remember where and which cgi script the change goes. It was just a small add on was this in the postings.cgi? I think with this option you also can edit the topic from the edit.cgi.

Administrative Options: Close Topic | Archive/Move | Edit/Delete

Any help, thanks matrix

Message imported from PEG email list
 

Chris Kelleher

Administrator
Staff member
Matrix,

Here is the change you are looking for:

Look for the following in ubb_library2.pl and change what you need to in delete option to make yours match

<BLOCKQUOTE><font size="1" face="Arial, Verdana">code:</font><HR><pre>
$ArchiveOption = qq(&lt;A HREF="$CGIURL/archive.cgi?action=transfer&topic=$ThreadNumber.cgi&TopicSubject=
$SubjectCoded&number=$number&forum=$ForumCoded"&gt;Archive/Move&lt;/A&gt; );
$DeleteOption = qq(&lt;A HREF="$CGIURL/edit.cgi?EditFunction=GetEditThreads&forum=Forum$number&topic=
$ThreadFile"&gt;Edit/Delete&lt;/A&gt; );

[/code]

------------------
Chris Schreiber
ProgressTalk.com Manager
chris@fast4gl.com
 
M

Matrix

Guest
Re. Edit/Delete Topic
Thanks a million works great.
Btw any idea on the preview when using the reply mine jumps to the wrong spot it almost stays on the message field. It works fine when I use the post new topic.

Message imported from PEG email list
 
Top