vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Last XX Posts on non-vB page (https://vborg.vbsupport.ru/showthread.php?t=12324)

wild texas 07-14-2002 06:43 PM

Works great! I'm using vBulletin 2.2.6 and have the last (5) posts displaying on my homepage at wildtexas.com.

Dean C 07-15-2002 02:28 PM

I'm getting this error whenever i call up last10.php in my browser:

PHP Code:

Can't select database 

and that is all it says... how can i resolve this?

Thanks in Advance :D

Razgo 07-18-2002 07:27 AM

thanks for the great hack!

is it possible to add a "reply" or "comment" button so users can click on it to reply to a post from the display?

I put this on my Xoops site. it kept returning a blank page in the block until I removed the <? and ?> , this tip might be usefull to someone putting the call "<? include("last10.php"); ?>" in an Xoops block.

thanks.

Aceman 07-24-2002 07:19 PM

Is it possible to edit this hack to NOT show thread that are in a PRIVATE FORUM?

I've got this running on a beta site for my personal site.. but it shows threads from ALL forums...even the private ones.. which I can't have.

Please lemme know.

Aceman
http://www.scifi-meshes.com/tk421/ <--- working beta.

Travis641 07-24-2002 07:30 PM

Put the private forum's ids in the exclude option in last10config.php

Dean C 07-24-2002 08:24 PM

[QUOTE]Originally posted by Mist
I'm getting this error whenever i call up last10.php in my browser:

PHP Code:

Can't select database 

and that is all it says... how can i resolve this?

Thanks in Advance :D

Aceman 07-25-2002 12:16 AM

Thanks Travis641 :)

Gutspiller 07-26-2002 04:24 AM

Can somebody help me get this hack so that it highlights the latest threads within 24 hours a different color?

I am only using the hack 6 times on my frontpage :p but this would really really help me. I don't know much about php, but I know how to follow instructions. :D

If somebody could help me I would greatly appreciate it.

Thanks!

Riddel 07-26-2002 05:50 AM

I'm getting the same error as MIST (Can't select database) can anyone help me?

AloneEagle 07-27-2002 04:25 AM

so if I want to put link the latest post out in my normal html index page. I will have to put this code where I want the link to be?

<? include("last10.php"); ?>
To include it on a server-parsed page (.shtml, .shtm, .ssi, etc.):
<!--#include file="last10.php"-->

and where do I upload these files to? domain.com/forums/ ?
???
thanks


All times are GMT. The time now is 05:02 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.02774 seconds
  • Memory Usage 1,734KB
  • 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
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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