PDA

View Full Version : I have a question


frogfat
07-02-2004, 01:09 PM
I've been playing with desigining skins, and I had a problem that I have been unable to fix--
( http://armiman.com/upload )

The text block that reads "The Latest..." I cannot make it closer to the navigation bar. Does any one have a suggestion?
I tried placing the php closer to the nav bar, but it didn't work.
Any suggestions would be nice.
thanks, frogfat

Ziad
07-02-2004, 01:28 PM
There's a lot of code right before it prints out the first plugin name, I think thats where the logo would normally go. Take out that code (the logo code in the skin) and you should be fine :)

frogfat
07-02-2004, 02:01 PM
There's a lot of code right before it prints out the first plugin name, I think thats where the logo would normally go. Take out that code (the logo code in the skin) and you should be fine :)

i took the code out of both the skin and the index, referring to the logo... it didn't seem to change anything. i was thinking it might be something relating to the "cellpadding." i might be way off base, thanks for the help though.

Ziad
07-02-2004, 02:06 PM
Something in that code is printing out:
<font size="4" color="#FF6600"></font><br /><br />

Get rid of that, and you're problem is solved :)

frogfat
07-02-2004, 02:21 PM
this is the message it gives me when i do that.
"Parse error: parse error, unexpected '.', expecting ',' or ';' in /mnt/web_i/d02/s44/b01cd622/www/upload/skins/gate_to_americana/gta1.php on line 41"

agian, thanks for the help

Ziad
07-02-2004, 02:39 PM
Can you post the first half of the skin's code in this thread?

frogfat
07-02-2004, 09:25 PM
Can you post the first half of the skin's code in this thread?

<html>
<head>
<title><?php echo $mainsettings['websitetitle']; ?></title>
<meta name="description" content="<?php echo $mainsettings['metadescription']; ?>" />
<meta name="keywords" content="<?php echo $mainsettings['metakeywords']; ?>" />
<link rel="stylesheet" href="skins/gate_to_americana/styles.css" />
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
</head>

<body>
<table width="700" height="100%" align="center" cellpadding="0" cellspacing="0" border="0" bgcolor="4C4A47">
<tr>
<td width="496" height="168" bgcolor="#FFFFFF"><img src="skins/gate_to_americana/images/header.gif" /></td>
<td width="204" height="168" background="skins/gate_to_americana/images/bg_topright.gif"></td>
</tr>
<tr bgcolor="#cc6633">
<td height="25" colspan="2">
<?php include('skins/gate_to_americana/categories.php'); ?>
</td>
</tr>
<tr>
<td valign="top" bgcolor="#FFFFFF">

<table cellspacing="0" cellpadding="8" width="100%">
<tr>
<td width="496" valign="top" align="left">
<?php
$inputsize = 45; // input width of the first 2 plugins

echo $pluginname[0];
include($pluginpath[0]);

echo ;

echo. $pluginname[1];
include($pluginpath[1]);
?>
</td>
</tr>
</table>

</td>

Ziad
07-02-2004, 09:29 PM
change this part:

echo ;

echo. $pluginname[1];
include($pluginpath[1]);


to:


echo '<br /><br />';

echo $pluginname[1];
include($pluginpath[1]);

frogfat
07-02-2004, 11:51 PM
you rule!
thanks for all the help.
frogfat

frogfat
07-03-2004, 02:46 AM
it worked for a bit, and then started giving me this error...

"Database error in Subdreamer:
cannot use database d60010490
Error: Access denied for user: 'u70122882@cgi0_proxy' to database 'd60010490'
Error number: 1044
Date: Saturday 03rd of July 2004 06:40:17 AM
File: http://armiman.com/upload/admin/forumintegration.php"

the user "u70122882" doesn't exist. the user for the forum is "u70012035." the database name is "d60010490." when i go to check, everthing is as it is suppose to... I believe.
Any suggestions?
thanks
frogfat (an annoying guy with a lot of questions)

Ziad
07-03-2004, 12:42 PM
When do you get this error?

frogfat
07-03-2004, 12:55 PM
when i try to "skin my forum"

Ziad
07-03-2004, 03:01 PM
You need to grant your Subdreamer Database username access to phpbb2's database.

frogfat
07-03-2004, 08:25 PM
i thought thats what i had done.

user admin>> http://armiman.com/useradmin.jpg

forum int. page>> http://armiman.com/forumint.jpg


am i suppose to do something else to the coding?

Ziad
07-03-2004, 08:35 PM
Your hosting company provides a settings page where you can add databases, etc... (probably cPanel). There will be a section in those setting pages to grant the Subdreamer database user access to the forum database.

frogfat
07-03-2004, 09:26 PM
this is what i see on the netfirms end....

PHP_My Admin >> http://armiman.com/php_myadmin.jpg
PHPBB Manager >> http://armiman.com/phpbb_mana.jpg
mysql info >> http://armiman.com/mysql_info.jpg

thats all the info i have access to, and doesn't let me grant access to Subdreamer from what I can tell.
Let me know what I'm missing.
frogfat

ps. its giving me the same error every time.

Ziad
07-03-2004, 09:31 PM
Where is the Subdreamer database?
Did you install it under the phpbb2 database?

In the mysql info page, add the user who has access to subdreamer database to the phpbb database.

frogfat
07-03-2004, 09:38 PM
when i try to add access, or create a new user in the "My SQL info" page, it creates its own user... i seem to have no control over it.

specifically looking at the "MySQL Database Manager >> PHPBB Setup: >> (where it reads:) "Add User"

Ziad
07-03-2004, 09:42 PM
I sent you a private message.
Click here to read it. (http://www.subdreamer.com/forum/private.php?)