vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   "digg" (aka Rate) individual posts (https://vborg.vbsupport.ru/showthread.php?t=118075)

Hicksatpd 06-09-2006 12:09 AM

"digg" (aka Rate) individual posts
 
Hi everyone.

This is a feature I would absolutely LOVE to have on my forum.

I got the idea by browing the website digg.com.

The idea behind that site is members submit articles they think are worthy, and then if other members like it, they click to "digg it", and the site keeps track of how many times the article has been "dugg".

Well, for each article posted, users can leave comments. HERE IS WHERE I WANT TO TIE IN A FEATURE TO VB: Each comment posted can be given a green "thumbs up" or a red "thumbs down" by a user. If a comment has 0 ratings, a single "thumbs down" will give the comment a -1. If the comment reaches -10, the comment is then "hidden" (you see a bar acknowledging the post, but you have to click to read it instead of it being listed). This is what I would love to have made available for my vB forum.

The idea is, any given post can be given a "thumbs up" or "thumbs down". If a post recieves, say, 28 votes, and 18 are bad, while 10 are good, that post would be at "-10". This would mean the post would then be "hidden" to where it's just a strip saying something like:

"posted by JohnDoe X hours ago - [below viewing threshold, show comment ("show comment" would be clickable, when you click, it drops open the post to be read; I would gues that 'AJAX' would be useful for this)] - X diggs *insert clickable thumbsdown here* *insert clickable thumbsup here*"

Here is a good example of what I'm talking about:

http://digg.com/science/Drug_clears_...tter_of_hours_

Thoughts? Is it possible?

I have a community on my board where I am in charge, but it's not like a lot of boards where what the boss says goes, and that's that. It's a very... opinionated group, so my prefered style as head admin is to set up the rules so that there's a lot of self-moderation (I encourage use of the ignore list, for example), and this would be perfect for me.

Tough crowd. =/

Hicksatpd 06-11-2006 03:14 PM

Last time I ask. The least someone could do is tell me:

a) You're dumb, it's already possible, go to AdminCP and.......

or

b) It's too complicated.

or

c) It's been done, click here.

I appreciate any help.

EricaJoy 06-25-2006 02:27 AM

I think it would be possible although I don't know how to do it. I say that it would be possible since there is already a ratings system implemented for all threads.

I imagine this would require the ability to rate a thread outside of the thread itself and the number of options going from 5 (1-5 stars) to 2 (yes/no, thumbs up/down, etc).

TygerTyger 06-25-2006 11:41 AM

Ah, how handy. I was just here looking for this very mod so allow me to add my interest toward something like this. Well, this exactly actually. :)

As far as having a "Recommend Good Music" thread or a "Hot Girls" thread or a "Best Forum Quotes" thread...or any number of other threads where it would be handy to rate what the post is about instead of what the thread is about it would be very valuable.

kenji4861 08-09-2006 10:47 PM

I want this TOO! I might just hack up the php to do this..

Adrian. 08-10-2006 11:49 AM

Hi Hicksatpd,

I know what you mean.

Lets hope someone can help you.

In the mean time, you could use this VERY basic mod. It will allow you to easily submit posts to Digg/clesto and more.

I know it's not entirely what you want but... : /

See here - https://vborg.vbsupport.ru/showthread.php?t=123210

Adrian

davidw 08-10-2006 12:54 PM

Are you looking for something like what they do here?
http://rvb.roosterteeth.com/archive/episode.php?id=196

kafi 09-12-2006 07:38 PM

I am also looking for post rating solution .-)
Also current thread rating system is very poor...

toolblast 10-05-2006 01:45 AM

This is exactly what I was about to post to get done as well lol. Can any vb coder step up and code it for us?? :D Come on!! :)

Sssin 11-14-2006 09:39 PM

yea please!

sabret00the 11-14-2006 09:56 PM

add two new columns to post table (medium text)

store ratings as "userid,userid,userid,userid,userid" in one "1,0,1,0,1" format. ratings will be indexed by userid position, making it easy to convert to arrays and clean both or change rating.

and that's it. quite simple really. the hardest part is writing the javascript for the AJAX.

toolblast 11-15-2006 02:30 AM

Quote:

Originally Posted by sabret00the (Post 1117481)
add two new columns to post table (medium text)

store ratings as "userid,userid,userid,userid,userid" in one "1,0,1,0,1" format. ratings will be indexed by userid position, making it easy to convert to arrays and clean both or change rating.

and that's it. quite simple really. the hardest part is writing the javascript for the AJAX.


Is that a hint that you'll try and make it for us when you have a free moment Sabret00the? Pretty-please? ;) hehe

sabret00the 11-15-2006 09:54 AM

Quote:

Originally Posted by toolblast (Post 1117651)
Is that a hint that you'll try and make it for us when you have a free moment Sabret00the? Pretty-please? ;) hehe

i have ZERO javascript skills. thus it's beyond my ability.

ForumDog 11-15-2006 11:17 AM

I have done this for our forum, it replicates the Digg rating system for not just posts but threads as well, with one or two minor improvements over the Digg system, probably most significantly that my version has three levels of user-definable settings (Digg may do this, I've never actually used their site). You can enable ratings and post visibility based on ratings, or set it so that ratings will show up but posts & threads will not be visibly affected but meaning that you can't place votes yourself, or disable the whole lot and no ratings or effects will appear at all. See here for a not-quite-thorough explanation.

I can't release the code because:
a) It's customised code from a customised forum. Not really suitable for releasing as a mod for a default forum without some very major surgery.
b) It's nice to have a feature that others don't have (as far as I know) so I'd rather leave it to attract the curious and send a visitor or two our way. Feel free, by the way. ;)
c) It's based on someone else's code, named the Post Thanks and Post Groan hacks so a substantial amount of the work & credit lies with the author. So if you have the appropriate skills and you're willing to spend the time making the adaptions & changes, that would be a good place to start. :) The thread Digging part also required changes to thread ratings as well as both the plugins - though it was a borderline cheat - and obviously template changes are very significant in the appropriate places.

It was not an insignificant amount of work, though working with someone else's code and being the first to do the experimentation without knowing precisely what to do bumped up the development time quite a bit I expect.

kafi 11-15-2006 12:25 PM

wow you have done what I have thought about yeasterday - to use Groan hack for colaborative moderating - so that after x-groans it will either delet or hide the post

... now you have nice solution for this :-) it is pitty that it isnt available :-(
I have already asked author of the Post thank you hack whether he is not able to adopt this hack for DIGG purposes - I go check his thread again...

toolblast 11-16-2006 03:44 AM

Quote:

Originally Posted by sabret00the (Post 1117830)
i have ZERO javascript skills. thus it's beyond my ability.

Aww, thats too bad :(

Quote:

Originally Posted by ForumDog (Post 1117856)
I have done this for our forum, it replicates the Digg rating system for not just posts but threads as well, with one or two minor improvements over the Digg system, probably most significantly that my version has three levels of user-definable settings (Digg may do this, I've never actually used their site). You can enable ratings and post visibility based on ratings, or set it so that ratings will show up but posts & threads will not be visibly affected but meaning that you can't place votes yourself, or disable the whole lot and no ratings or effects will appear at all. See here for a not-quite-thorough explanation.

I can't release the code because:
a) It's customised code from a customised forum. Not really suitable for releasing as a mod for a default forum without some very major surgery.
b) It's nice to have a feature that others don't have (as far as I know) so I'd rather leave it to attract the curious and send a visitor or two our way. Feel free, by the way. ;)
c) It's based on someone else's code, named the Post Thanks and Post Groan hacks so a substantial amount of the work & credit lies with the author. So if you have the appropriate skills and you're willing to spend the time making the adaptions & changes, that would be a good place to start. :) The thread Digging part also required changes to thread ratings as well as both the plugins - though it was a borderline cheat - and obviously template changes are very significant in the appropriate places.

It was not an insignificant amount of work, though working with someone else's code and being the first to do the experimentation without knowing precisely what to do bumped up the development time quite a bit I expect.


Man, I really wish you would have released this, or that somebody would step up and recreate what you have. Did you code this yourself? If so, could I pay you to create a similar system for me? I have wanted this for such a long time as I think allowing co-moderation with the community individuals is a great idea and I really enjoy the feature on digg.

What makes this so hard to migrate over to someone else's board? Did you hack up the vbulletin php files to make it work?

kafi 11-16-2006 07:26 AM

ForumDog I am also badly interested in integrating this into my board. I would be happy to pay for such great feature .-) It is more than needed...

ForumDog 11-16-2006 08:22 AM

Quote:

Originally Posted by toolblast (Post 1118383)
What makes this so hard to migrate over to someone else's board? Did you hack up the vbulletin php files to make it work?

Yes, I didn't use the plugin system so it was all hand-coded via the Post Thanks/Groan plugins & default templates. I never separated it into it's own plugin.

I really would love to release it, honestly. But a starting forum needs all the help it can get and a unique feature is good help to have.

The only way I'd consider it is if there was a decent bit of money in doing so and a footer link/advertisement with the code for our forum and I can't in good conscience add a copyright of my own to what is mostly someone else's work. I'm not trying to be difficult, but I specifically did it as a unique promotion tool.

Really, the three reasons I listed above all still apply.

yoyoyoyo 12-02-2006 04:38 PM

I would like to see this one released, also.

tazB.ca 12-04-2006 09:54 PM

i would love to have that hack

i want it in the thread you can digg down users replies and if it gets enough diggs down it will be hidden (you can specify how many diggs down before hidden in your usercp) and also in forumdisplay itll show how many diggs each thread has

My dream hack =)

ForumDog 12-05-2006 06:48 PM

Unfortunately, permission has been denied by the author of the plugin I based the modification on to release my version.

However, that doesn't mean I couldn't code it myself from scratch myself. I'm 95% sure that I will tackle a release version of a digg feature for vB when I get the time.

tazB.ca 12-05-2006 07:18 PM

Quote:

Originally Posted by ForumDog (Post 1132637)
Unfortunately, permission has been denied by the author of the plugin I based the modification on to release my version.

However, that doesn't mean I couldn't code it myself from scratch myself. I'm 95% sure that I will tackle a release version of a digg feature for vB when I get the time.

your the greatest:D

ForumDog 01-04-2007 09:50 AM

I've started work on this release now, no ETA. I'm not a member of Digg so I don't know exactly what features they have or how it works, but it'll include lots of nice features and options above and beyond just a post up or down and build on what the forumdog.com site modification has at the moment.

I'm afraid I can't guarantee it will be free since I'm repeatedly expanding the concept and it's taking a while, but we'll see.

toolblast 01-04-2007 05:16 PM

I'm really excited for this. Hopefully you can get a release out within the next two weeks, as I'd really like to use this hack asap :)

PM me when it's ready, I'm willing to donate some money for it :)

kafi 01-09-2007 09:07 PM

Quote:

Originally Posted by toolblast (Post 1150726)
I'm really excited for this. Hopefully you can get a release out within the next two weeks, as I'd really like to use this hack asap :)

PM me when it's ready, I'm willing to donate some money for it :)


SO AM I :-)

tazB.ca 01-10-2007 02:21 AM

Quote:

Originally Posted by ForumDog (Post 1150504)
I've started work on this release now, no ETA. I'm not a member of Digg so I don't know exactly what features they have or how it works, but it'll include lots of nice features and options above and beyond just a post up or down and build on what the forumdog.com site modification has at the moment.

I'm afraid I can't guarantee it will be free since I'm repeatedly expanding the concept and it's taking a while, but we'll see.

I really hope it has the feature that posts that have been dugg down past -4 are hidden just like digg.com

I wouldn't mind donating $5-$20 :D

ForumDog 01-10-2007 08:22 AM

Quote:

Originally Posted by tazB.ca (Post 1155146)
I really hope it has the feature that posts that have been dugg down past -4 are hidden just like digg.com

That's exactly what it does (to threads as well as posts), read the link that I posted earlier. You specify yourself how many negative votes are required to trigger the hide. Additionally, I intend to include some slightly more more complex calculations based on hide thresholds.

AyeCapn 01-11-2007 07:16 PM

bumpity bump.

I would pay for this mod without hesitation.

kafi 01-13-2007 06:49 AM

well this will be worth "any" money .-)

I have also suggestion for feature based on this script - common moderation (move thread), if the thread gets x-votes to be moved to x-forum it will be moved automatically.

ForumDog 01-13-2007 10:10 AM

I'll read all suggestions posted here, no guarantee they'll be in the final product. I'm building on the basic Digg idea.

Speaking of which, I just saw this suggestion on Digg and it's one of the ideas I had myself and have actually already implemented into the mod. You will be able to choose between rating figures being displayed as a combined average or as separate positive and negative votes.

This thread has receieved +6 votes.
or
This thread has received +9 votes, -3 votes.

kafi 01-13-2007 12:01 PM

that sounds good, keep up your good work ForumDog .-), but as we know features requests might pilled up, the best would be to release the core of the add-on and then build up new features....

hehe I just cant wait to have this .-)

AyeCapn 01-13-2007 12:49 PM

Quote:

Originally Posted by ForumDog (Post 1157897)
I'll read all suggestions posted here, no guarantee they'll be in the final product. I'm building on the basic Digg idea.

Speaking of which, I just saw this suggestion on Digg and it's one of the ideas I had myself and have actually already implemented into the mod. You will be able to choose between rating figures being displayed as a combined average or as separate positive and negative votes.

This thread has receieved +6 votes.
or
This thread has received +9 votes, -3 votes.

Can I kiss you now, or would you prefer to wait until later?


:eek:


:o

:cool:

ForumDog 01-13-2007 05:05 PM

Quote:

Originally Posted by kafi (Post 1157960)
that sounds good, keep up your good work ForumDog .-), but as we know features requests might pilled up, the best would be to release the core of the add-on and then build up new features....

hehe I just cant wait to have this .-)

Patience, padwan. :p These things take time.

A couple of other small previews:

I have rewritten what I've done to be as easily moddable and expandable as possible, so that hopefully all the knowledge you will need is some instructions and a bit of copying and pasting of the code in order to allow custom content of your own making to be rated using the Dogg method, just the same as the rest of the forum.

By this I mean I hope to construct the plugin in such a way that if you wanted Member Profiles, for instance, to be rated separately using the Dogg method all you'd have to do is read the instructions and spend 15 minutes with a bit of basic copying and pasting. All your AdminCP settings would automatically apply to your new rating area. That is what I am hoping for, no guarantees. :p

Secondly, you can't actually see it on the ForumDog website unless you're signed up as a member, but something else I did there was integrate the ratings system into the other Digg-like feature released on vBulletin.org: vBISpy, a screenshot of the ForumDog version can be seen here. It's heavily redesigned but you get the idea. The ratings can be included in the realtime feed of new posts and bad threads/posts can be hidden in just the same way.

AyeCapn 01-13-2007 05:11 PM

I love you!

toolblast 01-13-2007 07:21 PM

Great, I can't wait till it comes out.

It looks like you already had the basic digg feature completed ages ago, I know you want to add all these great new things like expandability, flexibility, extra plugin features, etc. However, all I'd like to see atm is to have the digg functionality that you showed in your forum back when this thread began! :)

In other words, I would be thrilled just to see something basic released and wait till the more advanced version comes out in the future. Any ETA?

thenetbox 01-14-2007 12:39 AM

Thank you very much. This is very much needed :)

ForumDog 01-14-2007 08:51 AM

Quote:

Originally Posted by toolblast (Post 1158298)
In other words, I would be thrilled just to see something basic released and wait till the more advanced version comes out in the future. Any ETA?

I know everyone would like it ASAP but it wasn't made as a plugin on forumdog.com so I have to start again from scratch anyway. It wouldn't make much difference. No ETA, sorry.

tazB.ca 01-21-2007 05:30 AM

I don't really care about the forumdisplay I just want the showthread and to digg the posts :)

taheri6 01-21-2007 10:14 PM

yeah me too

kafi 01-22-2007 07:39 AM

Question: will this not interfere with POST THANK YOU HACK?


All times are GMT. The time now is 05:23 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03058 seconds
  • Memory Usage 1,842KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete