Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

Reply
 
Thread Tools
SAPR: Advanced Post Rating system (ajax) Details »»
SAPR: Advanced Post Rating system (ajax)
Version: 1.0.0 b2, by waza waza is offline
Developer Last Online: Oct 2012 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.7.x Rating:
Released: 02-12-2008 Last Update: 02-14-2008 Installs: 128
DB Changes Uses Plugins Template Edits Auto-Templates
Additional Files Translations Is in Beta Stage  
No support by the author.

Seba's Advanced Post Rating (SAPR) system with ajax- beta 2.

What is it?
In short: this is the wet dream of every vb board owner

In big: This is much more!
This adds a thumbs up/down post rating system: youtube style.

But wait there's more!
It not only adds a post rating system that works with and without ajax, but it also adds options to filter posts (on-the-flow with javascript) based on that rating.

That way your users will be able to browse easier trough threads by setting a filter, which collapses posts under a certain rating.
It also will prevent users of flooding you're site with 3 word posts.

AND THERE'S STILL MORE! It also adds a system of 'good posts', you can set a value of what is considered as a good post, and if a post reaches this value, the author gets +1 on his good post score.
So you get to see: this user has 500 posts and 150 good posts.

AND IF THAT ISN'T ENOUGH: it's also completely configurable through the admincp.

And if you download it now you also get a very nice installation guide!!

Reminder / read this
This product is still in beta stage and it can contain bugs, backup every thing you change.

Currently the rating only works with vb 3.7, in the future 3.5 and 3.6 will also be supported, but they will not have ajax rating.

This mod works best if you use the postbit template, for postbit_legacy the filtering has few effect as collapsing still leaves a lot of the post

The good posts system still needs further development, which will be done after this beta testing

This is not a supported product, I'll fix the bugs and continue to work on it, but I'll don't answer questions, never.

Copyright
All heil to seba

Instructions
It's good if you got some basic html knowledge to install this mod
See manual

Show your support!

Release notes
-13/02/2008: initial version 1.0.0 beta released
-15/02/2008: version 1.0.0 beta 2 released
NEW: option for the rating of first posts in a thread
NEW: option for the rating of own posts
NEW: admincp menu for the postrating with the option to rebuild, prune, reset the system
NEW: a class to prune, rebuild, reset the system
NEW: should work with vb 3.5 and 3.6 (not tested)
SEC FIX: fixed the bypass check bug
BUG FIX: some javascript errors
BUG FIX: some wrong phrases
Known Issues:
As stated: the good posts don't really work as expected in some cases.

Javascript error at some values (reported by stoebi): temporary fix: disable plugin postrate - save at location postdata_postsave.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
DirekFilm

Comments
  #12  
Old 02-14-2008, 03:14 AM
Brent H's Avatar
Brent H Brent H is offline
 
Join Date: Sep 2004
Location: Phoenix, AZ
Posts: 162
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Getting the same "bypass checks" error where a user can rate multiple times...
Reply With Quote
  #13  
Old 02-14-2008, 10:13 AM
kafi kafi is offline
 
Join Date: Apr 2004
Posts: 379
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great Hack !!!!

Can you integrate it with post thank you hack?

Each thumbs up will trigger "thank you"???

And mayb integrate with reputation system?
3+ thumbs up will add reputation? (or whatever setting will be),

Thank you for good job!
Reply With Quote
  #14  
Old 02-14-2008, 10:23 AM
waza waza is offline
 
Join Date: Apr 2005
Location: Belgium
Posts: 341
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@kafi: thanks. I won't integrate it with other hacks, but as I've made it with the use of datamanagers, it can be easily done something like:

PHP Code:
if($vbulletin->options['postrate_active']){
$postman =& datamanager_init('Post'$this->registryERRTYPE_SILENT'threadpost');
        
$postman->set_existing($postinfo);
        
$postman->set('postrating',"postrating + 1",false);
        
$postman->save(); 
btw, beta 2 is coming tomorrow
Reply With Quote
  #15  
Old 02-14-2008, 10:40 AM
KURTZ KURTZ is offline
 
Join Date: Nov 2006
Location: Italy
Posts: 2,257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cool hack, but i hate the template edits

anyway good job dude
Reply With Quote
  #16  
Old 02-14-2008, 10:45 AM
waza waza is offline
 
Join Date: Apr 2005
Location: Belgium
Posts: 341
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tried to minimize the template edits, i could in fact make you don't have to do any template edit, but then you wouldn't have the freedom of moving and changing things of the hack.
Reply With Quote
  #17  
Old 02-14-2008, 01:25 PM
Stifmeister2 Stifmeister2 is offline
 
Join Date: Feb 2006
Location: Finland
Posts: 755
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will this work for 3.6.x ?
Reply With Quote
  #18  
Old 02-15-2008, 09:25 AM
Nikke Nikke is offline
 
Join Date: Nov 2005
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This has huge potential, but it isn't there yet.

For example, I can vote multiple times even though I shouldn't be permitted.
Reply With Quote
  #19  
Old 02-15-2008, 01:25 PM
waza waza is offline
 
Join Date: Apr 2005
Location: Belgium
Posts: 341
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Nikke:
Beta 2 is here, this has some bug fixes and some nice new features

@sitfmeister2:
haven't tested it on 3.6, but I think it should work fine, well, maybe the rating won't be done by ajax.
Reply With Quote
  #20  
Old 02-15-2008, 05:34 PM
edenx edenx is offline
 
Join Date: Nov 2006
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

excellent!
Reply With Quote
  #21  
Old 02-16-2008, 04:39 AM
Stoebi Stoebi is offline
 
Join Date: Apr 2006
Location: Germany, Berlin
Posts: 331
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you very much for this nice update

I can't increase to +2 and decrease to +1. With IE7 i get a JavaScript error. See attachment, please.


Good Posts feature problem I have. The 'Good posts system active?' is active and the value for this system is set to 2.
The user Webmaster and the user Tester rated my post, but the Good Posts counter is not increased.


Edit:
I've uploaded an animated sapr.gif and the result was sapr.jpg.
Try this mirror, please: http://s5.directupload.net/images/080216/ptczdr7b.gif


Regards, Stoebi
Reply With Quote
Reply

Thread Tools

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 12:19 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05165 seconds
  • Memory Usage 2,303KB
  • Queries Executed 25 (?)
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)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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