vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How to show recent post per category / forumID ??? (https://vborg.vbsupport.ru/showthread.php?t=289175)

v123shine 10-17-2012 06:36 AM

How to show recent post per category / forumID ???
 
PHP code to show 10 recent post per category forum / forumID ???
Can anyone help me please! thanks

Lynne 10-17-2012 04:09 PM

Did you try a search? I know there is either a modification or article on how to do this.

kpmedia 10-21-2012 12:47 PM

Quote:

Originally Posted by Lynne (Post 2373790)
Did you try a search? I know there is either a modification or article on how to do this.

This is true ... but none of them work very well. :(

@OP: I just finished writing my own, though it'll be a while before I'm ready to share it. (I know that doesn't do you any good, but I would like to vet it first, then clean it up before release. I want to release several mods next year that I did in 2011 and 2012.) If you're good with PHP, MySQL, and searching this site, then you can do the same thing.

:)

v123shine 11-19-2012 08:32 AM

I always 'search' before post the new thread. But i can't find the solution.

I want PHP code for recent post OR recent activity (per category / forumID) NOT rss feed.

Why I dont want rss feed??
because rss only show recent thread but the answere of thread they can't to show!

Can some one help me, please!
Thank you

v123shine 11-22-2012 08:35 AM

help me, please!

v123shine 11-23-2012 09:33 PM

can someone help me, please!

Lynne 11-23-2012 10:14 PM

Take a look at the query in packages/vbcms/item/widget/recentposts.php and modify that query to only grab from a certain forumid.


All times are GMT. The time now is 03:55 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.01224 seconds
  • Memory Usage 1,720KB
  • 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
  • (7)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