Page 1 of 1

name is not displayed in full length

Posted: 29 Feb 2012, 12:14
by slk200de
Hi,

i use guestbook 1.5.3 and received a guestbook entry with a "name" of about 51 characters.
In the guestbook there will be only displayed 41 characters followed by "..."

How can i manage this to display 60 characters.

Thx
Matthias

Re: name is not displayed in full length

Posted: 01 Mar 2012, 15:34
by slk200de
found the error by myself:

.../components/com_phocaguestbook/views/phocaguestbook/tmpl/default.php

//!!! username saved in database can be username or name
$sep = 0;
if ($this->tmpl['display_name'] != 0) {
if ($values->username != '') {
$gbPosts .= PhocaguestbookHelper::wordDelete($values->username, 40, '...');
$sep = 1;

should be changed into: $gbPosts .= PhocaguestbookHelper::wordDelete($values->username, 60, '...');

Regards
Matthias

Re: name is not displayed in full length

Posted: 02 Mar 2012, 00:01
by Jan
OK