2012-12-03, 01:48 AM
2012-12-03, 01:56 AM
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.
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, 08:09 AM
(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.
2012-12-03, 10:21 PM
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.
You'll probably want to modify the latter as modifying the former would remove links elsewhere (on the user profile?) too.
2012-12-03, 10:41 PM
Thanks for that frostschutz, exactly what I needed.