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

Reply
 
Thread Tools Display Modes
  #11  
Old 04-26-2008, 08:55 PM
maxicep maxicep is offline
 
Join Date: Oct 2006
Location: California
Posts: 288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it doesnt work

I created a new plugin for external_query and product is vbulletin, plugin description is

Quote:
unset($vbulletin->GPC['fulldesc']);
$vbulletin->options['threadpreview'] = 200;
$hook_query_fields .= ",LEFT(post.pagetext,400) AS message";
But RSS Feeds still not cuting.

Stil, looking full description and it is bad.

Version: vbb 3.7 b4
Reply With Quote
  #12  
Old 06-16-2008, 03:01 PM
lackhand lackhand is offline
 
Join Date: Dec 2007
Location: USA
Posts: 10
Благодарил(а): 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 worked for me, but does anyone know how to do this for vBulletin Blog?
Reply With Quote
  #13  
Old 11-29-2008, 05:22 PM
siliconfinance siliconfinance is offline
 
Join Date: Mar 2007
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone find a solution?
Reply With Quote
  #14  
Old 12-17-2008, 06:16 PM
TitanJeff's Avatar
TitanJeff TitanJeff is offline
 
Join Date: Jul 2002
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm in the same boat. I want to cut this to 50 characters.
Reply With Quote
  #15  
Old 12-19-2008, 12:58 AM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 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";
Will this work in 3.7?
How would we remove description all together and just show the thread title?
I'll play around with the 200 and 400

Thanks
-Brandon
Reply With Quote
  #16  
Old 01-26-2009, 09:37 PM
pappocapo's Avatar
pappocapo pappocapo is offline
 
Join Date: Mar 2008
Location: Argentina
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

not work in 3.7.4, not cut feed rss
Reply With Quote
  #17  
Old 02-01-2009, 01:07 PM
Rappy Rappy is offline
 
Join Date: Jan 2004
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In external_start
Code:
unset($vbulletin->GPC['fulldesc']);
$vbulletin->GPC['nohtml'] = true;
$vbulletin->options['threadpreview'] = 200;
Use this, works fine in 3.7.x.
Change 200 to the characters to display.
Also remove the "nohtml" line if you want the feed to display post HTML.
Reply With Quote
  #18  
Old 03-14-2009, 03:48 PM
Pebbled Pebbled is offline
 
Join Date: Jul 2005
Posts: 59
Благодарил(а): 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";
Hi there Paul M, thanks for the code, it works a treat on our forum

Small addition, is it possible to add a small amount of text at the bottom along the lines "for the full length article go to www.examplesite.com" and turn it into an advert for your own website
Reply With Quote
  #19  
Old 03-14-2009, 08:40 PM
as7apcool as7apcool is offline
 
Join Date: Feb 2009
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="http://www.vfxtalk.com/forum/external.php?type=rss2" target="_blank">http://www.vfxtalk.com/forum/external.php?type=rss2</a>

this make any body can take all your new forum topics

it's better to stop this service
Reply With Quote
  #20  
Old 08-17-2009, 03:54 AM
lackhand lackhand is offline
 
Join Date: Dec 2007
Location: USA
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does anyone know how to do a similar plugin for vbulletin Blog RSS?
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 01:58 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.04575 seconds
  • Memory Usage 2,257KB
  • 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
  • (4)bbcode_code
  • (4)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