Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Graphics & Style in Snitz!
 Wrapping Forum Code in html question
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Panhandler
Average Member

USA
783 Posts

Posted - 22 July 2007 :  10:08:36  Show Profile  Visit Panhandler's Homepage
I've wrapped several Snitz Forum files in html code to center the forum and add the .ico icon. Html wrapped files include: inc_header, default, forum, and several others.

Could somebody view the source code for my forum:
http://www.hostowners.com/campfire/default.asp
and let me know if its okay?


"5-in-1 Snitz Common Expansion Pack" - five popular mods packaged for easy install
". . .on a mote of dust, suspended in a sunbeam. . ."
HarborClassifieds
Support Snitz Forums


gary b
Junior Member

USA
267 Posts

Posted - 22 July 2007 :  17:00:01  Show Profile  Visit gary b's Homepage

What is it we are supposed to look for? The forum presents itself well...

My philosophy: If you like it and it works, don't fix it.


Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 23 July 2007 :  04:51:57  Show Profile
You need to clean your HTML up a bit; you've got opening & closing html, head and body tags all over the place.


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

Panhandler
Average Member

USA
783 Posts

Posted - 23 July 2007 :  09:58:06  Show Profile  Visit Panhandler's Homepage
gary b: When viewing the forum front page in IE, click View, Source to see how the html is presented.

Shaggy: Here is the html that I've placed before the inc_header.asp. A shorter version is used without the .ico reference in default.asp, forum.asp, topic.asp and other files.
-------------------------
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Host Camper Owners</title>
<link rel="shortcut icon" href="host_icon.ico" type="image/x-icon">

<style type="text/css">

</style>
<link rel="stylesheet" type="text/css" href="hostcamp.css">
</head>

<body>
<center>
<div id="wrapper">
<div id="wrapleft">

---------------------------
The above html is placed just before the opening <% statement.
And I've placed the appropriate closing html statements just after the %> at the end of the forum file.
(The div tags are centering the forum and setting it's width.)

Apparently, the forum writes it's own html statements and the View,Source shows multiple html statements. It seems to work and achieves my goals but I'm totally in the dark about the reliability and safety of what I'm doing.
Is it okay to use the html wrapping in the above manner?


"5-in-1 Snitz Common Expansion Pack" - five popular mods packaged for easy install
". . .on a mote of dust, suspended in a sunbeam. . ."
HarborClassifieds
Support Snitz Forums


Go to Top of Page

ILLHILL
Junior Member

Netherlands
341 Posts

Posted - 23 July 2007 :  10:22:14  Show Profile
You need to edit inc_header.asp

If you search for:
'## START - REMOVAL, MODIFICATION OR CIRCUMVENTING THIS CODE WILL VIOLATE THE SNITZ FORUMS 2000 LICENSE AGREEMENT

The lines above that are:

Response.Write "<html>" & vbNewline & _
vbNewline & _
"<head>" & vbNewline

Underneath that you can add:

Response.Write "<meta http-equiv=""Content-Type"" content=""text/html; charset=utf-8"">"

You can then edit:

Response.Write "<title>" & GetNewTitle(strScriptName) & "</title>" & vbNewline

Into:
Response.Write "<title>Host Camper Owners</title>" & vbNewline
(This example would remove dynamic titles! Keep that in mind!!!)

etc. etc.

Cause, like Shaggy said, you have multiple instances of <html> <head> <body>, which might
result in problems as far as certain browsers. Also Search Engine spiders will not appreciate
it at all, which might result in lower rankings on Google.

So, definitely remove the additions and replace/add the code in inc_header.asp

Greets, Dominic

CLPPR.com - All The News Only Seconds Away

Edited by - ILLHILL on 23 July 2007 10:23:09
Go to Top of Page

Panhandler
Average Member

USA
783 Posts

Posted - 24 July 2007 :  10:05:34  Show Profile  Visit Panhandler's Homepage
ILLHILL: Thanks for that tip - that is what I needed to know.
fyi, using FF, IE and Safari browsers, it appears okay using it (the html) as posted.

edit:
(SEO becomes a lot more pointed with the html wrap.)


"5-in-1 Snitz Common Expansion Pack" - five popular mods packaged for easy install
". . .on a mote of dust, suspended in a sunbeam. . ."
HarborClassifieds
Support Snitz Forums



Edited by - Panhandler on 25 July 2007 09:11:45
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2019 Snitz™ Communications Go To Top Of Page
This page was generated in 0.08 seconds. Powered By: Snitz Forums 2000 Version 3.4.07