PDA

View Full Version : Expert Help - with .com's Code


legionofangels
09-05-2008, 11:27 PM
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 1220662702 at 1220662702 ---------------

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, 04:48 AM
just grab the forum specific feed example

http://sitename.com/forums/external.php?forumids=FORUMID

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

Will only output the threads from forumid 2

Lynne
09-06-2008, 03: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, 09:06 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.

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.