Joomla CMS is a great component and we all have benefited from that, and I’ve found a great component such as Joomla Comment, however there’are some errors.
Hence I would like to take the initiative to contribute back to the Joomla community. I took the time to write this, and please take some time to read this and you may find the SOLUTIONS! I hope my effort can help you on this. If you cannot see the code below, just right click and save as.. since they’re images.
Don’t worry about the coding, I’ve a modified version and you can just download and install at your own risk. It works for me.
I came to this Joomla component because Jom Comment is charging at $20 to $30, yet both of them have almost the features. I would say this component is the best Joomla Comment component taking price into considerations!.
Here’s the solutions for Joomla Comment, I’ve summarize these three problems and the fix. It’s just as easy as Step 1, 2 and 3.
I have several websites which are run on Joomla, and I try to install it with Joomla Comment:
1) Joomla 1.0.10 – no problem occurs
2) Joomla 1.0.11 and Joomla 1.0.12 – these problems arise!
In fact the problems only occur when you install it with Joomla 1.0.11 or Joomla 1.0.12, however you do not worry about that. Hereâ€™s the fix and solutions that I found on net, and try to summarize.
Joomla Comment Problem 1:
Warning: Invalid argument supplied for foreach() in /home/mysite/public_html/test/
components/com_comment/joscomment/properties.php on line 160
Solutions / Fix 1:
Open up joscomment/properties.php
Comment the line 160, fixed! If you do not understand this, Iâ€™ve photos here with detailed. Check it out here.
Here’s how we comment the line:
Joomla Comment Problem 2:
Backend for Joomla administrator setting and comment management, including publish, unpublish, edit comment is not working. Cannot publish and unpublish, or edit any comment and setting.
Solutions / Fix 2:
a. Open up admin.comment.php
Insert this line before line 27
b. Open up admin.comment.html.php
At line 100
Replace with the code below:
echo “<td align=’center’><a href=\”index2.php?option=” . $option . “&task=edit&cid=” . $row->id . “\”>$row->name</a></td>”;
<?php echo $row->name; ?></a></td>
Scroll down and find the line 120 ( it might be line 121 or 122 if you have done the step above)
Replace the line below:
Solved problem 2
Joomla Comment Problem 3:
comment has been queued for admin’s approval even you say yes to Unregister user may comment
Solutions / Fix 3:
Problem solved in Step 2, since it’s backend administration bug in Joomla Comment 2.4 Final
Hesitate to do it, ok i’ll just share the file that i edited. Please find the attachment below. Download and install at your own risk.I do not guarantee it will work for you.
At this moment, I hope that you’re happy with the fix and enjoy the Joomla Comment now!
Lastly, start using it.
P/S: Modification of the code at your own risk.
If you couldn’t solve the problem yourself, I’ll post the modified file later on. Please be patient.
Joomla Comment Download