vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   limit rss description (https://vborg.vbsupport.ru/showthread.php?t=134474)

jahshaka 12-20-2006 09:46 PM

limit rss description
 
hey,

reall going crazy trying to figure this out! i have 2 forums running vbulletin and am about to start a 3rd but cant get my feeds to work right.

on my main forum, running vb 3.5, my rss feeds are cut at about 200 characters - i didnt set this and cant figure out how and where this was done?

http://www.vfxtalk.com/forum/external.php?type=rss2

on my 2nd forum, running vb 3.6, the feeds show the entire post!

http://www.vfxjobs.com/forum/external.php?type=rss2

and so people can jack all my job listings! how can i cut it back to be the same as in my first forum?

i also want to upgrade my first forum but am now concerned that the same problem will happen!

UPDATE!

ok so this is what i got back from vbulletin.com

Quote:

I believe that is the difference between how RSS feeds are processed between 3.5 and 3.6. Changing this requires modifying the code.
are there any mod's for 3.6 that do just this - shorten the description in the feed?

jahshaka 12-23-2006 07:27 AM

bump???

jahshaka 01-25-2007 07:37 AM

yea bump again,

this is a serious fricking problem in vb 3.6 in that your forums content gets jacked by everyone out there with a site and a rss reader... they can scoop down text, images, etc....

its a night mare how do i fix things so they just get the first 100 words??? rss is supposed to promote my site not let people jack it!

help please!!!

ResaleBroker 02-16-2007 10:45 PM

Did anyone come up with a solution for this?

jahshaka 03-30-2007 10:36 AM

i have not been able to ... cant find a mod for this either!

jahshaka 04-24-2007 01:05 AM

still no-one?

mccollin 10-31-2007 05:55 PM

I would like to know this too... I would like to limit the feed to a few lines... not the whole article. Otherwise someone could just feed my news stories directly to their site. This is a crazy design if there is no way to limit it.

Paul M 10-31-2007 07:57 PM

There is no way to limit it without using a plugin (as we do here).

This is a simplfied version of what we do ;

Hook: external_query
Code:

unset($vbulletin->GPC['fulldesc']);
$vbulletin->options['threadpreview'] = 200;
$hook_query_fields .= ",LEFT(post.pagetext,400) AS message";


mccollin 10-31-2007 08:08 PM

Thanks for sharing that. I'm actually onto another plan now. It looks like its not that difficult to convert everything to Feedburner. I'm going to attempt to convert my stuff to that. In order to then force everyone through Feedburner, I wonder if there would be any side-effects if I changed the name of external.php to something else after I get it converted. That would assure that no one could use the old method and get full feeds.

ResaleBroker 02-06-2008 04:00 PM

Quote:

Originally Posted by Paul M (Post 1372991)
There is no way to limit it without using a plugin (as we do here).

This is a simplfied version of what we do ;

Hook: external_query
Code:

unset($vbulletin->GPC['fulldesc']);
$vbulletin->options['threadpreview'] = 200;
$hook_query_fields .= ",LEFT(post.pagetext,400) AS message";


This works great. Thank You!!!


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

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00988 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete