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)

Lionel 03-15-2002 12:12 AM

this one of the coolest hack that I have installed. Besides article and summary, I am even able to display attachments as thumbs next to article in the front page.

Oliver 03-21-2002 03:18 PM

we have this installed on a completly different server, when, as sometimes does our vb server goes down, so does the page on the other server. Is there a check that can be done before running last10.php to see if the vb server is up and running?

cheers
oli

Sharg 03-21-2002 04:46 PM

Great hack,
but it doesn't parse de vb code well.
For exemple, it does respect bold and italics tags, but won't parse colors or urls tag.

Is this normal and is there a way to have it translate all the vb codes ?

Thanks,
Sharg

syion 04-02-2002 04:16 PM

I am using the last10 hack on my board and it works great. I have renamed the files a few times inorder to run it seperatly for different forums. This way I can catoragize the information on the main page by having each file show different forums. Very handy.

Thanks for the great hack !

Darren Lewis 04-03-2002 03:40 PM

This is a great hack. I love it.

You can see it installed and working on my site which is running vBulletin 2.2.4 and v1.0.2 of this hack.

I did have a few little problems which I managed to sort out.

I was getting this message (noticed a few others are getting this too).

PHP Code:

Fatal errorFailed opening required 'config.php' (include_path='.:'in /loads of text here/last10.php on line 13 

I think I solved the problem by sorting out the correct path to config.php in last10config.php at step "a".

I was entering the path as ../forums/admin (with two fullstops as when writing HTML).
By changing it to ./forums/admin (with one fullstop) the hack worked.

Other stuff I've done is to rename my homepage from "xxx.htm" to "xxx.php" and insert the last10.php file as
PHP Code:

<?php include("path to the file/last10.php"); ?>

The server-side-include method didn't seem to work for me.

I'm using a framed index.htm page so I can change the names of the frames without upseting bookmarks/search engines (hopefully)

Hope all that helps someone out there :)

Congrats to Tubedog for this hack.

jmosby 04-05-2002 12:48 AM

Can someone explain the excluded forums config? Where do I get the number of the forum I want excluded? How does the numbering work? I don't see this in Control Panel where I have my forums listed. Otherwise I had no trouble at all, this is a great add-on!

Thanks.
jmosby

jmosby 04-05-2002 01:01 AM

Is it the mysql forumid?

Darren Lewis 04-05-2002 08:54 AM

Hi

On your forums hompeage, hover over the link for each forum (categories are classed as forums too)

In the status bar of your browser (I'm using IE6) there will be a URL.

At the very end of the URL will be somthing looking like this

&forumid=xx

the xx is the forum ID number that you can enter to include or exclude in the config script.

Darren.

jmosby 04-05-2002 01:21 PM

Thanks Darren, this matches the mysql forumid.

Thanks.
jmosby

svoec 04-07-2002 01:50 PM

Has anyone been able to get the ssi, or shtm, or shtml to work ??

the php include works fine, but I didn't really want to change my main page to a php

I use frontpage for quick editing on that page, and it dont like php.

My feeling is that this is a host setting ???
any thoughts?


All times are GMT. The time now is 07:18 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.01870 seconds
  • Memory Usage 1,742KB
  • 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