Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Thread Content Anti-Theft Details »»
Thread Content Anti-Theft
Version: 1.00, by RMS-Chef RMS-Chef is offline
Developer Last Online: Oct 2015 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.6.x Rating:
Released: 06-08-2007 Last Update: 06-08-2007 Installs: 18
Template Edits
Re-useable Code Translations  
No support by the author.

Description:
With one of my sites members submit nicely formated content in select forums. Most include thread content with a bunch of images/thumbs (sometimes hundreds of images) and over time we found that some users were using the quote button to get the content and image BBcodes and doing a copy/paste on the entire first content post and reposting on other forums claiming it as their own. This template edit helps to curb this practice. I have had several people ask me how this was done so I will provide it here. I imagine the method may help people to adapt it in other ways as well.

What this does:
This template edit removes the QUOTE, MULTI-QUOTE, and QUICK REPLY button in the first post of a thread in select forums and replaces it with an "Anti-Theft" image button instead.

Note:
Nearly nothing is this world is perfect. There are a couple of ways to get around this but we have seen a DRASTIC reduction in copy/paste thread theft due to this. This is especially useful when the thread content contains lots of images and thumbs linking to images BBCode. I also, see no reason why this would not work fine in any 3.x.x install at the very least.

Install:
In template POSTBIT and/or POSTBIT_LEGECY

Find:
Code:
<a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
            </if>
After add:
Code:
<!-- ANTI THREAD THEFT -->
<if condition="$post[postcount] == 1 AND in_array($forum[forumid], array(a,b,c,x,y,z))">
<img src="$stylevar[imgdir_button]/anti-theft-postbit.gif" alt="Thread ANTI-THEFT Enabled" border="0" />
<else />
<!-- / ANTI THREAD THEFT -->
Find:
Code:
<if condition="$show['moderated']">
Above it add:
Code:
<!-- ANTI THREAD THEFT -->
</if>
<!-- / ANTI THREAD THEFT -->
That's it.
In the first code addition, customize the array (a,b,c,x,y,z) with the forum IDs of the forums you want this to effect. All other forums not in this array will not be effected and appear normally. Also, you will have to create an image and alter the "img src=....." part.

I have attached two screenshots. One is the normal postbit button layout and the other is what it looks like with the Anti-Theft enabled.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 06-26-2007, 06:02 PM
cayne cayne is offline
 
Join Date: Jun 2007
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Edit: Sorry, posted to the wrong mod
Anyway, gonna take a look at this one too.
Reply With Quote
  #13  
Old 06-26-2007, 07:14 PM
cheat-master30's Avatar
cheat-master30 cheat-master30 is offline
 
Join Date: Mar 2007
Location: Information Classified
Posts: 1,715
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cayne View Post
Edit: Sorry, posted to the wrong mod
Anyway, gonna take a look at this one too.
It's okay enough if the other forums involved don't use the WYSIWYG editor, but if they do, the post will retain all formatting information just from a copy and paste.
Reply With Quote
  #14  
Old 08-23-2007, 03:15 PM
lovegirl lovegirl is offline
 
Join Date: Apr 2007
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've tried this mod , it is very cool the only inconvenient i didnt like it , it remove the reply and forward button in private messages and it act on all forums even i put only one id anyone can enlight me why and help me to fix it ..?or maybe i did something wrong i dunno
Reply With Quote
  #15  
Old 08-24-2007, 12:25 PM
Nathan2006's Avatar
Nathan2006 Nathan2006 is offline
 
Join Date: Feb 2006
Location: UK
Posts: 862
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Lots of people know about ways around everything but why does everyone have to use this thread to go on and on about it?



Thank you very much RMS-Chef

I have been looking for this for a long time now

I have always hated the fact that someone posts a ton of text, pictures, links and everyone always quotes the whole lot just to say "thanks"

Back to very tidy threads

I find it very annoying when people do it - and there is no point in them doing it lol


Thanks again for this fantastic hack and I have voted MOTM too


Install
Reply With Quote
  #16  
Old 08-25-2007, 11:15 AM
harmor19 harmor19 is offline
 
Join Date: Apr 2005
Posts: 1,324
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm trying to make my own text scrambler. I haven't put it in modification form yet but planning to this fall (I lose interest in coding in the summer).
You can test out the scrambler here
Reply With Quote
  #17  
Old 08-29-2007, 10:47 PM
Nathan2006's Avatar
Nathan2006 Nathan2006 is offline
 
Join Date: Feb 2006
Location: UK
Posts: 862
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by harmor19 View Post
I'm trying to make my own text scrambler. I haven't put it in modification form yet but planning to this fall (I lose interest in coding in the summer).
You can test out the scrambler here

That's cool Would be great to have for certain forums
Reply With Quote
  #18  
Old 09-02-2007, 06:04 PM
Saviour's Avatar
Saviour Saviour is offline
 
Join Date: Apr 2007
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

At least the thought was there...but becuase there are ways around it...this hack really has no use.

Nice try, though...
Reply With Quote
  #19  
Old 09-08-2007, 04:22 PM
sandt38's Avatar
sandt38 sandt38 is offline
 
Join Date: Aug 2007
Location: In a house
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It didn't work for me, sadly. But I have to run out the door right now, so i can't manipulate it.

But I wonder, do I have to add the child forums as well, or can i just use parent forums in the array template modification? Also, will this work for pre-existing posts, or will it work for new posts after the mod only?
Reply With Quote
  #20  
Old 11-17-2009, 05:18 PM
Celebutopia Celebutopia is offline
 
Join Date: Feb 2009
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works fine on 8.2
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:36 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04738 seconds
  • Memory Usage 2,301KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete