vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Last X Threads From A Particular Forum On Non-VB Page (https://vborg.vbsupport.ru/showthread.php?t=62823)

Gastongr 04-28-2005 03:03 AM

Wistow i can't find that code,
i don't even have an "if" in my file. i downlaoded it from here :S

Gastongr 04-28-2005 03:17 AM

Already edited this to my needs and get it working

CrimsonGT 05-09-2005 04:38 AM

It works just fine on my site, however I am having a problem getting it to display the post as well. It shows the thread titles and the person who posted it, but I would like to actually display the message as well.

smdani 05-09-2005 10:31 AM

This is a great hack.
I use it a lot into my website.
I would like to show also 400 first characters of a post below the link. I tried to select the text through the mysql sentence, but it appears unformatted (no spidering tags).
Anyone knows how to do this?

Thanks in advance

Dionysis 05-13-2005 03:10 AM

just remove the "WHERE forumid=$forumid" completely from the query, and it'll select from every forum.

If you want to select from secified forum ID's, you'll have to write a loop to insert that ID foreach forumid

something like:

..."WHERE (loop here{each forum id}) ORDER BY"....

too lazy to type code ^_^.

poetic 08-07-2005 06:55 PM

so how do we put the code?

include("/path/to/lastthreads3.php");

or

/path/to/lastthreads3.php

lewisbeech 08-11-2005 01:53 PM

this is odd, i uploaded the script to /includes (right?!?) and nothing! the site i want it on is www.a-2z.com


All times are GMT. The time now is 07:02 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.01248 seconds
  • Memory Usage 1,726KB
  • 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)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete