• Welcome to Simple Machines Community Forum. Please login or sign up.
November 28, 2021, 07:14:06 PM

News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord


FixCopy

Started by nikan, May 06, 2013, 06:33:58 PM

Previous topic - Next topic

nikan

May 06, 2013, 06:33:58 PM Last Edit: December 19, 2013, 09:43:42 PM by nikan
Link to Mod

Introduction
The FixCopy mod adds your site link at the end of anything copied from your site.

Features
* Adds your site link at the end of the copied content
* Admins don't have their site link in the copied content

History
Upgraded version:
2.0 - Moved the code to external file
      - When you press copy, the selected content stays selected
      - The copied content keeps alignment of code and tabs

Previous version:
1.1 - Removed the language string
      - XHTML Valid
1.0 - Initial release

Arantor

This could get old fast for people like me who copy the text to make quotes with it, but interesting idea otherwise.
No good deed goes unpunished
All helpful urges should be circumvented

Shambles

It's a highly entertaining idea and it works fine, well done.

I would just amend your mod description slightly to account for the fact it doesn't actually affect "anything copied from your site", just text blocks.

Colin

Just a brief idea maybe to add the ability to disable this for members or admins. Nice work, nikan.
"If everybody is thinking alike, then somebody is not thinking." - Gen. George S. Patton Jr.

Colin

nikan

Thank you all.
It's already disabled for admins. Members are also a reason for this mod.

Burke ♞ Knight

Quote from: nikan on June 03, 2013, 02:20:13 PM
Thank you all.
It's already disabled for admins. Members are also a reason for this mod.

I tend to agree with that. Members are at least 60% of the ones copying from sites.
I like this mod idea. Great job on it. :)

Hristo

Thanks for the mod, really good idea!

Just for the record - seems it does not work in Opera 12.15 and IE8.

Biology Forums

Excellent mod. I think it's lacking permissions. For example, admin chooses which member-groups are exempt from it.

Colin

Quote from: Liam_michael on June 17, 2013, 12:05:01 AM
Excellent mod. I think it's lacking permissions. For example, admin chooses which member-groups are exempt from it.

I agree that would be huge.
"If everybody is thinking alike, then somebody is not thinking." - Gen. George S. Patton Jr.

Colin

lurkalot

Quote from: Liam_michael on June 17, 2013, 12:05:01 AM
Excellent mod. I think it's lacking permissions. For example, admin chooses which member-groups are exempt from it.

I also think this would be a great idea. 

Mod looks great, always nice to get free backlinks from people stealing your content.  I'm guessing it works a bit like the Tynt mod, but less hassle?

luuuciano

Thanks, nice mod...

BTW, it would be nice a customizable string before the link, like the "Information from: "
(I have added by hand, editing the file... I like to do it that way anyway... but maybe other admins do not, or do not know how)


  oDiv.innerHTML += "<br />\n<br />\nInformation from: <a href=" + document.location.href + ">" + document.location.href + "</a>";


Or at least handled by an item on language files, Modifications.whatever.php
No me agradan los foros que no te dejan borrar TU PROPIO usuario, como por ejemplo smfsimple.com.
E incluso te mandan emails no solicitados, de los cuales, quizá, no puedas escapar porque NO te dejan posibilidad a deshabilitarlos (a menos que NO te tengan en su lista negra).

nikan

Thanks, but I found that it is preferable to have only the link, so i removed the language string.

luuuciano

It would be nice a function, to make it work only when copying inside the forumposts ID (posts/topics content)
No me agradan los foros que no te dejan borrar TU PROPIO usuario, como por ejemplo smfsimple.com.
E incluso te mandan emails no solicitados, de los cuales, quizá, no puedas escapar porque NO te dejan posibilidad a deshabilitarlos (a menos que NO te tengan en su lista negra).

Advertisement: