Arc Forumnew | comments | leaders | submitlogin
Adding search and downvote to Arc clone site
2 points by no_keeptalking 4322 days ago | 3 comments
I would like to add downvote to links and comments as well as search in my (Arc clone) site - www.informenos.com. Are these features already in the sourcecode and just need to be "activated"?


3 points by zck 4322 days ago | link

Downvoting of comments already exists in the code; each user is prevented from downvoting until that user accumulates enough karma. I don't have the source in front of me, but you could set the threshold for that to 1, so users would be able to downvote comments as soon as they register.

Downvoting submissions is another story. As far as I know, HN has never let users downvote submissions, so you'd have to build in that scaffolding yourself.

-----

1 point by no_keeptalking 4322 days ago | link

All I found was :

1. A graydown.gif in the static folder

2. The following code in the news.arc file: (= up-url* "grayarrow.gif" down-url* "graydown.gif" logo-url* "arc.png")

I looked over all the files again and couldn't find any references to "graydown" or "down-url" any ideas?

-----

2 points by no_keeptalking 4322 days ago | link

I was looking too fast... it's all there in the news.arc file

-----