![]() |
Who Rated This Thread / Delete Who Rated
1 Attachment(s)
Who Rated This Thread / Delete Who Rated
Credits to Developer for this hack, as he is the original creator. His original hack located here. More notably called "Who Rated This Thread" What I did with this hack, is I extended the functionality of it. Normally when a user rates a thread, you never know who rated it. With Developers original hack, you can find out who rated each thread and what they rated it at. The difference that I put into it, is now you can actually delete individual user ratings! No more needing to go into phpmyadmin and running queries. The best part about this hack is it actually alters all tables necessary so that when you delete a users rating, the thread rating average changes properly with it!! This is now a premium hack only, available through myself |
can anyone see this or just admins?
|
anyone u set the permissions for.
Look for this part in the "whorate" template <if condition="in_array($bbuserinfo[usergroupid], array(5,6,7))"> Probably best if you just set it for admins. I havnt wrote my hack yet so that the delete permissions are only for admins. Just thought about that.... |
Quote:
So in my template edit, I just made it <if condition="in_array($bbuserinfo[usergroupid], array(6))"> Thanks for the response.. :Clicks Install: |
Thanks for sharing. :)
|
Thanks, works great!
edit: wait... after testing: I have a rouge member who decided to rate every thread 1. After I installed this, and deleted his rating from one thread, he no longer appears on any of the other rating lists, but his rating of 1 is still there on every thread except the one that I deleted. Anyone have any idea why this would only work once per member, then not show the member's rating on any other threads after the first deletion? Also I am running 3.6.4, could that be the reason? |
Any chance to show that on FORUMDISPLAY?
|
Code:
$vbulletin->db->query_write(" As you see on the query in your product it deletes all ratings of an user on all threads :eek: You forgot to add the threadid in the WHERE-clause of the query. |
ooh..my bad luck, this Mod is "Not supported".
Wish it is a supported one. I don't install not supported mods. |
Quote:
has what Muellmann posted been fixed? is this add-on you are sharing different than that premium one you are selling, Paul? *Clicks Install for later use* tnx, Rich. :) btw, we are using 3.6.7PL1 |
All times are GMT. The time now is 06:56 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|