Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 12-20-2006, 09:46 PM
jahshaka jahshaka is offline
 
Join Date: Jan 2006
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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?
Reply With Quote
  #2  
Old 12-23-2006, 07:27 AM
jahshaka jahshaka is offline
 
Join Date: Jan 2006
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bump???
Reply With Quote
  #3  
Old 01-25-2007, 07:37 AM
jahshaka jahshaka is offline
 
Join Date: Jan 2006
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!!!
Reply With Quote
  #4  
Old 02-16-2007, 10:45 PM
ResaleBroker's Avatar
ResaleBroker ResaleBroker is offline
 
Join Date: Aug 2004
Location: Arizona, USA
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did anyone come up with a solution for this?
Reply With Quote
  #5  
Old 03-30-2007, 10:36 AM
jahshaka jahshaka is offline
 
Join Date: Jan 2006
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i have not been able to ... cant find a mod for this either!
Reply With Quote
  #6  
Old 04-24-2007, 01:05 AM
jahshaka jahshaka is offline
 
Join Date: Jan 2006
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

still no-one?
Reply With Quote
  #7  
Old 10-31-2007, 05:55 PM
mccollin mccollin is offline
 
Join Date: Jul 2003
Location: North Carolina, USA
Posts: 160
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 10-31-2007, 07:57 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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";
Reply With Quote
  #9  
Old 10-31-2007, 08:08 PM
mccollin mccollin is offline
 
Join Date: Jul 2003
Location: North Carolina, USA
Posts: 160
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #10  
Old 02-06-2008, 04:00 PM
ResaleBroker's Avatar
ResaleBroker ResaleBroker is offline
 
Join Date: Aug 2004
Location: Arizona, USA
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
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!!!
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 02:22 PM.


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.04229 seconds
  • Memory Usage 2,252KB
  • Queries Executed 11 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)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_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