View Full Version : Profile Enhancements - [AJAX/vBOptimise] vB Profile Ratings 1.0.0
Deceptor
12-22-2008, 10:00 PM
vB Profile Ratings
vB Profile Ratings is an add on for vBulletin which will allow your forum users to rate user profiles, just like they would for threads.
Features
On/Off Switch
Ratings are AJAX
Add Profile Ratings to member profiles
Show "Top Rated" member on forum home (Optional)
Optionally integrate into vB Optimise (https://vborg.vbsupport.ru/misc.php?do=producthelp&pid=__vb_active_caching), killing the extra query this mod adds to your member pages.
Ability to choose how "Top Rated" is calculated.
Ability to allow members rate themselves
Ability to allow members to change previous ratings they've made on a member
Change Log
No changes as of yet
Enjoy :)
Megatr0n
12-23-2008, 12:37 AM
Awesome man. You've made my day and Xmas!! :D
Just one little thing to add. Can you show an overall average of their rating and HOW many times a user been added on "Mini Statistics"?
I'll love you forever! :)
Deceptor
12-23-2008, 12:39 AM
I'll make an update with that being optional, I did consider it during the design phase but felt it'd look too bloaty. Each to their own I guess :)
Regarding "how many times a user been added on Mini Statistics", what do you mean exactly?
Deceptor
12-23-2008, 01:15 AM
Update: Fixed typo in javascript and in uninstall code.
Hasann
12-23-2008, 01:20 AM
Nice mod Deceptor thank you
btw can you add view who rated option
Deceptor
12-23-2008, 01:21 AM
Thanks Hasann,
Sounds like a reasonable thing to show, yeah, you think it'd look best in a tab on the profile?
Hasann
12-23-2008, 01:25 AM
Yes best way to show in vB version 3.8 in a tab
I like to see who rated option like this mod https://vborg.vbsupport.ru/showthread.php?t=61635
but this mod is for old vb version there's a no tab
Deceptor
12-23-2008, 01:27 AM
Alrighty :) I'll do just that, update will probably be tomorrow since it's nearly 4am my time.
m2006
12-23-2008, 09:47 AM
thank you for mod good..
Huy Ho?ng
12-23-2008, 10:09 AM
Nice. Install
lazydesis
12-23-2008, 12:07 PM
thanks ..its a good mod
Megatr0n
12-23-2008, 12:09 PM
I'll make an update with that being optional, I did consider it during the design phase but felt it'd look too bloaty. Each to their own I guess :)
Regarding "how many times a user been added on Mini Statistics", what do you mean exactly?
Sorry Deceptor, I meant how many times a user has been rated and an overall average of their rating to be showing on the Mini Statistics area.
Something like this. See attachment below.
Also, how about a rating scale 1 - 10? :p
kaptanblack
12-23-2008, 12:16 PM
Thanks very nice..
Deceptor, this is very nice :)
Deceptor
12-23-2008, 07:15 PM
Sorry Deceptor, I meant how many times a user has been rated and an overall average of their rating to be showing on the Mini Statistics area.
Something like this. See attachment below.
Also, how about a rating scale 1 - 10? :p
Ah I see, I get you now, no problem :)
As rating 1-10, I'm afraid not due to consistency, every default part of vBulletin that has ratings is the same 1-5 star, such as threads, and blogs. It would be inconsistent not to do that here, and consistency is key to great design :)
Megatr0n
12-23-2008, 07:22 PM
Hey Deceptor,
No problem but if you can implement the other suggestions. That'd be awesome! :D
rob01
12-23-2008, 10:55 PM
Database error in vBulletin 3.8.0 Release Candidate 2:
Invalid SQL:
SELECT IF(votenum >= 1, votenum, 0) AS votenum, IF(votenum >= 1 AND votenum != 0, votetotal / votenum, 0) AS voteavg, votetotal, user.*, thread.threadid, post.title, thread.replycount, postusername, postuserid, thread.dateline AS postdateline, sticky, thread.attach, thread.lastpostid, thread.lastposter, thread.lastpost, IF(views<=thread.replycount, thread.replycount+1, views) AS views, thread.forumid, post.postid, pagetext
, allowsmilie, pagetext_html, postparsed.hasimages, thread.iconid AS threadiconid, iconpath AS threadiconpath, avatarpath, NOT ISNULL(customavatar.userid) AS hascustom, customavatar.dateline AS avatardateline, avatarrevision, NOT ISNULL(subscribethread.subscribethreadid) AS subscribed
FROM vbb_thread AS thread
LEFT JOIN vbb_post AS post ON (post.postid = thread.firstpostid)
LEFT JOIN vbb_user AS user ON (user.userid = post.userid)
LEFT JOIN vbb_postparsed AS postparsed ON (postparsed.postid = post.postid AND postparsed.styleid = 1 AND postparsed.languageid = 1) LEFT JOIN vbb_icon AS icon ON (icon.iconid = thread.iconid) LEFT JOIN vbb_avatar as avatar ON (avatar.avatarid = user.avatarid)
LEFT JOIN vbb_customavatar as customavatar ON (customavatar.userid = user.userid) LEFT JOIN vbb_subscribethread AS subscribethread ON (subscribethread.threadid = thread.threadid AND subscribethread.userid = '1')
WHERE thread.threadid IN(41,39,38,36,34,33,32,24,22,21)
AND thread.dateline > 1222304002
any idea?
Deceptor
12-24-2008, 01:07 AM
rob01 - Where is this error occuring, can you show me the rest of it?
Megatr0n
12-24-2008, 11:45 AM
Hi Deceptor,
When will be the next update be available with the suggested features? :D
I hope it's before Xmas. :)
Deceptor
12-24-2008, 11:47 AM
Not sure I'll be able to squeeze it out today, but I'll try :)
Megatr0n
12-24-2008, 01:09 PM
My fingers are crossed. :D
YsTyle
12-24-2008, 07:48 PM
great mod, installed :)
how can i make it show only one star when user is not ranked?
Megatr0n
12-24-2008, 09:14 PM
I hope this hack gets updated soon. :D
rob01
12-24-2008, 09:42 PM
uhmm when i try to go into User CP
Deceptor
12-25-2008, 10:00 AM
This mod doesn't effect User CP rob01, what version of vB are you running? This is designed for 3.8 :)
t?rkg?rc?
12-25-2008, 07:37 PM
Database error in vBulletin 3.8.0 Release Candidate 2:
Invalid SQL:
SELECT
IF(votenum >= 1, votenum, 0) AS votenum,
IF(votenum >= 1 AND votenum > 0, votetotal / votenum, 0) AS voteavg,
thread.threadid, thread.title AS threadtitle, thread.forumid, pollid, open, postusername, postuserid, thread.iconid AS threadiconid,
thread.dateline, notes, thread.visible, sticky, votetotal, thread.attach, thread.lastpost, thread.lastposter, thread.lastpostid, thread.replycount, IF(thread.views<=thread.replycount, thread.replycount+1, thread.views) AS views,
thread.prefixid, thread.taglist, hiddencount, deletedcount
, deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason
, threadread.readtime AS threadread
, threadredirect.expires
, post_user.displaygroupid AS post_user_displaygid, post_user.usergroupid AS post_user_usergid, last_post_user.displaygroupid AS last_post_user_displaygid, last_post_user.usergroupid AS last_post_user_usergid
FROM thread AS thread
LEFT JOIN deletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND deletionlog.type = 'thread')
LEFT JOIN threadread AS threadread ON (threadread.threadid = thread.threadid AND threadread.userid = 1)
LEFT JOIN threadredirect AS threadredirect ON(thread.open = 10 AND thread.threadid = threadredirect.threadid)
LEFT JOIN user AS last_post_user ON (thread.lastposter = last_post_user.username)
LEFT JOIN user AS post_user ON (thread.postuserid = post_user.userid)
WHERE thread.threadid IN (0,772,1391,1377,1375,103,776,1204,1118,112,113,11 4,116,115,109,107,106,105,104)
ORDER BY sticky DESC, lastpost DESC;
MySQL Error : Column 'votenum' in field list is ambiguous
Error Number : 1052
Request Date : Thursday, December 25th 2008 @ 11:36:26 PM
Error Date : Thursday, December 25th 2008 @ 11:36:26 PM
Script : http://www.xxxxxxxxx.com/forumdisplay.php?f=9
Referrer : http://www.xxxxxxxx.com/index.php
IP Address : xxxxxxxxxxxx
Username : xxxxxxx
Classname : vB_Database
MySQL Version : 5.0.45
Deceptor
12-25-2008, 11:43 PM
turk - I'll see if I can replicate the issue, so far I haven't been able to myself.
Megatr0n
12-25-2008, 11:57 PM
Hi Deceptor,
Hope you had a fantastic Xmas and have a wonderful New Years Eve.
Do you think this hack will be updated before NYE with the requested features (including Hassan's)? :D
Just waiting for them to be squeezed in before I install it. :)
Deceptor
12-26-2008, 03:58 PM
Megatron - I can definately say Yes to that request :)
Megatr0n
12-26-2008, 05:42 PM
Megatron - I can definately say Yes to that request :)
Awesome.
Have an date in mind? :D
Megatr0n
12-26-2008, 10:09 PM
Megatron - I can definately say Yes to that request :)
Sorry Deceptor but I had another requested feature in mind.
Maybe the user being notified via PM when they've been rated? :)
Deceptor
12-26-2008, 10:13 PM
I could probably do that in an update after the next, though I don't think it'd be worth much really, all the same it could be optional I guess :)
Megatr0n
12-26-2008, 11:28 PM
Sounds good. :)
MissKalunji
12-27-2008, 04:32 PM
think this will work on 3.7.4?
Deceptor
12-27-2008, 04:37 PM
It's untested MissKalunji, but I see no reason it shouldn't work, give it a try :) At the most your members page may be temporarily disabled/have an error, in which cause just uninstall the product and you're all good.
MissKalunji
12-27-2008, 04:50 PM
nop don't seem to be working...i don't see anything even after doing the template change
Edit : Flush cache don't seem to work properly i had to turn vb optimize off and put it back on for it to show
Deceptor
12-27-2008, 04:56 PM
If you have problems with vB Optimise flush cache, please post over in that thread and I'll assist you :)
As for the profile ratings, are they working as expected?
MissKalunji
12-27-2008, 04:57 PM
Yes it does work
*suggestion* instead of having the drop down menue :) maybe we can have it similar to youtube where you can select on the stars themselves? i don't know if you get what i'm saying?
Check image below
Deceptor
12-27-2008, 05:26 PM
Hey,
I'd do the suggestion but for the sake of keeping things in vB consistent I'll leave it as a drop down menu I'm afraid :)
MissKalunji
12-27-2008, 05:30 PM
okay Cool
Megatr0n
12-29-2008, 01:14 AM
Deceptor, when will this hack be updated next? :D
Deceptor
12-29-2008, 01:18 AM
It's the next one to recieve an update, after I've finished off something else first :) Probably today, latest tomorrow.
Megatr0n
12-29-2008, 01:21 AM
Awesome.
Sweeks
12-29-2008, 11:29 AM
Installed but for some reason no one can rate me and everyone else is rateable. We have two administrators me and my girlfriend, she can be rated but I cant and I am the only who cant be rated. Any ideas?
Marked as installed! VB 3.7.4 PL1
A suggestion would be to have a right side profile block with all of the rating stuff in. I tried myself but couldnt get it to work without a db error. :D
I also want to move the Top Rated Member to the header template, any ideas?
________
No2 Vaporizer (http://www.vaporshop.com)
GrendelKhan{TSU
12-29-2008, 01:59 PM
awesome.
anyway to be able to show a small thumbb of the profile image or user's avatar in the forum stats? that would be leet :)
christian8a
12-30-2008, 01:13 AM
Yes it does work
*suggestion* instead of having the drop down menue :) maybe we can have it similar to youtube where you can select on the stars themselves? i don't know if you get what i'm saying?
Check image below
I seccond this, I think vb needs to change that drop down menu to the actual day type of usage. This rating mod Is one of the ones Ive been waiting for but will wait a bit to see some changes, hopefully that star rating one instead of drop dow :D
Good job man ill keep my eye on this mod
Sweeks
12-30-2008, 06:07 PM
I seccond this, I think vb needs to change that drop down menu to the actual day type of usage. This rating mod Is one of the ones Ive been waiting for but will wait a bit to see some changes, hopefully that star rating one instead of drop dow :D
Good job man ill keep my eye on this mod
Agreed. Clicking on the stars is much better than a drop down. A mini avatar on forumhome of the top rated member would be awesome too!
________
Yamaha dragstar 650 specifications (http://www.yamaha-tech.com/wiki/Yamaha_DragStar_650)
VbNuts
12-30-2008, 10:42 PM
Hello,
This is a great mod but it does not work with Vbadvance. I got a mysql error message when i went to visit my front page.
I installed product, did the template edits, then i went to go to my front page and got the following error.
Database error in vBulletin 3.8.0 Release Candidate 2:
Invalid SQL:
SELECT IF(votenum >= 1, votenum, 0) AS votenum, IF(votenum >= 1 AND votenum != 0, votetotal / votenum, 0) AS voteavg, votetotal, user.*, thread.threadid, post.title, thread.replycount, postusername, postuserid, thread.dateline AS postdateline, sticky, thread.attach, thread.lastpostid, thread.lastposter, thread.lastpost, IF(views<=thread.replycount, thread.replycount+1, views) AS views, thread.forumid, post.postid, pagetext
, allowsmilie, pagetext_html, postparsed.hasimages, showsignature, sigparsed.signatureparsed, sigparsed.hasimages AS sighasimages, sigpic.userid AS sigpic, sigpic.dateline AS sigpicdateline, sigpic.width AS sigpicwidth, sigpic.height AS sigpicheight, usertextfield.signature, thread.iconid AS threadiconid, iconpath AS threadiconpath, avatarpath, NOT ISNULL(customavatar.userid) AS hascustom, customavatar.dateline AS avatardateline, avatarrevision, NOT ISNULL(subscribethread.subscribethreadid) AS subscribed
FROM thread AS thread
LEFT JOIN post AS post ON (post.postid = thread.firstpostid)
LEFT JOIN user AS user ON (user.userid = post.userid)
LEFT JOIN postparsed AS postparsed ON (postparsed.postid = post.postid AND postparsed.styleid = 9 AND postparsed.languageid = 1)
LEFT JOIN sigparsed AS sigparsed ON (sigparsed.userid = user.userid AND sigparsed.styleid = 9 AND sigparsed.languageid = 1)
LEFT JOIN sigpic AS sigpic ON (sigpic.userid = post.userid)
LEFT JOIN usertextfield AS usertextfield ON (user.userid = usertextfield.userid) LEFT JOIN icon AS icon ON (icon.iconid = thread.iconid) LEFT JOIN avatar as avatar ON (avatar.avatarid = user.avatarid)
LEFT JOIN customavatar as customavatar ON (customavatar.userid = user.userid) LEFT JOIN subscribethread AS subscribethread ON (subscribethread.threadid = thread.threadid AND subscribethread.userid = '1')
WHERE thread.threadid IN(41,4,3)
AND thread.dateline > 1222907756
ORDER BY thread.dateline DESC
LIMIT 10;
MySQL Error : Column 'votenum' in field list is ambiguous
Error Number : 1052
Request Date : Tuesday, December 30th 2008 @ 06:35:56 PM
Error Date : Tuesday, December 30th 2008 @ 06:35:56 PM
Script :
Referrer :
IP Address :
Username :
Classname : vB_Database
MySQL Version : 5.0.67-community
I then wanted to make sure that this was because of this mod so i disabled the product still got the error, i then went to uninstall it and that corrected everything.
I am using the latest version of vb 3.8
Please help.
VbNuts
12-31-2008, 03:00 PM
Any support on this issue?
TimberFloorAu
01-02-2009, 09:37 PM
will this work on 3.7.4?
tecnozul
01-04-2009, 03:08 PM
Hello,
This is a great mod but it does not work with Vbadvance. I got a mysql error message when i went to visit my front page.
I installed product, did the template edits, then i went to go to my front page and got the following error.
Database error in vBulletin 3.8.0 Release Candidate 2:
Invalid SQL:
SELECT IF(votenum >= 1, votenum, 0) AS votenum, IF(votenum >= 1 AND votenum != 0, votetotal / votenum, 0) AS voteavg, votetotal, user.*, thread.threadid, post.title, thread.replycount, postusername, postuserid, thread.dateline AS postdateline, sticky, thread.attach, thread.lastpostid, thread.lastposter, thread.lastpost, IF(views<=thread.replycount, thread.replycount+1, views) AS views, thread.forumid, post.postid, pagetext
, allowsmilie, pagetext_html, postparsed.hasimages, showsignature, sigparsed.signatureparsed, sigparsed.hasimages AS sighasimages, sigpic.userid AS sigpic, sigpic.dateline AS sigpicdateline, sigpic.width AS sigpicwidth, sigpic.height AS sigpicheight, usertextfield.signature, thread.iconid AS threadiconid, iconpath AS threadiconpath, avatarpath, NOT ISNULL(customavatar.userid) AS hascustom, customavatar.dateline AS avatardateline, avatarrevision, NOT ISNULL(subscribethread.subscribethreadid) AS subscribed
FROM thread AS thread
LEFT JOIN post AS post ON (post.postid = thread.firstpostid)
LEFT JOIN user AS user ON (user.userid = post.userid)
LEFT JOIN postparsed AS postparsed ON (postparsed.postid = post.postid AND postparsed.styleid = 9 AND postparsed.languageid = 1)
LEFT JOIN sigparsed AS sigparsed ON (sigparsed.userid = user.userid AND sigparsed.styleid = 9 AND sigparsed.languageid = 1)
LEFT JOIN sigpic AS sigpic ON (sigpic.userid = post.userid)
LEFT JOIN usertextfield AS usertextfield ON (user.userid = usertextfield.userid) LEFT JOIN icon AS icon ON (icon.iconid = thread.iconid) LEFT JOIN avatar as avatar ON (avatar.avatarid = user.avatarid)
LEFT JOIN customavatar as customavatar ON (customavatar.userid = user.userid) LEFT JOIN subscribethread AS subscribethread ON (subscribethread.threadid = thread.threadid AND subscribethread.userid = '1')
WHERE thread.threadid IN(41,4,3)
AND thread.dateline > 1222907756
ORDER BY thread.dateline DESC
LIMIT 10;
MySQL Error : Column 'votenum' in field list is ambiguous
Error Number : 1052
Request Date : Tuesday, December 30th 2008 @ 06:35:56 PM
Error Date : Tuesday, December 30th 2008 @ 06:35:56 PM
Script :
Referrer :
IP Address :
Username :
Classname : vB_Database
MySQL Version : 5.0.67-community
I then wanted to make sure that this was because of this mod so i disabled the product still got the error, i then went to uninstall it and that corrected everything.
I am using the latest version of vb 3.8
Please help.
I have this same problem :(
Sweeks
01-06-2009, 01:44 PM
Working 3.7.4 here
________
Gang Bang Asian (http://www.++++tube.com/categories/583/asian/videos/1)
tecnozul
01-09-2009, 09:50 PM
my version is 3.8
C138 Kaysone
01-17-2009, 07:12 AM
problem i have is its not showing up in my admin cp to configure
Cerbero1000
02-04-2009, 08:11 PM
No way to work on my 3.7.5
There is a problem (all pages) in class_profilerating.php on line 12
DoubleGlasses
04-23-2009, 02:24 AM
I'm loving this mod! Thanks for it. I'd having one bug with it using Vbulletin 3.8.2.... for some reason my stats won't show on the home page. I'm able to vote on profiles but not see who the top rated person is.
Any suggestions?
The4um
04-29-2009, 03:45 AM
thank you, looks so nice
xlcstaff
05-16-2009, 01:22 PM
Hi, i'm trying to put $profilerating in postbit lgacy but nothing!
How can i put the stars there?
andy2295
06-10-2009, 09:59 PM
Hello,
This is a great mod but it does not work with Vbadvance. I got a mysql error message when i went to visit my front page.
I installed product, did the template edits, then i went to go to my front page and got the following error.
Database error in vBulletin 3.8.0 Release Candidate 2:
Invalid SQL:
SELECT IF(votenum >= 1, votenum, 0) AS votenum, IF(votenum >= 1 AND votenum != 0, votetotal / votenum, 0) AS voteavg, votetotal, user.*, thread.threadid, post.title, thread.replycount, postusername, postuserid, thread.dateline AS postdateline, sticky, thread.attach, thread.lastpostid, thread.lastposter, thread.lastpost, IF(views<=thread.replycount, thread.replycount+1, views) AS views, thread.forumid, post.postid, pagetext
, allowsmilie, pagetext_html, postparsed.hasimages, showsignature, sigparsed.signatureparsed, sigparsed.hasimages AS sighasimages, sigpic.userid AS sigpic, sigpic.dateline AS sigpicdateline, sigpic.width AS sigpicwidth, sigpic.height AS sigpicheight, usertextfield.signature, thread.iconid AS threadiconid, iconpath AS threadiconpath, avatarpath, NOT ISNULL(customavatar.userid) AS hascustom, customavatar.dateline AS avatardateline, avatarrevision, NOT ISNULL(subscribethread.subscribethreadid) AS subscribed
FROM thread AS thread
LEFT JOIN post AS post ON (post.postid = thread.firstpostid)
LEFT JOIN user AS user ON (user.userid = post.userid)
LEFT JOIN postparsed AS postparsed ON (postparsed.postid = post.postid AND postparsed.styleid = 9 AND postparsed.languageid = 1)
LEFT JOIN sigparsed AS sigparsed ON (sigparsed.userid = user.userid AND sigparsed.styleid = 9 AND sigparsed.languageid = 1)
LEFT JOIN sigpic AS sigpic ON (sigpic.userid = post.userid)
LEFT JOIN usertextfield AS usertextfield ON (user.userid = usertextfield.userid) LEFT JOIN icon AS icon ON (icon.iconid = thread.iconid) LEFT JOIN avatar as avatar ON (avatar.avatarid = user.avatarid)
LEFT JOIN customavatar as customavatar ON (customavatar.userid = user.userid) LEFT JOIN subscribethread AS subscribethread ON (subscribethread.threadid = thread.threadid AND subscribethread.userid = '1')
WHERE thread.threadid IN(41,4,3)
AND thread.dateline > 1222907756
ORDER BY thread.dateline DESC
LIMIT 10;
MySQL Error : Column 'votenum' in field list is ambiguous
Error Number : 1052
Request Date : Tuesday, December 30th 2008 @ 06:35:56 PM
Error Date : Tuesday, December 30th 2008 @ 06:35:56 PM
Script :
Referrer :
IP Address :
Username :
Classname : vB_Database
MySQL Version : 5.0.67-community
I then wanted to make sure that this was because of this mod so i disabled the product still got the error, i then went to uninstall it and that corrected everything.
I am using the latest version of vb 3.8
Please help.
Yes confirmed as well. I just removed the mod and the problem is gone. Quite simply do not use this mod if you have vbadvanced installed
joomla
06-10-2009, 10:04 PM
Thank you excellent
Feanor_87
06-26-2009, 05:32 PM
Yes confirmed as well. I just removed the mod and the problem is gone. Quite simply do not use this mod if you have vbadvanced installed
Yeah... this sucks. Oh well, it would have been a good MOD to have
badheeu
09-02-2009, 11:22 PM
when installing this mod I get this error
Fatal error: Call to undefined method vb_activecache::flush() in /home/kmamv/domains/kma-forum.com/public_html/includes/adminfunctions_template.php(2359) : eval()'d code on line 6
Cerbero1000
10-05-2009, 11:54 AM
Working fine now! I'll pay to have a module with top 10/20 users by rating...
Please contact me info@tarantulas.it
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.