Thread: Add-On Releases - CinVin vB Forum Feed Listing
View Single Post
  #286  
Old 11-26-2007, 03:56 PM
KW802's Avatar
KW802 KW802 is offline
 
Join Date: Jul 2003
Location: A galaxy far, far away...
Posts: 1,450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Saviour View Post
Go to this link: http://www.saviour-pc.com/forums/cv_rss_feeds.php

That will bring you to my feeds page on my forum...

Now clcik the RSS button next to Saviour PC Forum...

Look for the link to "Interested in making a website" and click it...

Do you see the BBCode? That's what I'm talking about...
OK, gotcha' now. That is the actual RSS code that is generated by the stock "external.php" script that comes with vBulletin (eg: http://www.saviour-pc.com/forums/external.php).

The BB code showing is a good question since the external.php script is supposed to strip out the BB code tags. When vB.com is back up (they're down at the moment for the vB 3.7.x beta upgrade) ask them to take a look at http://www.saviour-pc.com/forums/external.php?forumids=54 to see if they would know why your BB codes are not being stripped. The external.php is a stock vBulletin script and the cv_rss_feeds.php script does not have any affect on it.

Quote:
Originally Posted by Saviour View Post
My other question is why doesn't all the content from the post show up in the feed?
By default the amount of the output shown is the same length as the thread preview (when you hover over a thread title in the forum thread listing). That is set in ACP => vBulletin Options => Forum Display Options (forumdisplay) => Length of Thread Preview Text with a default length of 150 characters. If you change that value then take note that it will also affect when you hover over the thread title. If you want just your RSS feeds from external.php to display the entire thread instead of just the thread preview then you can add an option like "fulldesc=1" to the URL. For example, http://www.saviour-pc.com/forums/ext...hp?forumids=54 versus http://www.saviour-pc.com/forums/ext...=54&fulldesc=1. I personally wouldn't give the full feed since then it doesn't give the reader motive to click the link and visit the site since but if you want to change it then modify your "cv_ffl_forum_feed_link" template and change it from...
Code:
$vboptions[bburl]/external.php<if condition="$forumid">?forumids=$forumid</if>
... to ...
Code:
$vboptions[bburl]/external.php?fulldesc=1<if condition="$forumid">&forumids=$forumid</if>
... instead. Note that besides adding the fulldesc=1 option the "?" in the if condition changes to an ampersand "&" as well.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01161 seconds
  • Memory Usage 1,778KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete