If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
How to change where the page goes after they sign guestbook  XML
Forum Index » Advanced Guestbook Forum
Author Message
jcbradley
Beginner

Joined: 10/04/2005 05:02:28
Messages: 5
Offline

Hi there,

I am nothing close to a techie but so far have changed the wording on my guest book. But i couldnt find anything on here in regards changing the page where they go after signing the guest book.

Is there a way to do this? I have the 2.3.1 set up

Thanks
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

Do you mean the thank you message or the page it goes to after that?

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
jcbradley
Beginner

Joined: 10/04/2005 05:02:28
Messages: 5
Offline

I mean the page it goes to afterwards. I believe it takes them to the actual guest book. I would like to take them to a different page or put a link back to my home page from the guest book.

Thanks,

Chris
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

The "Thank you for posting" message uses the template called success.php. Here you can edit that pages output all you wish. The part that is responsible for taking them back to the guestbook is

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
jcbradley
Beginner

Joined: 10/04/2005 05:02:28
Messages: 5
Offline

Where exactly would I put the URL for the redirect? Also, what file do i go to - to change the thank you message.

Thanks again,

Chris
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

The message is in english.php found in the lang folder. The url would go where it says $GB_PG[index].

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
jcbradley
Beginner

Joined: 10/04/2005 05:02:28
Messages: 5
Offline

Hi again,

Ok, in that file, i see where i can change the wording but i did not find $GB_PG[index] in that file. I did go back to the success template and replaced $GB_PG[index] with my url but ended up with a 404 error.

i put inplace. http://www.mysite.com but the URL it returned was advancedguestbook/mysite which was not found.

Next move?

Thanks,

Chris
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

open lib/success.php and replace

with

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
jcbradley
Beginner

Joined: 10/04/2005 05:02:28
Messages: 5
Offline

Awesome,

Thanks. appreciate your time.

Chris
 
Forum Index » Advanced Guestbook Forum
Go to:   
Based on the open source JForum