MyBB Community Forums

Full Version: Postbit reputation link.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I was wondering if there is a way to make it only display the amount of reputation a user has, with no link?
There are a couple of plugins for this - the best is actually MyNetworks Post reputation. It shows the total rep per post and a total rep value on postbit. It is up to you if you want that to be a link to the reputation page.

If you just want the NUMBER on postbit like it is here and no link , then

{$post['reputation']} is the thing you need to use.
(2012-12-03, 01:56 AM)Leefish Wrote: [ -> ]{$post['reputation']} is the thing you need to use.

This is all good, but I want to know where in the PHP files it generates the link used as {$post['userreputation']}. I want to modify that code to stop it from coming up as a link whatsoever.
inc/functions.php::get_reputation() builds the link, inc/functions_post.php puts it into $post as $post['userreputation'].

You'll probably want to modify the latter as modifying the former would remove links elsewhere (on the user profile?) too.
Thanks for that frostschutz, exactly what I needed.