News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Copy Topics

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

Previous topic - Next topic

d-mon

Hi!

Here is the Hungarian language modification:


<file name="$languagedir/Modifications.hungarian.php">
<!--// Adds the language strings used by this modification //-->
<operation>
<search position="end" />
<add><![CDATA[
$txt['copytopic_copyto'] = 'Másolás ide';
$txt['quick_mod_copy'] = 'Kiválasztott másolása ide';
$txt['copytopic'] = 'Téma másolása';
$txt['copytopics'] = 'Témák másolása';
$txt['cannot_copy'] = 'Nem engedélyezett számodra a témák másolása';
$txt['copytopic_noboards'] = 'Nincs kijelölt cél a másoláshoz!';
$txt['copytopic_notallowed'] = 'Nincs engedélyed a kijelölt cél eléréséhez!';
$txt['permissionname_copy'] = 'Téma másolása';
$txt['permissionhelp_copy'] = 'Egy téma másolása egy másik helyre. A felhasználónak rendelkeznie kell engedéllyel a kijelölt célhoz, hogy másolni tudja a témát.';
$txt['copytopic_negativeseo'] = 'Legyél óvatos, hisz a másolás nem várt hibákat eredményezhet, pl. kereséskor duplán jelenik meg a találat..';
]]></add>
</operation>
</file>



...and Hungarian-utf8 modification:


<file name="$languagedir/Modifications.hungarian-utf8.php">
<!--// Adds the language strings used by this modification //-->
<operation>
<search position="end" />
<add><![CDATA[
$txt['copytopic_copyto'] = 'Másolás ide';
$txt['quick_mod_copy'] = 'Kiválasztott másolása ide';
$txt['copytopic'] = 'Téma másolása';
$txt['copytopics'] = 'Témák másolása';
$txt['cannot_copy'] = 'Nem engedélyezett számodra a témák másolása';
$txt['copytopic_noboards'] = 'Nincs kijelölt cél a másoláshoz!';
$txt['copytopic_notallowed'] = 'Nincs engedélyed a kijelölt cél eléréséhez!';
$txt['permissionname_copy'] = 'Téma másolása';
$txt['permissionhelp_copy'] = 'Egy téma másolása egy másik helyre. A felhasználónak rendelkeznie kell engedéllyel a kijelölt célhoz, hogy másolni tudja a témát.';
$txt['copytopic_negativeseo'] = 'Legyél óvatos, hisz a másolás nem várt hibákat eredményezhet, pl. kereséskor duplán jelenik meg a találat..';
]]></add>
</operation>
</file>

d-mon

Quote from: allymcbeal on February 23, 2009, 07:32:05 PM
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?

Hi!

Your problem is, when you selected the Italian language, then te mod isn't italian lang. If you like italian lang, then you make that.
Unzip the copytopic mod.
Open with text editor the "install-1.1.x.xml" file, when you have 1.1.x SMF forum, or "install-2.x.xml" file when you have 2.x Forum.
Search the "  <file name="$languagedir/Modifications.english.php" >  "
and  exchange it for this:
"  <file name="$languagedir/Modifications.italian.php" >  "
or
"  <file name="$languagedir/Modifications.italian-utf8.php" >  "
when you using italian UTF-8 lang.


now translate under it the 'Copy to', 'Copy selected to', 'Copy Topic', etc. onto Italian.

When you have done, make zip, and uninstall the old mod, and install the new mod.

floydpink

Installed in 1.1.8 and worked perfectly. Thanks very much.

Button image attached for anyone using buttons in their forum.

squad

It' s only taken several months, but I have finally been
able  to instal this on 1.1.8 without any problems.

Only thing I have noticed is it doesn't update the post
count or other stats.

Happy to live with that, unless someone knows a easy,
idiot proof way of adjusting this :)

I have read all this thread, and have done the Forum
Maintenance that has been mentioned.

allymcbeal

Quote from: d-mon on February 28, 2009, 04:08:05 AM
Quote from: allymcbeal on February 23, 2009, 07:32:05 PM
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?

Hi!

Your problem is, when you selected the Italian language, then te mod isn't italian lang. If you like italian lang, then you make that.
Unzip the copytopic mod.
Open with text editor the "install-1.1.x.xml" file, when you have 1.1.x SMF forum, or "install-2.x.xml" file when you have 2.x Forum.
Search the "  <file name="$languagedir/Modifications.english.php" >  "
and  exchange it for this:
"  <file name="$languagedir/Modifications.italian.php" >  "
or
"  <file name="$languagedir/Modifications.italian-utf8.php" >  "
when you using italian UTF-8 lang.


now translate under it the 'Copy to', 'Copy selected to', 'Copy Topic', etc. onto Italian.

When you have done, make zip, and uninstall the old mod, and install the new mod.

I have did it but it doen't works, because I can't see the button, also if I change language, and set English, there is always the problem, only if I set a default theme then I can see the option.


JBlaze

New Update

6/12/09 - v1.5
o Updated compatibility for 1.1.9 and 2.0 RC1-1
Jason Clemons
Former Team Member 2009 - 2012

imno007

I thought this was suppose to work with the core theme without editing. Not with my new install of 2.0 RC1-1 it doesn't....

JBlaze

Quote from: imno007 on June 13, 2009, 11:14:13 PM
I thought this was suppose to work with the core theme without editing. Not with my new install of 2.0 RC1-1 it doesn't....

Are you getting any errors? Sometimes, mods can conflict with one another, thus preventing some mods from installing.

You may have to make manual edits to install this mod.
Jason Clemons
Former Team Member 2009 - 2012

imno007

#128
Quote from: JBlaze on June 14, 2009, 01:14:34 PM
Quote from: imno007 on June 13, 2009, 11:14:13 PM
I thought this was suppose to work with the core theme without editing. Not with my new install of 2.0 RC1-1 it doesn't....

Are you getting any errors? Sometimes, mods can conflict with one another, thus preventing some mods from installing.

You may have to make manual edits to install this mod.

Hi, thank for responding. Yes, a few of the tests failed for 'MessageIndex.template.php': Execute Modification, Add After, and Replace.

Also, it's saying Hungarian files can't be found, but they're not needed, right?

So I'm assuming that I have to edit 'MessageIndex.template.php'...

JBlaze

Quote from: imno007 on June 17, 2009, 05:02:57 PM
Quote from: JBlaze on June 14, 2009, 01:14:34 PM
Quote from: imno007 on June 13, 2009, 11:14:13 PM
I thought this was suppose to work with the core theme without editing. Not with my new install of 2.0 RC1-1 it doesn't....

Are you getting any errors? Sometimes, mods can conflict with one another, thus preventing some mods from installing.

You may have to make manual edits to install this mod.

Hi, thank for responding. Yes, a few of the tests failed for 'MessageIndex.template.php': Execute Modification, Add After, and Replace.

Also, it's saying Hungarian files can't be found, but they're not needed, right?

So I'm assuming that I have to edit 'MessageIndex.template.php'...


Try the new update. There were a frew botched files on install because the package didnt pack up quite right.
Jason Clemons
Former Team Member 2009 - 2012

imno007

I just tried it, JBlaze, and I'm getting the exact same errors. :(

linette97

Works great! Thanks!! needed something like this!!
Watch Documentaries Online!


Yesterday is history,
Tomorrow is a mystery,
Today is a gift,
That's why it's called the Present.

squad


I am using it very successfully, just wish it increased the post count as well  :o

Still it saves heaps of time, :)

Thank you.

JBlaze

Quote from: imno007 on June 19, 2009, 10:40:10 PM
I just tried it, JBlaze, and I'm getting the exact same errors. :(

When you say "exact same errors", do you mean that you are getting the error on install still? If so, go to the mods page, parse the manual install instructions and make the manual edits. It just means that some other mod is interfering with the find/replace of the install.


Quote from: linette97 on June 21, 2009, 03:07:25 PM
Works great! Thanks!! needed something like this!!

Glad to help :)

Quote from: squad on June 21, 2009, 04:27:54 PM

I am using it very successfully, just wish it increased the post count as well  :o

Still it saves heaps of time, :)

Thank you.

No problem :)
Jason Clemons
Former Team Member 2009 - 2012

imno007

Hi, yes, by the same errors, I meant the same errors I listed a couple a few posts up - error messages on install for:

5.     Execute Modification     ./Themes/default/MessageIndex.template.php     Test failed
3.     Add After     ./Themes/default/MessageIndex.template.php
4.     Replace     ./Themes/default/MessageIndex.template.php     Test failed

I had looked at the manual instructions. After looking at my core theme's 'MessageIndex.template.php' and not finding the first two or three code lines it says to look for, I gave up. And the default theme I use doesn't even have a 'MessageIndex.template.php'

Think I'll just try again next next version. :)

Scratching my Head

Quote from: allymcbeal on April 29, 2009, 05:19:28 PM
I have did it but it doen't works, because I can't see the button

I use this exact same theme. No luck.
Couldn't say why.


Green Death

There seems to be two tab characters amiss in the mod that are causing the problem.

I have attached the mod (changed for the two tabs) that works on my version of 2.0.

Hope this helps.

Kimmie

is there any way to change this so that when you copy a thread it changes the new one to show being started from the person that copied it?


Kimmie


Advertisement: