Hi,
i really like this component! The only problem so far is, that the email address gets truncated after a certain lenth... How can i fix/adjust this?
An other thing i experienced today is, when i updated from v1.1.2_beta to v1.1.2_beta by deinstalling and reinstalling the component, i lost all guestbook entries... wasnt to bad, because most was backuped, but still not that great!
and: Thanks for your guestbook-component!
email address truncated
-
- Phoca Member
- Posts: 13
- Joined: 07 Feb 2008, 18:38
- Location: Switzerland
- Contact:
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
1. this is a securit
1. this is a security fix, you can change it in:
com_phocaguestbook/views/phocaguestbook/tmpl/default.php in row 110
2. You must update via FTP, because, if you uninstall some component in Joomla!, all data in database will be removed too, there is no update script yet...
Jan
com_phocaguestbook/views/phocaguestbook/tmpl/default.php in row 110
2. You must update via FTP, because, if you uninstall some component in Joomla!, all data in database will be removed too, there is no update script yet...
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 13
- Joined: 07 Feb 2008, 18:38
- Location: Switzerland
- Contact:
Hi Jan,t
Hi Jan,
thanks for you replay!
1. Works fine, but why is that considered a security fix? when a short email-address is entered, it gets shown completly anyway!?
2. So i will update the Phoca-Component from now on via ftp, thanks.
PhocaUser
thanks for you replay!
1. Works fine, but why is that considered a security fix? when a short email-address is entered, it gets shown completly anyway!?
2. So i will update the Phoca-Component from now on via ftp, thanks.
PhocaUser
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
It doesn't rela
It doesn't relate to e-mail address, e-mail address is protected against spam by Joomla framework.
It is relating to the string length, it is very difficult to explain it, but it is here with reason...
Jan
It is relating to the string length, it is very difficult to explain it, but it is here with reason...
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 13
- Joined: 07 Feb 2008, 18:38
- Location: Switzerland
- Contact:
Hi Jan,would b
Hi Jan,
would be great if you could tell me what the reason is, because i reather have truncated email-addresses than an unknown security issue
If you could just briefly let me know what kind of security thing its about, i can decide what to do about.
What i'm also considering now is not to display the email address at the frontend at all, and have a little info-text at the guestbook-form to inform the user, that the email will not be displayed and only used for the site-admin to answer a post if needed/wanted. I think i could just remove line 108-111 in tmpl/default.php, right?
-> Could be a thing for the next version of this great component, what do you think? So at the settings "showing email" could be set on or off...
Best Regards
PhocaUser
would be great if you could tell me what the reason is, because i reather have truncated email-addresses than an unknown security issue
If you could just briefly let me know what kind of security thing its about, i can decide what to do about.
What i'm also considering now is not to display the email address at the frontend at all, and have a little info-text at the guestbook-form to inform the user, that the email will not be displayed and only used for the site-admin to answer a post if needed/wanted. I think i could just remove line 108-111 in tmpl/default.php, right?
-> Could be a thing for the next version of this great component, what do you think? So at the settings "showing email" could be set on or off...
Best Regards
PhocaUser
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
User need not to add
User need not to add e-mail, if you set it in parameters. You can write there, he must not leave an e-mail adress (you can write it into the description of the Phoca Guestbook). If he leaves the e-mail address it will be protected against spam. You can hide the e-mail field in HTML code, see:
index.php?action=vthread&forum=2&topic= ... e=0#msg906
Yes, it could be set in the next version.
I cannot tell you what is the protection, but you can add there the number < 100 and don't forget that the message box is fixed so if you want that the e-mail address will be not longer than message box in normal view, you must set a rational number here...
index.php?action=vthread&forum=2&topic= ... e=0#msg906
Yes, it could be set in the next version.
I cannot tell you what is the protection, but you can add there the number < 100 and don't forget that the message box is fixed so if you want that the e-mail address will be not longer than message box in normal view, you must set a rational number here...
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 13
- Joined: 07 Feb 2008, 18:38
- Location: Switzerland
- Contact:
Hi Jan,
Hi Jan,
2. so, as i understand you, having a number of <100 would not cause any security problem? (I think about 40-50 would be long enough for most email address anyway
1. I was looking at the link about hiding the email-address, but i am not sure if i understand you right: You write it can be hide in the html-code... The only place i see, it could be hide is comenting line 108-111 in tmpl/default.php, right?
Best Regars
PhocaUser
2. so, as i understand you, having a number of <100 would not cause any security problem? (I think about 40-50 would be long enough for most email address anyway
1. I was looking at the link about hiding the email-address, but i am not sure if i understand you right: You write it can be hide in the html-code... The only place i see, it could be hide is comenting line 108-111 in tmpl/default.php, right?
Best Regars
PhocaUser
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
1, yes, you right
1, yes, you right
108 - 111, if you want to hide e-mail in message box
249 - 252, if you want to hide an e-mail form field (you must disable requiring e-mail in parameters too)
108 - 111, if you want to hide e-mail in message box
249 - 252, if you want to hide an e-mail form field (you must disable requiring e-mail in parameters too)
If you find Phoca extensions useful, please support the project
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Added into feature r
Added into feature request list...
If you find Phoca extensions useful, please support the project