Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Removing full posts from feeds Details »»
Removing full posts from feeds
Version: 1.00, by dlan dlan is offline
Developer Last Online: Oct 2011 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.0.1 Rating:
Released: 01-14-2010 Last Update: Never Installs: 17
Uses Plugins
Re-useable Code  
No support by the author.

I had a problem with content theft in the past, so i wanted to limit the content provided by vbulletin's rss feeds.

I didn't want to mess with the templates to avoid manual checks every time vbulletin updates and for the same reason i didn't want to edit php files. So i came up with this (really) tiny plugin which i hope you'll find useful.
  1. Login to your admin panel
  2. Expand Plugins & Products block
  3. Click Add New Plugin
    • Product: vBulletin
    • Hook Location: external_complete
    • Title: (anything you want, i entered Limit Feeds)
    • Plugin PHP Code (one line):
      PHP Code:
      $output preg_replace('/(\<content\:encoded\>.*\<\/content\:encoded\>)/s'''$output); 
  4. Plugin is Active: Yes
  5. Press Save

All done, now you just made content theft a bit more difficult

Show Your Support

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

Comments
  #2  
Old 01-16-2010, 05:27 AM
yahooooh yahooooh is offline
 
Join Date: Nov 2009
Posts: 150
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i test ot on 3.8.4
not work
Reply With Quote
  #3  
Old 01-16-2010, 06:17 AM
dlan dlan is offline
 
Join Date: Aug 2005
Location: Greece
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

vB Version: 4.0.1
Reply With Quote
  #4  
Old 03-15-2010, 03:06 PM
starman? starman? is offline
 
Join Date: Apr 2008
Posts: 181
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice work - tagged.
Reply With Quote
  #5  
Old 03-15-2010, 08:26 PM
alessai alessai is offline
 
Join Date: Feb 2006
Posts: 153
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nothing happened used it and tried google reader and it gets the full thing..... ??!

4.0.2
Reply With Quote
  #6  
Old 03-16-2010, 08:44 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please export the plugin and attach as file to this the first post. Modifications must always be uploaded as a file.
Reply With Quote
  #7  
Old 05-24-2010, 07:57 AM
ChopSuey ChopSuey is offline
 
Join Date: Jun 2009
Location: Alaska
Posts: 2,140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here it is, good luck! Install as PLUGIN
Attached Files
File Type: xml removefullposts.xml (356 Bytes, 26 views)
Reply With Quote
  #8  
Old 05-29-2010, 12:16 AM
InfoAddict InfoAddict is offline
 
Join Date: Mar 2004
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could you post an example of what it does to the feed?
Reply With Quote
  #9  
Old 05-29-2010, 03:10 AM
evildon's Avatar
evildon evildon is offline
 
Join Date: Dec 2009
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Same problem.. Nothing happended..Still getting the full FEEDS
Reply With Quote
  #10  
Old 05-29-2010, 04:12 AM
ChopSuey ChopSuey is offline
 
Join Date: Jun 2009
Location: Alaska
Posts: 2,140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

NO people who feed from YOUR forum, don't get full feeds. Atleast thats what it says.
Reply With Quote
Reply

Thread Tools

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 09:42 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.04828 seconds
  • Memory Usage 2,301KB
  • Queries Executed 24 (?)
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
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)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
  • (1)postbit_attachment
  • (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_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
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete