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)
-   -   Who's online on non-vB page (with usernames) (https://vborg.vbsupport.ru/showthread.php?t=12010)

Ninth Dimension 03-20-2002 09:09 PM

find
echo("Member(s) on: $regmemberson. Guest(s) on: $guestson.");
replace with
echo("Member(s) on: $regmemberson.<br>Guest(s) on: $guestson.");

lowlight 03-20-2002 09:13 PM

Duh... I thought of that, but I didn't even try it... Thanks! :D

Ninth Dimension 03-20-2002 09:41 PM

did it work? (it should have)

lowlight 03-21-2002 12:40 AM

Yup it worked

Now my next question:

Which is faster, PHP includes, or SSI? I have the option of both...

Ninth Dimension 03-21-2002 12:48 AM

i personally use PHP includes, due to the simple fact that all of my pages are built using PHP, however, if you are running a series of normal shtml pages, and only using PHP on some of them, it might be easier to use the SSI.

But it's up to you at the end of the day really :)

lowlight 03-21-2002 09:22 AM

Well my whole site is going to be PHP based soon, so I thought I would use PHP includes... But I seem to be having a problem...

Say I am using the includes on my home page (index.php)....

I want to use includes in a subdir (say /included/)

The problem is, my IMG tags aren't right when I include... If I use IMG SRC ="image.gif", the references on the included page all point to root (root/image.gif), rather than /included/image.gif

If the page is on another subdir (say /reviews/), the img tags all change to that subdir... (/reviews/image.php)

So what should I do? I think SSI would work for now, and if that's the case I can just use .inc on the included pages (I assume both SSI and PHP will include those files just fine)...

But to keep things simple for my programmer, I'd like to use PHP includes all the way through...

Ideas?

monaarts 03-21-2002 04:17 PM

Hey,
When you post an image do it liek this:

../image.gif

That will bring you back one directory.. :) if you want to go back two directorys do this:

../../image.gif...

Or if you want to go back a directory and into one do somethign like this:

../images/image.gif

I hope that helps you..


-Joe

lowlight 03-22-2002 06:21 AM

Quote:

Originally posted by monaarts
Hey,
When you post an image do it liek this:

../image.gif

That will bring you back one directory.. :) if you want to go back two directorys do this:

../../image.gif...

Or if you want to go back a directory and into one do somethign like this:

../images/image.gif

I hope that helps you..


-Joe

That's what I did... it doesn't work

ice!~neko 03-23-2002 07:27 AM

what code do i put into the main page to get it to show up?

E 03-23-2002 08:05 AM

ill definetly use it when my page is up


All times are GMT. The time now is 06:11 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.01230 seconds
  • Memory Usage 1,741KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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