vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Newest Posts on Main page (https://vborg.vbsupport.ru/showthread.php?t=11618)

03-17-2001 05:39 PM

1 Attachment(s)
Use a PHP Include for this File in your Main Page and just change the Password stuff, etc.. in the file.

This have to work.

03-17-2001 05:47 PM

yes thats worked, Excellent stuff

Danke
Thank you
Go raibh math agat.

03-17-2001 06:14 PM

I don't get it guys.. I'm new to VBB modification.
I see all these neat things I can be using but I still don't know how to have this text come up on my page page..

Can someone please lay it out for me?
I've tried making these files and then linking to them by puttings this on my main page ( <!--#include virtual="/forums/online.php"--> )
But nothing works still.. What am I doing wrong?

03-17-2001 06:16 PM

you can only include php code in a php page, which means it ends with either .php or .php3
a .shtml page can't execute php.

03-17-2001 06:19 PM

Thx very much guys!!
That work very nice

03-17-2001 06:20 PM

Ohh, OK. So how would I include that php code in a regular HTML page?

Or how can I convert my HTML page into PHP?

03-17-2001 06:30 PM

You dont have to do anything with html.

First download the code MB posted

Make the changes as for your website and forum

Upload it to your root directory(if you want them to display on the main index page of your site)

Add this to your index page where you want the posts to appear:

<?php include('forum.txt');?>

Save it as index.php

03-17-2001 08:12 PM

I finally got it.. thanks guys!

03-17-2001 09:03 PM

It gives it to me in a big hunk tho?

http://form-kaos.com/forum/newthreads.php

Ideas on fixing?

03-17-2001 09:20 PM

you need to include <br> in the echo thing


All times are GMT. The time now is 09:27 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.00950 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
  • (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