runnerjp
-
Posts
2,214 -
Joined
-
Last visited
Posts posted by runnerjp
-
-
good man it work cheers
-
[code]<?php require("forum/SSI.php");
ssi_boardStats(); ?>[/code]
how can i add to the above so the outcome text is white and not black?? -
where is the smf help forum
-
-
-
ok now its saying
Please don't access SSI.php by URL directly; you may want to use the path ('SSI.php') or add ?ssi_function=something.
how wud i edit <?php include("http://runnerselite.com/forum/SSI.php?a=news&show=10"); ?> to make it work :D -
hey////
i added this to my homepage <?php include("http://runnerselite.com/forum/ssi.php?a=news&show=10"); ?> so that i could get top 10 posts from my smf forum
and when i access my page all i get is this error message
Warning: main(http://runnerselite.com/forum/ssi.php?a=news&show=10): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/runnerse/public_html/index.php on line 76
what does it mean :S -
where is the smf support board lol
-
-
how would i write a simple query/display routine to output the data from my smf forum to display the most recent posts from the forum on my homepage!!
-
sweet ok so if i switch to smf is how wud i still get top 10???
-
adding to what i said...if any 1 could think of a better forum please tell me
-
hey hye i have installed an invision power board on my website and what i wnana do is use the ten most recent posts and show them n my homepage how could i go about doing this??
-
ok i did all that u said
[code]<?php
#################################
include("chatbox/connect.php");
#################################
mysql_connect($host,$dbuser,$dbpass) or die(mysql_error());
// Select the database.
mysql_select_db($dbname) or die(mysql_error());
$query = "SELECT poster, message FROM ch_messages order by id DESC LIMIT 5";
$result = mysql_query($query);
$marquee = "";
$i = 0;
while($r=mysql_fetch_array($result))
{
$posts[$i] = $r[poster].' - '. $r[message]. '';
++$i;
}
$marquee = implode("<img src='http://www.runnerselite.com/image/runner.gif'>", $posts) ?
echo "<marquee><font size='3'><span style='color: white'>". $marquee. "</span></font></marquee>";
?>
[/code]
yet still an error on lien 20 :S -
Parse error: syntax error, unexpected T_ECHO in /home/runnerse/public_html/chatbox/maq.php on line 20
[code]<?php
#################################
include("chatbox/connect.php");
#################################
mysql_connect($host,$dbuser,$dbpass) or die(mysql_error());
// Select the database.
mysql_select_db($dbname) or die(mysql_error());
$query = "SELECT poster, message FROM ch_messages order by id DESC LIMIT 5";
$result = mysql_query($query);
$marquee = "";
$i = 0;
while($r=mysql_fetch_array($result))
{
$posts[$i] = $r[poster].' - '. $r[message]. '';
++$i;
}
$marquee = implode("<img src='http://www.runnerselite.com/image/runner.gif'>", $posts)
echo "<marquee><font size='3'><span style='color: white'>". $marquee. "</span></font></marquee>"
?>code][/code] -
see the big gap.... i would rlly like it like this
[move]hello this is my 1st message...this is my second message....hello this is my 1st message...this is my second message....hello this is my 1st message...this is my second message....[/move] -
nope it didnt :( lol rite what i mean is it says 1st message then streight 2 second then massive lag till it loops over again like so
[move]hello this is my 1st message...this is my second message hello this is my 1st message...this is my second message hello this is my 1st message...this is my second message hello this is my 1st message...this is my second message hello this is my 1st message...this is my second message hello this is my 1st message...this is my second message hello this is my 1st message...this is my second message hello this is my 1st message...this is my second message hello this is my 1st message...this is my second message hello this is my 1st message...this is my second message hello this is my 1st message...this is my second message hello this is my 1st message...this is my second message hello this is my 1st message...this is my second message hello this is my 1st message...this is my second message hello this is my 1st message...this is my second message hello this is my 1st message...this is my second message hello this is my 1st message...this is my second message hello this is my 1st message...this is my second message hello this is my 1st message...this is my second message hello this is my 1st message...this is my second message hello this is my 1st message...this is my second message hello this is my 1st message...this is my second message hello this is my 1st message...this is my second message hello this is my 1st message...this is my second message hello this is my 1st message...this is my second message hello this is my 1st message...this is my second message hello this is my 1st message...this is my second message hello this is my 1st message...this is my second message hello this is my 1st message...this is my second message hello this is my 1st message...this is my second message hello this is my 1st message...this is my second message hello this is my 1st message...this is my second message hello this is my 1st message...this is my second message hello this is my 1st message...this is my second message [/move] -
will it stop the massive lag at end between going to 1st message??
-
and to stop long gap between posts take alook and ull see what i mean [url=http://www.runnerselite.com]www.runnerselite.com[/url]
-
ok done it i deleted the { lol
is their away to control the speed of the marquee ? -
Parse error: syntax error, unexpected '}' in /home/runnerse/public_html/chatbox/maq.php on line 19
-
ok i added
[code]<?php
#################################
include("chatbox/connect.php");
#################################
mysql_connect($host,$dbuser,$dbpass) or die(mysql_error());
// Select the database.
mysql_select_db($dbname) or die(mysql_error());
$query = "SELECT poster, message FROM ch_messages order by id DESC LIMIT 5";
$result = mysql_query($query);
$marquee = "";
$i = 0;
while($r=mysql_fetch_array($result))
{
$posts[$i] = "<img src='http://www.runnerselite.com/image/runner.gif'>".$r[poster].' - '. $r[message];
++$i;
}
$marquee = implode("", $posts)."<img src='http://www.runnerselite.com/image/runner.gif'>";
}
echo "<marquee><font size='3'><span style='color: white'>". $marquee. "</span></font></marquee>"
?>[/code]
and still its not showin up :( error on line 19 -
[code]<?php
#################################
include("chatbox/connect.php");
#################################
mysql_connect($host,$dbuser,$dbpass) or die(mysql_error());
// Select the database.
mysql_select_db($dbname) or die(mysql_error());
$query = "SELECT poster, message FROM ch_messages order by id DESC LIMIT 5";
$result = mysql_query($query);
$marquee = "";
$i = 0;
while($r=mysql_fetch_array($result))
{
$posts[$i] = $r[poster].' - '. $r[message]. '';
++$i;
}
$marquee = implode("<img src='http://www.runnerselite.com/image/runner.gif'>", $posts)
}
echo "<marquee><font size='3'><span style='color: white'>". $marquee. "</span></font></marquee>"
?>code][/code]
thats code....since i added the picture script its all gone got an error on 19th line -
white text works... pciture doesnt :(
[code]<?php
#################################
include("chatbox/connect.php");
#################################
mysql_connect($host,$dbuser,$dbpass) or die(mysql_error());
// Select the database.
mysql_select_db($dbname) or die(mysql_error());
$query = "SELECT poster, message FROM ch_messages order by id DESC LIMIT 5";
$result = mysql_query($query);
$marquee = "";
$i = 0;
while($r=mysql_fetch_array($result))
{
$posts[$i] = $r[poster].' - '. $r[message]. '';
++$i;
}
$marquee = implode("<img src='http://www.runnerselite.com/image/runner.gif'>", $posts)
}
echo "<marquee><font size='3'><span style='color: white'>". $marquee. "</span></font></marquee>"
?>code]
error on line 19[/code]
help me please :(
in CSS Help
Posted
ok if u look at my website at mo [url=http://www.runnerselite.com]www.runnerselite.com[/url]
you will notice that the info from [code]<?php ssi_recentTopics(); ?>[/code]
which at the mo is
General Discussion] Welcome to SMF! by Simple Machines Today at 02:03:54 PM
does not fit into the area i want it to in nav bar...how can i make it so the data fits nicely into the nav bar???