View Full Version : Is there a way to replace the rep bar with likes?
mbgelsin
02-16-2017, 06:15 AM
I would like the number of likes to be shown instead of the rep-blocks but there does not seem to be a simple way to do this from what I've found. I saw a product that could edit postbit to show user fields but being new to vb5 I could use a little handholding.
Thank you
delicjous
02-16-2017, 07:02 AM
Hi,
not really sure what you want to do.
Would you like to disable the reputationbar and display the users likes instead?
Here are some links:
https://www.vbulletin.com/docs/html/main/vboptions_reputation
https://www.vbulletin.com/forum/forum/vbulletin-5-connect/vbulletin-5-connect-questions-problems-troubleshooting/vbulletin-5-support-issues-questions/4105135-show-user-statistics-likes-and-flags-on-postbit
https://vborg.vbsupport.ru/showthread.php?t=313240
https://vborg.vbsupport.ru/showthread.php?t=308655
I don't look into it but I think you have to make/ use an addon (doesn't exist right now) to show a summery of users-likes.
mbgelsin
02-16-2017, 01:41 PM
That is indeed what I'm looking for, disable rep bar and just display the amount of likes.
I will need to wait it out or get good at making mods I guess :)
delicjous
02-21-2017, 06:15 PM
Looked a little deeper... should be a great trial to learn.
You could use the great mod-skeleton from Replicant:
https://vborg.vbsupport.ru/showthread.php?t=323006
This select outputs a table of user and a like count:
SELECT whoadded, count(*) AS counter
FROM `vB_reputation` /*replace or change the table_prefix*/
GROUP BY whoadded
Then you could display it at "{vb:hook 'conversation_userstats'}"in the template "conversation_userinfo" and reference the like-count-user to the $conversation['userid']
Hope that will help you a bit.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.