View Single Post
  #37  
Old 04-03-2002, 07:10 PM
syion syion is offline
 
Join Date: Mar 2002
Location: Vancouver Canada
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have been reading over the posts and it seems a number of people can get this calendat to work by calling up the cal.php file; However many including my self can not get the cal.php file to work on non vb pages.

I have tried numerous times to include cal.php in my web stites non-vb pages. Can some one please post some answers to this problem here. It would help a number of us out.

Thanks

See my links in the previous post to see what I mean

***UPdate***# 1

If you try and include the cal.php inside a non vb page that is not inside the forums directory it does not work ! Please prove me wrong

<?php include ("http://www.vfdbl.com/forum/cal.php"); ?>

This is what code i am using to embed cal.php in non vb pages in my website - I can not get it to work if the file is out side of the forums dir.

***Update*** # 2
I have found out what the problem is but do not know how to fix it.

I created a file called test.php all the file contained is this :

<?php include ("http://www.vfdbl.com/forum/cal.php"); ?>

Test php is supposed to include cal.php As you can see I saved test.php in the forums dir along with cal.php

I then tried to call up test.php this is very weird - it brought be first to the login page for my VB site the URL up top still said http://www.vfdbl.com/forum/test.php so I was at the correct page. i then entered my username and password and it then showed me the "thank you for logging in, username" and the URl changed to http://.........../members.php then I was taken to the cal.php file and the calendar showed up fine. The url has now changed to

http://www.vfdbl.com/forum/cal.php?

My understanding is if you include a php in test.php and you call up test.php the url should remain test.php and display what ever file you called up inside test.php - this seems to not be working correctly

I will keep you posted as to my progress and if others can help we who are having trouble would appreciate it - thanks
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01370 seconds
  • Memory Usage 1,768KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (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)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete