Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)

Reply
 
Thread Tools Display Modes
  #11  
Old 11-14-2006, 09:56 PM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #12  
Old 11-15-2006, 02:30 AM
toolblast's Avatar
toolblast toolblast is offline
 
Join Date: Mar 2004
Posts: 266
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sabret00the View Post
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
Reply With Quote
  #13  
Old 11-15-2006, 09:54 AM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by toolblast View Post
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.
Reply With Quote
  #14  
Old 11-15-2006, 11:17 AM
ForumDog ForumDog is offline
 
Join Date: Jul 2006
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #15  
Old 11-15-2006, 12:25 PM
kafi kafi is offline
 
Join Date: Apr 2004
Posts: 379
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
Reply With Quote
  #16  
Old 11-16-2006, 03:44 AM
toolblast's Avatar
toolblast toolblast is offline
 
Join Date: Mar 2004
Posts: 266
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sabret00the View Post
i have ZERO javascript skills. thus it's beyond my ability.
Aww, thats too bad

Quote:
Originally Posted by ForumDog View Post
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?
Reply With Quote
  #17  
Old 11-16-2006, 07:26 AM
kafi kafi is offline
 
Join Date: Apr 2004
Posts: 379
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
Reply With Quote
  #18  
Old 11-16-2006, 08:22 AM
ForumDog ForumDog is offline
 
Join Date: Jul 2006
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by toolblast View Post
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.
Reply With Quote
  #19  
Old 12-02-2006, 04:38 PM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would like to see this one released, also.
Reply With Quote
  #20  
Old 12-04-2006, 09:54 PM
tazB.ca's Avatar
tazB.ca tazB.ca is offline
 
Join Date: Sep 2005
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 =)
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:15 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.04521 seconds
  • Memory Usage 2,263KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete