Hi all
I am trying to set up the Guestbook, but when I submitt a message the full IP address does not come thorugh to the management interface, is there somewhere that this can be edited.
Also I want to change it so that when someone goes to submit a message their IP appears on the screen so that they know that their IP is recorded.
Can someone help pls
Thanks in advance.
Eweda Maan
Guestbook Version: 1.1.7
Re: Guestbook Version: 1.1.7
Oops
, I defined the field for ip_address to length 11 (should be 15).
Change the database field cms_module_guestbook.ip_address to varchar(15).
I'll take a look at showing the IP after submit later today (after work & dinner).
Regards,
D

Change the database field cms_module_guestbook.ip_address to varchar(15).
I'll take a look at showing the IP after submit later today (after work & dinner).
Regards,
D
Re: Guestbook Version: 1.1.7
To show the IP address after submit in the Guestbook Template in the section
you can use
Regards,
D
Code: Select all
{if $show_msg}
{/if}
Code: Select all
{$smarty.server.REMOTE_ADDR}
D
Re: Guestbook Version: 1.1.7
Thanks for that, I got the full IP now but where can I find this code
{if $show_msg}
{/if}
Thanks again
{if $show_msg}
{/if}
Thanks again
Re: Guestbook Version: 1.1.7
Go to the Guestbook admin and click the "Guestbook Template" tab.EwedaMaan wrote: Thanks for that, I got the full IP now but where can I find this code
{if $show_msg}
{/if}
Regards,
D