Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
SAPR: Advanced Post Rating system (ajax) Details »
SAPR: Advanced Post Rating system (ajax)
Mod Version: 1.0.0 b2, by waza (Contributor) waza is offline
Developer Last Online: Oct 2012 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.7.x Rating: (12 votes - 4.50 average) Installs: 126
Released: 13 Feb 2008 Last Update: 15 Feb 2008 Downloads: 1341
Not Supported DB Changes Uses Plugins Template Edits Auto-Template Additional Files Translations Is in Beta Stage  

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.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	showthread.jpg
Views:	5430
Size:	32.9 KB
ID:	76046   Click image for larger version

Name:	options.jpg
Views:	2785
Size:	68.6 KB
ID:	76047   Click image for larger version

Name:	group permissions.jpg
Views:	3166
Size:	12.5 KB
ID:	76048   Click image for larger version

Name:	set default filter.jpg
Views:	3716
Size:	40.0 KB
ID:	76049  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 13 Feb 2008, 20:57
Mike-D Mike-D is offline
 
Join Date: Jan 2006
Real name: Michael
Hell, that what I've been searched for a long time. Congrats in coding such a nice hack. Gonna install it right now. Definately well deserved and nominated for MOTM!!! Installed Thank you very much, Sir -Mike
__________________
Acura & Honda Legend Forum
Reply With Quote
  #3  
Old 13 Feb 2008, 21:01
youradhere4222 youradhere4222 is offline
 
Join Date: Sep 2007
Although I have no personal use for this, this is a great idea!

Nominated for MOTM!

Edit: One question, why on the ACP does it say "Ja" or "Nee" for options?
Reply With Quote
  #4  
Old 13 Feb 2008, 21:04
waza waza is offline
 
Join Date: Apr 2005
Originally Posted by youradhere4222 View Post
Although I have no personal use for this, this is a great idea!

Nominated for MOTM!

Edit: One question, why on the ACP does it say "Ja" or "Nee" for options?
Thanks,
the 'ja' / 'nee' is because i'm dutch and I have the dutch language pack installed, but with you it should show as 'yes' / 'no'
__________________
Now available: SAPR, it's like god send an angel
Reply With Quote
  #5  
Old 13 Feb 2008, 22:12
TWTCommish's Avatar
TWTCommish TWTCommish is offline
 
Join Date: Oct 2001
Real name: Chris
Nicely done. I wrote a custom hack for my site which does this; I've been pleased with the results, and suspect others will be, too.
__________________
Ask me about how to purchase vB Quiz for vBulletin 3.7 (works with 3.8, too)!

Websites: Movie Forums | Go Quiz
Reply With Quote
  #6  
Old 13 Feb 2008, 22:15
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Wow, looks neat. Thanks a bunch!

On a side note: TWTCommish, wow, it's been so long! I remember beta testing your first vB2 hacks.
__________________
AndroidETC.com :: Android, and other stuff.
Reply With Quote
  #7  
Old 13 Feb 2008, 22:56
Stoebi Stoebi is offline
 
Join Date: Apr 2006
Real name: Peter
Hi,

thank you very much for this nice hack.

The bypass checks are not working for me. My registered user has the option 'bypass checks' off and they can rating multiple times.

The option 'Posts with a rating below this will be collapsed by default' is set to -3:
If i rate a post negative (-1), the post will be collapsed. And also a value higher as -1, for example 0, 1, or 2 etc., has no effect.

The phrase for negative and positive needs to be exchanged.
For example:
thumb_down -> Geef positieve rating should be Geef negatieve rating
thumb_up -> Geef negatieve rating should be Geef positieve rating

Collapse/Expand is only possible if this option enabeld for a group:
Can filter posts in a thread

If i rate my own post more then 8 times, the good post counter for my post increases to 1. If i rate other people posts more then 8 times, the good posts counter displays 0. Is this a correct behaviour?


Regards, Stoebi
Reply With Quote
  #8  
Old 13 Feb 2008, 23:13
waza waza is offline
 
Join Date: Apr 2005
Originally Posted by Stoebi View Post
Hi,

thank you very much for this nice hack.

The bypass checks are not working for me. My registered user has the option 'bypass checks' off and they can rating multiple times.
I really can't reproduce this.
Try it for yourself: set the bypass check permission off and see if you can vote twice on the same post.

Originally Posted by Stoebi View Post
The option 'Posts with a rating below this will be collapsed by default' is set to -3:
If i rate a post negative (-1), the post will be collapsed. And also a value higher as -1, for example 0, 1, or 2 etc., has no effect.
what is the value in the filter dropdown menu (in the showthread)?
The system uses that value, normally it is the option, but if your usergroup can set a default value, it is the value you've set in your usercp (by default: 0, however in the next update, i'll change this to be the value of the option).
Originally Posted by Stoebi View Post
The phrase for negative and positive needs to be exchanged.
For example:
thumb_down -> Geef positieve rating should be Geef negatieve rating
thumb_up -> Geef negatieve rating should be Geef positieve rating
thanks, something i forgot

Originally Posted by Stoebi View Post
Collapse/Expand is only possible if this option enabeld for a group:
Can filter posts in a thread
that's normal behaviour, filtering posts is collapsing or expanding posts.

Originally Posted by Stoebi View Post
If i rate my own post more then 8 times, the good post counter for my post increases to 1. If i rate other people posts more then 8 times, the good posts counter displays 0. Is this a correct behaviour?
no it isn't, but the good post system is made up very quickly, and needs more work (also for the next beta which will be soon)
__________________
Now available: SAPR, it's like god send an angel
Reply With Quote
  #9  
Old 13 Feb 2008, 23:52
Stoebi Stoebi is offline
 
Join Date: Apr 2006
Real name: Peter
Originally Posted by waza View Post
I really can't reproduce this.
Try it for yourself: set the bypass check permission off and see if you can vote twice on the same post.
Hm, it works sometimes, but not continuously. If it works, then only for the first post in the thread.

Perhaps this is due to this error during load/refresh the site:
1.gif 2.jpg



Originally Posted by waza View Post
what is the value in the filter dropdown menu (in the showthread)?
The system uses that value, normally it is the option, but if your usergroup can set a default value, it is the value you've set in your usercp (by default: 0, however in the next update, i'll change this to be the value of the option).
0. Perhaps a value higher as -1 (0, 1 etc.) should not be allowed.

Originally Posted by waza View Post
that's normal behaviour, filtering posts is collapsing or expanding posts.
Thank you

Originally Posted by waza View Post
no it isn't, but the good post system is made up very quickly, and needs more work (also for the next beta which will be soon)
Okay, thank you very much for your answer(s).

Now i have -> Good posts: 4294967294 <- and I can't reproduce this at the moment


Regards, Stoebi
Reply With Quote
  #10  
Old 14 Feb 2008, 01:40
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Real name: Lea Verou
Lol I had written a very similar mod for my own board but never had the time to prepare it for public release. I guess I won't need to find that time at all :P
Reply With Quote
  #11  
Old 14 Feb 2008, 04:14
Brent H's Avatar
Brent H Brent H is offline
 
Join Date: Sep 2004
Real name: Brent Hegnauer
Getting the same "bypass checks" error where a user can rate multiple times...
Reply With Quote
  #12  
Old 14 Feb 2008, 11:13
kafi kafi is offline
 
Join Date: Apr 2004
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
  #13  
Old 14 Feb 2008, 11:23
waza waza is offline
 
Join Date: Apr 2005
@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:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

btw, beta 2 is coming tomorrow
__________________
Now available: SAPR, it's like god send an angel
Reply With Quote
  #14  
Old 14 Feb 2008, 11:40
KURTZ KURTZ is offline
 
Join Date: Nov 2006
Real name: Christian
cool hack, but i hate the template edits

anyway good job dude
Reply With Quote
  #15  
Old 14 Feb 2008, 11:45
waza waza is offline
 
Join Date: Apr 2005
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.
__________________
Now available: SAPR, it's like god send an angel
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 12:04.

Layout Options | Width: Wide Color: