1._How_to_display_emty_name_field_instead_of_filled_string_"Guest"
2._How to remove the PATH from TinyMCE editor
3._How_to_enable_supporting_of_BR_tag
4. How to make that other users than administrator and super administrator can delete and unpublish posts in frontend
Open the file
components/com_phocaguestbook/views/phocaguestbook/view.html.php
and change the following code on line 106 + - and 117 + -
FROM:
$form_username = JText::_('Guest');
TO:
$form_username = '';
Open the file
components/com_phocaguestbook/helpers/phocaguestbook.php
and change the following code on line 52 + - (comment the whole line)
FROM:
.'theme_advanced_path_location : "bottom",'. "\n"
TO:
// .'theme_advanced_path_location : "bottom",'. "\n"
Open the file
components/com_phocaguestbook/views/phocaguestbook/view.html.php
and add the following code (line cca. 91)
FROM:
$configP->set('HTML', 'Allowed', 'strong,em,p[style],span[style], img[src|width|height|alt|title], li,ul,ol,a[href],u,strike');
TO:
$configP->set('HTML', 'Allowed', 'strong,em,p[style],span[style], img[src|width|height|alt|title], li,ul,ol,a[href],u,strike,br');
find the following code:
if (strtolower($user->usertype) == strtolower('super administrator') || strtolower($user->usertype) == strtolower('administrator')) {
and add your selected group to this if clause. E.g.:
if (strtolower($user->usertype) == strtolower('super administrator') || strtolower($user->usertype) == strtolower('administrator') || strtolower($user->usertype) == strtolower('your-selected-group')) {