Edit copyright

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
zekezebra
Posts: 3
Joined: Mon Nov 26, 2007 1:59 pm

Edit copyright

Post by zekezebra »

Hi, first of all thanks for a great script. One question though, I have no problem leaving the copyright links in place but I would like them to open in a new window not inside my website. Is there a way to do this? I do iFrame the guestbook and I suspect that this may be the problem. The guestbook can be seen at http://www.paddymurphys.nl/frame.htm
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
xtravagance
Posts: 3
Joined: Sun Dec 16, 2007 8:25 pm

Where to change

Post by xtravagance »

I don´t want to translate the script to swedish again but where can I change / add the script to open link in new window?
This Gbook script are soo sweet !
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

In your gbook.php replace the printDownHTML() function with this one (delete everything from printDownHTML() to // END printDownHTML and use this code instead):

Code: Select all

function printDownHTML() {
global $settings;
eval(gzinflate(base64_decode('DcZHkptAAADA53i3OLBkUS4fQGQhxCDiXFxkhgwiv97uU+db3H
6VF+qLNl7yryT+5Cz9N8vTIcu/fkkpbyyTzgqCBJjM4apde9Ns49yFCYnlGTXPBud1GAR1MONcILy4Wm
lngCuxxZNvaN7gs0tZ7YFjvmKtrnIdtytljs4WVzUC/pONqjxwRDazNYMOGnmkXuSi2hTWziFLAyJ2l4
BJ3qPmbpabaAYf6BUFWpqqSdnb8IqObASaPAcAjwPopoalAzIUl9UvIKcZLfWJens/myd7kky9YfHsYY
x0N+7znQuP1fESDLFVMtTINU/N52I3JM5+f6kSHnWm8BHxWfNONbNwmfefEWvy27LZ7c9HcRlG6PYMaG
WlUITnpZ2t3nSbUUqSkYASLvb6ik50i8H0PD9ZjkxTdpBFdw/nSqZLryx2tSs4NcjZueB+XqmHz3vfvL
C7ZTvFWj08e7IdW/2xZ12xtTP8EL3lkuE4s62MzQvnGbuz38se89/eerAlVGuy14C3KNloJVQTERmx4Z
vkDiFEcnpkg5Dx2U31JTkjiU1HT/cBIY+HexFRvUkINws+Dfy9O1GotPpN4gqx9KY1UYla5YqrjxTaFD
1flGNMQW0xLbnc0ryL3QllrljGH0aDdokcF48FmAk1ibxDjXuCJHT2iO79xWvO+yqxN0a7uPlU+Ix4YH
qoIEwvhZeRzVWDh4AcCXj3Blqgy6OLYqA2V48/WDhurcqtxfx/ONLfe6j2bg65irqBGqkapsGC8z4kqc
svuji3TelMBu+woxUCyKc1qrJ+t8e3zgLWba5t4ZE36nkweGFYNgPMMCLT0yg8F1DQFYrfdFRMfBxu4m
k8wslngUuktXcrrSF/Syf7GkLdqI4kiLLuo23WRMhEkW8/WONiEcMkPt0Npvf61ELoU3HV6fVl6dhE1U
I1UuC07bEn4EEyYhIvT9NLHtxcatuiwdNadmJL5sJJrwPG/I7bkMS3C8M3jtf2P39+fX9///4H')));
}  // END printDownHTML
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
gentle
Posts: 3
Joined: Thu Nov 22, 2007 4:49 pm

Post by gentle »

Klemen Stirn wrote:In your gbook.php replace the printDownHTML() function with this one (delete everything from printDownHTML() to // END printDownHTML and use this code instead):

Code: Select all

function printDownHTML() {
global $settings;
eval(gzinflate(base64_decode('DcZHkptAAADA53i3OLBkUS4fQGQhxCDiXFxkhgwiv97uU+db3H
6VF+qLNl7yryT+5Cz9N8vTIcu/fkkpbyyTzgqCBJjM4apde9Ns49yFCYnlGTXPBud1GAR1MONcILy4Wm
lngCuxxZNvaN7gs0tZ7YFjvmKtrnIdtytljs4WVzUC/pONqjxwRDazNYMOGnmkXuSi2hTWziFLAyJ2l4
BJ3qPmbpabaAYf6BUFWpqqSdnb8IqObASaPAcAjwPopoalAzIUl9UvIKcZLfWJens/myd7kky9YfHsYY
x0N+7znQuP1fESDLFVMtTINU/N52I3JM5+f6kSHnWm8BHxWfNONbNwmfefEWvy27LZ7c9HcRlG6PYMaG
WlUITnpZ2t3nSbUUqSkYASLvb6ik50i8H0PD9ZjkxTdpBFdw/nSqZLryx2tSs4NcjZueB+XqmHz3vfvL
C7ZTvFWj08e7IdW/2xZ12xtTP8EL3lkuE4s62MzQvnGbuz38se89/eerAlVGuy14C3KNloJVQTERmx4Z
vkDiFEcnpkg5Dx2U31JTkjiU1HT/cBIY+HexFRvUkINws+Dfy9O1GotPpN4gqx9KY1UYla5YqrjxTaFD
1flGNMQW0xLbnc0ryL3QllrljGH0aDdokcF48FmAk1ibxDjXuCJHT2iO79xWvO+yqxN0a7uPlU+Ix4YH
qoIEwvhZeRzVWDh4AcCXj3Blqgy6OLYqA2V48/WDhurcqtxfx/ONLfe6j2bg65irqBGqkapsGC8z4kqc
svuji3TelMBu+woxUCyKc1qrJ+t8e3zgLWba5t4ZE36nkweGFYNgPMMCLT0yg8F1DQFYrfdFRMfBxu4m
k8wslngUuktXcrrSF/Syf7GkLdqI4kiLLuo23WRMhEkW8/WONiEcMkPt0Npvf61ELoU3HV6fVl6dhE1U
I1UuC07bEn4EEyYhIvT9NLHtxcatuiwdNadmJL5sJJrwPG/I7bkMS3C8M3jtf2P39+fX9///4H')));
}  // END printDownHTML
Hi all,

For some reason the above code didn't work for me (it gave an error), so I copied the function printDownHTML() from the http://www.phpjunkyard.com/extras/gbook ... window.zip gbook.php file and that one did work.
Post Reply