How do i get a picture as a Guestbook title
How do i get a picture as a Guestbook title
Script URL: ?
Version of script: 1.34 (henrie)
Version of PHP:
Hosting company: ?
Have you searched THIS FORUM for your problem: Yes
(if not please do before posting)
If so, what terms did you try:
Write your message below:
I like to use the guestbook for my site lesboulesfleuries.nl site. So I like to implement the logo in the guestbook in the header and change the background colour of the page.
Can you give me a clue?
Thanks in advance
kor
Version of script: 1.34 (henrie)
Version of PHP:
Hosting company: ?
Have you searched THIS FORUM for your problem: Yes
(if not please do before posting)
If so, what terms did you try:
Write your message below:
I like to use the guestbook for my site lesboulesfleuries.nl site. So I like to implement the logo in the guestbook in the header and change the background colour of the page.
Can you give me a clue?
Thanks in advance
kor
Hi Kor,
To insert an image in the header of the page, open the header.txt file.
Add the code you want to insert at the top of the page.
For an image it would probably look like
If you want to remove the guestbook title at the top of the page, you can open the settings.php file and change $settings['show_title']=1; to $settings['show_title']=0;
To give the page a backgroundcolor, open the style.css file.
Add the following line to the body {...} section"
For more information about css styling you can look at this site http://www.w3schools.com/css/css_intro.asp or for dutch info you can look here http://www.mijnhomepage.nl/csscursus/cs ... rzicht.php
Greetings,
Henrie
To insert an image in the header of the page, open the header.txt file.
Add the code you want to insert at the top of the page.
For an image it would probably look like
Code: Select all
<img src="../logo.gif" alt="logo" title="logo" />
To give the page a backgroundcolor, open the style.css file.
Add the following line to the body {...} section"
Code: Select all
background-color: #FFFFCC;
Greetings,
Henrie
Klemen didn't help here, thanks to Henrie 

Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
flash header

Can I put flash(swf) in my header using this code:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://active.macromedia.com/flash4/cab ... on=4,0,0,0" width="981" height="107">
<param name="movie" value="file:filename.swf">
<param name="play" value="true">
<param name="loop" value="true">
<param name="quality" value="high">
<embed src="file:filename.swf" play="true" loop="true" quality="high" pluginspage="http://www.macromedia.com/shockwave/dow ... kwaveFlash" width="981" height="107"></embed>
</object>
Henrie,Henrie wrote:Hi Kor,
If you want to remove the guestbook title at the top of the page, you can open the settings.php file and change $settings['show_title']=1; to $settings['show_title']=0;
Greetings,
Henrie
I would like to remove the Guestbook title from the settings.php so that just the header.txt is shown. However I find no refrence to what you have quoted above. There is not anything in the settings.php on my end like $settings['show_title']=1; Is there a way to get this done, (or can it be done).
Thank you!
Junefly
http://www.rampbbs.net/gbook/gbook.php
Hello Junefly,
Kor is using my modified Xhtml version (downloaded form the GBook - guestbook add-ons forum) in which i have also added a lot of modifications (like the show_title setting).
In the standard GBook 1.34 version there are two ways to remove the title:
1. Change the following in the settings.php file.toJust don't give a title
.
2. Edit the gbook.php file.
Find the following (starting at line 631)and change it to thisThe part that displays the title is now removed
.
Hope this helps.
Greetings,
Henrie
Kor is using my modified Xhtml version (downloaded form the GBook - guestbook add-ons forum) in which i have also added a lot of modifications (like the show_title setting).
In the standard GBook 1.34 version there are two ways to remove the title:
1. Change the following in the settings.php file.
Code: Select all
$settings['gbook_title']="My lovely website - guestbook";
Code: Select all
$settings['gbook_title']="";

2. Edit the gbook.php file.
Find the following (starting at line 631)
Code: Select all
echo '<h3 align="center">'.$settings['gbook_title'].'</h3>
<p align="center"><a href="'.$settings['website_url'].'">Back to '.$settings['website_title'].'</a>
| <a href="gbook.php">View guestbook</a>
| <a href="gbook.php?a=sign">Sign guestbook</a></p>
<div align="center">
<center>
';
Code: Select all
echo '<p align="center"><a href="'.$settings['website_url'].'">Back to '.$settings['website_title'].'</a>
| <a href="gbook.php">View guestbook</a>
| <a href="gbook.php?a=sign">Sign guestbook</a></p>
<div align="center">
<center>
';

Hope this helps.
Greetings,
Henrie
Great.. For some reason when I just removed the title in settings I got an error.. After looking at this quote, I think I had the quotes with a space between which probably caused the error.. Anyway removing the title all together worked great..Henrie wrote:Hello Junefly,
Kor is using my modified Xhtml version (downloaded form the GBook - guestbook add-ons forum) in which i have also added a lot of modifications (like the show_title setting).
In the standard GBook 1.34 version there are two ways to remove the title:
1. Change the following in the settings.php file.toCode: Select all
$settings['gbook_title']="My lovely website - guestbook";
Just don't give a titleCode: Select all
$settings['gbook_title']="";
.
2. Edit the gbook.php file.
Find the following (starting at line 631)and change it to thisCode: Select all
echo '<h3 align="center">'.$settings['gbook_title'].'</h3> <p align="center"><a href="'.$settings['website_url'].'">Back to '.$settings['website_title'].'</a> | <a href="gbook.php">View guestbook</a> | <a href="gbook.php?a=sign">Sign guestbook</a></p> <div align="center"> <center> ';
The part that displays the title is now removedCode: Select all
echo '<p align="center"><a href="'.$settings['website_url'].'">Back to '.$settings['website_title'].'</a> | <a href="gbook.php">View guestbook</a> | <a href="gbook.php?a=sign">Sign guestbook</a></p> <div align="center"> <center> ';
.
Hope this helps.
Greetings,
Henrie
Thank you very much!!!
Junefly
http://www.rampbbs.net/gbook/gbook.php?a=sign
-
- Posts: 4
- Joined: Sat Dec 05, 2009 11:33 pm
Re: flash header
Okay, I managed to get my swf (Flash) title showing up with a code like the above embedded into the header.txt file, BUT I can't get the size adjusted.olli wrote:
Can I put flash(swf) in my header using this code:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://active.macromedia.com/flash4/cab ... on=4,0,0,0" width="981" height="107">
<param name="movie" value="file:filename.swf">
<param name="play" value="true">
<param name="loop" value="true">
<param name="quality" value="high">
<embed src="file:filename.swf" play="true" loop="true" quality="high" pluginspage="http://www.macromedia.com/shockwave/dow ... kwaveFlash" width="981" height="107"></embed>
</object>
The inserted Flash animation has a width of 410px and a height of 70px, but no matter what size I imput in the code it always just shows up very small (about 100px width and maybe 50px height). Any suggestions what I need to edit where, to get the embedded Flash animation to display in its correct size?
Hello Nightwing308,
If changing width="981" height="107" to the actual size twice in the code you gave is not working, than please post a link to (a demo of) your guestbook with the flash movie, so i can take a look.
Hard to say what is wrong with only the info you provided.
Greetings,
Henrie
If changing width="981" height="107" to the actual size twice in the code you gave is not working, than please post a link to (a demo of) your guestbook with the flash movie, so i can take a look.
Hard to say what is wrong with only the info you provided.
Greetings,
Henrie
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.
-
- Posts: 4
- Joined: Sat Dec 05, 2009 11:33 pm
Sorry Henrie, I had been just experimenting with this locally, so it wouldn't interfere with anything on the site I'm creating.
But I've uploaded the sample with the embedded swf header here
http://www.nightwingsgraphics.com/EPSGu ... /gbook.php
The "Testimonials" text should be 400px by 70px but I can't get it to display in the correct size (also had it centered on the page at one time, but then played around with the settings and now can't remember what I did to center it. Go figure! LOL)
But I've uploaded the sample with the embedded swf header here
http://www.nightwingsgraphics.com/EPSGu ... /gbook.php
The "Testimonials" text should be 400px by 70px but I can't get it to display in the correct size (also had it centered on the page at one time, but then played around with the settings and now can't remember what I did to center it. Go figure! LOL)
-
- Posts: 4
- Joined: Sat Dec 05, 2009 11:33 pm