vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   question about making simple welcome page (https://vborg.vbsupport.ru/showthread.php?t=165511)

dplevy 12-18-2007 09:27 PM

question about making simple welcome page
 
im looking to add a simple welcome page to my site. just something basic where theres just a full page image, that when you click on it it takes you to the forums. i already have the image, and i know what to do with the redirects and everything. what i need to know is, what would be the code i need to make the php file?

--------------- Added [DATE]1198021321[/DATE] at [TIME]1198021321[/TIME] ---------------

hope i worderd that well.

5th-Level 12-19-2007 10:30 AM

It can be a simple HTML file.

All you do is align the image as "Absolute Middle" and then redirect it to your forums. If you still need help PM me and I can write the code up for you.

dplevy 12-19-2007 12:47 PM

pm sent. yeah. just looking for the code so that the image is centered, and it will take you to www.mysite.com/index.php when clicked.

dplevy 12-20-2007 08:57 PM

somebody, anybody? lol.

SEOvB 12-20-2007 09:23 PM

HTML Code:

<head>
<title>Enter Page Title</title>
<meta name="keywords" content="enter your keywords" />
<meta name="description" content="enter your description" />
</head>
<body>
  <div align="center">
    <a href="http://link.com/to/your/forum" rel="nofollow" target="_blank"><img src="/path/to/image/" border="0"></a>
  </div>
</body>


dplevy 12-29-2007 03:56 AM

okay, just one thing, what are "keywords" and "description" for? is that where i put the link to the image i want displayed?

5th-Level 12-30-2007 12:41 AM

What search engines look for.

dplevy 01-08-2008 11:43 PM

okay, i got it working.. now how do i add a page title to that?

--------------- Added [DATE]1199843486[/DATE] at [TIME]1199843486[/TIME] ---------------

and also, how do i make it so the background of the page is a color?

--------------- Added [DATE]1199917631[/DATE] at [TIME]1199917631[/TIME] ---------------

i have like a wallpaper that i used for the skin on the site. need the line of code that will let me put it behind the image.

5th-Level 01-09-2008 09:30 PM

Change
Code:

<body>
to
Code:

<body bgcolor="COLOR">
To add a title:

under the <head> tag enter
Code:

<title>WEBSITE TTLE</title>
To add wallpaper:

Find
Code:

<body>
and change to
Code:

<body background="URL">

dplevy 02-06-2008 06:04 PM

one more question, i got this working and its up and everything is cool. how can i change it so it opens the page in the same window though? it opens a new one when you click on the image?

Brian30fl 02-06-2008 09:18 PM

replace this
Code:

<div align="center">
    <a href="http://link.com/to/your/forum" rel="nofollow" target="_blank"><img src="/path/to/image/" border="0"></a>
  </div>

With
Code:

<div align="center">
    <a href="http://link.com/to/your/forum"><img src="/path/to/image/" border="0"></a>
  </div>


dplevy 02-06-2008 11:27 PM

Quote:

Originally Posted by Brian30fl (Post 1437688)
replace this
Code:

<div align="center">
    <a href="http://link.com/to/your/forum" rel="nofollow" target="_blank"><img src="/path/to/image/" border="0"></a>
  </div>

With
Code:

<div align="center">
    <a href="http://link.com/to/your/forum"><img src="/path/to/image/" border="0"></a>
  </div>



just tried that.. same thing. still opens in new window.

Brian30fl 02-07-2008 10:42 AM

Quote:

Originally Posted by dplevy (Post 1437749)
just tried that.. same thing. still opens in new window.

hmm it shouldnt have... the part of the code that makes it open new window is
rel="nofollow" target="_blank

oh and if you are useing firefox make sure you clear your cache before testing again....

dplevy 02-13-2008 11:38 PM

yeah, its fixed. just had to clear the cache.

one more question though if you guys dont mind. lol.

the image is centered to the top of the page. is it possible to have it centered in both directions so its actualy in the dead center of the page? know what i mean?

SEOvB 02-14-2008 04:03 PM

Not really, vertical aligning the image will be pretty hard. You could add a couple <br /> after the <body> tag to move it down some, but getting it aligned vertically will be a pain.

Or you can read and try to understand this article: http://www.jakpsatweb.cz/css/css-ver...-solution.html


All times are GMT. The time now is 05:28 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.01154 seconds
  • Memory Usage 1,752KB
  • 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
  • (9)bbcode_code_printable
  • (1)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (15)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