Is there an add-on or secret to adding URL's to guestbook

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
aeustudios
Posts: 1
Joined: Wed Nov 19, 2008 4:29 am

Is there an add-on or secret to adding URL's to guestbook

Post by aeustudios »

Script URL: Gbook
Version of script: 1.6


Write your message below:

Is there a way to add URL's to the postings in gbook?
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

The secret is to read the reamde.htm file, especially what it says for $settings['use_url'] under installation.
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
zong817
Posts: 6
Joined: Tue Oct 07, 2008 3:51 pm

URL link in entries

Post by zong817 »

The $settings['use_url'] is mainly for the field "Your website" as described in the settings.php...

/* Use "Your website" field? 1 = YES, 0 = NO */
$settings['use_url']=1;

What if I want to put URL link in the content of the message? Is there a way to do so?

And, can I put the <img src=xxx> in the "Your name" field so that I can differentiate the Admin with the rest?

My guestbook link is http://zongzong.hypermart.net/gbook/gbook.php

Thanks!!
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post by Henrie »

Hello zong817,
What if I want to put URL link in the content of the message? Is there a way to do so?
Set $settings['junkmark_limit']=71; or any higher value.
And, can I put the <img src=xxx> in the "Your name" field so that I can differentiate the Admin with the rest?
I do not understand what you mean to do with this, so i can not help you.

Greetings,
Henrie
zong817
Posts: 6
Joined: Tue Oct 07, 2008 3:51 pm

Post by zong817 »

Thank you for your quick reply.

The example for my 2nd point is like the below link.

http://zongzong.hypermart.net/cgi-bin/p ... ard-14.cgi

You can see there are a "Z" icon in every reply, which was made by me. It's much easier to differentiate myself from the others when reading the post...

Is that possible?

Thanks!
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post by Henrie »

I am certain this can be done. But it would require editing the gbook.php file. Principle could be that if a certain name is entered, extra code with link to image is added to the name and saved in the entries.txt file.
I don't have time to do this for you though, sorry.

Greetings,
Henrie
zong817
Posts: 6
Joined: Tue Oct 07, 2008 3:51 pm

Post by zong817 »

Thank you Henrie for the tip~

Anyone can please help me with this? I have no idea how to write the code from scratch... All I can do is some minor changes to the existing codes...

Thank you in advance!!
Post Reply