vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   can anybody make a digg styled post voting system (https://vborg.vbsupport.ru/showthread.php?t=140625)

honestdave 02-27-2007 06:16 PM

can anybody make a digg styled post voting system
 
i think this would be awesome to have for vbulletin.

the ability for the users to "digg down" (vote down) people that write stupid posts on forums.
http://img53.imageshack.us/img53/8673/picture2md7.png

https://vborg.vbsupport.ru/

the number is cumulative. people can only vote up or down once.
it would also be cool to have the admins be able to see the TOTAL number of each person. if a person had a really low number they could be a candidate for banning.


also mentioned by caiman here

Princeton 02-27-2007 06:58 PM

Find the developer's api or instructions on implementations from digg.com and post it here ...

It could be just javascript; maybe just html.

honestdave 02-27-2007 07:02 PM

not sure if that will be in the api. basically i am looking for some way to give a thumbs up or thumbs down to a post. the post doesn't even have to disspear like digg does. but rather could just have a number next to it.

basically this system will reduce negativity and disrespect on our forum. if somebody writes something cruel they will have -4 next to their post.

King Kovifor 02-27-2007 07:07 PM

Just use something like:

PHP Code:

$sql $db->query("ALTER TABLE `".TABLE_PREFIX."post` ADD rating(INT(25), default 0)"); 

Than have an AJAX/non-AJAX PHP file that is used to modify that data.

The alter table might be wrong too...

Princeton 02-27-2007 08:08 PM

so, you don't want nothing that is Digg related ... you just want a similar voting feature

honestdave 02-27-2007 08:14 PM

yup. a post voting feature.

UPDATE: a few people talked to me about this. one guy said he could do it for $475. eep. quite pricey. still looking

King Kovifor 02-27-2007 10:38 PM

I'm sure I could build a simple one for maybe... $70. It wouldn't be that hard.

I just can't do graphics.

TECK 02-27-2007 11:26 PM

What's wrong with building it for free and giving it to people?
Like many other hackers do?

Lars-Christian 02-28-2007 12:29 AM

http://bloggst.com/forums/showthread.php?t=25

Login with test/test to see the full extent of it (feel free to browse around and try to rate posts and see how posts below your minimun threshold looks like and rate posts and what not, it will be deleted before the forum goes live anyways) - It's powered by NuRatings - costs $25 dollars - well worth it :)

ubblite 02-28-2007 12:30 AM

Quote:

Originally Posted by TECK (Post 1192274)
What's wrong with building it for free and giving it to people?
Like many other hackers do?

Now that makes the most sense to me.

I think the original poster has a good idea here. By not associating Digg with vBulletin, it's a good thing - otherwise people will be redirected to Digg.

Reeve of shinra 02-28-2007 12:54 AM

For kicks, I may work on this. How are the ratings done? Is it capped at 5 positive / negative?

edit: hmmm, im not sure what the best way of limiting the vote to once per user would be.

I am thinking that there would be a seperate table with a field for the post id and another field containing the user id's that voted already. When a user submits a vote it would check against the table before processing. How would you store the various user id's? Would you serialize the field somehow?

TECK 02-28-2007 01:36 AM

Is an INT that gets added/removed Reeve. Pretty easy.
It can go up to +/- 100000000 :)

Use the IP, like in the VB vote system.

honestdave 02-28-2007 01:41 AM

Quote:

Originally Posted by Lars-Christian (Post 1192296)
http://bloggst.com/forums/showthread.php?t=25

Login with test/test to see the full extent of it (feel free to browse around and try to rate posts and see how posts below your minimun threshold looks like and rate posts and what not, it will be deleted before the forum goes live anyways) - It's powered by NuRatings - costs $25 dollars - well worth it :)

sweeeeeeeet. that is it. nice! did you have to tweak it a bit to work like that?

Lars-Christian 02-28-2007 03:08 AM

Yeah, I probably spent around 10 hours or so editing templates, phrases, images and all of that shabang. Would probably take someone who actually knows what they're doing a lot less time though ;) And I also had to do more or less "double" work with the templates, since I had to modify GARS templates as well to get it working properly there.

All in all, I still think it will be worth it once I open up the site though ;) It's a pretty cool feature, which I'm sure you'll agree :)


All times are GMT. The time now is 06:21 AM.

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.01158 seconds
  • Memory Usage 1,745KB
  • 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
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (14)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete