vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Expert Help - with .com's Code (https://vborg.vbsupport.ru/showthread.php?t=190140)

legionofangels 09-05-2008 10:27 PM

Expert Help - with .com's Code
 
Hey we found this on vb.com

http://www.vbulletin.com/forum/showthread.php?t=158895

However, what we are trying to do is show the last 10 posts, regardless of when they were made. I have this feeling that what the code above does, is it shows the latest active threads only, meaning in the past 24 hours what the latest threads were in that time period. We want it to just show the latest 10 posts or whatever, regardless of how long ago they were made.

What do we have to change in that code to make it do that?

Thank you very much if anyone can figure this out.

Sincerely,

LoA

--------------- Added [DATE]1220662702[/DATE] at [TIME]1220662702[/TIME] ---------------

Yep, I was right.

It works just like an RSS. It only pulls the latest threads that were made like an RSS feed.

We need something similar to what CYB Advanced Statistics does and have it pull the latest posts from certain forum arrays.

How do we do this?

SEOvB 09-06-2008 03:48 AM

just grab the forum specific feed example

http://sitename.com/forums/external....rumids=FORUMID

ex: http://seotips4.com/forum/external.php?forumids=2

Will only output the threads from forumid 2

Lynne 09-06-2008 02:39 PM

She wants *posts*, not *threads*. It's the same thing with some users who want to use the RSS feeds - they want the latest posts, not the latest threads.

legionofangels 09-06-2008 08:06 PM

Quote:

Originally Posted by Lynne (Post 1615941)
She wants *posts*, not *threads*. It's the same thing with some users who want to use the RSS feeds - they want the latest posts, not the latest threads.

Not a she, but the rest is true.

I want the latest posts, not the latest threads.

I imagine that it can be done by changing some simple things in that code, but I could be wrong. If anyone knows, please help, I'd love to have this and I'm sure many others would to, so maybe release it as well as a mod of your own.

...and ps, using the RSS Feed does the exact same thing as what the code above does, it gets me new threads and not new posts which is what I want.


All times are GMT. The time now is 03:31 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.02107 seconds
  • Memory Usage 1,717KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete