Copy Topics

Started by SMFHacks.com Team, January 22, 2008, 11:19:07 PM

Previous topic - Next topic

digit

#100
Installed without errors...  but when trying to copy a topic, I am getting....

Unknown column 'b.ID_BOARD' in 'where clause'
File: /users/Sources/CopyTopic.php
Line: 624

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.5, while your database is at version 1.1 RC2. The above error might possibly go away if you execute the latest version of upgrade.php.

Do I NEED to upgrade the database?

EDIT:  upon further testing, It doesn't happen when I click on the text "Copy Topic" at the bottom of the thread. (WOOHOO!!!) 

It happened when I checked the check box on the quick mod button on the message index page, then selected the pull down menu "Copy Topic".

Happily using a heavily modified 1.1.16 version of SMF!

2748011 Posts in 320998 Topics by 50986 Members


SOLD my website - thanks it was a good run - they converted to vbadvanced. (and screwed it up good!)

karlbenson

digit, what version of smf are you using?

digit

Happily using a heavily modified 1.1.16 version of SMF!

2748011 Posts in 320998 Topics by 50986 Members


SOLD my website - thanks it was a good run - they converted to vbadvanced. (and screwed it up good!)

karlbenson

thx.
I think I see it.

When I get a moment, I'll try to post a fixed version.

Adish - (F.L.A.M.E.R)

How to copy one topic to multiple boards by just doing the steps once..??? possible...?? Please let me know...

Thanks.

Eliana Tamerin

That is not currently a feature. You would have to repeat the steps to copy to multiple boards.
Do NOT PM me for support.

SimplePortal 2.3.6 is OUT!
SimplePortal Project Manager
Download | Docs
SimplePortal: Power of Simplicity!

Adish - (F.L.A.M.E.R)

Alright, Thanks for the information.

PAPABEAR

I installed this and it is working. What edit do I need to do for it to work in my custom theme? I tried the package parser link in the beginning of this thread to no avail. I am using v1.1.5. I assume I have to edit my display.template.php. Can you please tell me what edits I need to do?


squad

Hi there, I would love this modification but I am getting the following when I am trying to install via the Package Manager. I have to say that I have no idea how to Manually Install, I'm a bit of a dummy when it comes to this, I would need heaps of easy baby steps and I know no one here has the time, so I am not asking for that.

I am using SMF 1.1.5 Babylon Theme - this is what happens when I try and install:

'Error in Package Installation

At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.'

I certainly didn't continue :) Any help would be greatly appreciated :)


karlbenson

The only solution would be to manually install.

The edits you will have to perform are available via the mod-site.
http://custom.simplemachines.org/mods/index.php?action=parse;mod=1074;attach=55952;smf_version=1.1.5

squad

Thanks karlbenson, I will have a look tonight :)

InternetMafia

Any plans to make this compatible with 1.1.6
Its better to be dead and cool than alive and uncool.

karlbenson

this should work on any 1.1.x version

Deepsnows

Thai Languages translate :)

$txt['copytopic_copyto'] = 'คัดลอกหัวข้อ';
$txt['quick_mod_copy'] = 'คัดลอกไปยัง';
$txt['copytopic'] = 'คัดลอกหัวข้อ';
$txt['copytopics'] = 'คัดลอกหัวข้อ';
$txt['cannot_copy'] = 'คุณไม่ได้รับอนุญาตให้คัดลอกหัวข้อ';
$txt['copytopic_noboards'] = 'ไม่พบบอร์ดที่จะคัดลอกหัวข้อไป!';
$txt['copytopic_notallowed'] = 'คุณไม่ได้รับอนุญาตให้คัดลอกหัวข้อไปยังบอร์ดนี้!';
$txt['permissionname_copy'] = 'คัดลอกหัวข้อ';
$txt['permissionhelp_copy'] = 'คัดลอกหัวข้อจากบอร์ดหนึ่งไปยังอีกบอร์ดหนึ่ง. สมาชิกสามารถคัดลอกหัวข้อไปยังบอร์ดที่ได้รับอนุญาตเท่านั้น.';
$txt['copytopic_negativeseo'] = 'การคัดลอกหัวข้อจะมีผลทาง SEO โดยเมื่อถูกพบโดย Search Engines จะถูกมองว่าเป็น Duplicated Content.';


This good mod
Thanks

digit

Quote from: karlbenson on July 24, 2008, 12:44:03 PM
thx.
I think I see it.

When I get a moment, I'll try to post a fixed version.

Karl did you decide this problem... http://www.simplemachines.org/community/index.php?topic=218406.msg1627666#msg1627666

Unknown column 'b.ID_BOARD' in 'where clause'
File: /users/Sources/CopyTopic.php
Line: 624

...was only on my end, and if so, any idea ho I can fix it?  Thanks in advance.
Happily using a heavily modified 1.1.16 version of SMF!

2748011 Posts in 320998 Topics by 50986 Members


SOLD my website - thanks it was a good run - they converted to vbadvanced. (and screwed it up good!)

LinuxFanatic

Currently I'm using SMF 1.1.7 and this modification works well - good work!

[nofollow]

karlbenson

Lines 621 to 624
Sources/CopyTopics.php

FIND
FROM {$db_prefix}boards
WHERE ID_BOARD = $_REQUEST[move_to]
AND $user_info[query_see_board]

REPLACE
FROM {$db_prefix}boards as b
WHERE b.ID_BOARD = $_REQUEST[move_to]
AND $user_info[query_see_board]

LinuxFanatic

#118
I noticed that only administrators can copy topic  :o

Does someone know, how to solve/change this so that moderators can also make use of this feature ?


Hehe I solve this issue in the ACP for user and group permissions  :D

Sorry  :P :D

[nofollow]

allymcbeal

#119
Hi, I have changed theme and now I can't see the write "copy topic" I think because my new template use the image like button.
The first is the image with default theme and English language (whit Italian language I can't see the copy choice)
The secondo is the new theme and Italian language (also whit englis language I can't see the copy choice).

How can I do to fix it?

Advertisement: