Not logged in. · Lost password · Register
Forum: Advanced Guestbook Support Forum RSS
Help about guestbook
Bjorn Gulpen (Guest) #1
No profile available.
Link to this post
Subject: Help about guestbook
Hello Carbonize,

I got a problem with the advanced guestbook, that i really wan't to get solved.

Today I installed the Advanced Guestbook and now i wan't to make some modifiactions, but i'm not that pro scripter and because i'm a noobie i would like to ask for help.

My website is next link: http://www.zarei.nl

I included the guestbook within a table ( centre 1 )
Now i want to change the font, size and color of the Teken het gastenboek
- Where do I do that, and how do i do that?

Next, I wan't to remove the pull down menu Gastenboek
- Where do i do that, and what do i need to remove?

Next, I wan't to change the text Welkom op onze site. Hier kun je het gastenboek tekenen.
- Where do I do that, and how do i do that?

Last thing,
I got a major problem with the link Teken het gastenboek

My patch for the guestbook is this 1: http://www.zarei.nl/gastenboek

But like I told before i included the guestbook within a table.
Now when i click on the sign link he point i the root folder www.zarei.nl/addentry.php, but he should point to the folder www.zarei.nl/gastenboek/addentry.php
- Where do I do that, and how do i do that?

I would be really happy if you could help me!

Greetz Bjorn Gulpen
Avatar
carbonize (Administrator) #2
Member since Jan 2004 · 789 posts · Location: Bristol, UK
Group memberships: Administrators, Members
Show profile · Link to this post
ok you need to open templates/body.php.

The Teken het gastenboek is represented by $LANG[BookMess3] so edit that part.

To get rid of the jump menu delete everything from
<!--Start JumpMenu --> to <!--End JumpMenu -->

The Welkom op onze site text can be found in your relevant language file. lang/dutch.php I assume.

The add entry link is working fine here for me and is pointing to the correct url but if you want whilst you have body.php open simply edit
<a href=&quot;$GB_PG[addentry]&quot;>
to point to the FULL url.

Oh and open up admin/config.inc.php and remove the / from the end of your base url.
C a r b o n i z e
(Guest) #3
No profile available.
Link to this post
Yo Carbonize,

Thanks for the great help, but i have some little problems although.
Look @ this.

I made it to point the addentry.php so when i click the link the page opens, but the problem rises when i try to sign something.
When fill out my name and my comment i must click verstuur.
I advise, try it and tell my what's wrong.

Here's my code:
$GB_PG["index"]    = "http://www.zarei.nl/gastenboek.php";
$GB_PG["admin"]    = "admin.php";
$GB_PG["comment"]  = "gastenboek/comment.php";
$GB_PG["addentry"] = "gastenboek/addentry.php";

Next problem,
I found how to adjust the tekst Welkom op onze site and I did that.
But now i wan't to make sure that the text goes over the whole line, without using another line.
And i also wan't to delete the time displaying above Welkom op onze site

Next,
I also found the text, Teken het gastenboek and i managed to edit the font, but now i also want to adjust the size.
- How do I do that and where.
(Guest) #4
No profile available.
Link to this post
Owkeej ... i solved the main problem with the linking, now i used this code

$GB_PG["index"]    = "http://www.zarei.nl/gastenboek.php";
$GB_PG["admin"]    = "admin.php";
$GB_PG["comment"]  = "comment.php";
$GB_PG["addentry"] = "addentry.php";

and u used this path

$GB_PG["base_url"] = "http://www.zarei.nl/gastenboek";

that solved the problem for the linking, but could you help me with the other things ?

Thanks m8 for ya great help

Bjorn
Bjorn Gulpen (Guest) #5
No profile available.
Link to this post
Well,

Sorry for posting this thing full.
I thought i handeled the problem about linking but it doesn't.
when i click submit it point's to

http://www.zarei.nl/gastenboek/gastenboek/addentry.php

and when i used this code:

$GB_PG["index"] = "http://www.zarei.nl/gastenboek.php";
$GB_PG["admin"] = "admin.php";
$GB_PG["comment"] = "comment.php";
$GB_PG["addentry"] = "gastenboek/addentry.php";

but when i use this kinda code

$GB_PG["index"] = "http://www.zarei.nl/gastenboek.php";
$GB_PG["admin"] = "admin.php";
$GB_PG["comment"] = "comment.php";
$GB_PG["addentry"] = "addentry.php";

it does point to http://www.zarei.nl/addentry.php.
I don't understand what i'm doing wrong ...

Thnksz m8 ...

Greetz Bjorn Gulpen
Avatar
carbonize (Administrator) #6
Member since Jan 2004 · 789 posts · Location: Bristol, UK
Group memberships: Administrators, Members
Show profile · Link to this post
Change them all to the full urls and that should hopefully fix the problems.

Open body.php again and look for
     <td width=&quot;56%&quot; class=&quot;font2&quot;>$TPL[GB_TIME]<br>$LANG[BookMess6]</td>
     <td width=&quot;44%&quot; valign=&quot;bottom&quot; align=&quot;right&quot;>

<!--Start JumpMenu -->

$TPL[GB_JUMPMENU]

<!--End JumpMenu -->

      </td>
remember that you've removed the jumpmenu code already. Replace all that with
     <td class=&quot;font2&quot;>$TPL[GB_TIME]<br>$LANG[BookMess6] </td>
as for the font size adjust it where you adjusted the font face.
C a r b o n i z e
bjict (Guest) #7
No profile available.
Link to this post
Subject: Guess book
How do I replace my index.php
Avatar
carbonize (Administrator) #8
Member since Jan 2004 · 789 posts · Location: Bristol, UK
Group memberships: Administrators, Members
Show profile · Link to this post
Replace?
C a r b o n i z e
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please note the verification code from the picture into the text field next to it.
Smilies: :lmao: ':)' :hug: :-)) :shrug: :-' :lol: x-( :-x :'( :-o :-{} :-! :-? :"> :-(( B-) ;-) #-( :-# O_o TiT :-zZ :-) ZzZ
Special characters:
Go to forum
Unclassified NewsBoard 1.6.3 © 2003-6 by Yves Goergen
Page created in 160.7 ms (85 ms) · 59 database queries in 8.8 ms
Current time: 2010-09-02, 22:11:35 (UTC +01:00)