vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   [Free Script] Show Latest forum posts on any page. (No RSS) (https://vborg.vbsupport.ru/showthread.php?t=259600)

Eliasen 02-28-2011 06:19 PM

[Free Script] Show Latest forum posts on any page. (No RSS)
 
1 Attachment(s)
Deleted - Obsolete

777333 03-05-2011 08:50 AM

Thank you :)
Can you add an option for getting the latest posts only from selected forums?

Hasman5 04-06-2011 06:08 AM

Thank you for the script, it's great.

My thread titles aren't showing up though. Is there anything I need to edit on the script to fix this?

This is what I get -
Thread:
Post by: eroc609
Thread:
Post by: DonVengeance
Thread:
Post by: DonVengeance
Thread:
Post by: blu
Thread:
Post by: Last Call

http://jcolenation.com/latestposts.php

EDIT:
Doing a little fiddling, I've found that the '$newposts[title]' doesn't seem to read. If I replace 'title' with 'threadid', the thread id appears. Is there any other name for the thread title I could try?

philwareham 04-18-2011 01:27 PM

@Hasman5

Did you manage to fix the missing title issue? If so can you post the solution, I'm getting the same result?

Also, how could I include the thread post date into the above scripting?

Cheers,
Phil

Disasterpiece 04-19-2011 03:03 PM

Problem:

When I post in my mod/admin forum which is not public, it gets displayed too. Permission tests are circumvented in your code example.
Same for posts in forum with not enough permission, passworded forums, moderated threads, etc.


All times are GMT. The time now is 11:13 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.01071 seconds
  • Memory Usage 1,713KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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