Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 Merge Topic Mod BETA 2

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!
Before posting, make sure you have read this topic!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
Davio Posted - 21 September 2006 : 20:12:14
Mod Name: Merge Topic Mod
Version: Beta 2
Snitz Forums Tested with: 3.4.05 and newer (should be able to work with all 3.4 versions)
Database support: All database types supported
Author: Davio
Last Updated: September 25, 2006.

Description:
This mod allows you to merge 2 topics together, along with all of their replies. Replies will be ordered by their post date.

Download:
Primary site: http://www.snitzbitz.com/mods/details.asp?Version=All&mid=233

To-Do:
- Add feature to email author that his topic was merged with another.
- Handling of subscriptions need to be dealt with for both topics being merged.
- Maybe get a better icon to use?
- Fix bugs!

Known Bugs:
- When merging 2 topics between 2 different forums, the merged topic ends up in the wrong forum. FIXED in beta 2

You guys have been asking me for this code for the longest while. So here it is.
It is not fully ready for prime time. There is still some things left on the To-Do list and some bugs to iron out. But hoping with your help, we can get it there more quickly, instead of waiting on me.

Please don't use this on your live forum as yet. If you do, don't come and blame anyone here that your topics got messed up.

Please post your bug reports, errors, suggestions in this thread.<
15   L A T E S T    R E P L I E S    (Newest First)
pierretopping Posted - 14 March 2011 : 06:00:31
Sorry, silly me :-)

Thanks for your help, will give it a go.

Pierre
Davio Posted - 13 March 2011 : 23:40:32
If you read the previous post before yours, it should answer your question.

If you need help with it, just ask away.
pierretopping Posted - 13 March 2011 : 14:39:27
Hi All,

Was a readme file for the Merge Topic Mod mod every posted somewhere ?

Looking to give it a go in a test forum.

Thanks,

Pierre
HuwR Posted - 12 October 2008 : 13:14:13
quote:
Originally posted by AnonJr

If you search the files for "Merge Topic Mod" the changes are outlined. Its still in beta, which is probably why a proper "ReadMe" hasn't been made.

<
m_r Posted - 12 October 2008 : 12:56:38
http://www.snitzbitz.com/mods/details.asp?Version=All&mid=233
There is no Readme how Added<
richfed Posted - 31 August 2008 : 08:42:03
Okie dokie, then ... I'll give it a try.<
modifichicci Posted - 30 August 2008 : 15:40:20
It works well, with some fixes I have posted. No problems till now in our distribution that include that mod.<
Davio Posted - 30 August 2008 : 14:39:37
quote:
Originally posted by richfed

So, as of the moment, is this MOD considered fairly stable? I could make use of it on my forum, but am hesitant if it's really not ready.

Yeah it's stable enough. Apart from a readme file. <
AnonJr Posted - 30 August 2008 : 10:58:31
I've not seen anything that indicates otherwise. It seems a number of people have been using it without any major problems - lack of a readme not withstanding.<
richfed Posted - 30 August 2008 : 09:54:20
So, as of the moment, is this MOD considered fairly stable? I could make use of it on my forum, but am hesitant if it's really not ready.<
AnonJr Posted - 04 February 2008 : 09:07:17
If you search the files for "Merge Topic Mod" the changes are outlined. Its still in beta, which is probably why a proper "ReadMe" hasn't been made.<
muzishun Posted - 01 February 2008 : 17:34:06
m_r, read my and AnonJr's responses in the other thread.<
m_r Posted - 30 January 2008 : 18:19:24
What is the way to add to my copy
What can I file for amendment
The adjustment method
http://www.snitzbitz.com/mods/details.asp?Version=All&mid=233<
modifichicci Posted - 10 October 2007 : 14:54:36
Working well.
I have add some modifications:

in merge.asp
at line 281

I have adde strForumUrl and Topicid, so you need only to insert the topic number

" <p><i>URL:</i><br><input class=""text"" type=""text"" maxLength=""250"" name=""url"" id=""url"" value=""" & strForumUrl & "topic.asp?TOPIC_ID="" size=""50""></p>" & vbNewLine & _

Dimension can be varied to fit with your needing.

Mail to author to tell topic is merged:

in post_info in merge code: (line number may be different from my version)
after

if blnInSameForum = false then
strSql = "UPDATE " & strTablePrefix & "TOPICS "
strSql = strSql & " SET FORUM_ID = " & allRec(ForumID, intTargetTopic)
strSql = strSql & ", CAT_ID = " & allRec(CatID, intTargetTopic)
strSql = strSql & " WHERE TOPIC_ID = " & allRec(TopicID, intNotTargetTopic)
'Response.Write strSql & "<br>"
'Response.End
my_Conn.Execute (strSql),,adCmdText + adExecuteNoRecords
end if

add

if lcase(strEmail) = "1" then 'not implemented yet
'Send mail to author letting him know his topic was merged with another.
'DoAutoMoveEmail(allRec(Topic_ID, intOlderTopic))
strSql = "SELECT M.MEMBER_ID, M.M_NAME, M.M_EMAIL, T.FORUM_ID, T.T_SUBJECT "
strSql = strSql & " FROM " & strMemberTablePrefix & "MEMBERS M, " & strActivePrefix & "TOPICS T "
strSql = strSql & " WHERE M.MEMBER_ID = " & allRec(Topic_Author, intOtherTopic)
strSql = strSql & " AND T.TOPIC_ID = " & allRec(TopicID, intOtherTopic)
'Response.Write strSql
'Response.End
set rs2 = my_Conn.Execute (strSql)

email = rs2("M_EMAIL")
user_name = rs2("M_NAME")
Topic_Title = rs2("T_SUBJECT")
ForumId = rs2("FORUM_ID")
Usernum = rs2("MEMBER_ID")

rs2.close

strRecipientsName = user_name
strRecipients = email
strSubject = strForumTitle & " - Topic Moved"
strMessage = "Hello " & user_name & vbNewLine & vbNewLine
strMessage = strMessage & "Your posting on " & strForumTitle & "." & vbNewLine
strMessage = strMessage & "Regarding the subject - " & allRec(Topic_Subject, intOtherTopic) & "." & vbNewLine & vbNewLine

if not(chkForumAccess(ForumID,Usernum,false)) then
strMessage = strMessage & "Has been removed from public display. If you have any questions regarding this, please contact the Administrator of the forum" & vbNewLine
else
strMessage = strMessage & "Has been moved to a new forum, You can view it at " & vbNewLine & Left(Request.Form("refer"), InstrRev(Request.Form("refer"), "/")) & "topic.asp?TOPIC_ID=" & allRec(TopicID, intOlderTopic) & vbNewLine
end if
%>
<!--#INCLUDE FILE="inc_mail.asp" -->
<%
end if

and delete the same lines a little below.<
MarkJH Posted - 08 February 2007 : 05:50:34
quote:
Mark, I haven't forgotten about you.
It's okay, just a minor quibble in the grand scheme of things. Cheers, Davio. <

Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000 Version 3.4.07