Author Topic: Re-coding of the front page.  (Read 3283 times)

Offline Kromoh

  • Dismal Lycanthropy
  • Ambassador Guild
  • Analyzer
  • *****
  • Posts: 141
  • Sole wolf of dreamy eyes...
Re: Re-coding of the front page.
« Reply #30 on: April 25, 2008, 12:33:10 PM »
Hey, want a suggestion? If it's not too much of course. I can't html myself so I don't know how much trouble it'd be.

but it would be nice to have, instead of a drop-down list, those little flags with the language-speaking country. As in, the English version would have a half-US-half-england flag.

I don't know if this is desired or possible, but still I could do those flag mixes myself if you want me to.

--

Also, if we are to keep that search thing below the page, let's at least revamp it so that it looks cooler (if that's possible of course) - I could work on it if you want me to - ain't much of a coder but I'm good with design.

Through the snow, paws made his way
When through the pines the lone wolf shinned
Lycanthrope eyes watched that day
Challenged by the fierceful wind

Offline pj

  • Learning.
  • Technical Guild
  • Evaluator
  • *****
  • Posts: 14179
  • We are made of such stuff as dreams are made of.
Re: Re-coding of the front page.
« Reply #31 on: April 25, 2008, 12:34:42 PM »
IF it is possible and not too much trouble, the path to those images is http://www.mortalmist.com/Themes/default/images/flags/
What truly matters is not built of right and wrong; but of grace, and of love.

--pj

Offline Kromoh

  • Dismal Lycanthropy
  • Ambassador Guild
  • Analyzer
  • *****
  • Posts: 141
  • Sole wolf of dreamy eyes...
Re: Re-coding of the front page.
« Reply #32 on: April 25, 2008, 01:04:57 PM »
Bah anyway here they are:
English (US/GB) (http://i133.photobucket.com/albums/q62/Hiww/eng.png)
Greek (Greece) (/Themes/default/images/flags/gr.png)
Portuguese (PT/BR) (http://i133.photobucket.com/albums/q62/Hiww/port.png)
Spanish (Spain) (/Themes/default/images/flags/es.png) (too many Spanish speaking countries. Let's just have Spain's flag to represent it)

Tell me if you need any other.

Through the snow, paws made his way
When through the pines the lone wolf shinned
Lycanthrope eyes watched that day
Challenged by the fierceful wind

Offline Adam

  • ?н? ?и?, ?н? ?и???
  • Analyzer
  • ***
  • Posts: 229
    • My Personal Website
Re: Re-coding of the front page.
« Reply #33 on: April 25, 2008, 01:11:07 PM »
I don't think I can do it with the flags... I will try though...
Our truest life is when we are in dreams awake

Offline pj

  • Learning.
  • Technical Guild
  • Evaluator
  • *****
  • Posts: 14179
  • We are made of such stuff as dreams are made of.
Re: Re-coding of the front page.
« Reply #34 on: April 25, 2008, 01:11:46 PM »
No big deal if not.
What truly matters is not built of right and wrong; but of grace, and of love.

--pj

Offline Adam

  • ?н? ?и?, ?н? ?и???
  • Analyzer
  • ***
  • Posts: 229
    • My Personal Website
Re: Re-coding of the front page.
« Reply #35 on: April 25, 2008, 01:14:37 PM »
Yep - that's what we need to do, Adam.  I had intended to convey that at the get-go, but didn't do a very good job.

Yes, please go to UTF-8 for the front page.  Our database is entirely UTF-8, though apparently the SMF templates are not.  There is a conversion for that... we just have to do it.

Sorry, and thank you.

Sorry I took "All of it needs to be in verified transitional XHTML.  If you follow the basic schema I started with the front page, it should be pretty straightforward.  The image may need to be resized some, etc.  Aquanina has final say about the layout, by the way." as having the original site in this format. But no biggie :)
Our truest life is when we are in dreams awake

Offline Adam

  • ?н? ?и?, ?н? ?и???
  • Analyzer
  • ***
  • Posts: 229
    • My Personal Website
Re: Re-coding of the front page.
« Reply #36 on: April 25, 2008, 01:35:11 PM »
Does anyone know what this is there for? I don't really know js and this is causing a validation error:

Quote
<script charset="utf-8" id="injection_graph_func" src="Mortal%20Mist%20.%20.%20.%20Dreaming%20.%20.%20.%20Lucid_files/injection_graph_func.js"></script>
<script type="text/JavaScript">
<!--
function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args+".location='"+args[i+1]+"'");
}
//-->
</script>

It's the "injection_graph_func.js"
Thanks :)
Our truest life is when we are in dreams awake

Offline pj

  • Learning.
  • Technical Guild
  • Evaluator
  • *****
  • Posts: 14179
  • We are made of such stuff as dreams are made of.
Re: Re-coding of the front page.
« Reply #37 on: April 25, 2008, 01:42:02 PM »
Isn't that in the webring code?  No - it doesn't exist at all in the original HTML.  Huh.

Are you hand-coding this or using a graphical editor?  I have no idea where that came from, what it does or how it got there.

It would help to see the specific errors.
What truly matters is not built of right and wrong; but of grace, and of love.

--pj

Offline Adam

  • ?н? ?и?, ?н? ?и???
  • Analyzer
  • ***
  • Posts: 229
    • My Personal Website
Re: Re-coding of the front page.
« Reply #38 on: April 25, 2008, 01:59:49 PM »
OKay I am hand coding this - writing from top to bottom and looking at the existing code and converting to be UFT compliant. This bit comes up though but don't know what it does. I will leave it out for now and carry on coding the site.
Our truest life is when we are in dreams awake

Offline pj

  • Learning.
  • Technical Guild
  • Evaluator
  • *****
  • Posts: 14179
  • We are made of such stuff as dreams are made of.
Re: Re-coding of the front page.
« Reply #39 on: April 25, 2008, 02:02:17 PM »
Well that is just freaky.

Let me look at it through the browser rather than directly at the file - nope, not there.

This is just weird.  Here is what I'm seeing through the served page:


<!DOCTYPE html
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Mortal Mist . . . Dreaming . . . Lucid . . .</title>
<meta name="Description" content="Mortal Mist lucid dreaming community" />
<meta name="Keywords" content="Mortal Mist, lucid dreaming, dreaming, lucid dreams, dream interpretation, dreams" />
<meta name="Author" content="The Mortal Mist Community" />
<meta name="Copyright" content="Copyright (c) 2008 by mortalmist.com" />
<meta http-equiv="Content-Type" content="text/html" />
<meta name="Robots" content="index,follow" />
<meta name="Resource-Type" content="document" />
<meta name="Revisit-After" content="1 days" />
<meta name="Distribution" content="Global" />
<meta name="Rating" content="General" />
</head>

<body bgcolor="#393939">
<center><a href="http://mortalmist.com/forum/index.php"><img src="frontlogo.jpg" border="0" alt="Mortal Mist" /></a>
<hr width="50%" />
<font color="gray">I'm on a paved trail at the park. I'm moving fast on my feet as if skating. I'm not sure If I have roller-blades on or not. I'm going down a hill when I come to a pile of cut branches and logs. I'm not sure if I hit the pile or try to jump over it, but either way I end up soaring into the air.</font>
<font color="white">Instantly I'm Lucid.</font><p />
<font color="white">I continue to fly higher, and as I do the surrounding landscape comes more fully into view, and I'm totally thrilled. The entire area is surrounded by tall steep rolling hills, covered in grass, colored many different shades of greens and browns. It's the most amazing sight. There are a few people on the ground  below, who I believe to be forum members, one of which I'm thinking is Moonbeam. I yell down to them that this is a dream, and Moonbeam looks up and waves happily.</font>
<p />
<font color="white">I now fly even higher, and another amazing sight is revealed.  Hidden between some hills is a lake with crystal clear water. There is a tree growing up from the center of the lake, and a circular wooden deck has been built around the trunk of the tree. The water is so clear that I can see to the bottom of the lake.  I can see buildings on the bottom that look like houses. I remember that I want to do some underwater  exploring, and decide that I really want to dive into this lake and explore what looks like some underwater village. I make my way in that direction but I don't make it before waking up.</font>
<p />
<font color="gray">--Dreamed and recorded by <a href="http://www.mortalmist.com/forum/index.php/topic,84.msg866.html#msg866">Caradon</a>.</font>

<p /><img src="spacer.gif" alt="spacer" />
<script type="text/javascript"
src="http://ss.webring.com/navbar?f=j;y=petecelano;u=defurl">
</script>
Powered by <a href="http://dir.webring.com/rw" target="_top">WebRing</a>®.<br />
<!--optional-->
<noscript>
<table bgcolor="gray" cellspacing="0" border="2"><tr>
<td><table cellpadding="2" cellspacing="0" border="0"><tr><td align="center">
This site is a member of WebRing.
<br />To browse visit <a href="http://ss.webring.com/navbar?f=l;y=petecelano;u=defurl">
Here</a>.</td></tr></table></td></tr></table>
</noscript>
<font color="#393939">Mortal Mist lucid dreaming dream interpretation forum community technique WILD MILD</font><br />
<a href="http://validator.w3.org/check?uri=referer">
<img src="http://www.w3.org/Icons/valid-xhtml10-blue"
alt="ValidXHTML 1.0 Transitional" height="31" width="88" /></a>
<h4>Image © 2008, Aquanina.  All rights reserved.<br />
Content © Mortal Mist and its members.  All rights reserved.

</h4></center>
</body>
</html>
What truly matters is not built of right and wrong; but of grace, and of love.

--pj

Offline Adam

  • ?н? ?и?, ?н? ?и???
  • Analyzer
  • ***
  • Posts: 229
    • My Personal Website
Re: Re-coding of the front page.
« Reply #40 on: April 25, 2008, 02:39:52 PM »
I think its because the script is hidden and entered by the js.

If you click on the home page and save the homepage file, then open and view source you will see it
Our truest life is when we are in dreams awake

Offline Adam

  • ?н? ?и?, ?н? ?и???
  • Analyzer
  • ***
  • Posts: 229
    • My Personal Website
Re: Re-coding of the front page.
« Reply #41 on: April 25, 2008, 02:41:15 PM »
Actually I just did that and it is not there..... Weird....
Our truest life is when we are in dreams awake

Offline pj

  • Learning.
  • Technical Guild
  • Evaluator
  • *****
  • Posts: 14179
  • We are made of such stuff as dreams are made of.
Re: Re-coding of the front page.
« Reply #42 on: April 25, 2008, 02:44:20 PM »
Do you have any plugins on your browser that might be doing that?  Like maybe ad blockers, script blockers or the like?
What truly matters is not built of right and wrong; but of grace, and of love.

--pj

Offline Adam

  • ?н? ?и?, ?н? ?и???
  • Analyzer
  • ***
  • Posts: 229
    • My Personal Website
Re: Re-coding of the front page.
« Reply #43 on: April 25, 2008, 03:04:27 PM »
Nope dont think so.

Anyway - that was from last night. I am writing line by line from scratch lol. Painful, but dream weaver is a liability and keeps putting in code which is not UTF-8 for some reason.
Our truest life is when we are in dreams awake

Offline pj

  • Learning.
  • Technical Guild
  • Evaluator
  • *****
  • Posts: 14179
  • We are made of such stuff as dreams are made of.
Re: Re-coding of the front page.
« Reply #44 on: April 25, 2008, 03:07:47 PM »
That's just ONE reason I don't use graphical editors for html coding.  They are also terribly inefficient with tag usage, usually putting in WAY more than necessary.

You're familiar with the self-closing html thing, I'm sure?  That was a new twist for me when going from traditional HTML to transitional.<p />
What truly matters is not built of right and wrong; but of grace, and of love.

--pj