vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Couple of Coding Questions - help? (https://vborg.vbsupport.ru/showthread.php?t=67675)

ChrisBaktis 07-27-2004 01:18 AM

Couple of Coding Questions - help?
 
I have two questions I was hoping someone can help me with.

1) I cannt get my header to cover the whole top of the page - how do I remove the margains so my header fills the whole screen like on this site (mine is at www.rustysoaptraders.com)

2) On my site I review products several times a month - currently I have .php files call up my review page. The problem I have is that I have to put all these .php files in the main forums directory. As you can imagaine by the end of the year this driectory willbe very cluttered. How do I could these files so I can put these .php is a sub directory and pull them up.

example:

To pull a file now: www.rustysoaptraders.com/forums/review.php
what I want: www.rustysoaptraders.com/forums/2004reviews/review.php

Help!?

Xenon 07-27-2004 11:35 AM

1. add a
Code:

margin: 0px; padding: 0px;
into the extra field of your body by editing the main css of your style.

2. just put them into the directory, and then at the beginning of your script add a: chdir('..');

Colin F 07-27-2004 11:58 AM

Quote:

Originally Posted by Xenon
1. add a
Code:

margin: 0px; padding: 0px;
into the extra field of your body by editing the main css of your style.

2. just put them into the directory, and then at the beginning of your script add a: chdir('..');

I'm not sure about this, but if Stefan misunderstood you number 2 doesn't work, try chdir('2004reviews'); instead of chdir('..');

:)

ChrisBaktis 07-27-2004 11:14 PM

ok so the change directory code that you listed above should go in the .php file that im using to call the page?

Colin F 07-28-2004 04:42 AM

yes.


All times are GMT. The time now is 12:31 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.01124 seconds
  • Memory Usage 1,719KB
  • 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_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete