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)

aurelius 07-27-2001 08:23 PM

Help, please?

*b* 08-01-2001 06:25 AM

I run a VERY high traffic site. I love the idea of including recent content from my message boards on my homepage.

However, running another query to the DB can be a system resource "eater." Has anyone thought of creating a version of this hack that would query ever "X" minutes and write the results to a txt file?

This way, the same effect is achieved (basically), and connections to the database is reduced.

Give me your thoughts. If enough people are interested, I may look into doing it (with my limited skillset).

Thanks,

*b*

chilliboy 08-08-2001 06:33 AM

Hi,

I really like the script - Thanks.

However, when mySQL is down it can bring normal page loading to a standstill - If there anything that I could add which would only exectue the script if mySQL was working ok.

Thanks in advance.

Evoir 08-18-2001 01:05 AM

Tubedogg,

your script is, um, really nice. :D

I am concerned that I cannot change the font size/color, or type. It just doesn't show any changes in Netscape 4.7 for mac and minumal changes in IE (cannot change font color, but can change font size and type in IE)

Is there some solution for this? Otherwise, it is a really cool script, and I'd really like to use it.

mjames 08-25-2001 05:04 PM

Kevin,

I configured everything and followed your instructions, but I couldn't get it to work. When I used <!--#include file="/community/boards/admin/last10.php"-->, it said "there has been an error in processing this directive". So I tried <!--#include virtual="/community/boards/admin/last10.php"--> and it says:
Quote:

Fatal error: Failed opening required 'community/boards/admin/config.php' in /home/mjames86/sports-central-www/community/boards/admin/last10.php on line 13
I am trying to run this on a .shtml page with SSI. I have had to use .htm to get my other SSIs to work, what can I do here? :(

tubedogg 08-25-2001 08:26 PM

Where are you actually calling it from? Like what directory does it reside in? The admin directory?

Assuming yes, you should leave $path blank since config.php is in the same directory.

mjames 08-25-2001 08:49 PM

Yes, both .php files are in the /admin folder, with the config.php file. What do I need to do?

tubedogg 08-25-2001 08:52 PM

Just set
$path="";
in last10config.php. :)

mjames 08-25-2001 09:00 PM

Maybe we misunderstood each other, but it didn't work:
Code:

Fatal error: Failed opening required '/config.php' in /home/mjames86/sports-central-www/community/boards/admin/last10.php on line 13

Steve_S 08-28-2001 04:24 PM

tubedogg and all,

This is a marvelous hack and works like a charm :) Thank you.

Maybe I missed it in this long thread.

Could this script be modified to insert topics/threads and such on another server? My vB is on one dedicated server and I would like to use this script to insert topics/threads on my other site which is on another dedicated server?

I don't want to be a mooch so if you would prefer to do this for money I understand and respect that. Just email me with a quote.

Natch, their would be a performance/load hit but I can live with that.


All times are GMT. The time now is 07:39 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.02875 seconds
  • Memory Usage 1,733KB
  • 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_code_printable
  • (1)bbcode_quote_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