Page 1 of 1

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

Posted: Wed Nov 19, 2008 4:38 am
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?

Posted: Wed Nov 19, 2008 1:20 pm
by Klemen
The secret is to read the reamde.htm file, especially what it says for $settings['use_url'] under installation.

URL link in entries

Posted: Wed Nov 19, 2008 3:56 pm
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!!

Posted: Wed Nov 19, 2008 4:59 pm
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

Posted: Wed Nov 19, 2008 5:23 pm
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!

Posted: Wed Nov 19, 2008 6:10 pm
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

Posted: Thu Nov 20, 2008 1:31 am
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!!