×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Comment form on top w/ most recent on top?

Comment form on top w/ most recent on top? 12 years 6 months ago #14174

  • Steve Burke
  • Steve Burke's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 38
  • Thank you received: 0
Is it possible to display the comment form on the top of the article and also display the most recent comments on the top? Recently my articles have been getting dozens and dozens of comments, and I think it would encourage even more people to comment if they didn't have to find the comment form (at the bottom of the page).

I don't think I saw this option natively -- is it already in configuration?

Comment form on top w/ most recent on top? 12 years 6 months ago #14175

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Steve,
I haven't seen you in a while :)
You can actually do this with a template override for the article view.

But please think this carefully. Don't try to reinvent the wheel! People expect to find the comment form after your article - this is the way it has always worked. In my opinion you will only confuse people if you do it the way you intend it.

Read what I explained here:
compojoom.com/forum/1-general/2-general-...odule?p=14173#p14173

You will need the echo $this..... after the title.

Experimenting doesn't hurt - but this is one of those things that I think won't contribute much... but rather confuse users.

Cheers,
Daniel

Comment form on top w/ most recent on top? 12 years 6 months ago #14177

  • Steve Burke
  • Steve Burke's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 38
  • Thank you received: 0
Hey there :) Great to see you again. Still using CJC on my site as it is growing :D

I don't know if this is exactly what I meant, let me try to explain:

I don't want to display it on top of the article, just on top of the comments. Think of it the way Reddit does it. Look here:

gamersnexus.net/news-pc/612-players-dont...bf3-recommended-spec

Is it possible to have it display directly under the pagination and under where it says Comments (60) / Add New / RSS? Currently it shows under all comments. I want it to display under the article and above the comments, but have the most recent comments appear at the top of the list (as they do now).

Does that make sense? :S Hope so :)

Comment form on top w/ most recent on top? 12 years 6 months ago #14179

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Steve,
Could you please make a screenshot of the page and write on it where each element should go.

I couldn't understand what you want from your description, sorry!

Daniel

Comment form on top w/ most recent on top? 12 years 6 months ago #14184

  • Steve Burke
  • Steve Burke's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 38
  • Thank you received: 0
Of course, no problem :)

http://www.gamersnexus.net/files/lelldorianx/cpj-example.jpg

Does it make sense this way?

Currently the comment form is at the bottom of the comments, near the oldest comment.

Comment form on top w/ most recent on top? 12 years 6 months ago #14187

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Ha, that was always possible and it is really easy to do!

You need to edit your compojoomComment template index.html file. Find the {form}...{/form}tags - copy them together with all their content after the closing {/menu} tag. Then the form will appear right where you want it to be.
Cheers,
Daniel

Comment form on top w/ most recent on top? 12 years 6 months ago #14188

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Ah and for the newest comments on top there is an option in the settings...

Comment form on top w/ most recent on top? 12 years 6 months ago #14204

  • Steve Burke
  • Steve Burke's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 38
  • Thank you received: 0
Thanks! I moved the form and it's working great now :)
I re-subscribed and updated my comment stuff. I've been getting so many comments lately, I really do have to give you kudos for building such an amazing system. Our site is growing rapidly and CJC is helping it do so :)

Comment form on top w/ most recent on top? 12 years 6 months ago #14205

  • Steve Burke
  • Steve Burke's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 38
  • Thank you received: 0
I have another question, and maybe this is already possible in the core of your comments system, but I'll ask anyway: is it possible to make URLs automatically hyperlink? I imagine the reason they don't is for anti-spam purposes, but it seems that my spam is under control at this point. I want to remove the title and UBBCode items because I think the comment form is too large (the comment form should be as small as possible in my opinion). Any thoughts on this?

Edit.: Oh, and is it possible to automatically post comments from registered users? Sometimes the comments 'get queued for moderation' because they have links in them. It is possible to only do this for guests but not normal users?

Comment form on top w/ most recent on top? 12 years 6 months ago #14206

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Sorry, but currently the answer to both questions is no.

1. the link formating will be really cool and I'll add it one day :)
2. If you turn off akismet support the comments won't be queued for moderation. ( But perhaps we should leave akismet checking only for unregistered users ?

Daniel

Comment form on top w/ most recent on top? 12 years 6 months ago #14217

  • Steve Burke
  • Steve Burke's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 38
  • Thank you received: 0
Cool :) I'll try to set akismet to unregistered only if it is natively possible. That'd be ideal.

Thanks for being awesomely responsive :) Still my favorite J! developer :D
  • Page:
  • 1
Time to create page: 0.130 seconds