Simple Forum

Permalink 1 user found helpful
I have installed the Basic Forum 1.0 package. As I will be using this for members who must be logged in I want to turn off the requirements for inputting a name and email address and the Captcha check for adding comments which appears when I add a new topic.

I can remove these by editing the block and setting the requirements after which all subsequent comments just require the user to be logged in.

(By editing the db.xml file under the basic_forum_submit for the jacks forum package I found I could switch off the Captcha - but is this the correct way to do it?)

 
mhawke replied on at Permalink Reply
mhawke
Have you looked at 'Advanced Comments' by the same developer, 12345j

It might do what you want:http://www.concrete5.org/marketplace/addons/advanced-comments/...
enlil replied on at Permalink Reply
enlil
The advanced comments add on will not properly install on 5.6.1.2. It looks as though it installs, but when you try to add an advanced comments block it's not in the list...
mhawke replied on at Permalink Reply
mhawke
It won't install automatically but I've downloaded the archive and uploaded the files to the Packages folder and it works well on 5.6.1.2
DL0rnie replied on at Permalink Reply
I downloaded it from the archive and installed it manually. I am running on 5.6.1 and it seems to work OK. However I still have the same problem.

When I insert a new topic the page comes up with an empty comment block to insert the first comment. This always comes up requiring authentication with a name and email address.
mhawke replied on at Permalink Reply 3 Attachments
mhawke
There's an option under "Authentication Required to Post". I set that to "User must Log in". So when the user is logged in, there are no boxes for email and name. If the user is logged out, there is a line telling me I need to log in to post. See attached screenshots.
DL0rnie replied on at Permalink Reply
You gave me the answer to this.

The page which lists the topics has a controller which generates a new page under it when you press the submit topic button. This was inserting the comments block using this code:

$guestBookBT = BlockType::getByHandle('guestbook'); //grabbing a guestbook block


As you can see it was using the vanilla guestbook block. I had then been editing this newly created page to insert the advanced comments.

When I edited the code to insert the advanced_comments block from the beginning:-

$guestBookBT = BlockType::getByHandle('advanced_comments'); //grabbing a guestbook block


it all works fine.

Thanks
mhawke replied on at Permalink Reply
mhawke
Ahh! You need to tell us more details about the environment in which the block is being used for us to pinpoint the problem. Hard-coded blocks are very different than placing a block on a page through the front end.

Glad you sorted it out!
enlil replied on at Permalink Reply
enlil
Thanks mhawke, I haven't tried installing it manually yet !!
mhawke replied on at Permalink Reply
mhawke
Huh? How can the "getByHandle('advanced_comments')" bit work if you haven't installed Advanced Comments yet?

Maybe I'm confuzzed.
DL0rnie replied on at Permalink Reply
Hi. If you look back to my reply (4.57 on the 34th) I did install advanced comments but still had the same problem. This was because the page handling inserting new topics also genrates the page underneath that topic for receiving comments. Instead of using the 'advanced comments' block it was using the 'guestbook comments' block. When I changed the code to use 'advanced comments' it all worked.
mhawke replied on at Permalink Reply
mhawke
Yes, I get it. I was confused because in the comment above you said, " I haven't tried installing it manually yet" so naturally I thought that you haven't tried installing it manually yet. ;-)

Glad to see it's working.