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)

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 =)


All times are GMT. The time now is 02: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.01166 seconds
  • Memory Usage 1,750KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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