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)

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 08:58 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.00924 seconds
  • Memory Usage 1,718KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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