clunky
Jan 4 2006, 04:22 PM
What, in your opinion, is the best way to get people to come to your website?
I have tried to get people to come to
dubemail, which has more useful features than many websites i.e.:
Anonymous Email aka "spam" scriptArcadeRoundcubeA pretty version of the PHPImage scriptCountdown scriptetc.
But still I get like 3 unique visitors per day, and most of my hits/pages/bandwith comes from myself developing the arcade.
Also, my google status is

horrible
http://www.google.com/search?q=dubemailThat is the 1 month old framed version of my site, and the googlebot has failed to notice that it is old and DOSEN'T EXITST. Why can't it index www.dubemail.com?
lappy512
Jan 4 2006, 04:33 PM
http://www.google.com/search?q=link%3Adubemail.comhttp://www.google.com/search?q=site%3Adubemail.comTurns out that you only have 57 pages indexed, and Google doesn't know of any links to Dubemail.
One way to increase your Google Viewage is to simply: build more links.
One way to build links is what you are doing right now: In your signature you can put links to sites, on forums. Google will recognise it, and will follow your signature links. The more posts you have on any forum, the more links Google will follow to your site. Google will also think it's more important, and rank it higher in search engines.
Another way is to put your site in directories.
For example, your Image Hosting thing, you can submit image.dubemail.com to directories. Directories are a list of websites that have something that may or may not be in common. Some directories require a link back.
http://www.google.com/search?q=free+image+hosting+directoryAnother thing to do, is to have something that visitors feel the need to visit again and again to: for example, you could give PHP Help or something at a forum, where visitors will visit again and again.
Lastly, google needs to know how to find everything, so make sure there's a way for google to find everything on your website.
Hope that helps
clunky
Jan 4 2006, 04:52 PM
QUOTE
One way to build links is what you are doing right now: In your signature you can put links to sites, on forums
How on earth could there be NO links to dubemail? I have done exactly this, and as you can see here:
http://www.google.com/search?q=dubemailthere are plenty of refrences to it. Also, why is my old site still top under the query, and it dosent even recognize my new site
unless you do a
http://www.google.com/search?q=site%3Adubemail.com query?
Also, why has Google not
indexed the dubemail arcade?
This is all making me mad
Mynck
Jan 4 2006, 04:56 PM
Erm. Wow. You could try to make it look prettier. A few colors here and there, better organization, etc.
No offense, but your site looks... bad... right now.
lappy512
Jan 4 2006, 04:59 PM
Google doesn't always find all the links, it has some sort of weird thing when getting links, but those are the links it sees.
It has indexed the main page, it just doesn't know it's important. Maybe link to it more? Prettiness doesn't have a thing to do with google. Just make sure it can find everything, easily. That's one main reason I decided to delete all my pages except for the forum...for now.
Mynck
Jan 4 2006, 05:00 PM
Prettiness has a lot to do with people, though. And popular sites tend to get more links.
lappy512
Jan 4 2006, 05:04 PM
It depends if you are targeting Google, or People
clunky
Jan 4 2006, 05:13 PM
QUOTE(Mynck @ Jan 4 2006, 06:00 PM)
And popular sites tend to get more links.
Really? I never would have guessed. So I just make my site "popular" and it will get more links?
lappy512
Jan 4 2006, 05:18 PM
You can make it more popular by giving it more links, one example above: Directories.
Mynck
Jan 4 2006, 05:20 PM
QUOTE(clunky @ Jan 4 2006, 05:13 PM)
Really? I never would have guessed. So I just make my site "popular" and it will get more links?
Was that sarcasm?
Just make it prettier.
clunky
Jan 4 2006, 09:52 PM
My homepage is just a portal with a few links to the other pages in my site, so i guess I could radically simplify it.
lappy512
Jan 4 2006, 09:59 PM
Yeah, but for google to think it's most important, you need to have all the pages link to the homepage. For example, in KL Forum's naviagation, you see everything linking back to the homepage.
Spaceman3750
Jan 5 2006, 05:43 PM
clunky, I am getting a PHP fatal error on your site...
lappy512
Jan 5 2006, 10:37 PM
Usually you should test your modifications in a test environment, instead of a live environment (which I never do! Sue me then!)
Spaceman3750
Jan 6 2006, 07:56 PM
Yeah, I really don't do test enviornment testing, most of the sites I run at one point or another are small. Conglomerate is different, I won't do live-enviornment testing there, because there is a larger member base...
The Admiral
Jan 8 2006, 10:44 PM
You can do testing in a live environment, just put one of those little flashing "Under Construction" signs on it! Sorry if I'm stuck in 1998...
lappy512
Jan 8 2006, 11:04 PM
Not if you get many visits per day...
clunky
Jan 9 2006, 10:18 PM
Well I get about 5 visitors per day, and btw, I fixed my homepage.
It now uses OOp, and this is the entire code for index.php:!!!
PHP
<?php
if (!$_GET['page'])
$_GET['page'] = 'news.php';
require_once('fns.php');
$class = new myClass();
$class->start_page();
$class->close_page();
$class->show_stuff($_GET['page']); #include a filename
?>
Yay, you added the PHP code thing, but it dosent colorize. Arr
http://us2.php.net/manual/en/function.highlight-string.phpEdit: NM, I just need to remember to add <?php ?> tags.
Anyway, the
arcade works
Mynck
Jan 9 2006, 10:35 PM
Could use some better names...
clunky
Jan 9 2006, 11:04 PM
Why does it matter? It makes sense, and it makes absoulutely no difference when its compiling & parsing it.
Also, I added a counter at the bottom/right of the page, I get an average of .001 secs (a little faster than KL homepage on the VPS, at about 2 secs)
"Simplicity is beauty" -Clunky
lappy512
Jan 9 2006, 11:24 PM
Suggestion: have the countdown thing autorefresh.
Spaceman3750
Jan 10 2006, 02:40 PM
Is that PHP5? Or PHP4?
clunky
Jan 10 2006, 09:24 PM
I am on a PHP 5 server with Bluehost (arr
5.0.4)
But anyway, OOp has been rabidly updated in PHP 5, and now has permissions for each variable and stuff. The code for my include functions page is:
PHP
<?php
require ('conf_site.php');
#has the functions
class myClass
{
public function start_page()
{
echo "<!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'>
<head>
<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
<title>".SITE_NAME."</title>
<link href='stylenew.css' rel='stylesheet' type='text/css' />
</head>
<body>";
}
public function show_stuff($file)
{
echo "<table width='100%' border='0' cellpadding='5' cellspacing='1' id='content'>
<tr>
<td width='15%' rowspan='3' class='nav'><p><!--navigation: -->
<ul>
<li><a href='arcade/index.php'>Arcade</a></li>
<li><a href='mail/index.php'>Mail Script</a></li>
<li><a href='roundcube/'>Roundcube</a></li>
<li><a href='?page=countdown.php'>Countdown</a></li>
<li><a href='?page='school.htm'>History Day</a></li>
</ul>
</td>
<td class='heading'><p>".SITE_NAME."</p></td>
</tr>
<tr>
<td width='85%' class='bodyText'><p><!--main content: -->";
$include = @include($file);
if (!$include)
echo "I can not find the specified page.";
echo "</p>
</td>
</tr>
<tr>
<td class='footer'><p><!--footer: -->©2005 Dubemail.com.</p>
</td>
</tr>
</table>";
}
public function close_page()
{
echo "
</body>
</html>";
}
}
?>
As you can see, there is a new 'public' function, which is not recognized in the highlight_text on KL because it has PHP4
Mynck
Jan 11 2006, 02:46 PM
Java had that from the beginning.

And when you say it like that, it makes it sound like there's a "function public()".
You should say it like, "There's a new 'public' declaration for functions,' or something like that. Am I being too persnickity?
clunky
Jan 11 2006, 10:15 PM
I think so, if you are an admin, go ahead: delete my post. Or just ban me or delete me, or whatever you admins do. Now I have my own arcade
lappy512
Jan 11 2006, 11:03 PM
Public, is highlighted blue. I used someone else's mod for the PHP Highlighting, because the PHP string_highlight or whatever function was adding unnecessary HTML tags.
also:
PHP
<?php
echo <<<EOF
<html><bla><etc>{$variableWeNeedToDisplay}
EOF; //must be at start of a line, no whitespace allowed before EOF;
//EOF can be WHATEVER_YOU_WANT
echo <<<KRAZY
<krazyhtml><etc><etc>
<<<KRAZY;
echo <<<ASDF
<html>
ASDF; //remember what I said about the thing being at the start of the line?
?>
I think that's enough

Weird, Highlighting didn't work when I did this. Oh well.
Spaceman3750
Jan 12 2006, 12:25 PM
I just make it simple and use
CODE
echo <<<END
/////////////////////////////////////////////
//If you're happy and you know it //
//clap your hands! //
////////////////////////////////////////////
END;
lappy512
Jan 12 2006, 03:16 PM
but if you have "END" anywhere in your echo statement, then it will "end". Not the best idea...
Spaceman3750
Jan 13 2006, 12:54 PM
That's true, I havn't thought of that...
lappy512
Jan 16 2006, 01:26 PM
Otherwise you'd sepdn a lot of time debugging a lost cause
clunky
Jan 17 2006, 11:22 PM
Whats the reason to put use <<< end when you could just go echo ?> lalalal<html> <? echo end or something like that
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.