Author |
Message |
06/06/2004 00:46:02
|
Anonymous
|
From the forum, I have figured out how to make the comment text black, but I have one more question. I am using a black background and would like to have all white text. How do I make the name above the comment in white as well?
TIA,
eric
|
|
06/06/2004 14:58:29
|
Brianr
Beginner
Joined: 21/05/2004 15:16:13
Messages: 30
Location: Hamilton ON Canada
Offline
|
If your background is black, setting the colour to FFFFFF in the Admin Panel | Style should give you white as the default text colour.
Can you post the guestbook URL and indicate some text with the specific problem.
|
|
06/06/2004 16:17:08
|
Anonymous
|
Thanks BrianR,
Here is the URL of the guestbook I am working on.
http://www.tribeband.com/guestbook/index.php
As you can see, I want to use an all black scheme. You can see my main posts and the comments underneath, but the name of the person posting is black text. If you highlight, you can see the names. Originally, the comment text was black as well, but I got the answer from http://proxy2.de/forum/viewtopic.php?t=2338.
I was hoping that would make the comment and the names white text, but that only took care of the comment text. How can I make the names show up in white text as well?
Thanks,
eric
|
|
06/06/2004 16:33:40
|
Brianr
Beginner
Joined: 21/05/2004 15:16:13
Messages: 30
Location: Hamilton ON Canada
Offline
|
Did you hard code the colour change for the comment itself in com.php:
<td>
<hr size="1"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">$com[name]:</font><br>
<font color="#FFFFFF">$com[comments]</font>
</td>
If so just add color="#FFFFFF" to the first font tag
<td>
<hr size="1"><font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#FFFFFF">$com[name]:</font><br>
<font color="#FFFFFF">$com[comments]</font>
</td>
That should override whatever default setting you have in Admin | Style but setting your default text to #FFFFFFF should accomplish the same thing
|
|
06/06/2004 16:47:30
|
Anonymous
|
Brian,
This is what I have for my 'com' template:
<table width="90%" border="0" cellspacing="0" align="center">
<tr>
<td>
<hr size="0"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">$com[name]:<br>
<font color="#FFFFFF">$com[comments]</font>
</td>
</tr>
</table>
But only the comment text turns white, not the names that wrote the comments. I want the names to show up in white as well.
For example, if you go to my guestbook, you can see the comment 'another dumbass comment '. Right above it is the name 'rod:', but you can't see it because it only comes up in black (highlight to see it). I want those names in white.
|
|
06/06/2004 16:53:21
|
Brianr
Beginner
Joined: 21/05/2004 15:16:13
Messages: 30
Location: Hamilton ON Canada
Offline
|
Change
<hr size="0"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">$com[name]:<br>
to
<hr size="0"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#FFFFFF">$com[name]:</font><br>
That should fix it.
|
|
06/06/2004 18:01:50
|
Anonymous
|
Thanks Brain,
that did the trick
|
|
07/06/2004 06:48:41
|
Anonymous
|
Guest, how did you manage to remove the 'Administration' (or 'Administrator Only') link from appearing in addentry.php?
I have been able to remove it from index.php by editing body.php, but I'm not sure which file should be used to do the same for addentry.php.
|
|
10/06/2004 05:31:22
|
Anonymous
|
Has anyone got an answer for this, please?
|
|
10/06/2004 18:05:11
|
JTD
Graduate
Joined: 08/05/2004 21:52:50
Messages: 529
Location: Arkansas
Offline
|
look in body.php for this.
<b>| <img src="img/lock.gif" width="9" height="11"> <a href="admin.php">$LANG
|
LINK-> Use Lazarus Guestbook |
|
11/06/2004 00:20:23
|
Anonymous
|
Yes, I edited that out of body.php, and that removes it from the first page, index.php.
When you click on 'Sign the Guestbook', the link to Admin is on the next page, addentry.php. It is that entry I want to remove.
|
|
11/06/2004 02:35:02
|
JTD
Graduate
Joined: 08/05/2004 21:52:50
Messages: 529
Location: Arkansas
Offline
|
addentry.php
require_once $include_path."/admin/config.inc.php";
|
LINK-> Use Lazarus Guestbook |
|
11/06/2004 02:48:00
|
Anonymous
|
I'm sorry, but removing that line from addentry.php causes the whole page to disappear with error dialog.
Here is the URL:
http://www.bshira.co.uk/gbook/
It is on the next page when you click on 'Sign the Guestbook' that I want to remove 'For Administrator Only'. It was removed from the page by editing body.php.
|
|
11/06/2004 03:30:31
|
Brianr
Beginner
Joined: 21/05/2004 15:16:13
Messages: 30
Location: Hamilton ON Canada
Offline
|
See if you can find it in form.php. It should be this part of the line or something similar
| <img src="$GB_PG[base_url]/img/lock.gif" width="9" height="11"> <a href="$GB_PG[admin]">$LANG[BookMess5]</a>
|
|
11/06/2004 04:09:35
|
Anonymous
|
Thank you, that has achieved the result I wanted.
|
|
|