Customizing SMF > Modifications and Packages
Copy Topics v1.6 - Updated for SMF 2.0!
SMFHacks.com Team:
Copy Topics
Originally by: Karl Benson
Compatibility: SMF 1.1.x, SMF 2.0.x
Link to Mod | Comments |
Current Version: 1.6
Languages:
Introduction
Adds the ability to copy a single or multiple topics.
Note: The copying functions contain some very memory intensive mysql queries, and there are a considerable number of them.
The more topics and/or the more posts in the topic, the more queries will be used.
Features
Adds Copy Topic permission for membergroups
Copy a single topic from the Topic Display
Copy a single or multiple topics from the Message Index
Copies the entire topic
Updates users postcount/post based membergroups accordingly
Updates all necessary stats
Copies Calendar/events tied to the topic
Copies Entire polls
Copies Attachments
less than 1MB in size only
Providing you haven't exceed any Maximum Attachments directory size
SMF 2.0 version works with 2.0 feature of multiple attachment folders
Installation
Any previous versions of this mod MUST be uninstalled BEFORE installing this version.
Simply install the package to install on the SMF Default Core Theme ONLY.
Manual edits will be required for ALL themes (other than SMF Default Core Theme) which have a custom MessageIndex.template.php and/or Display.template.php
If your theme has its own versions of the language files Modifications.english.php and/or Modifications.english-utf8.php, OR if your using a language other than those supported (listed above) by the mod then you will need to copy the language strings into each custom version of those files.
You will also need to copy the images into each Theme
Themes/{themename}/images/buttons/admin_copy.gif
Themes/{themename}/images/icons/quick_copy.gif
Useful Links
Manual Installation Of Mods
How Do I Modify Files?
Support
Please use the modification thread for support with this modification.
(Please don't ask me to do the edits for you)
Changelog
11/16/09
o Updated to support RC2
6/17/09 - v1.5.1
o Fixed some minor bugs on install.
o Fixed Hungarian Language.
6/12/09 - v1.5
o Updated compatibility for 1.1.9 and 2.0 RC1-1
5/15/08 - v1.4
o Checked works for SMF 1.1.5 and SMF 2.0 Beta 3.1
o Fixed Undefined $txt string Permission bug in 2.x version only (Thanks to Jelle Mees)
o Added Portuguese/Portuguese-utf8 language strings (Thanks to joomlamz)
3/21/08 - v1.3
o Fixed to make install for SMF 2.0 Beta 3 Public
3/15/08 - v1.2
o Removed/disabled copying of 'cached search entries' as causing duplicate key issues
3/2/08 - v1.1
o Converted mod to work for SMF 2.0 beta 2 (and above) (won't work for earlier 2.0 versions)
o 2.0 version takes account of SMF 2.0 multiple attachment folders
o Added German/German-utf8 language strings (Thanks to ltdeta)
o Added Turkish/Turkish-utf8 language strings (Thanks to CiOooo)
o Fixed: Copying multiple topics to copy in the exact same order
o Fixed: Removed LIMIT 1 from UPDATE clauses since sqlite doesn't support them
1/22/08 - v1.0
o Initial release.
karlbenson:
{post reserved: for notes and info later}
Joomlamz:
nice work
good
edi67:
great mod Karl
jossanaijr:
Hi Karl,
great mod. Thanks.
What I would like to have is an option to have a link in the copied topic of the original one.
I'm using this mod to create a board that I've been looking for: Have a "best topic of the week". So I installed this mod but did not give permission to copy but me. Then I copy one topic (to this board) that I will delete every week replacing it by a new one. But members cannot reply in this copied topic, only in the original. So it is why I'm asking for this link.
Navigation
[0] Message Index
[#] Next page
Go to full version